2 ; object definitions ...
3 (define-object AccountManager
6 (c-name "EmpathyAccountManager")
7 (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
10 (define-object CallFactory
13 (c-name "EmpathyCallFactory")
14 (gtype-id "EMPATHY_TYPE_CALL_FACTORY")
17 (define-object CallHandler
20 (c-name "EmpathyCallHandler")
21 (gtype-id "EMPATHY_TYPE_CALL_HANDLER")
24 (define-object Chatroom
27 (c-name "EmpathyChatroom")
28 (gtype-id "EMPATHY_TYPE_CHATROOM")
31 (define-object ChatroomManager
34 (c-name "EmpathyChatroomManager")
35 (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
38 (define-object Contact
41 (c-name "EmpathyContact")
42 (gtype-id "EMPATHY_TYPE_CONTACT")
45 (define-interface ContactList
47 (c-name "EmpathyContactList")
48 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
51 (define-object ContactManager
54 (implements "EmpathyContactList")
55 (c-name "EmpathyContactManager")
56 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
59 (define-object ContactMonitor
62 (c-name "EmpathyContactMonitor")
63 (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
66 (define-object DispatchOperation
69 (c-name "EmpathyDispatchOperation")
70 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
73 (define-object Dispatcher
76 (c-name "EmpathyDispatcher")
77 (gtype-id "EMPATHY_TYPE_DISPATCHER")
83 (c-name "EmpathyIdle")
84 (gtype-id "EMPATHY_TYPE_IDLE")
87 (define-object IrcNetwork
90 (c-name "EmpathyIrcNetwork")
91 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
94 (define-object IrcNetworkManager
97 (c-name "EmpathyIrcNetworkManager")
98 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
101 (define-object IrcServer
102 (in-module "Empathy")
104 (c-name "EmpathyIrcServer")
105 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
108 (define-object LogManager
109 (in-module "Empathy")
111 (c-name "EmpathyLogManager")
112 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
115 (define-object LogStoreEmpathy
116 (in-module "Empathy")
118 (c-name "EmpathyLogStoreEmpathy")
119 (gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
122 (define-object Message
123 (in-module "Empathy")
125 (c-name "EmpathyMessage")
126 (gtype-id "EMPATHY_TYPE_MESSAGE")
129 (define-object TpCall
130 (in-module "Empathy")
132 (c-name "EmpathyTpCall")
133 (gtype-id "EMPATHY_TYPE_TP_CALL")
136 (define-object TpChat
137 (in-module "Empathy")
139 (c-name "EmpathyTpChat")
140 (gtype-id "EMPATHY_TYPE_TP_CHAT")
143 (define-object TpContactFactory
144 (in-module "Empathy")
146 (c-name "EmpathyTpContactFactory")
147 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
150 (define-object TpContactList
151 (in-module "Empathy")
153 (implements "EmpathyContactList")
154 (c-name "EmpathyTpContactList")
155 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
158 (define-object TpFile
159 (in-module "Empathy")
161 (c-name "EmpathyTpFile")
162 (gtype-id "EMPATHY_TYPE_TP_FILE")
165 (define-object TpRoomlist
166 (in-module "Empathy")
168 (c-name "EmpathyTpRoomlist")
169 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
172 (define-object TpTube
173 (in-module "Empathy")
175 (c-name "EmpathyTpTube")
176 (gtype-id "EMPATHY_TYPE_TP_TUBE")
179 (define-object TubeHandler
180 (in-module "Empathy")
182 (c-name "EmpathyTubeHandler")
183 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
186 ;; Enumerations and flags ...
188 (define-flags Capabilities
189 (in-module "Empathy")
190 (c-name "EmpathyCapabilities")
191 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
193 '("none" "EMPATHY_CAPABILITIES_NONE")
194 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
195 '("video" "EMPATHY_CAPABILITIES_VIDEO")
196 '("ft" "EMPATHY_CAPABILITIES_FT")
197 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
201 (define-flags DebugFlags
202 (in-module "Empathy")
203 (c-name "EmpathyDebugFlags")
204 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
206 '("tp" "EMPATHY_DEBUG_TP")
207 '("chat" "EMPATHY_DEBUG_CHAT")
208 '("contact" "EMPATHY_DEBUG_CONTACT")
209 '("account" "EMPATHY_DEBUG_ACCOUNT")
210 '("irc" "EMPATHY_DEBUG_IRC")
211 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
212 '("ft" "EMPATHY_DEBUG_FT")
213 '("location" "EMPATHY_DEBUG_LOCATION")
214 '("other" "EMPATHY_DEBUG_OTHER")
218 (define-enum DispatchOperationState
219 (in-module "Empathy")
220 (c-name "EmpathyDispatchOperationState")
221 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
223 '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
224 '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
225 '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
226 '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
227 '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
228 '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
232 (define-enum TpCallStatus
233 (in-module "Empathy")
234 (c-name "EmpathyTpCallStatus")
235 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
237 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
238 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
239 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
240 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
245 ;; From empathy-account-manager.h
247 (define-function account_manager_get_type
248 (c-name "empathy_account_manager_get_type")
249 (return-type "GType")
252 (define-function account_manager_dup_singleton
253 (c-name "empathy_account_manager_dup_singleton")
254 (return-type "EmpathyAccountManager*")
257 (define-method get_connected_accounts
258 (of-object "EmpathyAccountManager")
259 (c-name "empathy_account_manager_get_connected_accounts")
263 (define-method get_connecting_accounts
264 (of-object "EmpathyAccountManager")
265 (c-name "empathy_account_manager_get_connecting_accounts")
269 (define-method is_account_just_connected
270 (of-object "EmpathyAccountManager")
271 (c-name "empathy_account_manager_is_account_just_connected")
272 (return-type "gboolean")
274 '("McAccount*" "account")
278 (define-method get_count
279 (of-object "EmpathyAccountManager")
280 (c-name "empathy_account_manager_get_count")
284 (define-method get_account
285 (of-object "EmpathyAccountManager")
286 (c-name "empathy_account_manager_get_account")
287 (return-type "McAccount*")
289 '("TpConnection*" "connection")
293 (define-method dup_accounts
294 (of-object "EmpathyAccountManager")
295 (c-name "empathy_account_manager_dup_accounts")
296 (return-type "GList*")
299 (define-method get_connection
300 (of-object "EmpathyAccountManager")
301 (c-name "empathy_account_manager_get_connection")
302 (return-type "TpConnection*")
304 '("McAccount*" "account")
308 (define-method dup_connections
309 (of-object "EmpathyAccountManager")
310 (c-name "empathy_account_manager_dup_connections")
311 (return-type "GList*")
316 ;; From empathy-chatroom.h
318 (define-function chatroom_get_type
319 (c-name "empathy_chatroom_get_type")
320 (return-type "GType")
323 (define-function chatroom_new
324 (c-name "empathy_chatroom_new")
325 (is-constructor-of "EmpathyChatroom")
326 (return-type "EmpathyChatroom*")
328 '("McAccount*" "account")
332 (define-function chatroom_new_full
333 (c-name "empathy_chatroom_new_full")
334 (return-type "EmpathyChatroom*")
336 '("McAccount*" "account")
337 '("const-gchar*" "room")
338 '("const-gchar*" "name")
339 '("gboolean" "auto_connect")
343 (define-method get_account
344 (of-object "EmpathyChatroom")
345 (c-name "empathy_chatroom_get_account")
346 (return-type "McAccount*")
349 (define-method set_account
350 (of-object "EmpathyChatroom")
351 (c-name "empathy_chatroom_set_account")
354 '("McAccount*" "account")
358 (define-method get_room
359 (of-object "EmpathyChatroom")
360 (c-name "empathy_chatroom_get_room")
361 (return-type "const-gchar*")
364 (define-method set_room
365 (of-object "EmpathyChatroom")
366 (c-name "empathy_chatroom_set_room")
369 '("const-gchar*" "room")
373 (define-method get_name
374 (of-object "EmpathyChatroom")
375 (c-name "empathy_chatroom_get_name")
376 (return-type "const-gchar*")
379 (define-method set_name
380 (of-object "EmpathyChatroom")
381 (c-name "empathy_chatroom_set_name")
384 '("const-gchar*" "name")
388 (define-method get_auto_connect
389 (of-object "EmpathyChatroom")
390 (c-name "empathy_chatroom_get_auto_connect")
391 (return-type "gboolean")
394 (define-method set_auto_connect
395 (of-object "EmpathyChatroom")
396 (c-name "empathy_chatroom_set_auto_connect")
399 '("gboolean" "auto_connect")
403 (define-method get_subject
404 (of-object "EmpathyChatroom")
405 (c-name "empathy_chatroom_get_subject")
406 (return-type "const-gchar*")
409 (define-method set_subject
410 (of-object "EmpathyChatroom")
411 (c-name "empathy_chatroom_set_subject")
414 '("const-gchar*" "subject")
418 (define-method get_members_count
419 (of-object "EmpathyChatroom")
420 (c-name "empathy_chatroom_get_members_count")
421 (return-type "guint")
424 (define-method set_members_count
425 (of-object "EmpathyChatroom")
426 (c-name "empathy_chatroom_set_members_count")
433 (define-method get_need_password
434 (of-object "EmpathyChatroom")
435 (c-name "empathy_chatroom_get_need_password")
436 (return-type "gboolean")
439 (define-method set_need_password
440 (of-object "EmpathyChatroom")
441 (c-name "empathy_chatroom_set_need_password")
444 '("gboolean" "need_password")
448 (define-method get_invite_only
449 (of-object "EmpathyChatroom")
450 (c-name "empathy_chatroom_get_invite_only")
451 (return-type "gboolean")
454 (define-method set_invite_only
455 (of-object "EmpathyChatroom")
456 (c-name "empathy_chatroom_set_invite_only")
459 '("gboolean" "invite_only")
463 (define-function chatroom_equal
464 (c-name "empathy_chatroom_equal")
465 (return-type "gboolean")
467 '("gconstpointer" "v1")
468 '("gconstpointer" "v2")
472 (define-method get_tp_chat
473 (of-object "EmpathyChatroom")
474 (c-name "empathy_chatroom_get_tp_chat")
475 (return-type "EmpathyTpChat*")
478 (define-method set_tp_chat
479 (of-object "EmpathyChatroom")
480 (c-name "empathy_chatroom_set_tp_chat")
483 '("EmpathyTpChat*" "tp_chat")
487 (define-method is_favorite
488 (of-object "EmpathyChatroom")
489 (c-name "empathy_chatroom_is_favorite")
490 (return-type "gboolean")
493 (define-method set_favorite
494 (of-object "EmpathyChatroom")
495 (c-name "empathy_chatroom_set_favorite")
498 '("gboolean" "favorite")
504 ;; From empathy-chatroom-manager.h
506 (define-function chatroom_manager_get_type
507 (c-name "empathy_chatroom_manager_get_type")
508 (return-type "GType")
511 (define-function chatroom_manager_dup_singleton
512 (c-name "empathy_chatroom_manager_dup_singleton")
513 (return-type "EmpathyChatroomManager*")
515 '("const-gchar*" "file")
520 (of-object "EmpathyChatroomManager")
521 (c-name "empathy_chatroom_manager_add")
522 (return-type "gboolean")
524 '("EmpathyChatroom*" "chatroom")
528 (define-method remove
529 (of-object "EmpathyChatroomManager")
530 (c-name "empathy_chatroom_manager_remove")
533 '("EmpathyChatroom*" "chatroom")
538 (of-object "EmpathyChatroomManager")
539 (c-name "empathy_chatroom_manager_find")
540 (return-type "EmpathyChatroom*")
542 '("McAccount*" "account")
543 '("const-gchar*" "room")
547 (define-method get_chatrooms
548 (of-object "EmpathyChatroomManager")
549 (c-name "empathy_chatroom_manager_get_chatrooms")
550 (return-type "GList*")
552 '("McAccount*" "account")
556 (define-method get_count
557 (of-object "EmpathyChatroomManager")
558 (c-name "empathy_chatroom_manager_get_count")
559 (return-type "guint")
561 '("McAccount*" "account")
565 (define-method observe
566 (of-object "EmpathyChatroomManager")
567 (c-name "empathy_chatroom_manager_observe")
570 '("EmpathyDispatcher*" "dispatcher")
576 ;; From empathy-call-factory.h
578 (define-function call_factory_get_type
579 (c-name "empathy_call_factory_get_type")
580 (return-type "GType")
583 (define-function call_factory_initialise
584 (c-name "empathy_call_factory_initialise")
585 (return-type "EmpathyCallFactory*")
588 (define-function call_factory_get
589 (c-name "empathy_call_factory_get")
590 (return-type "EmpathyCallFactory*")
593 (define-method new_call
594 (of-object "EmpathyCallFactory")
595 (c-name "empathy_call_factory_new_call")
598 '("EmpathyContact*" "contact")
602 (define-method claim_channel
603 (of-object "EmpathyCallFactory")
604 (c-name "empathy_call_factory_claim_channel")
607 '("EmpathyDispatchOperation*" "operation")
613 ;; From empathy-call-handler.h
615 (define-function call_handler_get_type
616 (c-name "empathy_call_handler_get_type")
617 (return-type "GType")
620 (define-function call_handler_new_for_contact
621 (c-name "empathy_call_handler_new_for_contact")
622 (return-type "EmpathyCallHandler*")
624 '("EmpathyContact*" "contact")
628 (define-function call_handler_new_for_channel
629 (c-name "empathy_call_handler_new_for_channel")
630 (return-type "EmpathyCallHandler*")
632 '("EmpathyTpCall*" "call")
636 (define-method start_call
637 (of-object "EmpathyCallHandler")
638 (c-name "empathy_call_handler_start_call")
642 (define-method bus_message
643 (of-object "EmpathyCallHandler")
644 (c-name "empathy_call_handler_bus_message")
648 '("GstMessage*" "message")
654 ;; From empathy-contact.h
656 (define-function contact_get_type
657 (c-name "empathy_contact_get_type")
658 (return-type "GType")
661 (define-function contact_new
662 (c-name "empathy_contact_new")
663 (is-constructor-of "EmpathyContact")
664 (return-type "EmpathyContact*")
666 '("TpContact*" "tp_contact")
670 (define-function contact_new_for_log
671 (c-name "empathy_contact_new_for_log")
672 (return-type "EmpathyContact*")
674 '("McAccount*" "account")
675 '("const-gchar*" "id")
676 '("const-gchar*" "name")
677 '("gboolean" "is_user")
681 (define-method get_tp_contact
682 (of-object "EmpathyContact")
683 (c-name "empathy_contact_get_tp_contact")
684 (return-type "TpContact*")
687 (define-method get_id
688 (of-object "EmpathyContact")
689 (c-name "empathy_contact_get_id")
690 (return-type "const-gchar*")
693 (define-method set_id
694 (of-object "EmpathyContact")
695 (c-name "empathy_contact_set_id")
698 '("const-gchar*" "id")
702 (define-method get_name
703 (of-object "EmpathyContact")
704 (c-name "empathy_contact_get_name")
705 (return-type "const-gchar*")
708 (define-method set_name
709 (of-object "EmpathyContact")
710 (c-name "empathy_contact_set_name")
713 '("const-gchar*" "name")
717 (define-method get_avatar
718 (of-object "EmpathyContact")
719 (c-name "empathy_contact_get_avatar")
720 (return-type "EmpathyAvatar*")
723 (define-method set_avatar
724 (of-object "EmpathyContact")
725 (c-name "empathy_contact_set_avatar")
728 '("EmpathyAvatar*" "avatar")
732 (define-method get_account
733 (of-object "EmpathyContact")
734 (c-name "empathy_contact_get_account")
735 (return-type "McAccount*")
738 (define-method get_connection
739 (of-object "EmpathyContact")
740 (c-name "empathy_contact_get_connection")
741 (return-type "TpConnection*")
744 (define-method get_presence
745 (of-object "EmpathyContact")
746 (c-name "empathy_contact_get_presence")
747 (return-type "McPresence")
750 (define-method set_presence
751 (of-object "EmpathyContact")
752 (c-name "empathy_contact_set_presence")
755 '("McPresence" "presence")
759 (define-method get_presence_message
760 (of-object "EmpathyContact")
761 (c-name "empathy_contact_get_presence_message")
762 (return-type "const-gchar*")
765 (define-method set_presence_message
766 (of-object "EmpathyContact")
767 (c-name "empathy_contact_set_presence_message")
770 '("const-gchar*" "message")
774 (define-method get_handle
775 (of-object "EmpathyContact")
776 (c-name "empathy_contact_get_handle")
777 (return-type "guint")
780 (define-method set_handle
781 (of-object "EmpathyContact")
782 (c-name "empathy_contact_set_handle")
789 (define-method get_capabilities
790 (of-object "EmpathyContact")
791 (c-name "empathy_contact_get_capabilities")
792 (return-type "EmpathyCapabilities")
795 (define-method set_capabilities
796 (of-object "EmpathyContact")
797 (c-name "empathy_contact_set_capabilities")
800 '("EmpathyCapabilities" "capabilities")
804 (define-method is_user
805 (of-object "EmpathyContact")
806 (c-name "empathy_contact_is_user")
807 (return-type "gboolean")
810 (define-method set_is_user
811 (of-object "EmpathyContact")
812 (c-name "empathy_contact_set_is_user")
815 '("gboolean" "is_user")
819 (define-method is_online
820 (of-object "EmpathyContact")
821 (c-name "empathy_contact_is_online")
822 (return-type "gboolean")
825 (define-method get_status
826 (of-object "EmpathyContact")
827 (c-name "empathy_contact_get_status")
828 (return-type "const-gchar*")
831 (define-method can_voip
832 (of-object "EmpathyContact")
833 (c-name "empathy_contact_can_voip")
834 (return-type "gboolean")
837 (define-method can_send_files
838 (of-object "EmpathyContact")
839 (c-name "empathy_contact_can_send_files")
840 (return-type "gboolean")
843 (define-function contact_hash
844 (c-name "empathy_contact_hash")
845 (return-type "guint")
847 '("gconstpointer" "key")
851 (define-method load_avatar_data
852 (of-object "EmpathyContact")
853 (c-name "empathy_contact_load_avatar_data")
856 '("const-guchar*" "data")
857 '("const-gsize" "len")
858 '("const-gchar*" "format")
859 '("const-gchar*" "token")
863 (define-method load_avatar_cache
864 (of-object "EmpathyContact")
865 (c-name "empathy_contact_load_avatar_cache")
866 (return-type "gboolean")
868 '("const-gchar*" "token")
872 (define-function avatar_get_type
873 (c-name "empathy_avatar_get_type")
874 (return-type "GType")
877 (define-function avatar_new
878 (c-name "empathy_avatar_new")
879 (is-constructor-of "EmpathyAvatar")
880 (return-type "EmpathyAvatar*")
890 (of-object "EmpathyAvatar")
891 (c-name "empathy_avatar_ref")
892 (return-type "EmpathyAvatar*")
896 (of-object "EmpathyAvatar")
897 (c-name "empathy_avatar_unref")
901 (define-method save_to_file
902 (of-object "EmpathyAvatar")
903 (c-name "empathy_avatar_save_to_file")
904 (return-type "gboolean")
906 '("const-gchar*" "filename")
907 '("GError**" "error")
911 (define-method get_location
912 (of-object "EmpathyContact")
913 (c-name "empathy_contact_get_location")
914 (return-type "GHashTable*")
917 (define-method set_location
918 (of-object "EmpathyContact")
919 (c-name "empathy_contact_set_location")
922 '("GHashTable*" "location")
928 ;; From empathy-contact-groups.h
930 (define-function contact_groups_get_all
931 (c-name "empathy_contact_groups_get_all")
935 (define-function contact_group_get_expanded
936 (c-name "empathy_contact_group_get_expanded")
937 (return-type "gboolean")
939 '("const-gchar*" "group")
943 (define-function contact_group_set_expanded
944 (c-name "empathy_contact_group_set_expanded")
947 '("const-gchar*" "group")
948 '("gboolean" "expanded")
954 ;; From empathy-contact-list.h
956 (define-function contact_list_get_type
957 (c-name "empathy_contact_list_get_type")
958 (return-type "GType")
962 (of-object "EmpathyContactList")
963 (c-name "empathy_contact_list_add")
966 '("EmpathyContact*" "contact")
967 '("const-gchar*" "message")
971 (define-method remove
972 (of-object "EmpathyContactList")
973 (c-name "empathy_contact_list_remove")
976 '("EmpathyContact*" "contact")
977 '("const-gchar*" "message")
981 (define-method get_members
982 (of-object "EmpathyContactList")
983 (c-name "empathy_contact_list_get_members")
984 (return-type "GList*")
987 (define-method get_pendings
988 (of-object "EmpathyContactList")
989 (c-name "empathy_contact_list_get_pendings")
990 (return-type "GList*")
993 (define-method get_all_groups
994 (of-object "EmpathyContactList")
995 (c-name "empathy_contact_list_get_all_groups")
996 (return-type "GList*")
999 (define-method get_groups
1000 (of-object "EmpathyContactList")
1001 (c-name "empathy_contact_list_get_groups")
1002 (return-type "GList*")
1004 '("EmpathyContact*" "contact")
1008 (define-method add_to_group
1009 (of-object "EmpathyContactList")
1010 (c-name "empathy_contact_list_add_to_group")
1011 (return-type "none")
1013 '("EmpathyContact*" "contact")
1014 '("const-gchar*" "group")
1018 (define-method remove_from_group
1019 (of-object "EmpathyContactList")
1020 (c-name "empathy_contact_list_remove_from_group")
1021 (return-type "none")
1023 '("EmpathyContact*" "contact")
1024 '("const-gchar*" "group")
1028 (define-method rename_group
1029 (of-object "EmpathyContactList")
1030 (c-name "empathy_contact_list_rename_group")
1031 (return-type "none")
1033 '("const-gchar*" "old_group")
1034 '("const-gchar*" "new_group")
1038 (define-method remove_group
1039 (of-object "EmpathyContactList")
1040 (c-name "empathy_contact_list_remove_group")
1041 (return-type "none")
1043 '("const-gchar*" "group")
1047 (define-method get_monitor
1048 (of-object "EmpathyContactList")
1049 (c-name "empathy_contact_list_get_monitor")
1050 (return-type "EmpathyContactMonitor*")
1055 ;; From empathy-contact-manager.h
1057 (define-function contact_manager_get_type
1058 (c-name "empathy_contact_manager_get_type")
1059 (return-type "GType")
1062 (define-function contact_manager_dup_singleton
1063 (c-name "empathy_contact_manager_dup_singleton")
1064 (return-type "EmpathyContactManager*")
1067 (define-method get_list
1068 (of-object "EmpathyContactManager")
1069 (c-name "empathy_contact_manager_get_list")
1070 (return-type "EmpathyTpContactList*")
1072 '("TpConnection*" "connection")
1076 (define-method can_add
1077 (of-object "EmpathyContactManager")
1078 (c-name "empathy_contact_manager_can_add")
1079 (return-type "gboolean")
1081 '("TpConnection*" "connection")
1087 ;; From empathy-contact-monitor.h
1089 (define-function contact_monitor_get_type
1090 (c-name "empathy_contact_monitor_get_type")
1091 (return-type "GType")
1094 (define-method set_iface
1095 (of-object "EmpathyContactMonitor")
1096 (c-name "empathy_contact_monitor_set_iface")
1097 (return-type "none")
1099 '("EmpathyContactList*" "iface")
1103 (define-function contact_monitor_new_for_iface
1104 (c-name "empathy_contact_monitor_new_for_iface")
1105 (return-type "EmpathyContactMonitor*")
1107 '("EmpathyContactList*" "iface")
1113 ;; From empathy-debug.h
1115 (define-function debug_flag_is_set
1116 (c-name "empathy_debug_flag_is_set")
1117 (return-type "gboolean")
1119 '("EmpathyDebugFlags" "flag")
1123 (define-function debug
1124 (c-name "empathy_debug")
1125 (return-type "none")
1127 '("EmpathyDebugFlags" "flag")
1128 '("const-gchar*" "format")
1133 (define-function debug_set_flags
1134 (c-name "empathy_debug_set_flags")
1135 (return-type "none")
1137 '("const-gchar*" "flags_string")
1143 ;; From empathy-dispatcher.h
1145 (define-function dispatcher_get_type
1146 (c-name "empathy_dispatcher_get_type")
1147 (return-type "GType")
1150 (define-method create_channel
1151 (of-object "EmpathyDispatcher")
1152 (c-name "empathy_dispatcher_create_channel")
1153 (return-type "none")
1155 '("TpConnection*" "connection")
1156 '("GHashTable*" "request")
1157 '("EmpathyDispatcherRequestCb*" "callback")
1158 '("gpointer" "user_data")
1162 (define-function dispatcher_chat_with_contact_id
1163 (c-name "empathy_dispatcher_chat_with_contact_id")
1164 (return-type "none")
1166 '("TpConnection*" "connection")
1167 '("const-gchar*" "contact_id")
1168 '("EmpathyDispatcherRequestCb*" "callback")
1169 '("gpointer" "user_data")
1173 (define-function dispatcher_chat_with_contact
1174 (c-name "empathy_dispatcher_chat_with_contact")
1175 (return-type "none")
1177 '("EmpathyContact*" "contact")
1178 '("EmpathyDispatcherRequestCb*" "callback")
1179 '("gpointer" "user_data")
1183 (define-function dispatcher_send_file_to_contact
1184 (c-name "empathy_dispatcher_send_file_to_contact")
1185 (return-type "none")
1187 '("EmpathyContact*" "contact")
1188 '("const-gchar*" "filename")
1191 '("const-gchar*" "content_type")
1192 '("EmpathyDispatcherRequestCb*" "callback")
1193 '("gpointer" "user_data")
1197 (define-function dispatcher_join_muc
1198 (c-name "empathy_dispatcher_join_muc")
1199 (return-type "none")
1201 '("TpConnection*" "connection")
1202 '("const-gchar*" "roomname")
1203 '("EmpathyDispatcherRequestCb*" "callback")
1204 '("gpointer" "user_data")
1208 (define-method find_channel_class
1209 (of-object "EmpathyDispatcher")
1210 (c-name "empathy_dispatcher_find_channel_class")
1211 (return-type "GStrv")
1213 '("TpConnection*" "connection")
1214 '("const-gchar*" "channel_type")
1215 '("guint" "handle_type")
1219 (define-function dispatcher_dup_singleton
1220 (c-name "empathy_dispatcher_dup_singleton")
1221 (return-type "EmpathyDispatcher*")
1226 ;; From empathy-dispatch-operation.h
1228 (define-function dispatch_operation_get_type
1229 (c-name "empathy_dispatch_operation_get_type")
1230 (return-type "GType")
1233 (define-function dispatch_operation_new
1234 (c-name "empathy_dispatch_operation_new")
1235 (is-constructor-of "EmpathyDispatchOperation")
1236 (return-type "EmpathyDispatchOperation*")
1238 '("TpConnection*" "connection")
1239 '("TpChannel*" "channel")
1240 '("EmpathyContact*" "contact")
1241 '("gboolean" "incoming")
1245 (define-function dispatch_operation_new_with_wrapper
1246 (c-name "empathy_dispatch_operation_new_with_wrapper")
1247 (return-type "EmpathyDispatchOperation*")
1249 '("TpConnection*" "connection")
1250 '("TpChannel*" "channel")
1251 '("EmpathyContact*" "contact")
1252 '("gboolean" "incoming")
1253 '("GObject*" "channel_wrapper")
1257 (define-method start
1258 (of-object "EmpathyDispatchOperation")
1259 (c-name "empathy_dispatch_operation_start")
1260 (return-type "none")
1263 (define-method approve
1264 (of-object "EmpathyDispatchOperation")
1265 (c-name "empathy_dispatch_operation_approve")
1266 (return-type "none")
1269 (define-method claim
1270 (of-object "EmpathyDispatchOperation")
1271 (c-name "empathy_dispatch_operation_claim")
1272 (return-type "gboolean")
1275 (define-method get_channel
1276 (of-object "EmpathyDispatchOperation")
1277 (c-name "empathy_dispatch_operation_get_channel")
1278 (return-type "TpChannel*")
1281 (define-method get_channel_wrapper
1282 (of-object "EmpathyDispatchOperation")
1283 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1284 (return-type "GObject*")
1287 (define-method get_tp_connection
1288 (of-object "EmpathyDispatchOperation")
1289 (c-name "empathy_dispatch_operation_get_tp_connection")
1290 (return-type "TpConnection*")
1293 (define-method get_channel_type
1294 (of-object "EmpathyDispatchOperation")
1295 (c-name "empathy_dispatch_operation_get_channel_type")
1296 (return-type "const-gchar*")
1299 (define-method get_channel_type_id
1300 (of-object "EmpathyDispatchOperation")
1301 (c-name "empathy_dispatch_operation_get_channel_type_id")
1302 (return-type "GQuark")
1305 (define-method get_object_path
1306 (of-object "EmpathyDispatchOperation")
1307 (c-name "empathy_dispatch_operation_get_object_path")
1308 (return-type "const-gchar*")
1311 (define-method get_status
1312 (of-object "EmpathyDispatchOperation")
1313 (c-name "empathy_dispatch_operation_get_status")
1314 (return-type "EmpathyDispatchOperationState")
1317 (define-method is_incoming
1318 (of-object "EmpathyDispatchOperation")
1319 (c-name "empathy_dispatch_operation_is_incoming")
1320 (return-type "gboolean")
1325 ;; From empathy-idle.h
1327 (define-function idle_get_type
1328 (c-name "empathy_idle_get_type")
1329 (return-type "GType")
1332 (define-function idle_dup_singleton
1333 (c-name "empathy_idle_dup_singleton")
1334 (return-type "EmpathyIdle*")
1337 (define-method get_state
1338 (of-object "EmpathyIdle")
1339 (c-name "empathy_idle_get_state")
1340 (return-type "McPresence")
1343 (define-method set_state
1344 (of-object "EmpathyIdle")
1345 (c-name "empathy_idle_set_state")
1346 (return-type "none")
1348 '("McPresence" "state")
1352 (define-method get_status
1353 (of-object "EmpathyIdle")
1354 (c-name "empathy_idle_get_status")
1355 (return-type "const-gchar*")
1358 (define-method set_status
1359 (of-object "EmpathyIdle")
1360 (c-name "empathy_idle_set_status")
1361 (return-type "none")
1363 '("const-gchar*" "status")
1367 (define-method get_flash_state
1368 (of-object "EmpathyIdle")
1369 (c-name "empathy_idle_get_flash_state")
1370 (return-type "McPresence")
1373 (define-method set_flash_state
1374 (of-object "EmpathyIdle")
1375 (c-name "empathy_idle_set_flash_state")
1376 (return-type "none")
1378 '("McPresence" "state")
1382 (define-method set_presence
1383 (of-object "EmpathyIdle")
1384 (c-name "empathy_idle_set_presence")
1385 (return-type "none")
1387 '("McPresence" "state")
1388 '("const-gchar*" "status")
1392 (define-method get_auto_away
1393 (of-object "EmpathyIdle")
1394 (c-name "empathy_idle_get_auto_away")
1395 (return-type "gboolean")
1398 (define-method set_auto_away
1399 (of-object "EmpathyIdle")
1400 (c-name "empathy_idle_set_auto_away")
1401 (return-type "none")
1403 '("gboolean" "auto_away")
1407 (define-method get_use_nm
1408 (of-object "EmpathyIdle")
1409 (c-name "empathy_idle_get_use_nm")
1410 (return-type "gboolean")
1413 (define-method set_use_nm
1414 (of-object "EmpathyIdle")
1415 (c-name "empathy_idle_set_use_nm")
1416 (return-type "none")
1418 '("gboolean" "use_nm")
1424 ;; From empathy-irc-network.h
1426 (define-function irc_network_get_type
1427 (c-name "empathy_irc_network_get_type")
1428 (return-type "GType")
1431 (define-function irc_network_new
1432 (c-name "empathy_irc_network_new")
1433 (is-constructor-of "EmpathyIrcNetwork")
1434 (return-type "EmpathyIrcNetwork*")
1436 '("const-gchar*" "name")
1440 (define-method get_servers
1441 (of-object "EmpathyIrcNetwork")
1442 (c-name "empathy_irc_network_get_servers")
1443 (return-type "GSList*")
1446 (define-method append_server
1447 (of-object "EmpathyIrcNetwork")
1448 (c-name "empathy_irc_network_append_server")
1449 (return-type "none")
1451 '("EmpathyIrcServer*" "server")
1455 (define-method remove_server
1456 (of-object "EmpathyIrcNetwork")
1457 (c-name "empathy_irc_network_remove_server")
1458 (return-type "none")
1460 '("EmpathyIrcServer*" "server")
1464 (define-method set_server_position
1465 (of-object "EmpathyIrcNetwork")
1466 (c-name "empathy_irc_network_set_server_position")
1467 (return-type "none")
1469 '("EmpathyIrcServer*" "server")
1476 ;; From empathy-irc-network-manager.h
1478 (define-function irc_network_manager_get_type
1479 (c-name "empathy_irc_network_manager_get_type")
1480 (return-type "GType")
1483 (define-function irc_network_manager_new
1484 (c-name "empathy_irc_network_manager_new")
1485 (is-constructor-of "EmpathyIrcNetworkManager")
1486 (return-type "EmpathyIrcNetworkManager*")
1488 '("const-gchar*" "global_file")
1489 '("const-gchar*" "user_file")
1494 (of-object "EmpathyIrcNetworkManager")
1495 (c-name "empathy_irc_network_manager_add")
1496 (return-type "none")
1498 '("EmpathyIrcNetwork*" "network")
1502 (define-method remove
1503 (of-object "EmpathyIrcNetworkManager")
1504 (c-name "empathy_irc_network_manager_remove")
1505 (return-type "none")
1507 '("EmpathyIrcNetwork*" "network")
1511 (define-method get_networks
1512 (of-object "EmpathyIrcNetworkManager")
1513 (c-name "empathy_irc_network_manager_get_networks")
1514 (return-type "GSList*")
1517 (define-method find_network_by_address
1518 (of-object "EmpathyIrcNetworkManager")
1519 (c-name "empathy_irc_network_manager_find_network_by_address")
1520 (return-type "EmpathyIrcNetwork*")
1522 '("const-gchar*" "address")
1528 ;; From empathy-irc-server.h
1530 (define-function irc_server_get_type
1531 (c-name "empathy_irc_server_get_type")
1532 (return-type "GType")
1535 (define-function irc_server_new
1536 (c-name "empathy_irc_server_new")
1537 (is-constructor-of "EmpathyIrcServer")
1538 (return-type "EmpathyIrcServer*")
1540 '("const-gchar*" "address")
1548 ;; From empathy-log-manager.h
1550 (define-function log_manager_get_type
1551 (c-name "empathy_log_manager_get_type")
1552 (return-type "GType")
1555 (define-function log_manager_dup_singleton
1556 (c-name "empathy_log_manager_dup_singleton")
1557 (return-type "EmpathyLogManager*")
1560 (define-method add_message
1561 (of-object "EmpathyLogManager")
1562 (c-name "empathy_log_manager_add_message")
1563 (return-type "gboolean")
1565 '("const-gchar*" "chat_id")
1566 '("gboolean" "chatroom")
1567 '("EmpathyMessage*" "message")
1568 '("GError**" "error")
1572 (define-method exists
1573 (of-object "EmpathyLogManager")
1574 (c-name "empathy_log_manager_exists")
1575 (return-type "gboolean")
1577 '("McAccount*" "account")
1578 '("const-gchar*" "chat_id")
1579 '("gboolean" "chatroom")
1583 (define-method get_dates
1584 (of-object "EmpathyLogManager")
1585 (c-name "empathy_log_manager_get_dates")
1586 (return-type "GList*")
1588 '("McAccount*" "account")
1589 '("const-gchar*" "chat_id")
1590 '("gboolean" "chatroom")
1594 (define-method get_messages_for_date
1595 (of-object "EmpathyLogManager")
1596 (c-name "empathy_log_manager_get_messages_for_date")
1597 (return-type "GList*")
1599 '("McAccount*" "account")
1600 '("const-gchar*" "chat_id")
1601 '("gboolean" "chatroom")
1602 '("const-gchar*" "date")
1606 (define-method get_filtered_messages
1607 (of-object "EmpathyLogManager")
1608 (c-name "empathy_log_manager_get_filtered_messages")
1609 (return-type "GList*")
1611 '("McAccount*" "account")
1612 '("const-gchar*" "chat_id")
1613 '("gboolean" "chatroom")
1614 '("guint" "num_messages")
1615 '("EmpathyLogMessageFilter" "filter")
1616 '("gpointer" "user_data")
1620 (define-method get_chats
1621 (of-object "EmpathyLogManager")
1622 (c-name "empathy_log_manager_get_chats")
1623 (return-type "GList*")
1625 '("McAccount*" "account")
1629 (define-method search_new
1630 (of-object "EmpathyLogManager")
1631 (c-name "empathy_log_manager_search_new")
1632 (return-type "GList*")
1634 '("const-gchar*" "text")
1638 (define-function log_manager_search_free
1639 (c-name "empathy_log_manager_search_free")
1640 (return-type "none")
1646 (define-function log_manager_get_date_readable
1647 (c-name "empathy_log_manager_get_date_readable")
1648 (return-type "gchar*")
1650 '("const-gchar*" "date")
1654 (define-function log_manager_search_hit_free
1655 (c-name "empathy_log_manager_search_hit_free")
1656 (return-type "none")
1658 '("EmpathyLogSearchHit*" "hit")
1662 (define-method observe
1663 (of-object "EmpathyLogManager")
1664 (c-name "empathy_log_manager_observe")
1665 (return-type "none")
1667 '("EmpathyDispatcher*" "dispatcher")
1673 ;; From empathy-log-store.h
1675 (define-function log_store_get_type
1676 (c-name "empathy_log_store_get_type")
1677 (return-type "GType")
1680 (define-method get_name
1681 (of-object "EmpathyLogStore")
1682 (c-name "empathy_log_store_get_name")
1683 (return-type "const-gchar*")
1686 (define-method exists
1687 (of-object "EmpathyLogStore")
1688 (c-name "empathy_log_store_exists")
1689 (return-type "gboolean")
1691 '("McAccount*" "account")
1692 '("const-gchar*" "chat_id")
1693 '("gboolean" "chatroom")
1697 (define-method add_message
1698 (of-object "EmpathyLogStore")
1699 (c-name "empathy_log_store_add_message")
1700 (return-type "gboolean")
1702 '("const-gchar*" "chat_id")
1703 '("gboolean" "chatroom")
1704 '("EmpathyMessage*" "message")
1705 '("GError**" "error")
1709 (define-method get_dates
1710 (of-object "EmpathyLogStore")
1711 (c-name "empathy_log_store_get_dates")
1712 (return-type "GList*")
1714 '("McAccount*" "account")
1715 '("const-gchar*" "chat_id")
1716 '("gboolean" "chatroom")
1720 (define-method get_messages_for_date
1721 (of-object "EmpathyLogStore")
1722 (c-name "empathy_log_store_get_messages_for_date")
1723 (return-type "GList*")
1725 '("McAccount*" "account")
1726 '("const-gchar*" "chat_id")
1727 '("gboolean" "chatroom")
1728 '("const-gchar*" "date")
1732 (define-method get_last_messages
1733 (of-object "EmpathyLogStore")
1734 (c-name "empathy_log_store_get_last_messages")
1735 (return-type "GList*")
1737 '("McAccount*" "account")
1738 '("const-gchar*" "chat_id")
1739 '("gboolean" "chatroom")
1743 (define-method get_chats
1744 (of-object "EmpathyLogStore")
1745 (c-name "empathy_log_store_get_chats")
1746 (return-type "GList*")
1748 '("McAccount*" "account")
1752 (define-method search_new
1753 (of-object "EmpathyLogStore")
1754 (c-name "empathy_log_store_search_new")
1755 (return-type "GList*")
1757 '("const-gchar*" "text")
1761 (define-method ack_message
1762 (of-object "EmpathyLogStore")
1763 (c-name "empathy_log_store_ack_message")
1764 (return-type "none")
1766 '("const-gchar*" "chat_id")
1767 '("gboolean" "chatroom")
1768 '("EmpathyMessage*" "message")
1772 (define-method get_filtered_messages
1773 (of-object "EmpathyLogStore")
1774 (c-name "empathy_log_store_get_filtered_messages")
1775 (return-type "GList*")
1777 '("McAccount*" "account")
1778 '("const-gchar*" "chat_id")
1779 '("gboolean" "chatroom")
1780 '("guint" "num_messages")
1781 '("EmpathyLogMessageFilter" "filter")
1782 '("gpointer" "user_data")
1788 ;; From empathy-log-store-empathy.h
1790 (define-function log_store_empathy_get_type
1791 (c-name "empathy_log_store_empathy_get_type")
1792 (return-type "GType")
1797 ;; From empathy-message.h
1799 (define-function message_get_type
1800 (c-name "empathy_message_get_type")
1801 (return-type "GType")
1804 (define-function message_new
1805 (c-name "empathy_message_new")
1806 (is-constructor-of "EmpathyMessage")
1807 (return-type "EmpathyMessage*")
1809 '("const-gchar*" "body")
1813 (define-method get_tptype
1814 (of-object "EmpathyMessage")
1815 (c-name "empathy_message_get_tptype")
1816 (return-type "TpChannelTextMessageType")
1819 (define-method set_tptype
1820 (of-object "EmpathyMessage")
1821 (c-name "empathy_message_set_tptype")
1822 (return-type "none")
1824 '("TpChannelTextMessageType" "type")
1828 (define-method get_sender
1829 (of-object "EmpathyMessage")
1830 (c-name "empathy_message_get_sender")
1831 (return-type "EmpathyContact*")
1834 (define-method set_sender
1835 (of-object "EmpathyMessage")
1836 (c-name "empathy_message_set_sender")
1837 (return-type "none")
1839 '("EmpathyContact*" "contact")
1843 (define-method get_receiver
1844 (of-object "EmpathyMessage")
1845 (c-name "empathy_message_get_receiver")
1846 (return-type "EmpathyContact*")
1849 (define-method set_receiver
1850 (of-object "EmpathyMessage")
1851 (c-name "empathy_message_set_receiver")
1852 (return-type "none")
1854 '("EmpathyContact*" "contact")
1858 (define-method get_body
1859 (of-object "EmpathyMessage")
1860 (c-name "empathy_message_get_body")
1861 (return-type "const-gchar*")
1864 (define-method set_body
1865 (of-object "EmpathyMessage")
1866 (c-name "empathy_message_set_body")
1867 (return-type "none")
1869 '("const-gchar*" "body")
1873 (define-method get_timestamp
1874 (of-object "EmpathyMessage")
1875 (c-name "empathy_message_get_timestamp")
1876 (return-type "time_t")
1879 (define-method set_timestamp
1880 (of-object "EmpathyMessage")
1881 (c-name "empathy_message_set_timestamp")
1882 (return-type "none")
1884 '("time_t" "timestamp")
1888 (define-method should_highlight
1889 (of-object "EmpathyMessage")
1890 (c-name "empathy_message_should_highlight")
1891 (return-type "gboolean")
1894 (define-function message_type_from_str
1895 (c-name "empathy_message_type_from_str")
1896 (return-type "TpChannelTextMessageType")
1898 '("const-gchar*" "type_str")
1902 (define-function message_type_to_str
1903 (c-name "empathy_message_type_to_str")
1904 (return-type "const-gchar*")
1906 '("TpChannelTextMessageType" "type")
1910 (define-method get_id
1911 (of-object "EmpathyMessage")
1912 (c-name "empathy_message_get_id")
1913 (return-type "guint")
1916 (define-method set_id
1917 (of-object "EmpathyMessage")
1918 (c-name "empathy_message_set_id")
1919 (return-type "none")
1925 (define-method equal
1926 (of-object "EmpathyMessage")
1927 (c-name "empathy_message_equal")
1928 (return-type "gboolean")
1930 '("EmpathyMessage*" "message2")
1936 ;; From empathy-status-presets.h
1938 (define-function status_presets_get_all
1939 (c-name "empathy_status_presets_get_all")
1940 (return-type "none")
1943 (define-function status_presets_get
1944 (c-name "empathy_status_presets_get")
1945 (return-type "GList*")
1947 '("McPresence" "state")
1948 '("gint" "max_number")
1952 (define-function status_presets_set_last
1953 (c-name "empathy_status_presets_set_last")
1954 (return-type "none")
1956 '("McPresence" "state")
1957 '("const-gchar*" "status")
1961 (define-function status_presets_remove
1962 (c-name "empathy_status_presets_remove")
1963 (return-type "none")
1965 '("McPresence" "state")
1966 '("const-gchar*" "status")
1970 (define-function status_presets_reset
1971 (c-name "empathy_status_presets_reset")
1972 (return-type "none")
1975 (define-function status_presets_get_default_state
1976 (c-name "empathy_status_presets_get_default_state")
1977 (return-type "McPresence")
1980 (define-function status_presets_get_default_status
1981 (c-name "empathy_status_presets_get_default_status")
1982 (return-type "const-gchar*")
1985 (define-function status_presets_set_default
1986 (c-name "empathy_status_presets_set_default")
1987 (return-type "none")
1989 '("McPresence" "state")
1990 '("const-gchar*" "status")
1994 (define-function status_presets_clear_default
1995 (c-name "empathy_status_presets_clear_default")
1996 (return-type "none")
2001 ;; From empathy-time.h
2003 (define-function time_get_current
2004 (c-name "empathy_time_get_current")
2005 (return-type "time_t")
2008 (define-function time_get_local_time
2009 (c-name "empathy_time_get_local_time")
2010 (return-type "time_t")
2012 '("struct-tm*" "tm")
2016 (define-function time_parse
2017 (c-name "empathy_time_parse")
2018 (return-type "time_t")
2020 '("const-gchar*" "str")
2024 (define-function time_to_string_utc
2025 (c-name "empathy_time_to_string_utc")
2026 (return-type "gchar*")
2029 '("const-gchar*" "format")
2033 (define-function time_to_string_local
2034 (c-name "empathy_time_to_string_local")
2035 (return-type "gchar*")
2038 '("const-gchar*" "format")
2044 ;; From empathy-tp-call.h
2046 (define-function tp_call_get_type
2047 (c-name "empathy_tp_call_get_type")
2048 (return-type "GType")
2051 (define-function tp_call_new
2052 (c-name "empathy_tp_call_new")
2053 (is-constructor-of "EmpathyTpCall")
2054 (return-type "EmpathyTpCall*")
2056 '("TpChannel*" "channel")
2060 (define-method close
2061 (of-object "EmpathyTpCall")
2062 (c-name "empathy_tp_call_close")
2063 (return-type "none")
2067 (of-object "EmpathyTpCall")
2068 (c-name "empathy_tp_call_to")
2069 (return-type "none")
2071 '("EmpathyContact*" "contact")
2075 (define-method accept_incoming_call
2076 (of-object "EmpathyTpCall")
2077 (c-name "empathy_tp_call_accept_incoming_call")
2078 (return-type "none")
2081 (define-method request_video_stream_direction
2082 (of-object "EmpathyTpCall")
2083 (c-name "empathy_tp_call_request_video_stream_direction")
2084 (return-type "none")
2086 '("gboolean" "is_sending")
2090 (define-method start_tone
2091 (of-object "EmpathyTpCall")
2092 (c-name "empathy_tp_call_start_tone")
2093 (return-type "none")
2095 '("TpDTMFEvent" "event")
2099 (define-method stop_tone
2100 (of-object "EmpathyTpCall")
2101 (c-name "empathy_tp_call_stop_tone")
2102 (return-type "none")
2105 (define-method has_dtmf
2106 (of-object "EmpathyTpCall")
2107 (c-name "empathy_tp_call_has_dtmf")
2108 (return-type "gboolean")
2113 ;; From empathy-tp-chat.h
2115 (define-function tp_chat_get_type
2116 (c-name "empathy_tp_chat_get_type")
2117 (return-type "GType")
2120 (define-function tp_chat_new
2121 (c-name "empathy_tp_chat_new")
2122 (is-constructor-of "EmpathyTpChat")
2123 (return-type "EmpathyTpChat*")
2125 '("TpChannel*" "channel")
2129 (define-method close
2130 (of-object "EmpathyTpChat")
2131 (c-name "empathy_tp_chat_close")
2132 (return-type "none")
2135 (define-method get_id
2136 (of-object "EmpathyTpChat")
2137 (c-name "empathy_tp_chat_get_id")
2138 (return-type "const-gchar*")
2141 (define-method get_remote_contact
2142 (of-object "EmpathyTpChat")
2143 (c-name "empathy_tp_chat_get_remote_contact")
2144 (return-type "EmpathyContact*")
2147 (define-method get_channel
2148 (of-object "EmpathyTpChat")
2149 (c-name "empathy_tp_chat_get_channel")
2150 (return-type "TpChannel*")
2153 (define-method get_connection
2154 (of-object "EmpathyTpChat")
2155 (c-name "empathy_tp_chat_get_connection")
2156 (return-type "TpConnection*")
2159 (define-method is_ready
2160 (of-object "EmpathyTpChat")
2161 (c-name "empathy_tp_chat_is_ready")
2162 (return-type "gboolean")
2166 (of-object "EmpathyTpChat")
2167 (c-name "empathy_tp_chat_send")
2168 (return-type "none")
2170 '("EmpathyMessage*" "message")
2174 (define-method set_state
2175 (of-object "EmpathyTpChat")
2176 (c-name "empathy_tp_chat_set_state")
2177 (return-type "none")
2179 '("TpChannelChatState" "state")
2183 (define-method set_property
2184 (of-object "EmpathyTpChat")
2185 (c-name "empathy_tp_chat_set_property")
2186 (return-type "none")
2188 '("const-gchar*" "name")
2189 '("const-GValue*" "value")
2193 (define-method get_pending_messages
2194 (of-object "EmpathyTpChat")
2195 (c-name "empathy_tp_chat_get_pending_messages")
2196 (return-type "const-GList*")
2199 (define-method acknowledge_message
2200 (of-object "EmpathyTpChat")
2201 (c-name "empathy_tp_chat_acknowledge_message")
2202 (return-type "none")
2204 '("EmpathyMessage*" "message")
2208 (define-method acknowledge_messages
2209 (of-object "EmpathyTpChat")
2210 (c-name "empathy_tp_chat_acknowledge_messages")
2211 (return-type "none")
2213 '("const-GList*" "messages")
2219 ;; From empathy-tp-contact-factory.h
2221 (define-function tp_contact_factory_get_type
2222 (c-name "empathy_tp_contact_factory_get_type")
2223 (return-type "GType")
2226 (define-function tp_contact_factory_dup_singleton
2227 (c-name "empathy_tp_contact_factory_dup_singleton")
2228 (return-type "EmpathyTpContactFactory*")
2230 '("TpConnection*" "connection")
2234 (define-method get_from_ids
2235 (of-object "EmpathyTpContactFactory")
2236 (c-name "empathy_tp_contact_factory_get_from_ids")
2237 (return-type "none")
2240 '("const-gchar*-const*" "ids")
2241 '("EmpathyTpContactFactoryContactsByIdCb" "callback")
2242 '("gpointer" "user_data")
2243 '("GDestroyNotify" "destroy")
2244 '("GObject*" "weak_object")
2248 (define-method get_from_handles
2249 (of-object "EmpathyTpContactFactory")
2250 (c-name "empathy_tp_contact_factory_get_from_handles")
2251 (return-type "none")
2253 '("guint" "n_handles")
2254 '("const-TpHandle*" "handles")
2255 '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
2256 '("gpointer" "user_data")
2257 '("GDestroyNotify" "destroy")
2258 '("GObject*" "weak_object")
2262 (define-method get_from_id
2263 (of-object "EmpathyTpContactFactory")
2264 (c-name "empathy_tp_contact_factory_get_from_id")
2265 (return-type "none")
2267 '("const-gchar*" "id")
2268 '("EmpathyTpContactFactoryContactCb" "callback")
2269 '("gpointer" "user_data")
2270 '("GDestroyNotify" "destroy")
2271 '("GObject*" "weak_object")
2275 (define-method get_from_handle
2276 (of-object "EmpathyTpContactFactory")
2277 (c-name "empathy_tp_contact_factory_get_from_handle")
2278 (return-type "none")
2280 '("TpHandle" "handle")
2281 '("EmpathyTpContactFactoryContactCb" "callback")
2282 '("gpointer" "user_data")
2283 '("GDestroyNotify" "destroy")
2284 '("GObject*" "weak_object")
2288 (define-method set_alias
2289 (of-object "EmpathyTpContactFactory")
2290 (c-name "empathy_tp_contact_factory_set_alias")
2291 (return-type "none")
2293 '("EmpathyContact*" "contact")
2294 '("const-gchar*" "alias")
2298 (define-method set_avatar
2299 (of-object "EmpathyTpContactFactory")
2300 (c-name "empathy_tp_contact_factory_set_avatar")
2301 (return-type "none")
2303 '("const-gchar*" "data")
2305 '("const-gchar*" "mime_type")
2309 (define-method set_location
2310 (of-object "EmpathyTpContactFactory")
2311 (c-name "empathy_tp_contact_factory_set_location")
2312 (return-type "none")
2314 '("GHashTable*" "location")
2320 ;; From empathy-tp-contact-list.h
2322 (define-function tp_contact_list_get_type
2323 (c-name "empathy_tp_contact_list_get_type")
2324 (return-type "GType")
2327 (define-function tp_contact_list_new
2328 (c-name "empathy_tp_contact_list_new")
2329 (is-constructor-of "EmpathyTpContactList")
2330 (return-type "EmpathyTpContactList*")
2332 '("TpConnection*" "connection")
2336 (define-method get_connection
2337 (of-object "EmpathyTpContactList")
2338 (c-name "empathy_tp_contact_list_get_connection")
2339 (return-type "TpConnection*")
2342 (define-method can_add
2343 (of-object "EmpathyTpContactList")
2344 (c-name "empathy_tp_contact_list_can_add")
2345 (return-type "gboolean")
2348 (define-method remove_all
2349 (of-object "EmpathyTpContactList")
2350 (c-name "empathy_tp_contact_list_remove_all")
2351 (return-type "none")
2356 ;; From empathy-tp-file.h
2358 (define-function tp_file_get_type
2359 (c-name "empathy_tp_file_get_type")
2360 (return-type "GType")
2363 (define-function tp_file_new
2364 (c-name "empathy_tp_file_new")
2365 (is-constructor-of "EmpathyTpFile")
2366 (return-type "EmpathyTpFile*")
2368 '("TpChannel*" "channel")
2372 (define-method get_channel
2373 (of-object "EmpathyTpFile")
2374 (c-name "empathy_tp_file_get_channel")
2375 (return-type "TpChannel*")
2378 (define-method accept
2379 (of-object "EmpathyTpFile")
2380 (c-name "empathy_tp_file_accept")
2381 (return-type "none")
2383 '("guint64" "offset")
2385 '("GError**" "error")
2389 (define-method cancel
2390 (of-object "EmpathyTpFile")
2391 (c-name "empathy_tp_file_cancel")
2392 (return-type "none")
2395 (define-method offer
2396 (of-object "EmpathyTpFile")
2397 (c-name "empathy_tp_file_offer")
2398 (return-type "none")
2401 '("GError**" "error")
2405 (define-method get_contact
2406 (of-object "EmpathyTpFile")
2407 (c-name "empathy_tp_file_get_contact")
2408 (return-type "EmpathyContact*")
2411 (define-method get_filename
2412 (of-object "EmpathyTpFile")
2413 (c-name "empathy_tp_file_get_filename")
2414 (return-type "const-gchar*")
2417 (define-method is_incoming
2418 (of-object "EmpathyTpFile")
2419 (c-name "empathy_tp_file_is_incoming")
2420 (return-type "gboolean")
2423 (define-method get_state
2424 (of-object "EmpathyTpFile")
2425 (c-name "empathy_tp_file_get_state")
2426 (return-type "TpFileTransferState")
2428 '("TpFileTransferStateChangeReason*" "reason")
2432 (define-method get_size
2433 (of-object "EmpathyTpFile")
2434 (c-name "empathy_tp_file_get_size")
2435 (return-type "guint64")
2438 (define-method get_transferred_bytes
2439 (of-object "EmpathyTpFile")
2440 (c-name "empathy_tp_file_get_transferred_bytes")
2441 (return-type "guint64")
2444 (define-method get_remaining_time
2445 (of-object "EmpathyTpFile")
2446 (c-name "empathy_tp_file_get_remaining_time")
2447 (return-type "gint")
2450 (define-method get_speed
2451 (of-object "EmpathyTpFile")
2452 (c-name "empathy_tp_file_get_speed")
2453 (return-type "gdouble")
2456 (define-method get_content_type
2457 (of-object "EmpathyTpFile")
2458 (c-name "empathy_tp_file_get_content_type")
2459 (return-type "const-gchar*")
2462 (define-method is_ready
2463 (of-object "EmpathyTpFile")
2464 (c-name "empathy_tp_file_is_ready")
2465 (return-type "gboolean")
2470 ;; From empathy-tp-roomlist.h
2472 (define-function tp_roomlist_get_type
2473 (c-name "empathy_tp_roomlist_get_type")
2474 (return-type "GType")
2477 (define-function tp_roomlist_new
2478 (c-name "empathy_tp_roomlist_new")
2479 (is-constructor-of "EmpathyTpRoomlist")
2480 (return-type "EmpathyTpRoomlist*")
2482 '("McAccount*" "account")
2486 (define-method is_listing
2487 (of-object "EmpathyTpRoomlist")
2488 (c-name "empathy_tp_roomlist_is_listing")
2489 (return-type "gboolean")
2492 (define-method start
2493 (of-object "EmpathyTpRoomlist")
2494 (c-name "empathy_tp_roomlist_start")
2495 (return-type "none")
2499 (of-object "EmpathyTpRoomlist")
2500 (c-name "empathy_tp_roomlist_stop")
2501 (return-type "none")
2506 ;; From empathy-tp-tube.h
2508 (define-function tp_tube_get_type
2509 (c-name "empathy_tp_tube_get_type")
2510 (return-type "GType")
2513 (define-function tp_tube_new
2514 (c-name "empathy_tp_tube_new")
2515 (is-constructor-of "EmpathyTpTube")
2516 (return-type "EmpathyTpTube*")
2518 '("TpChannel*" "channel")
2522 (define-function tp_tube_new_stream_tube
2523 (c-name "empathy_tp_tube_new_stream_tube")
2524 (return-type "EmpathyTpTube*")
2526 '("EmpathyContact*" "contact")
2527 '("TpSocketAddressType" "type")
2528 '("const-gchar*" "hostname")
2530 '("const-gchar*" "service")
2531 '("GHashTable*" "parameters")
2535 (define-method accept_stream_tube
2536 (of-object "EmpathyTpTube")
2537 (c-name "empathy_tp_tube_accept_stream_tube")
2538 (return-type "none")
2540 '("TpSocketAddressType" "type")
2541 '("EmpathyTpTubeAcceptStreamTubeCb*" "callback")
2542 '("gpointer" "user_data")
2546 (define-method call_when_ready
2547 (of-object "EmpathyTpTube")
2548 (c-name "empathy_tp_tube_call_when_ready")
2549 (return-type "none")
2551 '("EmpathyTpTubeReadyCb*" "callback")
2552 '("gpointer" "user_data")
2553 '("GDestroyNotify" "destroy")
2554 '("GObject*" "weak_object")
2560 ;; From empathy-tube-handler.h
2562 (define-function tube_handler_get_type
2563 (c-name "empathy_tube_handler_get_type")
2564 (return-type "GType")
2567 (define-function tube_handler_new
2568 (c-name "empathy_tube_handler_new")
2569 (is-constructor-of "EmpathyTubeHandler")
2570 (return-type "EmpathyTubeHandler*")
2572 '("TpTubeType" "type")
2573 '("const-gchar*" "service")
2577 (define-function tube_handler_build_bus_name
2578 (c-name "empathy_tube_handler_build_bus_name")
2579 (return-type "gchar*")
2581 '("TpTubeType" "type")
2582 '("const-gchar*" "service")
2586 (define-function tube_handler_build_object_path
2587 (c-name "empathy_tube_handler_build_object_path")
2588 (return-type "gchar*")
2590 '("TpTubeType" "type")
2591 '("const-gchar*" "service")
2597 ;; From empathy-types.h
2601 ;; From empathy-utils.h
2603 (define-function init
2604 (c-name "empathy_init")
2605 (return-type "none")
2608 (define-function substring
2609 (c-name "empathy_substring")
2610 (return-type "gchar*")
2612 '("const-gchar*" "str")
2618 (define-function strcasecmp
2619 (c-name "empathy_strcasecmp")
2620 (return-type "gint")
2622 '("const-gchar*" "s1")
2623 '("const-gchar*" "s2")
2627 (define-function strncasecmp
2628 (c-name "empathy_strncasecmp")
2629 (return-type "gint")
2631 '("const-gchar*" "s1")
2632 '("const-gchar*" "s2")
2637 (define-function xml_validate
2638 (c-name "empathy_xml_validate")
2639 (return-type "gboolean")
2642 '("const-gchar*" "dtd_filename")
2646 (define-function xml_node_get_child
2647 (c-name "empathy_xml_node_get_child")
2648 (return-type "xmlNodePtr")
2650 '("xmlNodePtr" "node")
2651 '("const-gchar*" "child_name")
2655 (define-function xml_node_get_child_content
2656 (c-name "empathy_xml_node_get_child_content")
2657 (return-type "xmlChar*")
2659 '("xmlNodePtr" "node")
2660 '("const-gchar*" "child_name")
2664 (define-function xml_node_find_child_prop_value
2665 (c-name "empathy_xml_node_find_child_prop_value")
2666 (return-type "xmlNodePtr")
2668 '("xmlNodePtr" "node")
2669 '("const-gchar*" "prop_name")
2670 '("const-gchar*" "prop_value")
2674 (define-function account_hash
2675 (c-name "empathy_account_hash")
2676 (return-type "guint")
2678 '("gconstpointer" "key")
2682 (define-function account_equal
2683 (c-name "empathy_account_equal")
2684 (return-type "gboolean")
2686 '("gconstpointer" "a")
2687 '("gconstpointer" "b")
2691 (define-function mission_control_dup_singleton
2692 (c-name "empathy_mission_control_dup_singleton")
2693 (return-type "MissionControl*")
2696 (define-function presence_get_default_message
2697 (c-name "empathy_presence_get_default_message")
2698 (return-type "const-gchar*")
2700 '("McPresence" "presence")
2704 (define-function presence_to_str
2705 (c-name "empathy_presence_to_str")
2706 (return-type "const-gchar*")
2708 '("McPresence" "presence")
2712 (define-function presence_from_str
2713 (c-name "empathy_presence_from_str")
2714 (return-type "McPresence")
2716 '("const-gchar*" "str")
2720 (define-function file_lookup
2721 (c-name "empathy_file_lookup")
2722 (return-type "gchar*")
2724 '("const-gchar*" "filename")
2725 '("const-gchar*" "subdir")
2729 (define-function proxy_equal
2730 (c-name "empathy_proxy_equal")
2731 (return-type "gboolean")
2733 '("gconstpointer" "a")
2734 '("gconstpointer" "b")
2738 (define-function proxy_hash
2739 (c-name "empathy_proxy_hash")
2740 (return-type "guint")
2742 '("gconstpointer" "key")
2746 (define-function check_available_state
2747 (c-name "empathy_check_available_state")
2748 (return-type "gboolean")