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-object ContactFactory
48 (c-name "EmpathyContactFactory")
49 (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
52 (define-interface ContactList
54 (c-name "EmpathyContactList")
55 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
58 (define-object ContactManager
61 (implements "EmpathyContactList")
62 (c-name "EmpathyContactManager")
63 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
66 (define-object ContactMonitor
69 (c-name "EmpathyContactMonitor")
70 (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
73 (define-object DispatchOperation
76 (c-name "EmpathyDispatchOperation")
77 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
80 (define-object Dispatcher
83 (c-name "EmpathyDispatcher")
84 (gtype-id "EMPATHY_TYPE_DISPATCHER")
90 (c-name "EmpathyIdle")
91 (gtype-id "EMPATHY_TYPE_IDLE")
94 (define-object IrcNetwork
97 (c-name "EmpathyIrcNetwork")
98 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
101 (define-object IrcNetworkManager
102 (in-module "Empathy")
104 (c-name "EmpathyIrcNetworkManager")
105 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
108 (define-object IrcServer
109 (in-module "Empathy")
111 (c-name "EmpathyIrcServer")
112 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
115 (define-object LogManager
116 (in-module "Empathy")
118 (c-name "EmpathyLogManager")
119 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
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 TpGroup
166 (in-module "Empathy")
168 (c-name "EmpathyTpGroup")
169 (gtype-id "EMPATHY_TYPE_TP_GROUP")
172 (define-object TpRoomlist
173 (in-module "Empathy")
175 (c-name "EmpathyTpRoomlist")
176 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
179 (define-object TpTube
180 (in-module "Empathy")
182 (c-name "EmpathyTpTube")
183 (gtype-id "EMPATHY_TYPE_TP_TUBE")
186 (define-object TubeHandler
187 (in-module "Empathy")
189 (c-name "EmpathyTubeHandler")
190 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
193 ;; Enumerations and flags ...
195 (define-flags Capabilities
196 (in-module "Empathy")
197 (c-name "EmpathyCapabilities")
198 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
200 '("none" "EMPATHY_CAPABILITIES_NONE")
201 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
202 '("video" "EMPATHY_CAPABILITIES_VIDEO")
203 '("ft" "EMPATHY_CAPABILITIES_FT")
204 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
208 (define-flags ContactReady
209 (in-module "Empathy")
210 (c-name "EmpathyContactReady")
211 (gtype-id "EMPATHY_TYPE_CONTACT_READY")
213 '("none" "EMPATHY_CONTACT_READY_NONE")
214 '("id" "EMPATHY_CONTACT_READY_ID")
215 '("handle" "EMPATHY_CONTACT_READY_HANDLE")
216 '("name" "EMPATHY_CONTACT_READY_NAME")
217 '("all" "EMPATHY_CONTACT_READY_ALL")
221 (define-flags DebugFlags
222 (in-module "Empathy")
223 (c-name "EmpathyDebugFlags")
224 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
226 '("tp" "EMPATHY_DEBUG_TP")
227 '("chat" "EMPATHY_DEBUG_CHAT")
228 '("contact" "EMPATHY_DEBUG_CONTACT")
229 '("account" "EMPATHY_DEBUG_ACCOUNT")
230 '("irc" "EMPATHY_DEBUG_IRC")
231 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
232 '("ft" "EMPATHY_DEBUG_FT")
233 '("other" "EMPATHY_DEBUG_OTHER")
237 (define-enum DispatchOperationState
238 (in-module "Empathy")
239 (c-name "EmpathyDispatchOperationState")
240 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
242 '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
243 '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
244 '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
245 '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
246 '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
247 '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
251 (define-enum TpCallStatus
252 (in-module "Empathy")
253 (c-name "EmpathyTpCallStatus")
254 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
256 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
257 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
258 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
259 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
263 (define-enum TubeType
264 (in-module "Empathy")
265 (c-name "EmpathyTubeType")
266 (gtype-id "EMPATHY_TYPE_TUBE_TYPE")
268 '("stream-tube" "EMPATHY_TYPE_STREAM_TUBE")
269 '("dbus-tube" "EMPATHY_TYPE_DBUS_TUBE")
274 ;; From empathy-account-manager.h
276 (define-function account_manager_get_type
277 (c-name "empathy_account_manager_get_type")
278 (return-type "GType")
281 (define-function account_manager_dup_singleton
282 (c-name "empathy_account_manager_dup_singleton")
283 (return-type "EmpathyAccountManager*")
286 (define-method get_connected_accounts
287 (of-object "EmpathyAccountManager")
288 (c-name "empathy_account_manager_get_connected_accounts")
292 (define-method get_connecting_accounts
293 (of-object "EmpathyAccountManager")
294 (c-name "empathy_account_manager_get_connecting_accounts")
298 (define-method is_account_just_connected
299 (of-object "EmpathyAccountManager")
300 (c-name "empathy_account_manager_is_account_just_connected")
301 (return-type "gboolean")
303 '("McAccount*" "account")
307 (define-method get_count
308 (of-object "EmpathyAccountManager")
309 (c-name "empathy_account_manager_get_count")
315 ;; From empathy-chatroom.h
317 (define-function chatroom_get_type
318 (c-name "empathy_chatroom_get_type")
319 (return-type "GType")
322 (define-function chatroom_new
323 (c-name "empathy_chatroom_new")
324 (is-constructor-of "EmpathyChatroom")
325 (return-type "EmpathyChatroom*")
327 '("McAccount*" "account")
331 (define-function chatroom_new_full
332 (c-name "empathy_chatroom_new_full")
333 (return-type "EmpathyChatroom*")
335 '("McAccount*" "account")
336 '("const-gchar*" "room")
337 '("const-gchar*" "name")
338 '("gboolean" "auto_connect")
342 (define-method get_account
343 (of-object "EmpathyChatroom")
344 (c-name "empathy_chatroom_get_account")
345 (return-type "McAccount*")
348 (define-method set_account
349 (of-object "EmpathyChatroom")
350 (c-name "empathy_chatroom_set_account")
353 '("McAccount*" "account")
357 (define-method get_room
358 (of-object "EmpathyChatroom")
359 (c-name "empathy_chatroom_get_room")
360 (return-type "const-gchar*")
363 (define-method set_room
364 (of-object "EmpathyChatroom")
365 (c-name "empathy_chatroom_set_room")
368 '("const-gchar*" "room")
372 (define-method get_name
373 (of-object "EmpathyChatroom")
374 (c-name "empathy_chatroom_get_name")
375 (return-type "const-gchar*")
378 (define-method set_name
379 (of-object "EmpathyChatroom")
380 (c-name "empathy_chatroom_set_name")
383 '("const-gchar*" "name")
387 (define-method get_auto_connect
388 (of-object "EmpathyChatroom")
389 (c-name "empathy_chatroom_get_auto_connect")
390 (return-type "gboolean")
393 (define-method set_auto_connect
394 (of-object "EmpathyChatroom")
395 (c-name "empathy_chatroom_set_auto_connect")
398 '("gboolean" "auto_connect")
402 (define-function chatroom_equal
403 (c-name "empathy_chatroom_equal")
404 (return-type "gboolean")
406 '("gconstpointer" "v1")
407 '("gconstpointer" "v2")
411 (define-method get_tp_chat
412 (of-object "EmpathyChatroom")
413 (c-name "empathy_chatroom_get_tp_chat")
414 (return-type "EmpathyTpChat*")
419 ;; From empathy-chatroom-manager.h
421 (define-function chatroom_manager_get_type
422 (c-name "empathy_chatroom_manager_get_type")
423 (return-type "GType")
426 (define-function chatroom_manager_dup_singleton
427 (c-name "empathy_chatroom_manager_dup_singleton")
428 (return-type "EmpathyChatroomManager*")
430 '("const-gchar*" "file")
435 (of-object "EmpathyChatroomManager")
436 (c-name "empathy_chatroom_manager_add")
437 (return-type "gboolean")
439 '("EmpathyChatroom*" "chatroom")
443 (define-method remove
444 (of-object "EmpathyChatroomManager")
445 (c-name "empathy_chatroom_manager_remove")
448 '("EmpathyChatroom*" "chatroom")
453 (of-object "EmpathyChatroomManager")
454 (c-name "empathy_chatroom_manager_find")
455 (return-type "EmpathyChatroom*")
457 '("McAccount*" "account")
458 '("const-gchar*" "room")
462 (define-method get_chatrooms
463 (of-object "EmpathyChatroomManager")
464 (c-name "empathy_chatroom_manager_get_chatrooms")
465 (return-type "GList*")
467 '("McAccount*" "account")
471 (define-method get_count
472 (of-object "EmpathyChatroomManager")
473 (c-name "empathy_chatroom_manager_get_count")
474 (return-type "guint")
476 '("McAccount*" "account")
480 (define-method observe
481 (of-object "EmpathyChatroomManager")
482 (c-name "empathy_chatroom_manager_observe")
485 '("EmpathyDispatcher*" "dispatcher")
491 ;; From empathy-call-factory.h
493 (define-function call_factory_get_type
494 (c-name "empathy_call_factory_get_type")
495 (return-type "GType")
498 (define-function call_factory_initialise
499 (c-name "empathy_call_factory_initialise")
500 (return-type "EmpathyCallFactory*")
503 (define-function call_factory_get
504 (c-name "empathy_call_factory_get")
505 (return-type "EmpathyCallFactory*")
508 (define-method new_call
509 (of-object "EmpathyCallFactory")
510 (c-name "empathy_call_factory_new_call")
513 '("EmpathyContact*" "contact")
517 (define-method claim_channel
518 (of-object "EmpathyCallFactory")
519 (c-name "empathy_call_factory_claim_channel")
522 '("EmpathyDispatchOperation*" "operation")
528 ;; From empathy-call-handler.h
530 (define-function call_handler_get_type
531 (c-name "empathy_call_handler_get_type")
532 (return-type "GType")
535 (define-function call_handler_new_for_contact
536 (c-name "empathy_call_handler_new_for_contact")
537 (return-type "EmpathyCallHandler*")
539 '("EmpathyContact*" "contact")
543 (define-function call_handler_new_for_channel
544 (c-name "empathy_call_handler_new_for_channel")
545 (return-type "EmpathyCallHandler*")
547 '("EmpathyTpCall*" "call")
551 (define-method start_call
552 (of-object "EmpathyCallHandler")
553 (c-name "empathy_call_handler_start_call")
557 (define-method set_bus
558 (of-object "EmpathyCallHandler")
559 (c-name "empathy_call_handler_set_bus")
568 ;; From empathy-contact.h
570 (define-function contact_get_type
571 (c-name "empathy_contact_get_type")
572 (return-type "GType")
575 (define-function contact_new
576 (c-name "empathy_contact_new")
577 (is-constructor-of "EmpathyContact")
578 (return-type "EmpathyContact*")
580 '("McAccount*" "account")
584 (define-function contact_new_full
585 (c-name "empathy_contact_new_full")
586 (return-type "EmpathyContact*")
588 '("McAccount*" "account")
589 '("const-gchar*" "id")
590 '("const-gchar*" "name")
594 (define-method get_id
595 (of-object "EmpathyContact")
596 (c-name "empathy_contact_get_id")
597 (return-type "const-gchar*")
600 (define-method set_id
601 (of-object "EmpathyContact")
602 (c-name "empathy_contact_set_id")
605 '("const-gchar*" "id")
609 (define-method get_name
610 (of-object "EmpathyContact")
611 (c-name "empathy_contact_get_name")
612 (return-type "const-gchar*")
615 (define-method set_name
616 (of-object "EmpathyContact")
617 (c-name "empathy_contact_set_name")
620 '("const-gchar*" "name")
624 (define-method get_avatar
625 (of-object "EmpathyContact")
626 (c-name "empathy_contact_get_avatar")
627 (return-type "EmpathyAvatar*")
630 (define-method set_avatar
631 (of-object "EmpathyContact")
632 (c-name "empathy_contact_set_avatar")
635 '("EmpathyAvatar*" "avatar")
639 (define-method get_account
640 (of-object "EmpathyContact")
641 (c-name "empathy_contact_get_account")
642 (return-type "McAccount*")
645 (define-method set_account
646 (of-object "EmpathyContact")
647 (c-name "empathy_contact_set_account")
650 '("McAccount*" "account")
654 (define-method get_presence
655 (of-object "EmpathyContact")
656 (c-name "empathy_contact_get_presence")
657 (return-type "McPresence")
660 (define-method set_presence
661 (of-object "EmpathyContact")
662 (c-name "empathy_contact_set_presence")
665 '("McPresence" "presence")
669 (define-method get_presence_message
670 (of-object "EmpathyContact")
671 (c-name "empathy_contact_get_presence_message")
672 (return-type "const-gchar*")
675 (define-method set_presence_message
676 (of-object "EmpathyContact")
677 (c-name "empathy_contact_set_presence_message")
680 '("const-gchar*" "message")
684 (define-method get_handle
685 (of-object "EmpathyContact")
686 (c-name "empathy_contact_get_handle")
687 (return-type "guint")
690 (define-method set_handle
691 (of-object "EmpathyContact")
692 (c-name "empathy_contact_set_handle")
699 (define-method get_capabilities
700 (of-object "EmpathyContact")
701 (c-name "empathy_contact_get_capabilities")
702 (return-type "EmpathyCapabilities")
705 (define-method set_capabilities
706 (of-object "EmpathyContact")
707 (c-name "empathy_contact_set_capabilities")
710 '("EmpathyCapabilities" "capabilities")
714 (define-method get_ready
715 (of-object "EmpathyContact")
716 (c-name "empathy_contact_get_ready")
717 (return-type "EmpathyContactReady")
720 (define-method is_user
721 (of-object "EmpathyContact")
722 (c-name "empathy_contact_is_user")
723 (return-type "gboolean")
726 (define-method set_is_user
727 (of-object "EmpathyContact")
728 (c-name "empathy_contact_set_is_user")
731 '("gboolean" "is_user")
735 (define-method is_online
736 (of-object "EmpathyContact")
737 (c-name "empathy_contact_is_online")
738 (return-type "gboolean")
741 (define-method get_status
742 (of-object "EmpathyContact")
743 (c-name "empathy_contact_get_status")
744 (return-type "const-gchar*")
747 (define-method can_voip
748 (of-object "EmpathyContact")
749 (c-name "empathy_contact_can_voip")
750 (return-type "gboolean")
753 (define-method can_send_files
754 (of-object "EmpathyContact")
755 (c-name "empathy_contact_can_send_files")
756 (return-type "gboolean")
759 (define-function contact_equal
760 (c-name "empathy_contact_equal")
761 (return-type "gboolean")
763 '("gconstpointer" "v1")
764 '("gconstpointer" "v2")
768 (define-function contact_hash
769 (c-name "empathy_contact_hash")
770 (return-type "guint")
772 '("gconstpointer" "key")
776 (define-method call_when_ready
777 (of-object "EmpathyContact")
778 (c-name "empathy_contact_call_when_ready")
781 '("EmpathyContactReady" "ready")
782 '("EmpathyContactReadyCb*" "callback")
783 '("gpointer" "user_data")
784 '("GDestroyNotify" "destroy")
785 '("GObject*" "weak_object")
789 (define-method run_until_ready
790 (of-object "EmpathyContact")
791 (c-name "empathy_contact_run_until_ready")
794 '("EmpathyContactReady" "ready")
795 '("GMainLoop**" "loop")
799 (define-method load_avatar_data
800 (of-object "EmpathyContact")
801 (c-name "empathy_contact_load_avatar_data")
804 '("const-guchar*" "data")
805 '("const-gsize" "len")
806 '("const-gchar*" "format")
807 '("const-gchar*" "token")
811 (define-method load_avatar_cache
812 (of-object "EmpathyContact")
813 (c-name "empathy_contact_load_avatar_cache")
814 (return-type "gboolean")
816 '("const-gchar*" "token")
820 (define-function avatar_get_type
821 (c-name "empathy_avatar_get_type")
822 (return-type "GType")
825 (define-function avatar_new
826 (c-name "empathy_avatar_new")
827 (is-constructor-of "EmpathyAvatar")
828 (return-type "EmpathyAvatar*")
838 (of-object "EmpathyAvatar")
839 (c-name "empathy_avatar_ref")
840 (return-type "EmpathyAvatar*")
844 (of-object "EmpathyAvatar")
845 (c-name "empathy_avatar_unref")
849 (define-method save_to_file
850 (of-object "EmpathyAvatar")
851 (c-name "empathy_avatar_save_to_file")
852 (return-type "gboolean")
854 '("const-gchar*" "filename")
855 '("GError**" "error")
861 ;; From empathy-contact-factory.h
863 (define-function contact_factory_get_type
864 (c-name "empathy_contact_factory_get_type")
865 (return-type "GType")
868 (define-function contact_factory_dup_singleton
869 (c-name "empathy_contact_factory_dup_singleton")
870 (return-type "EmpathyContactFactory*")
873 (define-method get_tp_factory
874 (of-object "EmpathyContactFactory")
875 (c-name "empathy_contact_factory_get_tp_factory")
876 (return-type "EmpathyTpContactFactory*")
878 '("McAccount*" "account")
882 (define-method get_user
883 (of-object "EmpathyContactFactory")
884 (c-name "empathy_contact_factory_get_user")
885 (return-type "EmpathyContact*")
887 '("McAccount*" "account")
891 (define-method get_from_id
892 (of-object "EmpathyContactFactory")
893 (c-name "empathy_contact_factory_get_from_id")
894 (return-type "EmpathyContact*")
896 '("McAccount*" "account")
897 '("const-gchar*" "id")
901 (define-method get_from_handle
902 (of-object "EmpathyContactFactory")
903 (c-name "empathy_contact_factory_get_from_handle")
904 (return-type "EmpathyContact*")
906 '("McAccount*" "account")
911 (define-method get_from_handles
912 (of-object "EmpathyContactFactory")
913 (c-name "empathy_contact_factory_get_from_handles")
914 (return-type "GList*")
916 '("McAccount*" "account")
917 '("const-GArray*" "handles")
921 (define-method set_alias
922 (of-object "EmpathyContactFactory")
923 (c-name "empathy_contact_factory_set_alias")
926 '("EmpathyContact*" "contact")
927 '("const-gchar*" "alias")
931 (define-method set_avatar
932 (of-object "EmpathyContactFactory")
933 (c-name "empathy_contact_factory_set_avatar")
936 '("McAccount*" "account")
937 '("const-gchar*" "data")
939 '("const-gchar*" "mime_type")
945 ;; From empathy-contact-groups.h
947 (define-function contact_groups_get_all
948 (c-name "empathy_contact_groups_get_all")
952 (define-function contact_group_get_expanded
953 (c-name "empathy_contact_group_get_expanded")
954 (return-type "gboolean")
956 '("const-gchar*" "group")
960 (define-function contact_group_set_expanded
961 (c-name "empathy_contact_group_set_expanded")
964 '("const-gchar*" "group")
965 '("gboolean" "expanded")
971 ;; From empathy-contact-list.h
973 (define-function contact_list_get_type
974 (c-name "empathy_contact_list_get_type")
975 (return-type "GType")
979 (of-object "EmpathyContactList")
980 (c-name "empathy_contact_list_add")
983 '("EmpathyContact*" "contact")
984 '("const-gchar*" "message")
988 (define-method remove
989 (of-object "EmpathyContactList")
990 (c-name "empathy_contact_list_remove")
993 '("EmpathyContact*" "contact")
994 '("const-gchar*" "message")
998 (define-method get_members
999 (of-object "EmpathyContactList")
1000 (c-name "empathy_contact_list_get_members")
1001 (return-type "GList*")
1004 (define-method get_pendings
1005 (of-object "EmpathyContactList")
1006 (c-name "empathy_contact_list_get_pendings")
1007 (return-type "GList*")
1010 (define-method get_all_groups
1011 (of-object "EmpathyContactList")
1012 (c-name "empathy_contact_list_get_all_groups")
1013 (return-type "GList*")
1016 (define-method get_groups
1017 (of-object "EmpathyContactList")
1018 (c-name "empathy_contact_list_get_groups")
1019 (return-type "GList*")
1021 '("EmpathyContact*" "contact")
1025 (define-method add_to_group
1026 (of-object "EmpathyContactList")
1027 (c-name "empathy_contact_list_add_to_group")
1028 (return-type "none")
1030 '("EmpathyContact*" "contact")
1031 '("const-gchar*" "group")
1035 (define-method remove_from_group
1036 (of-object "EmpathyContactList")
1037 (c-name "empathy_contact_list_remove_from_group")
1038 (return-type "none")
1040 '("EmpathyContact*" "contact")
1041 '("const-gchar*" "group")
1045 (define-method rename_group
1046 (of-object "EmpathyContactList")
1047 (c-name "empathy_contact_list_rename_group")
1048 (return-type "none")
1050 '("const-gchar*" "old_group")
1051 '("const-gchar*" "new_group")
1055 (define-method remove_group
1056 (of-object "EmpathyContactList")
1057 (c-name "empathy_contact_list_remove_group")
1058 (return-type "none")
1060 '("const-gchar*" "group")
1064 (define-method get_monitor
1065 (of-object "EmpathyContactList")
1066 (c-name "empathy_contact_list_get_monitor")
1067 (return-type "EmpathyContactMonitor*")
1072 ;; From empathy-contact-manager.h
1074 (define-function contact_manager_get_type
1075 (c-name "empathy_contact_manager_get_type")
1076 (return-type "GType")
1079 (define-function contact_manager_dup_singleton
1080 (c-name "empathy_contact_manager_dup_singleton")
1081 (return-type "EmpathyContactManager*")
1084 (define-method get_list
1085 (of-object "EmpathyContactManager")
1086 (c-name "empathy_contact_manager_get_list")
1087 (return-type "EmpathyTpContactList*")
1089 '("McAccount*" "account")
1093 (define-method can_add
1094 (of-object "EmpathyContactManager")
1095 (c-name "empathy_contact_manager_can_add")
1096 (return-type "gboolean")
1098 '("McAccount*" "account")
1104 ;; From empathy-contact-monitor.h
1106 (define-function contact_monitor_get_type
1107 (c-name "empathy_contact_monitor_get_type")
1108 (return-type "GType")
1111 (define-method set_iface
1112 (of-object "EmpathyContactMonitor")
1113 (c-name "empathy_contact_monitor_set_iface")
1114 (return-type "none")
1116 '("EmpathyContactList*" "iface")
1120 (define-function contact_monitor_new_for_iface
1121 (c-name "empathy_contact_monitor_new_for_iface")
1122 (return-type "EmpathyContactMonitor*")
1124 '("EmpathyContactList*" "iface")
1130 ;; From empathy-debug.h
1132 (define-function debug_flag_is_set
1133 (c-name "empathy_debug_flag_is_set")
1134 (return-type "gboolean")
1136 '("EmpathyDebugFlags" "flag")
1140 (define-function debug
1141 (c-name "empathy_debug")
1142 (return-type "none")
1144 '("EmpathyDebugFlags" "flag")
1145 '("const-gchar*" "format")
1150 (define-function debug_set_flags
1151 (c-name "empathy_debug_set_flags")
1152 (return-type "none")
1154 '("const-gchar*" "flags_string")
1160 ;; From empathy-dispatcher.h
1162 (define-function dispatcher_get_type
1163 (c-name "empathy_dispatcher_get_type")
1164 (return-type "GType")
1167 (define-method create_channel
1168 (of-object "EmpathyDispatcher")
1169 (c-name "empathy_dispatcher_create_channel")
1170 (return-type "none")
1172 '("McAccount*" "account")
1173 '("GHashTable*" "request")
1174 '("EmpathyDispatcherRequestCb*" "callback")
1175 '("gpointer" "user_data")
1179 (define-function dispatcher_call_with_contact
1180 (c-name "empathy_dispatcher_call_with_contact")
1181 (return-type "none")
1183 '("EmpathyContact*" "contact")
1184 '("EmpathyDispatcherRequestCb*" "callback")
1185 '("gpointer" "user_data")
1189 (define-function dispatcher_chat_with_contact_id
1190 (c-name "empathy_dispatcher_chat_with_contact_id")
1191 (return-type "none")
1193 '("McAccount*" "account")
1194 '("const-gchar*" "contact_id")
1195 '("EmpathyDispatcherRequestCb*" "callback")
1196 '("gpointer" "user_data")
1200 (define-function dispatcher_chat_with_contact
1201 (c-name "empathy_dispatcher_chat_with_contact")
1202 (return-type "none")
1204 '("EmpathyContact*" "contact")
1205 '("EmpathyDispatcherRequestCb*" "callback")
1206 '("gpointer" "user_data")
1210 (define-function dispatcher_send_file_to_contact
1211 (c-name "empathy_dispatcher_send_file_to_contact")
1212 (return-type "none")
1214 '("EmpathyContact*" "contact")
1215 '("const-gchar*" "filename")
1218 '("const-gchar*" "content_type")
1219 '("EmpathyDispatcherRequestCb*" "callback")
1220 '("gpointer" "user_data")
1224 (define-function dispatcher_join_muc
1225 (c-name "empathy_dispatcher_join_muc")
1226 (return-type "none")
1228 '("McAccount*" "account")
1229 '("const-gchar*" "roomname")
1230 '("EmpathyDispatcherRequestCb*" "callback")
1231 '("gpointer" "user_data")
1235 (define-method find_channel_class
1236 (of-object "EmpathyDispatcher")
1237 (c-name "empathy_dispatcher_find_channel_class")
1238 (return-type "GStrv")
1240 '("McAccount*" "account")
1241 '("const-gchar*" "channel_type")
1242 '("guint" "handle_type")
1246 (define-function dispatcher_dup_singleton
1247 (c-name "empathy_dispatcher_dup_singleton")
1248 (return-type "EmpathyDispatcher*")
1253 ;; From empathy-dispatch-operation.h
1255 (define-function dispatch_operation_get_type
1256 (c-name "empathy_dispatch_operation_get_type")
1257 (return-type "GType")
1260 (define-function dispatch_operation_new
1261 (c-name "empathy_dispatch_operation_new")
1262 (is-constructor-of "EmpathyDispatchOperation")
1263 (return-type "EmpathyDispatchOperation*")
1265 '("TpConnection*" "connection")
1266 '("TpChannel*" "channel")
1267 '("EmpathyContact*" "contact")
1268 '("gboolean" "incoming")
1272 (define-function dispatch_operation_new_with_wrapper
1273 (c-name "empathy_dispatch_operation_new_with_wrapper")
1274 (return-type "EmpathyDispatchOperation*")
1276 '("TpConnection*" "connection")
1277 '("TpChannel*" "channel")
1278 '("EmpathyContact*" "contact")
1279 '("gboolean" "incoming")
1280 '("GObject*" "channel_wrapper")
1284 (define-method start
1285 (of-object "EmpathyDispatchOperation")
1286 (c-name "empathy_dispatch_operation_start")
1287 (return-type "none")
1290 (define-method approve
1291 (of-object "EmpathyDispatchOperation")
1292 (c-name "empathy_dispatch_operation_approve")
1293 (return-type "none")
1296 (define-method claim
1297 (of-object "EmpathyDispatchOperation")
1298 (c-name "empathy_dispatch_operation_claim")
1299 (return-type "gboolean")
1302 (define-method get_channel
1303 (of-object "EmpathyDispatchOperation")
1304 (c-name "empathy_dispatch_operation_get_channel")
1305 (return-type "TpChannel*")
1308 (define-method get_channel_wrapper
1309 (of-object "EmpathyDispatchOperation")
1310 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1311 (return-type "GObject*")
1314 (define-method get_tp_connection
1315 (of-object "EmpathyDispatchOperation")
1316 (c-name "empathy_dispatch_operation_get_tp_connection")
1317 (return-type "TpConnection*")
1320 (define-method get_channel_type
1321 (of-object "EmpathyDispatchOperation")
1322 (c-name "empathy_dispatch_operation_get_channel_type")
1323 (return-type "const-gchar*")
1326 (define-method get_channel_type_id
1327 (of-object "EmpathyDispatchOperation")
1328 (c-name "empathy_dispatch_operation_get_channel_type_id")
1329 (return-type "GQuark")
1332 (define-method get_object_path
1333 (of-object "EmpathyDispatchOperation")
1334 (c-name "empathy_dispatch_operation_get_object_path")
1335 (return-type "const-gchar*")
1338 (define-method get_status
1339 (of-object "EmpathyDispatchOperation")
1340 (c-name "empathy_dispatch_operation_get_status")
1341 (return-type "EmpathyDispatchOperationState")
1344 (define-method is_incoming
1345 (of-object "EmpathyDispatchOperation")
1346 (c-name "empathy_dispatch_operation_is_incoming")
1347 (return-type "gboolean")
1352 ;; From empathy-idle.h
1354 (define-function idle_get_type
1355 (c-name "empathy_idle_get_type")
1356 (return-type "GType")
1359 (define-function idle_dup_singleton
1360 (c-name "empathy_idle_dup_singleton")
1361 (return-type "EmpathyIdle*")
1364 (define-method get_state
1365 (of-object "EmpathyIdle")
1366 (c-name "empathy_idle_get_state")
1367 (return-type "McPresence")
1370 (define-method set_state
1371 (of-object "EmpathyIdle")
1372 (c-name "empathy_idle_set_state")
1373 (return-type "none")
1375 '("McPresence" "state")
1379 (define-method get_status
1380 (of-object "EmpathyIdle")
1381 (c-name "empathy_idle_get_status")
1382 (return-type "const-gchar*")
1385 (define-method set_status
1386 (of-object "EmpathyIdle")
1387 (c-name "empathy_idle_set_status")
1388 (return-type "none")
1390 '("const-gchar*" "status")
1394 (define-method get_flash_state
1395 (of-object "EmpathyIdle")
1396 (c-name "empathy_idle_get_flash_state")
1397 (return-type "McPresence")
1400 (define-method set_flash_state
1401 (of-object "EmpathyIdle")
1402 (c-name "empathy_idle_set_flash_state")
1403 (return-type "none")
1405 '("McPresence" "state")
1409 (define-method set_presence
1410 (of-object "EmpathyIdle")
1411 (c-name "empathy_idle_set_presence")
1412 (return-type "none")
1414 '("McPresence" "state")
1415 '("const-gchar*" "status")
1419 (define-method get_auto_away
1420 (of-object "EmpathyIdle")
1421 (c-name "empathy_idle_get_auto_away")
1422 (return-type "gboolean")
1425 (define-method set_auto_away
1426 (of-object "EmpathyIdle")
1427 (c-name "empathy_idle_set_auto_away")
1428 (return-type "none")
1430 '("gboolean" "auto_away")
1434 (define-method get_use_nm
1435 (of-object "EmpathyIdle")
1436 (c-name "empathy_idle_get_use_nm")
1437 (return-type "gboolean")
1440 (define-method set_use_nm
1441 (of-object "EmpathyIdle")
1442 (c-name "empathy_idle_set_use_nm")
1443 (return-type "none")
1445 '("gboolean" "use_nm")
1451 ;; From empathy-irc-network.h
1453 (define-function irc_network_get_type
1454 (c-name "empathy_irc_network_get_type")
1455 (return-type "GType")
1458 (define-function irc_network_new
1459 (c-name "empathy_irc_network_new")
1460 (is-constructor-of "EmpathyIrcNetwork")
1461 (return-type "EmpathyIrcNetwork*")
1463 '("const-gchar*" "name")
1467 (define-method get_servers
1468 (of-object "EmpathyIrcNetwork")
1469 (c-name "empathy_irc_network_get_servers")
1470 (return-type "GSList*")
1473 (define-method append_server
1474 (of-object "EmpathyIrcNetwork")
1475 (c-name "empathy_irc_network_append_server")
1476 (return-type "none")
1478 '("EmpathyIrcServer*" "server")
1482 (define-method remove_server
1483 (of-object "EmpathyIrcNetwork")
1484 (c-name "empathy_irc_network_remove_server")
1485 (return-type "none")
1487 '("EmpathyIrcServer*" "server")
1491 (define-method set_server_position
1492 (of-object "EmpathyIrcNetwork")
1493 (c-name "empathy_irc_network_set_server_position")
1494 (return-type "none")
1496 '("EmpathyIrcServer*" "server")
1503 ;; From empathy-irc-network-manager.h
1505 (define-function irc_network_manager_get_type
1506 (c-name "empathy_irc_network_manager_get_type")
1507 (return-type "GType")
1510 (define-function irc_network_manager_new
1511 (c-name "empathy_irc_network_manager_new")
1512 (is-constructor-of "EmpathyIrcNetworkManager")
1513 (return-type "EmpathyIrcNetworkManager*")
1515 '("const-gchar*" "global_file")
1516 '("const-gchar*" "user_file")
1521 (of-object "EmpathyIrcNetworkManager")
1522 (c-name "empathy_irc_network_manager_add")
1523 (return-type "none")
1525 '("EmpathyIrcNetwork*" "network")
1529 (define-method remove
1530 (of-object "EmpathyIrcNetworkManager")
1531 (c-name "empathy_irc_network_manager_remove")
1532 (return-type "none")
1534 '("EmpathyIrcNetwork*" "network")
1538 (define-method get_networks
1539 (of-object "EmpathyIrcNetworkManager")
1540 (c-name "empathy_irc_network_manager_get_networks")
1541 (return-type "GSList*")
1544 (define-method find_network_by_address
1545 (of-object "EmpathyIrcNetworkManager")
1546 (c-name "empathy_irc_network_manager_find_network_by_address")
1547 (return-type "EmpathyIrcNetwork*")
1549 '("const-gchar*" "address")
1555 ;; From empathy-irc-server.h
1557 (define-function irc_server_get_type
1558 (c-name "empathy_irc_server_get_type")
1559 (return-type "GType")
1562 (define-function irc_server_new
1563 (c-name "empathy_irc_server_new")
1564 (is-constructor-of "EmpathyIrcServer")
1565 (return-type "EmpathyIrcServer*")
1567 '("const-gchar*" "address")
1575 ;; From empathy-log-manager.h
1577 (define-function log_manager_get_type
1578 (c-name "empathy_log_manager_get_type")
1579 (return-type "GType")
1582 (define-function log_manager_dup_singleton
1583 (c-name "empathy_log_manager_dup_singleton")
1584 (return-type "EmpathyLogManager*")
1587 (define-method add_message
1588 (of-object "EmpathyLogManager")
1589 (c-name "empathy_log_manager_add_message")
1590 (return-type "none")
1592 '("const-gchar*" "chat_id")
1593 '("gboolean" "chatroom")
1594 '("EmpathyMessage*" "message")
1598 (define-method exists
1599 (of-object "EmpathyLogManager")
1600 (c-name "empathy_log_manager_exists")
1601 (return-type "gboolean")
1603 '("McAccount*" "account")
1604 '("const-gchar*" "chat_id")
1605 '("gboolean" "chatroom")
1609 (define-method get_dates
1610 (of-object "EmpathyLogManager")
1611 (c-name "empathy_log_manager_get_dates")
1612 (return-type "GList*")
1614 '("McAccount*" "account")
1615 '("const-gchar*" "chat_id")
1616 '("gboolean" "chatroom")
1620 (define-method get_messages_for_file
1621 (of-object "EmpathyLogManager")
1622 (c-name "empathy_log_manager_get_messages_for_file")
1623 (return-type "GList*")
1625 '("const-gchar*" "filename")
1629 (define-method get_messages_for_date
1630 (of-object "EmpathyLogManager")
1631 (c-name "empathy_log_manager_get_messages_for_date")
1632 (return-type "GList*")
1634 '("McAccount*" "account")
1635 '("const-gchar*" "chat_id")
1636 '("gboolean" "chatroom")
1637 '("const-gchar*" "date")
1641 (define-method get_last_messages
1642 (of-object "EmpathyLogManager")
1643 (c-name "empathy_log_manager_get_last_messages")
1644 (return-type "GList*")
1646 '("McAccount*" "account")
1647 '("const-gchar*" "chat_id")
1648 '("gboolean" "chatroom")
1652 (define-method get_messages_for_file
1653 (of-object "EmpathyLogManager")
1654 (c-name "empathy_log_manager_get_messages_for_file")
1655 (return-type "GList*")
1657 '("const-gchar*" "filename")
1661 (define-method get_chats
1662 (of-object "EmpathyLogManager")
1663 (c-name "empathy_log_manager_get_chats")
1664 (return-type "GList*")
1666 '("McAccount*" "account")
1670 (define-method search_new
1671 (of-object "EmpathyLogManager")
1672 (c-name "empathy_log_manager_search_new")
1673 (return-type "GList*")
1675 '("const-gchar*" "text")
1679 (define-function log_manager_search_free
1680 (c-name "empathy_log_manager_search_free")
1681 (return-type "none")
1687 (define-function log_manager_get_date_readable
1688 (c-name "empathy_log_manager_get_date_readable")
1689 (return-type "gchar*")
1691 '("const-gchar*" "date")
1697 ;; From empathy-message.h
1699 (define-function message_get_type
1700 (c-name "empathy_message_get_type")
1701 (return-type "GType")
1704 (define-function message_new
1705 (c-name "empathy_message_new")
1706 (is-constructor-of "EmpathyMessage")
1707 (return-type "EmpathyMessage*")
1709 '("const-gchar*" "body")
1713 (define-method get_tptype
1714 (of-object "EmpathyMessage")
1715 (c-name "empathy_message_get_tptype")
1716 (return-type "TpChannelTextMessageType")
1719 (define-method set_tptype
1720 (of-object "EmpathyMessage")
1721 (c-name "empathy_message_set_tptype")
1722 (return-type "none")
1724 '("TpChannelTextMessageType" "type")
1728 (define-method get_sender
1729 (of-object "EmpathyMessage")
1730 (c-name "empathy_message_get_sender")
1731 (return-type "EmpathyContact*")
1734 (define-method set_sender
1735 (of-object "EmpathyMessage")
1736 (c-name "empathy_message_set_sender")
1737 (return-type "none")
1739 '("EmpathyContact*" "contact")
1743 (define-method get_receiver
1744 (of-object "EmpathyMessage")
1745 (c-name "empathy_message_get_receiver")
1746 (return-type "EmpathyContact*")
1749 (define-method set_receiver
1750 (of-object "EmpathyMessage")
1751 (c-name "empathy_message_set_receiver")
1752 (return-type "none")
1754 '("EmpathyContact*" "contact")
1758 (define-method get_body
1759 (of-object "EmpathyMessage")
1760 (c-name "empathy_message_get_body")
1761 (return-type "const-gchar*")
1764 (define-method set_body
1765 (of-object "EmpathyMessage")
1766 (c-name "empathy_message_set_body")
1767 (return-type "none")
1769 '("const-gchar*" "body")
1773 (define-method get_timestamp
1774 (of-object "EmpathyMessage")
1775 (c-name "empathy_message_get_timestamp")
1776 (return-type "time_t")
1779 (define-method set_timestamp
1780 (of-object "EmpathyMessage")
1781 (c-name "empathy_message_set_timestamp")
1782 (return-type "none")
1784 '("time_t" "timestamp")
1788 (define-method should_highlight
1789 (of-object "EmpathyMessage")
1790 (c-name "empathy_message_should_highlight")
1791 (return-type "gboolean")
1794 (define-function message_type_from_str
1795 (c-name "empathy_message_type_from_str")
1796 (return-type "TpChannelTextMessageType")
1798 '("const-gchar*" "type_str")
1802 (define-function message_type_to_str
1803 (c-name "empathy_message_type_to_str")
1804 (return-type "const-gchar*")
1806 '("TpChannelTextMessageType" "type")
1810 (define-method get_id
1811 (of-object "EmpathyMessage")
1812 (c-name "empathy_message_get_id")
1813 (return-type "guint")
1816 (define-method set_id
1817 (of-object "EmpathyMessage")
1818 (c-name "empathy_message_set_id")
1819 (return-type "none")
1827 ;; From empathy-status-presets.h
1829 (define-function status_presets_get_all
1830 (c-name "empathy_status_presets_get_all")
1831 (return-type "none")
1834 (define-function status_presets_get
1835 (c-name "empathy_status_presets_get")
1836 (return-type "GList*")
1838 '("McPresence" "state")
1839 '("gint" "max_number")
1843 (define-function status_presets_set_last
1844 (c-name "empathy_status_presets_set_last")
1845 (return-type "none")
1847 '("McPresence" "state")
1848 '("const-gchar*" "status")
1852 (define-function status_presets_remove
1853 (c-name "empathy_status_presets_remove")
1854 (return-type "none")
1856 '("McPresence" "state")
1857 '("const-gchar*" "status")
1861 (define-function status_presets_reset
1862 (c-name "empathy_status_presets_reset")
1863 (return-type "none")
1866 (define-function status_presets_get_default_state
1867 (c-name "empathy_status_presets_get_default_state")
1868 (return-type "McPresence")
1871 (define-function status_presets_get_default_status
1872 (c-name "empathy_status_presets_get_default_status")
1873 (return-type "const-gchar*")
1876 (define-function status_presets_set_default
1877 (c-name "empathy_status_presets_set_default")
1878 (return-type "none")
1880 '("McPresence" "state")
1881 '("const-gchar*" "status")
1885 (define-function status_presets_clear_default
1886 (c-name "empathy_status_presets_clear_default")
1887 (return-type "none")
1892 ;; From empathy-time.h
1894 (define-function time_get_current
1895 (c-name "empathy_time_get_current")
1896 (return-type "time_t")
1899 (define-function time_get_local_time
1900 (c-name "empathy_time_get_local_time")
1901 (return-type "time_t")
1903 '("struct-tm*" "tm")
1907 (define-function time_parse
1908 (c-name "empathy_time_parse")
1909 (return-type "time_t")
1911 '("const-gchar*" "str")
1915 (define-function time_to_string_utc
1916 (c-name "empathy_time_to_string_utc")
1917 (return-type "gchar*")
1920 '("const-gchar*" "format")
1924 (define-function time_to_string_local
1925 (c-name "empathy_time_to_string_local")
1926 (return-type "gchar*")
1929 '("const-gchar*" "format")
1935 ;; From empathy-tp-call.h
1937 (define-function tp_call_get_type
1938 (c-name "empathy_tp_call_get_type")
1939 (return-type "GType")
1942 (define-function tp_call_new
1943 (c-name "empathy_tp_call_new")
1944 (is-constructor-of "EmpathyTpCall")
1945 (return-type "EmpathyTpCall*")
1947 '("TpChannel*" "channel")
1951 (define-method close
1952 (of-object "EmpathyTpCall")
1953 (c-name "empathy_tp_call_close")
1954 (return-type "none")
1958 (of-object "EmpathyTpCall")
1959 (c-name "empathy_tp_call_to")
1960 (return-type "none")
1962 '("EmpathyContact*" "contact")
1966 (define-method accept_incoming_call
1967 (of-object "EmpathyTpCall")
1968 (c-name "empathy_tp_call_accept_incoming_call")
1969 (return-type "none")
1972 (define-method request_video_stream_direction
1973 (of-object "EmpathyTpCall")
1974 (c-name "empathy_tp_call_request_video_stream_direction")
1975 (return-type "none")
1977 '("gboolean" "is_sending")
1981 (define-method add_preview_video
1982 (of-object "EmpathyTpCall")
1983 (c-name "empathy_tp_call_add_preview_video")
1984 (return-type "none")
1986 '("guint" "preview_video_socket_id")
1990 (define-method remove_preview_video
1991 (of-object "EmpathyTpCall")
1992 (c-name "empathy_tp_call_remove_preview_video")
1993 (return-type "none")
1995 '("guint" "preview_video_socket_id")
1999 (define-method add_output_video
2000 (of-object "EmpathyTpCall")
2001 (c-name "empathy_tp_call_add_output_video")
2002 (return-type "none")
2004 '("guint" "output_video_socket_id")
2008 (define-method set_output_volume
2009 (of-object "EmpathyTpCall")
2010 (c-name "empathy_tp_call_set_output_volume")
2011 (return-type "none")
2017 (define-method mute_output
2018 (of-object "EmpathyTpCall")
2019 (c-name "empathy_tp_call_mute_output")
2020 (return-type "none")
2022 '("gboolean" "is_muted")
2026 (define-method mute_input
2027 (of-object "EmpathyTpCall")
2028 (c-name "empathy_tp_call_mute_input")
2029 (return-type "none")
2031 '("gboolean" "is_muted")
2035 (define-method start_tone
2036 (of-object "EmpathyTpCall")
2037 (c-name "empathy_tp_call_start_tone")
2038 (return-type "none")
2040 '("TpDTMFEvent" "event")
2044 (define-method stop_tone
2045 (of-object "EmpathyTpCall")
2046 (c-name "empathy_tp_call_stop_tone")
2047 (return-type "none")
2050 (define-method has_dtmf
2051 (of-object "EmpathyTpCall")
2052 (c-name "empathy_tp_call_has_dtmf")
2053 (return-type "gboolean")
2058 ;; From empathy-tp-chat.h
2060 (define-function tp_chat_get_type
2061 (c-name "empathy_tp_chat_get_type")
2062 (return-type "GType")
2065 (define-function tp_chat_new
2066 (c-name "empathy_tp_chat_new")
2067 (is-constructor-of "EmpathyTpChat")
2068 (return-type "EmpathyTpChat*")
2070 '("TpChannel*" "channel")
2074 (define-method close
2075 (of-object "EmpathyTpChat")
2076 (c-name "empathy_tp_chat_close")
2077 (return-type "none")
2080 (define-method get_id
2081 (of-object "EmpathyTpChat")
2082 (c-name "empathy_tp_chat_get_id")
2083 (return-type "const-gchar*")
2086 (define-method get_remote_contact
2087 (of-object "EmpathyTpChat")
2088 (c-name "empathy_tp_chat_get_remote_contact")
2089 (return-type "EmpathyContact*")
2092 (define-method get_account
2093 (of-object "EmpathyTpChat")
2094 (c-name "empathy_tp_chat_get_account")
2095 (return-type "McAccount*")
2098 (define-method get_channel
2099 (of-object "EmpathyTpChat")
2100 (c-name "empathy_tp_chat_get_channel")
2101 (return-type "TpChannel*")
2104 (define-method is_ready
2105 (of-object "EmpathyTpChat")
2106 (c-name "empathy_tp_chat_is_ready")
2107 (return-type "gboolean")
2110 (define-method get_members_count
2111 (of-object "EmpathyTpChat")
2112 (c-name "empathy_tp_chat_get_members_count")
2113 (return-type "guint")
2117 (of-object "EmpathyTpChat")
2118 (c-name "empathy_tp_chat_send")
2119 (return-type "none")
2121 '("EmpathyMessage*" "message")
2125 (define-method set_state
2126 (of-object "EmpathyTpChat")
2127 (c-name "empathy_tp_chat_set_state")
2128 (return-type "none")
2130 '("TpChannelChatState" "state")
2134 (define-method set_property
2135 (of-object "EmpathyTpChat")
2136 (c-name "empathy_tp_chat_set_property")
2137 (return-type "none")
2139 '("const-gchar*" "name")
2140 '("const-GValue*" "value")
2144 (define-method get_pending_messages
2145 (of-object "EmpathyTpChat")
2146 (c-name "empathy_tp_chat_get_pending_messages")
2147 (return-type "const-GList*")
2150 (define-method acknowledge_message
2151 (of-object "EmpathyTpChat")
2152 (c-name "empathy_tp_chat_acknowledge_message")
2153 (return-type "none")
2155 '("EmpathyMessage*" "message")
2159 (define-method acknowledge_messages
2160 (of-object "EmpathyTpChat")
2161 (c-name "empathy_tp_chat_acknowledge_messages")
2162 (return-type "none")
2164 '("const-GList*" "messages")
2170 ;; From empathy-tp-contact-factory.h
2172 (define-function tp_contact_factory_get_type
2173 (c-name "empathy_tp_contact_factory_get_type")
2174 (return-type "GType")
2177 (define-function tp_contact_factory_new
2178 (c-name "empathy_tp_contact_factory_new")
2179 (is-constructor-of "EmpathyTpContactFactory")
2180 (return-type "EmpathyTpContactFactory*")
2182 '("McAccount*" "account")
2186 (define-method get_user
2187 (of-object "EmpathyTpContactFactory")
2188 (c-name "empathy_tp_contact_factory_get_user")
2189 (return-type "EmpathyContact*")
2192 (define-method get_from_id
2193 (of-object "EmpathyTpContactFactory")
2194 (c-name "empathy_tp_contact_factory_get_from_id")
2195 (return-type "EmpathyContact*")
2197 '("const-gchar*" "id")
2201 (define-method get_from_handle
2202 (of-object "EmpathyTpContactFactory")
2203 (c-name "empathy_tp_contact_factory_get_from_handle")
2204 (return-type "EmpathyContact*")
2210 (define-method get_from_handles
2211 (of-object "EmpathyTpContactFactory")
2212 (c-name "empathy_tp_contact_factory_get_from_handles")
2213 (return-type "GList*")
2215 '("const-GArray*" "handles")
2219 (define-method set_alias
2220 (of-object "EmpathyTpContactFactory")
2221 (c-name "empathy_tp_contact_factory_set_alias")
2222 (return-type "none")
2224 '("EmpathyContact*" "contact")
2225 '("const-gchar*" "alias")
2229 (define-method set_avatar
2230 (of-object "EmpathyTpContactFactory")
2231 (c-name "empathy_tp_contact_factory_set_avatar")
2232 (return-type "none")
2234 '("const-gchar*" "data")
2236 '("const-gchar*" "mime_type")
2240 (define-method is_ready
2241 (of-object "EmpathyTpContactFactory")
2242 (c-name "empathy_tp_contact_factory_is_ready")
2243 (return-type "gboolean")
2248 ;; From empathy-tp-contact-list.h
2250 (define-function tp_contact_list_get_type
2251 (c-name "empathy_tp_contact_list_get_type")
2252 (return-type "GType")
2255 (define-function tp_contact_list_new
2256 (c-name "empathy_tp_contact_list_new")
2257 (is-constructor-of "EmpathyTpContactList")
2258 (return-type "EmpathyTpContactList*")
2260 '("McAccount*" "account")
2264 (define-method get_account
2265 (of-object "EmpathyTpContactList")
2266 (c-name "empathy_tp_contact_list_get_account")
2267 (return-type "McAccount*")
2270 (define-method can_add
2271 (of-object "EmpathyTpContactList")
2272 (c-name "empathy_tp_contact_list_can_add")
2273 (return-type "gboolean")
2278 ;; From empathy-tp-file.h
2280 (define-function tp_file_get_type
2281 (c-name "empathy_tp_file_get_type")
2282 (return-type "GType")
2285 (define-function tp_file_new
2286 (c-name "empathy_tp_file_new")
2287 (is-constructor-of "EmpathyTpFile")
2288 (return-type "EmpathyTpFile*")
2290 '("TpChannel*" "channel")
2294 (define-method get_channel
2295 (of-object "EmpathyTpFile")
2296 (c-name "empathy_tp_file_get_channel")
2297 (return-type "TpChannel*")
2300 (define-method accept
2301 (of-object "EmpathyTpFile")
2302 (c-name "empathy_tp_file_accept")
2303 (return-type "none")
2305 '("guint64" "offset")
2307 '("GError**" "error")
2311 (define-method cancel
2312 (of-object "EmpathyTpFile")
2313 (c-name "empathy_tp_file_cancel")
2314 (return-type "none")
2317 (define-method close
2318 (of-object "EmpathyTpFile")
2319 (c-name "empathy_tp_file_close")
2320 (return-type "none")
2323 (define-method offer
2324 (of-object "EmpathyTpFile")
2325 (c-name "empathy_tp_file_offer")
2326 (return-type "none")
2329 '("GError**" "error")
2333 (define-method get_contact
2334 (of-object "EmpathyTpFile")
2335 (c-name "empathy_tp_file_get_contact")
2336 (return-type "EmpathyContact*")
2339 (define-method get_filename
2340 (of-object "EmpathyTpFile")
2341 (c-name "empathy_tp_file_get_filename")
2342 (return-type "const-gchar*")
2345 (define-method is_incoming
2346 (of-object "EmpathyTpFile")
2347 (c-name "empathy_tp_file_is_incoming")
2348 (return-type "gboolean")
2351 (define-method get_state
2352 (of-object "EmpathyTpFile")
2353 (c-name "empathy_tp_file_get_state")
2354 (return-type "guint")
2356 '("guint*" "reason")
2360 (define-method get_size
2361 (of-object "EmpathyTpFile")
2362 (c-name "empathy_tp_file_get_size")
2363 (return-type "guint64")
2366 (define-method get_transferred_bytes
2367 (of-object "EmpathyTpFile")
2368 (c-name "empathy_tp_file_get_transferred_bytes")
2369 (return-type "guint64")
2372 (define-method get_remaining_time
2373 (of-object "EmpathyTpFile")
2374 (c-name "empathy_tp_file_get_remaining_time")
2375 (return-type "gint")
2378 (define-method get_content_type
2379 (of-object "EmpathyTpFile")
2380 (c-name "empathy_tp_file_get_content_type")
2381 (return-type "const-gchar*")
2386 ;; From empathy-tp-group.h
2388 (define-function tp_group_get_type
2389 (c-name "empathy_tp_group_get_type")
2390 (return-type "GType")
2393 (define-function tp_group_new
2394 (c-name "empathy_tp_group_new")
2395 (is-constructor-of "EmpathyTpGroup")
2396 (return-type "EmpathyTpGroup*")
2398 '("TpChannel*" "channel")
2402 (define-method close
2403 (of-object "EmpathyTpGroup")
2404 (c-name "empathy_tp_group_close")
2405 (return-type "none")
2408 (define-method add_members
2409 (of-object "EmpathyTpGroup")
2410 (c-name "empathy_tp_group_add_members")
2411 (return-type "none")
2413 '("GList*" "contacts")
2414 '("const-gchar*" "message")
2418 (define-method add_member
2419 (of-object "EmpathyTpGroup")
2420 (c-name "empathy_tp_group_add_member")
2421 (return-type "none")
2423 '("EmpathyContact*" "contact")
2424 '("const-gchar*" "message")
2428 (define-method remove_members
2429 (of-object "EmpathyTpGroup")
2430 (c-name "empathy_tp_group_remove_members")
2431 (return-type "none")
2433 '("GList*" "contacts")
2434 '("const-gchar*" "message")
2438 (define-method remove_member
2439 (of-object "EmpathyTpGroup")
2440 (c-name "empathy_tp_group_remove_member")
2441 (return-type "none")
2443 '("EmpathyContact*" "contact")
2444 '("const-gchar*" "message")
2448 (define-method get_members
2449 (of-object "EmpathyTpGroup")
2450 (c-name "empathy_tp_group_get_members")
2451 (return-type "GList*")
2454 (define-method get_local_pendings
2455 (of-object "EmpathyTpGroup")
2456 (c-name "empathy_tp_group_get_local_pendings")
2457 (return-type "GList*")
2460 (define-method get_remote_pendings
2461 (of-object "EmpathyTpGroup")
2462 (c-name "empathy_tp_group_get_remote_pendings")
2463 (return-type "GList*")
2466 (define-method get_name
2467 (of-object "EmpathyTpGroup")
2468 (c-name "empathy_tp_group_get_name")
2469 (return-type "const-gchar*")
2472 (define-method get_self_contact
2473 (of-object "EmpathyTpGroup")
2474 (c-name "empathy_tp_group_get_self_contact")
2475 (return-type "EmpathyContact*")
2478 (define-method is_member
2479 (of-object "EmpathyTpGroup")
2480 (c-name "empathy_tp_group_is_member")
2481 (return-type "gboolean")
2483 '("EmpathyContact*" "contact")
2487 (define-method is_ready
2488 (of-object "EmpathyTpGroup")
2489 (c-name "empathy_tp_group_is_ready")
2490 (return-type "gboolean")
2493 (define-method get_invitation
2494 (of-object "EmpathyTpGroup")
2495 (c-name "empathy_tp_group_get_invitation")
2496 (return-type "EmpathyPendingInfo*")
2498 '("EmpathyContact**" "remote_contact")
2502 (define-function pending_info_new
2503 (c-name "empathy_pending_info_new")
2504 (is-constructor-of "EmpathyPendingInfo")
2505 (return-type "EmpathyPendingInfo*")
2507 '("EmpathyContact*" "member")
2508 '("EmpathyContact*" "actor")
2509 '("const-gchar*" "message")
2514 (of-object "EmpathyPendingInfo")
2515 (c-name "empathy_pending_info_free")
2516 (return-type "none")
2519 (define-method get_flags
2520 (of-object "EmpathyTpGroup")
2521 (c-name "empathy_tp_group_get_flags")
2522 (return-type "TpChannelGroupFlags")
2527 ;; From empathy-tp-roomlist.h
2529 (define-function tp_roomlist_get_type
2530 (c-name "empathy_tp_roomlist_get_type")
2531 (return-type "GType")
2534 (define-function tp_roomlist_new
2535 (c-name "empathy_tp_roomlist_new")
2536 (is-constructor-of "EmpathyTpRoomlist")
2537 (return-type "EmpathyTpRoomlist*")
2539 '("McAccount*" "account")
2543 (define-method is_listing
2544 (of-object "EmpathyTpRoomlist")
2545 (c-name "empathy_tp_roomlist_is_listing")
2546 (return-type "gboolean")
2549 (define-method start
2550 (of-object "EmpathyTpRoomlist")
2551 (c-name "empathy_tp_roomlist_start")
2552 (return-type "none")
2556 (of-object "EmpathyTpRoomlist")
2557 (c-name "empathy_tp_roomlist_stop")
2558 (return-type "none")
2563 ;; From empathy-tp-tube.h
2565 (define-function tp_tube_get_type
2566 (c-name "empathy_tp_tube_get_type")
2567 (return-type "GType")
2570 (define-function tp_tube_new
2571 (c-name "empathy_tp_tube_new")
2572 (is-constructor-of "EmpathyTpTube")
2573 (return-type "EmpathyTpTube*")
2575 '("TpChannel*" "channel")
2579 (define-function tp_tube_new_stream_tube
2580 (c-name "empathy_tp_tube_new_stream_tube")
2581 (return-type "EmpathyTpTube*")
2583 '("EmpathyContact*" "contact")
2584 '("TpSocketAddressType" "type")
2585 '("const-gchar*" "hostname")
2587 '("const-gchar*" "service")
2591 (define-method accept_stream_tube
2592 (of-object "EmpathyTpTube")
2593 (c-name "empathy_tp_tube_accept_stream_tube")
2594 (return-type "none")
2596 '("TpSocketAddressType" "type")
2597 '("EmpatyTpTubeAcceptStreamTubeCb*" "callback")
2598 '("gpointer" "user_data")
2604 ;; From empathy-tube-handler.h
2606 (define-function tube_handler_get_type
2607 (c-name "empathy_tube_handler_get_type")
2608 (return-type "GType")
2611 (define-function tube_handler_new
2612 (c-name "empathy_tube_handler_new")
2613 (is-constructor-of "EmpathyTubeHandler")
2614 (return-type "EmpathyTubeHandler*")
2616 '("EmpathyTubeType" "type")
2617 '("const-gchar*" "service")
2621 (define-function tube_handler_build_bus_name
2622 (c-name "empathy_tube_handler_build_bus_name")
2623 (return-type "gchar*")
2625 '("EmpathyTubeType" "type")
2626 '("const-gchar*" "service")
2630 (define-function tube_handler_build_object_path
2631 (c-name "empathy_tube_handler_build_object_path")
2632 (return-type "gchar*")
2634 '("EmpathyTubeType" "type")
2635 '("const-gchar*" "service")
2641 ;; From empathy-types.h
2645 ;; From empathy-utils.h
2647 (define-function init
2648 (c-name "empathy_init")
2649 (return-type "none")
2652 (define-function substring
2653 (c-name "empathy_substring")
2654 (return-type "gchar*")
2656 '("const-gchar*" "str")
2662 (define-function strcasecmp
2663 (c-name "empathy_strcasecmp")
2664 (return-type "gint")
2666 '("const-gchar*" "s1")
2667 '("const-gchar*" "s2")
2671 (define-function strncasecmp
2672 (c-name "empathy_strncasecmp")
2673 (return-type "gint")
2675 '("const-gchar*" "s1")
2676 '("const-gchar*" "s2")
2681 (define-function xml_validate
2682 (c-name "empathy_xml_validate")
2683 (return-type "gboolean")
2686 '("const-gchar*" "dtd_filename")
2690 (define-function xml_node_get_child
2691 (c-name "empathy_xml_node_get_child")
2692 (return-type "xmlNodePtr")
2694 '("xmlNodePtr" "node")
2695 '("const-gchar*" "child_name")
2699 (define-function xml_node_get_child_content
2700 (c-name "empathy_xml_node_get_child_content")
2701 (return-type "xmlChar*")
2703 '("xmlNodePtr" "node")
2704 '("const-gchar*" "child_name")
2708 (define-function xml_node_find_child_prop_value
2709 (c-name "empathy_xml_node_find_child_prop_value")
2710 (return-type "xmlNodePtr")
2712 '("xmlNodePtr" "node")
2713 '("const-gchar*" "prop_name")
2714 '("const-gchar*" "prop_value")
2718 (define-function account_hash
2719 (c-name "empathy_account_hash")
2720 (return-type "guint")
2722 '("gconstpointer" "key")
2726 (define-function account_equal
2727 (c-name "empathy_account_equal")
2728 (return-type "gboolean")
2730 '("gconstpointer" "a")
2731 '("gconstpointer" "b")
2735 (define-function mission_control_dup_singleton
2736 (c-name "empathy_mission_control_dup_singleton")
2737 (return-type "MissionControl*")
2740 (define-function presence_get_default_message
2741 (c-name "empathy_presence_get_default_message")
2742 (return-type "const-gchar*")
2744 '("McPresence" "presence")
2748 (define-function presence_to_str
2749 (c-name "empathy_presence_to_str")
2750 (return-type "const-gchar*")
2752 '("McPresence" "presence")
2756 (define-function presence_from_str
2757 (c-name "empathy_presence_from_str")
2758 (return-type "McPresence")
2760 '("const-gchar*" "str")
2764 (define-function file_lookup
2765 (c-name "empathy_file_lookup")
2766 (return-type "gchar*")
2768 '("const-gchar*" "filename")
2769 '("const-gchar*" "subdir")
2773 (define-function run_until_ready
2774 (c-name "empathy_run_until_ready")
2775 (return-type "none")
2777 '("gpointer" "object")
2781 (define-function run_until_ready_full
2782 (c-name "empathy_run_until_ready_full")
2783 (return-type "none")
2785 '("gpointer" "object")
2786 '("const-gchar*" "signal")
2787 '("EmpathyRunUntilReadyFunc" "func")
2788 '("gpointer" "user_data")
2789 '("GMainLoop**" "loop")
2793 (define-function channel_get_account
2794 (c-name "empathy_channel_get_account")
2795 (return-type "McAccount*")
2797 '("TpChannel*" "channel")
2801 (define-function proxy_equal
2802 (c-name "empathy_proxy_equal")
2803 (return-type "gboolean")
2805 '("gconstpointer" "a")
2806 '("gconstpointer" "b")
2810 (define-function proxy_hash
2811 (c-name "empathy_proxy_hash")
2812 (return-type "guint")
2814 '("gconstpointer" "key")
2818 (define-function check_available_state
2819 (c-name "empathy_check_available_state")
2820 (return-type "gboolean")