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 new_call_with_streams
603 (of-object "EmpathyCallFactory")
604 (c-name "empathy_call_factory_new_call_with_streams")
607 '("EmpathyContact*" "contact")
608 '("gboolean" "initial_audio")
609 '("gboolean" "initial_video")
613 (define-method claim_channel
614 (of-object "EmpathyCallFactory")
615 (c-name "empathy_call_factory_claim_channel")
618 '("EmpathyDispatchOperation*" "operation")
624 ;; From empathy-call-handler.h
626 (define-function call_handler_get_type
627 (c-name "empathy_call_handler_get_type")
628 (return-type "GType")
631 (define-function call_handler_new_for_contact
632 (c-name "empathy_call_handler_new_for_contact")
633 (return-type "EmpathyCallHandler*")
635 '("EmpathyContact*" "contact")
639 (define-function call_handler_new_for_contact_with_streams
640 (c-name "empathy_call_handler_new_for_contact_with_streams")
641 (return-type "EmpathyCallHandler*")
643 '("EmpathyContact*" "contact")
644 '("gboolean" "audio")
645 '("gboolean" "video")
649 (define-function call_handler_new_for_channel
650 (c-name "empathy_call_handler_new_for_channel")
651 (return-type "EmpathyCallHandler*")
653 '("EmpathyTpCall*" "call")
657 (define-method start_call
658 (of-object "EmpathyCallHandler")
659 (c-name "empathy_call_handler_start_call")
663 (define-method bus_message
664 (of-object "EmpathyCallHandler")
665 (c-name "empathy_call_handler_bus_message")
669 '("GstMessage*" "message")
675 ;; From empathy-contact.h
677 (define-function contact_get_type
678 (c-name "empathy_contact_get_type")
679 (return-type "GType")
682 (define-function contact_new
683 (c-name "empathy_contact_new")
684 (is-constructor-of "EmpathyContact")
685 (return-type "EmpathyContact*")
687 '("TpContact*" "tp_contact")
691 (define-function contact_new_for_log
692 (c-name "empathy_contact_new_for_log")
693 (return-type "EmpathyContact*")
695 '("McAccount*" "account")
696 '("const-gchar*" "id")
697 '("const-gchar*" "name")
698 '("gboolean" "is_user")
702 (define-method get_tp_contact
703 (of-object "EmpathyContact")
704 (c-name "empathy_contact_get_tp_contact")
705 (return-type "TpContact*")
708 (define-method get_id
709 (of-object "EmpathyContact")
710 (c-name "empathy_contact_get_id")
711 (return-type "const-gchar*")
714 (define-method set_id
715 (of-object "EmpathyContact")
716 (c-name "empathy_contact_set_id")
719 '("const-gchar*" "id")
723 (define-method get_name
724 (of-object "EmpathyContact")
725 (c-name "empathy_contact_get_name")
726 (return-type "const-gchar*")
729 (define-method set_name
730 (of-object "EmpathyContact")
731 (c-name "empathy_contact_set_name")
734 '("const-gchar*" "name")
738 (define-method get_avatar
739 (of-object "EmpathyContact")
740 (c-name "empathy_contact_get_avatar")
741 (return-type "EmpathyAvatar*")
744 (define-method set_avatar
745 (of-object "EmpathyContact")
746 (c-name "empathy_contact_set_avatar")
749 '("EmpathyAvatar*" "avatar")
753 (define-method get_account
754 (of-object "EmpathyContact")
755 (c-name "empathy_contact_get_account")
756 (return-type "McAccount*")
759 (define-method get_connection
760 (of-object "EmpathyContact")
761 (c-name "empathy_contact_get_connection")
762 (return-type "TpConnection*")
765 (define-method get_presence
766 (of-object "EmpathyContact")
767 (c-name "empathy_contact_get_presence")
768 (return-type "TpConnectionPresenceType")
771 (define-method set_presence
772 (of-object "EmpathyContact")
773 (c-name "empathy_contact_set_presence")
776 '("TpConnectionPresenceType" "presence")
780 (define-method get_presence_message
781 (of-object "EmpathyContact")
782 (c-name "empathy_contact_get_presence_message")
783 (return-type "const-gchar*")
786 (define-method set_presence_message
787 (of-object "EmpathyContact")
788 (c-name "empathy_contact_set_presence_message")
791 '("const-gchar*" "message")
795 (define-method get_handle
796 (of-object "EmpathyContact")
797 (c-name "empathy_contact_get_handle")
798 (return-type "guint")
801 (define-method set_handle
802 (of-object "EmpathyContact")
803 (c-name "empathy_contact_set_handle")
810 (define-method get_capabilities
811 (of-object "EmpathyContact")
812 (c-name "empathy_contact_get_capabilities")
813 (return-type "EmpathyCapabilities")
816 (define-method set_capabilities
817 (of-object "EmpathyContact")
818 (c-name "empathy_contact_set_capabilities")
821 '("EmpathyCapabilities" "capabilities")
825 (define-method is_user
826 (of-object "EmpathyContact")
827 (c-name "empathy_contact_is_user")
828 (return-type "gboolean")
831 (define-method set_is_user
832 (of-object "EmpathyContact")
833 (c-name "empathy_contact_set_is_user")
836 '("gboolean" "is_user")
840 (define-method is_online
841 (of-object "EmpathyContact")
842 (c-name "empathy_contact_is_online")
843 (return-type "gboolean")
846 (define-method get_status
847 (of-object "EmpathyContact")
848 (c-name "empathy_contact_get_status")
849 (return-type "const-gchar*")
852 (define-method can_voip
853 (of-object "EmpathyContact")
854 (c-name "empathy_contact_can_voip")
855 (return-type "gboolean")
858 (define-method can_send_files
859 (of-object "EmpathyContact")
860 (c-name "empathy_contact_can_send_files")
861 (return-type "gboolean")
864 (define-function contact_hash
865 (c-name "empathy_contact_hash")
866 (return-type "guint")
868 '("gconstpointer" "key")
872 (define-method load_avatar_data
873 (of-object "EmpathyContact")
874 (c-name "empathy_contact_load_avatar_data")
877 '("const-guchar*" "data")
878 '("const-gsize" "len")
879 '("const-gchar*" "format")
880 '("const-gchar*" "token")
884 (define-method load_avatar_cache
885 (of-object "EmpathyContact")
886 (c-name "empathy_contact_load_avatar_cache")
887 (return-type "gboolean")
889 '("const-gchar*" "token")
893 (define-function avatar_get_type
894 (c-name "empathy_avatar_get_type")
895 (return-type "GType")
898 (define-function avatar_new
899 (c-name "empathy_avatar_new")
900 (is-constructor-of "EmpathyAvatar")
901 (return-type "EmpathyAvatar*")
911 (of-object "EmpathyAvatar")
912 (c-name "empathy_avatar_ref")
913 (return-type "EmpathyAvatar*")
917 (of-object "EmpathyAvatar")
918 (c-name "empathy_avatar_unref")
922 (define-method save_to_file
923 (of-object "EmpathyAvatar")
924 (c-name "empathy_avatar_save_to_file")
925 (return-type "gboolean")
927 '("const-gchar*" "filename")
928 '("GError**" "error")
932 (define-method get_location
933 (of-object "EmpathyContact")
934 (c-name "empathy_contact_get_location")
935 (return-type "GHashTable*")
938 (define-method set_location
939 (of-object "EmpathyContact")
940 (c-name "empathy_contact_set_location")
943 '("GHashTable*" "location")
949 ;; From empathy-contact-groups.h
951 (define-function contact_groups_get_all
952 (c-name "empathy_contact_groups_get_all")
956 (define-function contact_group_get_expanded
957 (c-name "empathy_contact_group_get_expanded")
958 (return-type "gboolean")
960 '("const-gchar*" "group")
964 (define-function contact_group_set_expanded
965 (c-name "empathy_contact_group_set_expanded")
968 '("const-gchar*" "group")
969 '("gboolean" "expanded")
975 ;; From empathy-contact-list.h
977 (define-function contact_list_get_type
978 (c-name "empathy_contact_list_get_type")
979 (return-type "GType")
983 (of-object "EmpathyContactList")
984 (c-name "empathy_contact_list_add")
987 '("EmpathyContact*" "contact")
988 '("const-gchar*" "message")
992 (define-method remove
993 (of-object "EmpathyContactList")
994 (c-name "empathy_contact_list_remove")
997 '("EmpathyContact*" "contact")
998 '("const-gchar*" "message")
1002 (define-method get_members
1003 (of-object "EmpathyContactList")
1004 (c-name "empathy_contact_list_get_members")
1005 (return-type "GList*")
1008 (define-method get_pendings
1009 (of-object "EmpathyContactList")
1010 (c-name "empathy_contact_list_get_pendings")
1011 (return-type "GList*")
1014 (define-method get_all_groups
1015 (of-object "EmpathyContactList")
1016 (c-name "empathy_contact_list_get_all_groups")
1017 (return-type "GList*")
1020 (define-method get_groups
1021 (of-object "EmpathyContactList")
1022 (c-name "empathy_contact_list_get_groups")
1023 (return-type "GList*")
1025 '("EmpathyContact*" "contact")
1029 (define-method add_to_group
1030 (of-object "EmpathyContactList")
1031 (c-name "empathy_contact_list_add_to_group")
1032 (return-type "none")
1034 '("EmpathyContact*" "contact")
1035 '("const-gchar*" "group")
1039 (define-method remove_from_group
1040 (of-object "EmpathyContactList")
1041 (c-name "empathy_contact_list_remove_from_group")
1042 (return-type "none")
1044 '("EmpathyContact*" "contact")
1045 '("const-gchar*" "group")
1049 (define-method rename_group
1050 (of-object "EmpathyContactList")
1051 (c-name "empathy_contact_list_rename_group")
1052 (return-type "none")
1054 '("const-gchar*" "old_group")
1055 '("const-gchar*" "new_group")
1059 (define-method remove_group
1060 (of-object "EmpathyContactList")
1061 (c-name "empathy_contact_list_remove_group")
1062 (return-type "none")
1064 '("const-gchar*" "group")
1068 (define-method get_monitor
1069 (of-object "EmpathyContactList")
1070 (c-name "empathy_contact_list_get_monitor")
1071 (return-type "EmpathyContactMonitor*")
1076 ;; From empathy-contact-manager.h
1078 (define-function contact_manager_get_type
1079 (c-name "empathy_contact_manager_get_type")
1080 (return-type "GType")
1083 (define-function contact_manager_dup_singleton
1084 (c-name "empathy_contact_manager_dup_singleton")
1085 (return-type "EmpathyContactManager*")
1088 (define-method get_list
1089 (of-object "EmpathyContactManager")
1090 (c-name "empathy_contact_manager_get_list")
1091 (return-type "EmpathyTpContactList*")
1093 '("TpConnection*" "connection")
1097 (define-method can_add
1098 (of-object "EmpathyContactManager")
1099 (c-name "empathy_contact_manager_can_add")
1100 (return-type "gboolean")
1102 '("TpConnection*" "connection")
1108 ;; From empathy-contact-monitor.h
1110 (define-function contact_monitor_get_type
1111 (c-name "empathy_contact_monitor_get_type")
1112 (return-type "GType")
1115 (define-method set_iface
1116 (of-object "EmpathyContactMonitor")
1117 (c-name "empathy_contact_monitor_set_iface")
1118 (return-type "none")
1120 '("EmpathyContactList*" "iface")
1124 (define-function contact_monitor_new_for_iface
1125 (c-name "empathy_contact_monitor_new_for_iface")
1126 (return-type "EmpathyContactMonitor*")
1128 '("EmpathyContactList*" "iface")
1134 ;; From empathy-debug.h
1136 (define-function debug_flag_is_set
1137 (c-name "empathy_debug_flag_is_set")
1138 (return-type "gboolean")
1140 '("EmpathyDebugFlags" "flag")
1144 (define-function debug
1145 (c-name "empathy_debug")
1146 (return-type "none")
1148 '("EmpathyDebugFlags" "flag")
1149 '("const-gchar*" "format")
1154 (define-function debug_set_flags
1155 (c-name "empathy_debug_set_flags")
1156 (return-type "none")
1158 '("const-gchar*" "flags_string")
1164 ;; From empathy-dispatcher.h
1166 (define-function dispatcher_get_type
1167 (c-name "empathy_dispatcher_get_type")
1168 (return-type "GType")
1171 (define-method create_channel
1172 (of-object "EmpathyDispatcher")
1173 (c-name "empathy_dispatcher_create_channel")
1174 (return-type "none")
1176 '("TpConnection*" "connection")
1177 '("GHashTable*" "request")
1178 '("EmpathyDispatcherRequestCb*" "callback")
1179 '("gpointer" "user_data")
1183 (define-function dispatcher_chat_with_contact_id
1184 (c-name "empathy_dispatcher_chat_with_contact_id")
1185 (return-type "none")
1187 '("TpConnection*" "connection")
1188 '("const-gchar*" "contact_id")
1189 '("EmpathyDispatcherRequestCb*" "callback")
1190 '("gpointer" "user_data")
1194 (define-function dispatcher_chat_with_contact
1195 (c-name "empathy_dispatcher_chat_with_contact")
1196 (return-type "none")
1198 '("EmpathyContact*" "contact")
1199 '("EmpathyDispatcherRequestCb*" "callback")
1200 '("gpointer" "user_data")
1204 (define-function dispatcher_send_file_to_contact
1205 (c-name "empathy_dispatcher_send_file_to_contact")
1206 (return-type "none")
1208 '("EmpathyContact*" "contact")
1209 '("const-gchar*" "filename")
1212 '("const-gchar*" "content_type")
1213 '("EmpathyDispatcherRequestCb*" "callback")
1214 '("gpointer" "user_data")
1218 (define-function dispatcher_join_muc
1219 (c-name "empathy_dispatcher_join_muc")
1220 (return-type "none")
1222 '("TpConnection*" "connection")
1223 '("const-gchar*" "roomname")
1224 '("EmpathyDispatcherRequestCb*" "callback")
1225 '("gpointer" "user_data")
1229 (define-method find_channel_class
1230 (of-object "EmpathyDispatcher")
1231 (c-name "empathy_dispatcher_find_channel_class")
1232 (return-type "GStrv")
1234 '("TpConnection*" "connection")
1235 '("const-gchar*" "channel_type")
1236 '("guint" "handle_type")
1240 (define-function dispatcher_dup_singleton
1241 (c-name "empathy_dispatcher_dup_singleton")
1242 (return-type "EmpathyDispatcher*")
1247 ;; From empathy-dispatch-operation.h
1249 (define-function dispatch_operation_get_type
1250 (c-name "empathy_dispatch_operation_get_type")
1251 (return-type "GType")
1254 (define-function dispatch_operation_new
1255 (c-name "empathy_dispatch_operation_new")
1256 (is-constructor-of "EmpathyDispatchOperation")
1257 (return-type "EmpathyDispatchOperation*")
1259 '("TpConnection*" "connection")
1260 '("TpChannel*" "channel")
1261 '("EmpathyContact*" "contact")
1262 '("gboolean" "incoming")
1266 (define-function dispatch_operation_new_with_wrapper
1267 (c-name "empathy_dispatch_operation_new_with_wrapper")
1268 (return-type "EmpathyDispatchOperation*")
1270 '("TpConnection*" "connection")
1271 '("TpChannel*" "channel")
1272 '("EmpathyContact*" "contact")
1273 '("gboolean" "incoming")
1274 '("GObject*" "channel_wrapper")
1278 (define-method start
1279 (of-object "EmpathyDispatchOperation")
1280 (c-name "empathy_dispatch_operation_start")
1281 (return-type "none")
1284 (define-method approve
1285 (of-object "EmpathyDispatchOperation")
1286 (c-name "empathy_dispatch_operation_approve")
1287 (return-type "none")
1290 (define-method claim
1291 (of-object "EmpathyDispatchOperation")
1292 (c-name "empathy_dispatch_operation_claim")
1293 (return-type "gboolean")
1296 (define-method get_channel
1297 (of-object "EmpathyDispatchOperation")
1298 (c-name "empathy_dispatch_operation_get_channel")
1299 (return-type "TpChannel*")
1302 (define-method get_channel_wrapper
1303 (of-object "EmpathyDispatchOperation")
1304 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1305 (return-type "GObject*")
1308 (define-method get_tp_connection
1309 (of-object "EmpathyDispatchOperation")
1310 (c-name "empathy_dispatch_operation_get_tp_connection")
1311 (return-type "TpConnection*")
1314 (define-method get_channel_type
1315 (of-object "EmpathyDispatchOperation")
1316 (c-name "empathy_dispatch_operation_get_channel_type")
1317 (return-type "const-gchar*")
1320 (define-method get_channel_type_id
1321 (of-object "EmpathyDispatchOperation")
1322 (c-name "empathy_dispatch_operation_get_channel_type_id")
1323 (return-type "GQuark")
1326 (define-method get_object_path
1327 (of-object "EmpathyDispatchOperation")
1328 (c-name "empathy_dispatch_operation_get_object_path")
1329 (return-type "const-gchar*")
1332 (define-method get_status
1333 (of-object "EmpathyDispatchOperation")
1334 (c-name "empathy_dispatch_operation_get_status")
1335 (return-type "EmpathyDispatchOperationState")
1338 (define-method is_incoming
1339 (of-object "EmpathyDispatchOperation")
1340 (c-name "empathy_dispatch_operation_is_incoming")
1341 (return-type "gboolean")
1346 ;; From empathy-idle.h
1348 (define-function idle_get_type
1349 (c-name "empathy_idle_get_type")
1350 (return-type "GType")
1353 (define-function idle_dup_singleton
1354 (c-name "empathy_idle_dup_singleton")
1355 (return-type "EmpathyIdle*")
1358 (define-method get_state
1359 (of-object "EmpathyIdle")
1360 (c-name "empathy_idle_get_state")
1361 (return-type "TpConnectionPresenceType")
1364 (define-method set_state
1365 (of-object "EmpathyIdle")
1366 (c-name "empathy_idle_set_state")
1367 (return-type "none")
1369 '("TpConnectionPresenceType" "state")
1373 (define-method get_status
1374 (of-object "EmpathyIdle")
1375 (c-name "empathy_idle_get_status")
1376 (return-type "const-gchar*")
1379 (define-method set_status
1380 (of-object "EmpathyIdle")
1381 (c-name "empathy_idle_set_status")
1382 (return-type "none")
1384 '("const-gchar*" "status")
1388 (define-method get_flash_state
1389 (of-object "EmpathyIdle")
1390 (c-name "empathy_idle_get_flash_state")
1391 (return-type "TpConnectionPresenceType")
1394 (define-method set_flash_state
1395 (of-object "EmpathyIdle")
1396 (c-name "empathy_idle_set_flash_state")
1397 (return-type "none")
1399 '("TpConnectionPresenceType" "state")
1403 (define-method set_presence
1404 (of-object "EmpathyIdle")
1405 (c-name "empathy_idle_set_presence")
1406 (return-type "none")
1408 '("TpConnectionPresenceType" "state")
1409 '("const-gchar*" "status")
1413 (define-method get_auto_away
1414 (of-object "EmpathyIdle")
1415 (c-name "empathy_idle_get_auto_away")
1416 (return-type "gboolean")
1419 (define-method set_auto_away
1420 (of-object "EmpathyIdle")
1421 (c-name "empathy_idle_set_auto_away")
1422 (return-type "none")
1424 '("gboolean" "auto_away")
1428 (define-method get_use_nm
1429 (of-object "EmpathyIdle")
1430 (c-name "empathy_idle_get_use_nm")
1431 (return-type "gboolean")
1434 (define-method set_use_nm
1435 (of-object "EmpathyIdle")
1436 (c-name "empathy_idle_set_use_nm")
1437 (return-type "none")
1439 '("gboolean" "use_nm")
1445 ;; From empathy-irc-network.h
1447 (define-function irc_network_get_type
1448 (c-name "empathy_irc_network_get_type")
1449 (return-type "GType")
1452 (define-function irc_network_new
1453 (c-name "empathy_irc_network_new")
1454 (is-constructor-of "EmpathyIrcNetwork")
1455 (return-type "EmpathyIrcNetwork*")
1457 '("const-gchar*" "name")
1461 (define-method get_servers
1462 (of-object "EmpathyIrcNetwork")
1463 (c-name "empathy_irc_network_get_servers")
1464 (return-type "GSList*")
1467 (define-method append_server
1468 (of-object "EmpathyIrcNetwork")
1469 (c-name "empathy_irc_network_append_server")
1470 (return-type "none")
1472 '("EmpathyIrcServer*" "server")
1476 (define-method remove_server
1477 (of-object "EmpathyIrcNetwork")
1478 (c-name "empathy_irc_network_remove_server")
1479 (return-type "none")
1481 '("EmpathyIrcServer*" "server")
1485 (define-method set_server_position
1486 (of-object "EmpathyIrcNetwork")
1487 (c-name "empathy_irc_network_set_server_position")
1488 (return-type "none")
1490 '("EmpathyIrcServer*" "server")
1497 ;; From empathy-irc-network-manager.h
1499 (define-function irc_network_manager_get_type
1500 (c-name "empathy_irc_network_manager_get_type")
1501 (return-type "GType")
1504 (define-function irc_network_manager_new
1505 (c-name "empathy_irc_network_manager_new")
1506 (is-constructor-of "EmpathyIrcNetworkManager")
1507 (return-type "EmpathyIrcNetworkManager*")
1509 '("const-gchar*" "global_file")
1510 '("const-gchar*" "user_file")
1515 (of-object "EmpathyIrcNetworkManager")
1516 (c-name "empathy_irc_network_manager_add")
1517 (return-type "none")
1519 '("EmpathyIrcNetwork*" "network")
1523 (define-method remove
1524 (of-object "EmpathyIrcNetworkManager")
1525 (c-name "empathy_irc_network_manager_remove")
1526 (return-type "none")
1528 '("EmpathyIrcNetwork*" "network")
1532 (define-method get_networks
1533 (of-object "EmpathyIrcNetworkManager")
1534 (c-name "empathy_irc_network_manager_get_networks")
1535 (return-type "GSList*")
1538 (define-method find_network_by_address
1539 (of-object "EmpathyIrcNetworkManager")
1540 (c-name "empathy_irc_network_manager_find_network_by_address")
1541 (return-type "EmpathyIrcNetwork*")
1543 '("const-gchar*" "address")
1549 ;; From empathy-irc-server.h
1551 (define-function irc_server_get_type
1552 (c-name "empathy_irc_server_get_type")
1553 (return-type "GType")
1556 (define-function irc_server_new
1557 (c-name "empathy_irc_server_new")
1558 (is-constructor-of "EmpathyIrcServer")
1559 (return-type "EmpathyIrcServer*")
1561 '("const-gchar*" "address")
1569 ;; From empathy-log-manager.h
1571 (define-function log_manager_get_type
1572 (c-name "empathy_log_manager_get_type")
1573 (return-type "GType")
1576 (define-function log_manager_dup_singleton
1577 (c-name "empathy_log_manager_dup_singleton")
1578 (return-type "EmpathyLogManager*")
1581 (define-method add_message
1582 (of-object "EmpathyLogManager")
1583 (c-name "empathy_log_manager_add_message")
1584 (return-type "gboolean")
1586 '("const-gchar*" "chat_id")
1587 '("gboolean" "chatroom")
1588 '("EmpathyMessage*" "message")
1589 '("GError**" "error")
1593 (define-method exists
1594 (of-object "EmpathyLogManager")
1595 (c-name "empathy_log_manager_exists")
1596 (return-type "gboolean")
1598 '("McAccount*" "account")
1599 '("const-gchar*" "chat_id")
1600 '("gboolean" "chatroom")
1604 (define-method get_dates
1605 (of-object "EmpathyLogManager")
1606 (c-name "empathy_log_manager_get_dates")
1607 (return-type "GList*")
1609 '("McAccount*" "account")
1610 '("const-gchar*" "chat_id")
1611 '("gboolean" "chatroom")
1615 (define-method get_messages_for_date
1616 (of-object "EmpathyLogManager")
1617 (c-name "empathy_log_manager_get_messages_for_date")
1618 (return-type "GList*")
1620 '("McAccount*" "account")
1621 '("const-gchar*" "chat_id")
1622 '("gboolean" "chatroom")
1623 '("const-gchar*" "date")
1627 (define-method get_filtered_messages
1628 (of-object "EmpathyLogManager")
1629 (c-name "empathy_log_manager_get_filtered_messages")
1630 (return-type "GList*")
1632 '("McAccount*" "account")
1633 '("const-gchar*" "chat_id")
1634 '("gboolean" "chatroom")
1635 '("guint" "num_messages")
1636 '("EmpathyLogMessageFilter" "filter")
1637 '("gpointer" "user_data")
1641 (define-method get_chats
1642 (of-object "EmpathyLogManager")
1643 (c-name "empathy_log_manager_get_chats")
1644 (return-type "GList*")
1646 '("McAccount*" "account")
1650 (define-method search_new
1651 (of-object "EmpathyLogManager")
1652 (c-name "empathy_log_manager_search_new")
1653 (return-type "GList*")
1655 '("const-gchar*" "text")
1659 (define-function log_manager_search_free
1660 (c-name "empathy_log_manager_search_free")
1661 (return-type "none")
1667 (define-function log_manager_get_date_readable
1668 (c-name "empathy_log_manager_get_date_readable")
1669 (return-type "gchar*")
1671 '("const-gchar*" "date")
1675 (define-function log_manager_search_hit_free
1676 (c-name "empathy_log_manager_search_hit_free")
1677 (return-type "none")
1679 '("EmpathyLogSearchHit*" "hit")
1683 (define-method observe
1684 (of-object "EmpathyLogManager")
1685 (c-name "empathy_log_manager_observe")
1686 (return-type "none")
1688 '("EmpathyDispatcher*" "dispatcher")
1694 ;; From empathy-log-store.h
1696 (define-function log_store_get_type
1697 (c-name "empathy_log_store_get_type")
1698 (return-type "GType")
1701 (define-method get_name
1702 (of-object "EmpathyLogStore")
1703 (c-name "empathy_log_store_get_name")
1704 (return-type "const-gchar*")
1707 (define-method exists
1708 (of-object "EmpathyLogStore")
1709 (c-name "empathy_log_store_exists")
1710 (return-type "gboolean")
1712 '("McAccount*" "account")
1713 '("const-gchar*" "chat_id")
1714 '("gboolean" "chatroom")
1718 (define-method add_message
1719 (of-object "EmpathyLogStore")
1720 (c-name "empathy_log_store_add_message")
1721 (return-type "gboolean")
1723 '("const-gchar*" "chat_id")
1724 '("gboolean" "chatroom")
1725 '("EmpathyMessage*" "message")
1726 '("GError**" "error")
1730 (define-method get_dates
1731 (of-object "EmpathyLogStore")
1732 (c-name "empathy_log_store_get_dates")
1733 (return-type "GList*")
1735 '("McAccount*" "account")
1736 '("const-gchar*" "chat_id")
1737 '("gboolean" "chatroom")
1741 (define-method get_messages_for_date
1742 (of-object "EmpathyLogStore")
1743 (c-name "empathy_log_store_get_messages_for_date")
1744 (return-type "GList*")
1746 '("McAccount*" "account")
1747 '("const-gchar*" "chat_id")
1748 '("gboolean" "chatroom")
1749 '("const-gchar*" "date")
1753 (define-method get_last_messages
1754 (of-object "EmpathyLogStore")
1755 (c-name "empathy_log_store_get_last_messages")
1756 (return-type "GList*")
1758 '("McAccount*" "account")
1759 '("const-gchar*" "chat_id")
1760 '("gboolean" "chatroom")
1764 (define-method get_chats
1765 (of-object "EmpathyLogStore")
1766 (c-name "empathy_log_store_get_chats")
1767 (return-type "GList*")
1769 '("McAccount*" "account")
1773 (define-method search_new
1774 (of-object "EmpathyLogStore")
1775 (c-name "empathy_log_store_search_new")
1776 (return-type "GList*")
1778 '("const-gchar*" "text")
1782 (define-method ack_message
1783 (of-object "EmpathyLogStore")
1784 (c-name "empathy_log_store_ack_message")
1785 (return-type "none")
1787 '("const-gchar*" "chat_id")
1788 '("gboolean" "chatroom")
1789 '("EmpathyMessage*" "message")
1793 (define-method get_filtered_messages
1794 (of-object "EmpathyLogStore")
1795 (c-name "empathy_log_store_get_filtered_messages")
1796 (return-type "GList*")
1798 '("McAccount*" "account")
1799 '("const-gchar*" "chat_id")
1800 '("gboolean" "chatroom")
1801 '("guint" "num_messages")
1802 '("EmpathyLogMessageFilter" "filter")
1803 '("gpointer" "user_data")
1809 ;; From empathy-log-store-empathy.h
1811 (define-function log_store_empathy_get_type
1812 (c-name "empathy_log_store_empathy_get_type")
1813 (return-type "GType")
1818 ;; From empathy-message.h
1820 (define-function message_get_type
1821 (c-name "empathy_message_get_type")
1822 (return-type "GType")
1825 (define-function message_new
1826 (c-name "empathy_message_new")
1827 (is-constructor-of "EmpathyMessage")
1828 (return-type "EmpathyMessage*")
1830 '("const-gchar*" "body")
1834 (define-method get_tptype
1835 (of-object "EmpathyMessage")
1836 (c-name "empathy_message_get_tptype")
1837 (return-type "TpChannelTextMessageType")
1840 (define-method set_tptype
1841 (of-object "EmpathyMessage")
1842 (c-name "empathy_message_set_tptype")
1843 (return-type "none")
1845 '("TpChannelTextMessageType" "type")
1849 (define-method get_sender
1850 (of-object "EmpathyMessage")
1851 (c-name "empathy_message_get_sender")
1852 (return-type "EmpathyContact*")
1855 (define-method set_sender
1856 (of-object "EmpathyMessage")
1857 (c-name "empathy_message_set_sender")
1858 (return-type "none")
1860 '("EmpathyContact*" "contact")
1864 (define-method get_receiver
1865 (of-object "EmpathyMessage")
1866 (c-name "empathy_message_get_receiver")
1867 (return-type "EmpathyContact*")
1870 (define-method set_receiver
1871 (of-object "EmpathyMessage")
1872 (c-name "empathy_message_set_receiver")
1873 (return-type "none")
1875 '("EmpathyContact*" "contact")
1879 (define-method get_body
1880 (of-object "EmpathyMessage")
1881 (c-name "empathy_message_get_body")
1882 (return-type "const-gchar*")
1885 (define-method set_body
1886 (of-object "EmpathyMessage")
1887 (c-name "empathy_message_set_body")
1888 (return-type "none")
1890 '("const-gchar*" "body")
1894 (define-method get_timestamp
1895 (of-object "EmpathyMessage")
1896 (c-name "empathy_message_get_timestamp")
1897 (return-type "time_t")
1900 (define-method set_timestamp
1901 (of-object "EmpathyMessage")
1902 (c-name "empathy_message_set_timestamp")
1903 (return-type "none")
1905 '("time_t" "timestamp")
1909 (define-method should_highlight
1910 (of-object "EmpathyMessage")
1911 (c-name "empathy_message_should_highlight")
1912 (return-type "gboolean")
1915 (define-function message_type_from_str
1916 (c-name "empathy_message_type_from_str")
1917 (return-type "TpChannelTextMessageType")
1919 '("const-gchar*" "type_str")
1923 (define-function message_type_to_str
1924 (c-name "empathy_message_type_to_str")
1925 (return-type "const-gchar*")
1927 '("TpChannelTextMessageType" "type")
1931 (define-method get_id
1932 (of-object "EmpathyMessage")
1933 (c-name "empathy_message_get_id")
1934 (return-type "guint")
1937 (define-method set_id
1938 (of-object "EmpathyMessage")
1939 (c-name "empathy_message_set_id")
1940 (return-type "none")
1946 (define-method equal
1947 (of-object "EmpathyMessage")
1948 (c-name "empathy_message_equal")
1949 (return-type "gboolean")
1951 '("EmpathyMessage*" "message2")
1957 ;; From empathy-status-presets.h
1959 (define-function status_presets_get_all
1960 (c-name "empathy_status_presets_get_all")
1961 (return-type "none")
1964 (define-function status_presets_get
1965 (c-name "empathy_status_presets_get")
1966 (return-type "GList*")
1968 '("TpConnectionPresenceType" "state")
1969 '("gint" "max_number")
1973 (define-function status_presets_set_last
1974 (c-name "empathy_status_presets_set_last")
1975 (return-type "none")
1977 '("TpConnectionPresenceType" "state")
1978 '("const-gchar*" "status")
1982 (define-function status_presets_remove
1983 (c-name "empathy_status_presets_remove")
1984 (return-type "none")
1986 '("TpConnectionPresenceType" "state")
1987 '("const-gchar*" "status")
1991 (define-function status_presets_reset
1992 (c-name "empathy_status_presets_reset")
1993 (return-type "none")
1996 (define-function status_presets_get_default_state
1997 (c-name "empathy_status_presets_get_default_state")
1998 (return-type "TpConnectionPresenceType")
2001 (define-function status_presets_get_default_status
2002 (c-name "empathy_status_presets_get_default_status")
2003 (return-type "const-gchar*")
2006 (define-function status_presets_set_default
2007 (c-name "empathy_status_presets_set_default")
2008 (return-type "none")
2010 '("TpConnectionPresenceType" "state")
2011 '("const-gchar*" "status")
2015 (define-function status_presets_clear_default
2016 (c-name "empathy_status_presets_clear_default")
2017 (return-type "none")
2022 ;; From empathy-time.h
2024 (define-function time_get_current
2025 (c-name "empathy_time_get_current")
2026 (return-type "time_t")
2029 (define-function time_get_local_time
2030 (c-name "empathy_time_get_local_time")
2031 (return-type "time_t")
2033 '("struct-tm*" "tm")
2037 (define-function time_parse
2038 (c-name "empathy_time_parse")
2039 (return-type "time_t")
2041 '("const-gchar*" "str")
2045 (define-function time_to_string_utc
2046 (c-name "empathy_time_to_string_utc")
2047 (return-type "gchar*")
2050 '("const-gchar*" "format")
2054 (define-function time_to_string_local
2055 (c-name "empathy_time_to_string_local")
2056 (return-type "gchar*")
2059 '("const-gchar*" "format")
2063 (define-function time_to_string_relative
2064 (c-name "empathy_time_to_string_relative")
2065 (return-type "gchar*")
2073 ;; From empathy-tp-call.h
2075 (define-function tp_call_get_type
2076 (c-name "empathy_tp_call_get_type")
2077 (return-type "GType")
2080 (define-function tp_call_new
2081 (c-name "empathy_tp_call_new")
2082 (is-constructor-of "EmpathyTpCall")
2083 (return-type "EmpathyTpCall*")
2085 '("TpChannel*" "channel")
2089 (define-method close
2090 (of-object "EmpathyTpCall")
2091 (c-name "empathy_tp_call_close")
2092 (return-type "none")
2096 (of-object "EmpathyTpCall")
2097 (c-name "empathy_tp_call_to")
2098 (return-type "none")
2100 '("EmpathyContact*" "contact")
2101 '("gboolean" "audio")
2102 '("gboolean" "video")
2106 (define-method accept_incoming_call
2107 (of-object "EmpathyTpCall")
2108 (c-name "empathy_tp_call_accept_incoming_call")
2109 (return-type "none")
2112 (define-method request_video_stream_direction
2113 (of-object "EmpathyTpCall")
2114 (c-name "empathy_tp_call_request_video_stream_direction")
2115 (return-type "none")
2117 '("gboolean" "is_sending")
2121 (define-method start_tone
2122 (of-object "EmpathyTpCall")
2123 (c-name "empathy_tp_call_start_tone")
2124 (return-type "none")
2126 '("TpDTMFEvent" "event")
2130 (define-method stop_tone
2131 (of-object "EmpathyTpCall")
2132 (c-name "empathy_tp_call_stop_tone")
2133 (return-type "none")
2136 (define-method has_dtmf
2137 (of-object "EmpathyTpCall")
2138 (c-name "empathy_tp_call_has_dtmf")
2139 (return-type "gboolean")
2144 ;; From empathy-tp-chat.h
2146 (define-function tp_chat_get_type
2147 (c-name "empathy_tp_chat_get_type")
2148 (return-type "GType")
2151 (define-function tp_chat_new
2152 (c-name "empathy_tp_chat_new")
2153 (is-constructor-of "EmpathyTpChat")
2154 (return-type "EmpathyTpChat*")
2156 '("TpChannel*" "channel")
2160 (define-method close
2161 (of-object "EmpathyTpChat")
2162 (c-name "empathy_tp_chat_close")
2163 (return-type "none")
2166 (define-method get_id
2167 (of-object "EmpathyTpChat")
2168 (c-name "empathy_tp_chat_get_id")
2169 (return-type "const-gchar*")
2172 (define-method get_remote_contact
2173 (of-object "EmpathyTpChat")
2174 (c-name "empathy_tp_chat_get_remote_contact")
2175 (return-type "EmpathyContact*")
2178 (define-method get_channel
2179 (of-object "EmpathyTpChat")
2180 (c-name "empathy_tp_chat_get_channel")
2181 (return-type "TpChannel*")
2184 (define-method get_connection
2185 (of-object "EmpathyTpChat")
2186 (c-name "empathy_tp_chat_get_connection")
2187 (return-type "TpConnection*")
2190 (define-method is_ready
2191 (of-object "EmpathyTpChat")
2192 (c-name "empathy_tp_chat_is_ready")
2193 (return-type "gboolean")
2197 (of-object "EmpathyTpChat")
2198 (c-name "empathy_tp_chat_send")
2199 (return-type "none")
2201 '("EmpathyMessage*" "message")
2205 (define-method set_state
2206 (of-object "EmpathyTpChat")
2207 (c-name "empathy_tp_chat_set_state")
2208 (return-type "none")
2210 '("TpChannelChatState" "state")
2214 (define-method set_property
2215 (of-object "EmpathyTpChat")
2216 (c-name "empathy_tp_chat_set_property")
2217 (return-type "none")
2219 '("const-gchar*" "name")
2220 '("const-GValue*" "value")
2224 (define-method get_pending_messages
2225 (of-object "EmpathyTpChat")
2226 (c-name "empathy_tp_chat_get_pending_messages")
2227 (return-type "const-GList*")
2230 (define-method acknowledge_message
2231 (of-object "EmpathyTpChat")
2232 (c-name "empathy_tp_chat_acknowledge_message")
2233 (return-type "none")
2235 '("EmpathyMessage*" "message")
2239 (define-method acknowledge_messages
2240 (of-object "EmpathyTpChat")
2241 (c-name "empathy_tp_chat_acknowledge_messages")
2242 (return-type "none")
2244 '("const-GList*" "messages")
2250 ;; From empathy-tp-contact-factory.h
2252 (define-function tp_contact_factory_get_type
2253 (c-name "empathy_tp_contact_factory_get_type")
2254 (return-type "GType")
2257 (define-function tp_contact_factory_dup_singleton
2258 (c-name "empathy_tp_contact_factory_dup_singleton")
2259 (return-type "EmpathyTpContactFactory*")
2261 '("TpConnection*" "connection")
2265 (define-method get_from_ids
2266 (of-object "EmpathyTpContactFactory")
2267 (c-name "empathy_tp_contact_factory_get_from_ids")
2268 (return-type "none")
2271 '("const-gchar*-const*" "ids")
2272 '("EmpathyTpContactFactoryContactsByIdCb" "callback")
2273 '("gpointer" "user_data")
2274 '("GDestroyNotify" "destroy")
2275 '("GObject*" "weak_object")
2279 (define-method get_from_handles
2280 (of-object "EmpathyTpContactFactory")
2281 (c-name "empathy_tp_contact_factory_get_from_handles")
2282 (return-type "none")
2284 '("guint" "n_handles")
2285 '("const-TpHandle*" "handles")
2286 '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
2287 '("gpointer" "user_data")
2288 '("GDestroyNotify" "destroy")
2289 '("GObject*" "weak_object")
2293 (define-method get_from_id
2294 (of-object "EmpathyTpContactFactory")
2295 (c-name "empathy_tp_contact_factory_get_from_id")
2296 (return-type "none")
2298 '("const-gchar*" "id")
2299 '("EmpathyTpContactFactoryContactCb" "callback")
2300 '("gpointer" "user_data")
2301 '("GDestroyNotify" "destroy")
2302 '("GObject*" "weak_object")
2306 (define-method get_from_handle
2307 (of-object "EmpathyTpContactFactory")
2308 (c-name "empathy_tp_contact_factory_get_from_handle")
2309 (return-type "none")
2311 '("TpHandle" "handle")
2312 '("EmpathyTpContactFactoryContactCb" "callback")
2313 '("gpointer" "user_data")
2314 '("GDestroyNotify" "destroy")
2315 '("GObject*" "weak_object")
2319 (define-method set_alias
2320 (of-object "EmpathyTpContactFactory")
2321 (c-name "empathy_tp_contact_factory_set_alias")
2322 (return-type "none")
2324 '("EmpathyContact*" "contact")
2325 '("const-gchar*" "alias")
2329 (define-method set_avatar
2330 (of-object "EmpathyTpContactFactory")
2331 (c-name "empathy_tp_contact_factory_set_avatar")
2332 (return-type "none")
2334 '("const-gchar*" "data")
2336 '("const-gchar*" "mime_type")
2340 (define-method set_location
2341 (of-object "EmpathyTpContactFactory")
2342 (c-name "empathy_tp_contact_factory_set_location")
2343 (return-type "none")
2345 '("GHashTable*" "location")
2351 ;; From empathy-tp-contact-list.h
2353 (define-function tp_contact_list_get_type
2354 (c-name "empathy_tp_contact_list_get_type")
2355 (return-type "GType")
2358 (define-function tp_contact_list_new
2359 (c-name "empathy_tp_contact_list_new")
2360 (is-constructor-of "EmpathyTpContactList")
2361 (return-type "EmpathyTpContactList*")
2363 '("TpConnection*" "connection")
2367 (define-method get_connection
2368 (of-object "EmpathyTpContactList")
2369 (c-name "empathy_tp_contact_list_get_connection")
2370 (return-type "TpConnection*")
2373 (define-method can_add
2374 (of-object "EmpathyTpContactList")
2375 (c-name "empathy_tp_contact_list_can_add")
2376 (return-type "gboolean")
2379 (define-method remove_all
2380 (of-object "EmpathyTpContactList")
2381 (c-name "empathy_tp_contact_list_remove_all")
2382 (return-type "none")
2387 ;; From empathy-tp-file.h
2389 (define-function tp_file_get_type
2390 (c-name "empathy_tp_file_get_type")
2391 (return-type "GType")
2394 (define-function tp_file_new
2395 (c-name "empathy_tp_file_new")
2396 (is-constructor-of "EmpathyTpFile")
2397 (return-type "EmpathyTpFile*")
2399 '("TpChannel*" "channel")
2403 (define-method get_channel
2404 (of-object "EmpathyTpFile")
2405 (c-name "empathy_tp_file_get_channel")
2406 (return-type "TpChannel*")
2409 (define-method accept
2410 (of-object "EmpathyTpFile")
2411 (c-name "empathy_tp_file_accept")
2412 (return-type "none")
2414 '("guint64" "offset")
2416 '("GError**" "error")
2420 (define-method cancel
2421 (of-object "EmpathyTpFile")
2422 (c-name "empathy_tp_file_cancel")
2423 (return-type "none")
2426 (define-method offer
2427 (of-object "EmpathyTpFile")
2428 (c-name "empathy_tp_file_offer")
2429 (return-type "none")
2432 '("GError**" "error")
2436 (define-method get_contact
2437 (of-object "EmpathyTpFile")
2438 (c-name "empathy_tp_file_get_contact")
2439 (return-type "EmpathyContact*")
2442 (define-method get_filename
2443 (of-object "EmpathyTpFile")
2444 (c-name "empathy_tp_file_get_filename")
2445 (return-type "const-gchar*")
2448 (define-method is_incoming
2449 (of-object "EmpathyTpFile")
2450 (c-name "empathy_tp_file_is_incoming")
2451 (return-type "gboolean")
2454 (define-method get_state
2455 (of-object "EmpathyTpFile")
2456 (c-name "empathy_tp_file_get_state")
2457 (return-type "TpFileTransferState")
2459 '("TpFileTransferStateChangeReason*" "reason")
2463 (define-method get_size
2464 (of-object "EmpathyTpFile")
2465 (c-name "empathy_tp_file_get_size")
2466 (return-type "guint64")
2469 (define-method get_transferred_bytes
2470 (of-object "EmpathyTpFile")
2471 (c-name "empathy_tp_file_get_transferred_bytes")
2472 (return-type "guint64")
2475 (define-method get_remaining_time
2476 (of-object "EmpathyTpFile")
2477 (c-name "empathy_tp_file_get_remaining_time")
2478 (return-type "gint")
2481 (define-method get_speed
2482 (of-object "EmpathyTpFile")
2483 (c-name "empathy_tp_file_get_speed")
2484 (return-type "gdouble")
2487 (define-method get_content_type
2488 (of-object "EmpathyTpFile")
2489 (c-name "empathy_tp_file_get_content_type")
2490 (return-type "const-gchar*")
2493 (define-method is_ready
2494 (of-object "EmpathyTpFile")
2495 (c-name "empathy_tp_file_is_ready")
2496 (return-type "gboolean")
2501 ;; From empathy-tp-roomlist.h
2503 (define-function tp_roomlist_get_type
2504 (c-name "empathy_tp_roomlist_get_type")
2505 (return-type "GType")
2508 (define-function tp_roomlist_new
2509 (c-name "empathy_tp_roomlist_new")
2510 (is-constructor-of "EmpathyTpRoomlist")
2511 (return-type "EmpathyTpRoomlist*")
2513 '("McAccount*" "account")
2517 (define-method is_listing
2518 (of-object "EmpathyTpRoomlist")
2519 (c-name "empathy_tp_roomlist_is_listing")
2520 (return-type "gboolean")
2523 (define-method start
2524 (of-object "EmpathyTpRoomlist")
2525 (c-name "empathy_tp_roomlist_start")
2526 (return-type "none")
2530 (of-object "EmpathyTpRoomlist")
2531 (c-name "empathy_tp_roomlist_stop")
2532 (return-type "none")
2537 ;; From empathy-tp-tube.h
2539 (define-function tp_tube_get_type
2540 (c-name "empathy_tp_tube_get_type")
2541 (return-type "GType")
2544 (define-function tp_tube_new
2545 (c-name "empathy_tp_tube_new")
2546 (is-constructor-of "EmpathyTpTube")
2547 (return-type "EmpathyTpTube*")
2549 '("TpChannel*" "channel")
2553 (define-function tp_tube_new_stream_tube
2554 (c-name "empathy_tp_tube_new_stream_tube")
2555 (return-type "EmpathyTpTube*")
2557 '("EmpathyContact*" "contact")
2558 '("TpSocketAddressType" "type")
2559 '("const-gchar*" "hostname")
2561 '("const-gchar*" "service")
2562 '("GHashTable*" "parameters")
2566 (define-method accept_stream_tube
2567 (of-object "EmpathyTpTube")
2568 (c-name "empathy_tp_tube_accept_stream_tube")
2569 (return-type "none")
2571 '("TpSocketAddressType" "type")
2572 '("EmpathyTpTubeAcceptStreamTubeCb*" "callback")
2573 '("gpointer" "user_data")
2577 (define-method call_when_ready
2578 (of-object "EmpathyTpTube")
2579 (c-name "empathy_tp_tube_call_when_ready")
2580 (return-type "none")
2582 '("EmpathyTpTubeReadyCb*" "callback")
2583 '("gpointer" "user_data")
2584 '("GDestroyNotify" "destroy")
2585 '("GObject*" "weak_object")
2591 ;; From empathy-tube-handler.h
2593 (define-function tube_handler_get_type
2594 (c-name "empathy_tube_handler_get_type")
2595 (return-type "GType")
2598 (define-function tube_handler_new
2599 (c-name "empathy_tube_handler_new")
2600 (is-constructor-of "EmpathyTubeHandler")
2601 (return-type "EmpathyTubeHandler*")
2603 '("TpTubeType" "type")
2604 '("const-gchar*" "service")
2608 (define-function tube_handler_build_bus_name
2609 (c-name "empathy_tube_handler_build_bus_name")
2610 (return-type "gchar*")
2612 '("TpTubeType" "type")
2613 '("const-gchar*" "service")
2617 (define-function tube_handler_build_object_path
2618 (c-name "empathy_tube_handler_build_object_path")
2619 (return-type "gchar*")
2621 '("TpTubeType" "type")
2622 '("const-gchar*" "service")
2628 ;; From empathy-types.h
2632 ;; From empathy-utils.h
2634 (define-function init
2635 (c-name "empathy_init")
2636 (return-type "none")
2639 (define-function substring
2640 (c-name "empathy_substring")
2641 (return-type "gchar*")
2643 '("const-gchar*" "str")
2649 (define-function strcasecmp
2650 (c-name "empathy_strcasecmp")
2651 (return-type "gint")
2653 '("const-gchar*" "s1")
2654 '("const-gchar*" "s2")
2658 (define-function strncasecmp
2659 (c-name "empathy_strncasecmp")
2660 (return-type "gint")
2662 '("const-gchar*" "s1")
2663 '("const-gchar*" "s2")
2668 (define-function xml_validate
2669 (c-name "empathy_xml_validate")
2670 (return-type "gboolean")
2673 '("const-gchar*" "dtd_filename")
2677 (define-function xml_node_get_child
2678 (c-name "empathy_xml_node_get_child")
2679 (return-type "xmlNodePtr")
2681 '("xmlNodePtr" "node")
2682 '("const-gchar*" "child_name")
2686 (define-function xml_node_get_child_content
2687 (c-name "empathy_xml_node_get_child_content")
2688 (return-type "xmlChar*")
2690 '("xmlNodePtr" "node")
2691 '("const-gchar*" "child_name")
2695 (define-function xml_node_find_child_prop_value
2696 (c-name "empathy_xml_node_find_child_prop_value")
2697 (return-type "xmlNodePtr")
2699 '("xmlNodePtr" "node")
2700 '("const-gchar*" "prop_name")
2701 '("const-gchar*" "prop_value")
2705 (define-function account_hash
2706 (c-name "empathy_account_hash")
2707 (return-type "guint")
2709 '("gconstpointer" "key")
2713 (define-function account_equal
2714 (c-name "empathy_account_equal")
2715 (return-type "gboolean")
2717 '("gconstpointer" "a")
2718 '("gconstpointer" "b")
2722 (define-function mission_control_dup_singleton
2723 (c-name "empathy_mission_control_dup_singleton")
2724 (return-type "MissionControl*")
2727 (define-function presence_get_default_message
2728 (c-name "empathy_presence_get_default_message")
2729 (return-type "const-gchar*")
2731 '("TpConnectionPresenceType" "presence")
2735 (define-function presence_to_str
2736 (c-name "empathy_presence_to_str")
2737 (return-type "const-gchar*")
2739 '("TpConnectionPresenceType" "presence")
2743 (define-function presence_from_str
2744 (c-name "empathy_presence_from_str")
2745 (return-type "TpConnectionPresenceType")
2747 '("const-gchar*" "str")
2751 (define-function file_lookup
2752 (c-name "empathy_file_lookup")
2753 (return-type "gchar*")
2755 '("const-gchar*" "filename")
2756 '("const-gchar*" "subdir")
2760 (define-function proxy_equal
2761 (c-name "empathy_proxy_equal")
2762 (return-type "gboolean")
2764 '("gconstpointer" "a")
2765 '("gconstpointer" "b")
2769 (define-function proxy_hash
2770 (c-name "empathy_proxy_hash")
2771 (return-type "guint")
2773 '("gconstpointer" "key")
2777 (define-function check_available_state
2778 (c-name "empathy_check_available_state")
2779 (return-type "gboolean")