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")
264 ;; From empathy-account-manager.h
266 (define-function account_manager_get_type
267 (c-name "empathy_account_manager_get_type")
268 (return-type "GType")
271 (define-function account_manager_dup_singleton
272 (c-name "empathy_account_manager_dup_singleton")
273 (return-type "EmpathyAccountManager*")
276 (define-method get_connected_accounts
277 (of-object "EmpathyAccountManager")
278 (c-name "empathy_account_manager_get_connected_accounts")
282 (define-method get_connecting_accounts
283 (of-object "EmpathyAccountManager")
284 (c-name "empathy_account_manager_get_connecting_accounts")
288 (define-method is_account_just_connected
289 (of-object "EmpathyAccountManager")
290 (c-name "empathy_account_manager_is_account_just_connected")
291 (return-type "gboolean")
293 '("McAccount*" "account")
297 (define-method get_count
298 (of-object "EmpathyAccountManager")
299 (c-name "empathy_account_manager_get_count")
305 ;; From empathy-chatroom.h
307 (define-function chatroom_get_type
308 (c-name "empathy_chatroom_get_type")
309 (return-type "GType")
312 (define-function chatroom_new
313 (c-name "empathy_chatroom_new")
314 (is-constructor-of "EmpathyChatroom")
315 (return-type "EmpathyChatroom*")
317 '("McAccount*" "account")
321 (define-function chatroom_new_full
322 (c-name "empathy_chatroom_new_full")
323 (return-type "EmpathyChatroom*")
325 '("McAccount*" "account")
326 '("const-gchar*" "room")
327 '("const-gchar*" "name")
328 '("gboolean" "auto_connect")
332 (define-method get_account
333 (of-object "EmpathyChatroom")
334 (c-name "empathy_chatroom_get_account")
335 (return-type "McAccount*")
338 (define-method set_account
339 (of-object "EmpathyChatroom")
340 (c-name "empathy_chatroom_set_account")
343 '("McAccount*" "account")
347 (define-method get_room
348 (of-object "EmpathyChatroom")
349 (c-name "empathy_chatroom_get_room")
350 (return-type "const-gchar*")
353 (define-method set_room
354 (of-object "EmpathyChatroom")
355 (c-name "empathy_chatroom_set_room")
358 '("const-gchar*" "room")
362 (define-method get_name
363 (of-object "EmpathyChatroom")
364 (c-name "empathy_chatroom_get_name")
365 (return-type "const-gchar*")
368 (define-method set_name
369 (of-object "EmpathyChatroom")
370 (c-name "empathy_chatroom_set_name")
373 '("const-gchar*" "name")
377 (define-method get_auto_connect
378 (of-object "EmpathyChatroom")
379 (c-name "empathy_chatroom_get_auto_connect")
380 (return-type "gboolean")
383 (define-method set_auto_connect
384 (of-object "EmpathyChatroom")
385 (c-name "empathy_chatroom_set_auto_connect")
388 '("gboolean" "auto_connect")
392 (define-function chatroom_equal
393 (c-name "empathy_chatroom_equal")
394 (return-type "gboolean")
396 '("gconstpointer" "v1")
397 '("gconstpointer" "v2")
401 (define-method get_tp_chat
402 (of-object "EmpathyChatroom")
403 (c-name "empathy_chatroom_get_tp_chat")
404 (return-type "EmpathyTpChat*")
409 ;; From empathy-chatroom-manager.h
411 (define-function chatroom_manager_get_type
412 (c-name "empathy_chatroom_manager_get_type")
413 (return-type "GType")
416 (define-function chatroom_manager_dup_singleton
417 (c-name "empathy_chatroom_manager_dup_singleton")
418 (return-type "EmpathyChatroomManager*")
420 '("const-gchar*" "file")
425 (of-object "EmpathyChatroomManager")
426 (c-name "empathy_chatroom_manager_add")
427 (return-type "gboolean")
429 '("EmpathyChatroom*" "chatroom")
433 (define-method remove
434 (of-object "EmpathyChatroomManager")
435 (c-name "empathy_chatroom_manager_remove")
438 '("EmpathyChatroom*" "chatroom")
443 (of-object "EmpathyChatroomManager")
444 (c-name "empathy_chatroom_manager_find")
445 (return-type "EmpathyChatroom*")
447 '("McAccount*" "account")
448 '("const-gchar*" "room")
452 (define-method get_chatrooms
453 (of-object "EmpathyChatroomManager")
454 (c-name "empathy_chatroom_manager_get_chatrooms")
455 (return-type "GList*")
457 '("McAccount*" "account")
461 (define-method get_count
462 (of-object "EmpathyChatroomManager")
463 (c-name "empathy_chatroom_manager_get_count")
464 (return-type "guint")
466 '("McAccount*" "account")
470 (define-method observe
471 (of-object "EmpathyChatroomManager")
472 (c-name "empathy_chatroom_manager_observe")
475 '("EmpathyDispatcher*" "dispatcher")
481 ;; From empathy-call-factory.h
483 (define-function call_factory_get_type
484 (c-name "empathy_call_factory_get_type")
485 (return-type "GType")
488 (define-function call_factory_initialise
489 (c-name "empathy_call_factory_initialise")
490 (return-type "EmpathyCallFactory*")
493 (define-function call_factory_get
494 (c-name "empathy_call_factory_get")
495 (return-type "EmpathyCallFactory*")
498 (define-method new_call
499 (of-object "EmpathyCallFactory")
500 (c-name "empathy_call_factory_new_call")
503 '("EmpathyContact*" "contact")
507 (define-method claim_channel
508 (of-object "EmpathyCallFactory")
509 (c-name "empathy_call_factory_claim_channel")
512 '("EmpathyDispatchOperation*" "operation")
518 ;; From empathy-call-handler.h
520 (define-function call_handler_get_type
521 (c-name "empathy_call_handler_get_type")
522 (return-type "GType")
525 (define-function call_handler_new_for_contact
526 (c-name "empathy_call_handler_new_for_contact")
527 (return-type "EmpathyCallHandler*")
529 '("EmpathyContact*" "contact")
533 (define-function call_handler_new_for_channel
534 (c-name "empathy_call_handler_new_for_channel")
535 (return-type "EmpathyCallHandler*")
537 '("EmpathyTpCall*" "call")
541 (define-method start_call
542 (of-object "EmpathyCallHandler")
543 (c-name "empathy_call_handler_start_call")
547 (define-method set_bus
548 (of-object "EmpathyCallHandler")
549 (c-name "empathy_call_handler_set_bus")
558 ;; From empathy-contact.h
560 (define-function contact_get_type
561 (c-name "empathy_contact_get_type")
562 (return-type "GType")
565 (define-function contact_new
566 (c-name "empathy_contact_new")
567 (is-constructor-of "EmpathyContact")
568 (return-type "EmpathyContact*")
570 '("McAccount*" "account")
574 (define-function contact_new_full
575 (c-name "empathy_contact_new_full")
576 (return-type "EmpathyContact*")
578 '("McAccount*" "account")
579 '("const-gchar*" "id")
580 '("const-gchar*" "name")
584 (define-method get_id
585 (of-object "EmpathyContact")
586 (c-name "empathy_contact_get_id")
587 (return-type "const-gchar*")
590 (define-method set_id
591 (of-object "EmpathyContact")
592 (c-name "empathy_contact_set_id")
595 '("const-gchar*" "id")
599 (define-method get_name
600 (of-object "EmpathyContact")
601 (c-name "empathy_contact_get_name")
602 (return-type "const-gchar*")
605 (define-method set_name
606 (of-object "EmpathyContact")
607 (c-name "empathy_contact_set_name")
610 '("const-gchar*" "name")
614 (define-method get_avatar
615 (of-object "EmpathyContact")
616 (c-name "empathy_contact_get_avatar")
617 (return-type "EmpathyAvatar*")
620 (define-method set_avatar
621 (of-object "EmpathyContact")
622 (c-name "empathy_contact_set_avatar")
625 '("EmpathyAvatar*" "avatar")
629 (define-method get_account
630 (of-object "EmpathyContact")
631 (c-name "empathy_contact_get_account")
632 (return-type "McAccount*")
635 (define-method set_account
636 (of-object "EmpathyContact")
637 (c-name "empathy_contact_set_account")
640 '("McAccount*" "account")
644 (define-method get_presence
645 (of-object "EmpathyContact")
646 (c-name "empathy_contact_get_presence")
647 (return-type "McPresence")
650 (define-method set_presence
651 (of-object "EmpathyContact")
652 (c-name "empathy_contact_set_presence")
655 '("McPresence" "presence")
659 (define-method get_presence_message
660 (of-object "EmpathyContact")
661 (c-name "empathy_contact_get_presence_message")
662 (return-type "const-gchar*")
665 (define-method set_presence_message
666 (of-object "EmpathyContact")
667 (c-name "empathy_contact_set_presence_message")
670 '("const-gchar*" "message")
674 (define-method get_handle
675 (of-object "EmpathyContact")
676 (c-name "empathy_contact_get_handle")
677 (return-type "guint")
680 (define-method set_handle
681 (of-object "EmpathyContact")
682 (c-name "empathy_contact_set_handle")
689 (define-method get_capabilities
690 (of-object "EmpathyContact")
691 (c-name "empathy_contact_get_capabilities")
692 (return-type "EmpathyCapabilities")
695 (define-method set_capabilities
696 (of-object "EmpathyContact")
697 (c-name "empathy_contact_set_capabilities")
700 '("EmpathyCapabilities" "capabilities")
704 (define-method get_ready
705 (of-object "EmpathyContact")
706 (c-name "empathy_contact_get_ready")
707 (return-type "EmpathyContactReady")
710 (define-method is_user
711 (of-object "EmpathyContact")
712 (c-name "empathy_contact_is_user")
713 (return-type "gboolean")
716 (define-method set_is_user
717 (of-object "EmpathyContact")
718 (c-name "empathy_contact_set_is_user")
721 '("gboolean" "is_user")
725 (define-method is_online
726 (of-object "EmpathyContact")
727 (c-name "empathy_contact_is_online")
728 (return-type "gboolean")
731 (define-method get_status
732 (of-object "EmpathyContact")
733 (c-name "empathy_contact_get_status")
734 (return-type "const-gchar*")
737 (define-method can_voip
738 (of-object "EmpathyContact")
739 (c-name "empathy_contact_can_voip")
740 (return-type "gboolean")
743 (define-method can_send_files
744 (of-object "EmpathyContact")
745 (c-name "empathy_contact_can_send_files")
746 (return-type "gboolean")
749 (define-function contact_equal
750 (c-name "empathy_contact_equal")
751 (return-type "gboolean")
753 '("gconstpointer" "v1")
754 '("gconstpointer" "v2")
758 (define-function contact_hash
759 (c-name "empathy_contact_hash")
760 (return-type "guint")
762 '("gconstpointer" "key")
766 (define-method call_when_ready
767 (of-object "EmpathyContact")
768 (c-name "empathy_contact_call_when_ready")
771 '("EmpathyContactReady" "ready")
772 '("EmpathyContactReadyCb*" "callback")
773 '("gpointer" "user_data")
774 '("GDestroyNotify" "destroy")
775 '("GObject*" "weak_object")
779 (define-method run_until_ready
780 (of-object "EmpathyContact")
781 (c-name "empathy_contact_run_until_ready")
784 '("EmpathyContactReady" "ready")
785 '("GMainLoop**" "loop")
789 (define-method load_avatar_data
790 (of-object "EmpathyContact")
791 (c-name "empathy_contact_load_avatar_data")
794 '("const-guchar*" "data")
795 '("const-gsize" "len")
796 '("const-gchar*" "format")
797 '("const-gchar*" "token")
801 (define-method load_avatar_cache
802 (of-object "EmpathyContact")
803 (c-name "empathy_contact_load_avatar_cache")
804 (return-type "gboolean")
806 '("const-gchar*" "token")
810 (define-function avatar_get_type
811 (c-name "empathy_avatar_get_type")
812 (return-type "GType")
815 (define-function avatar_new
816 (c-name "empathy_avatar_new")
817 (is-constructor-of "EmpathyAvatar")
818 (return-type "EmpathyAvatar*")
828 (of-object "EmpathyAvatar")
829 (c-name "empathy_avatar_ref")
830 (return-type "EmpathyAvatar*")
834 (of-object "EmpathyAvatar")
835 (c-name "empathy_avatar_unref")
839 (define-method save_to_file
840 (of-object "EmpathyAvatar")
841 (c-name "empathy_avatar_save_to_file")
842 (return-type "gboolean")
844 '("const-gchar*" "filename")
845 '("GError**" "error")
851 ;; From empathy-contact-factory.h
853 (define-function contact_factory_get_type
854 (c-name "empathy_contact_factory_get_type")
855 (return-type "GType")
858 (define-function contact_factory_dup_singleton
859 (c-name "empathy_contact_factory_dup_singleton")
860 (return-type "EmpathyContactFactory*")
863 (define-method get_tp_factory
864 (of-object "EmpathyContactFactory")
865 (c-name "empathy_contact_factory_get_tp_factory")
866 (return-type "EmpathyTpContactFactory*")
868 '("McAccount*" "account")
872 (define-method get_user
873 (of-object "EmpathyContactFactory")
874 (c-name "empathy_contact_factory_get_user")
875 (return-type "EmpathyContact*")
877 '("McAccount*" "account")
881 (define-method get_from_id
882 (of-object "EmpathyContactFactory")
883 (c-name "empathy_contact_factory_get_from_id")
884 (return-type "EmpathyContact*")
886 '("McAccount*" "account")
887 '("const-gchar*" "id")
891 (define-method get_from_handle
892 (of-object "EmpathyContactFactory")
893 (c-name "empathy_contact_factory_get_from_handle")
894 (return-type "EmpathyContact*")
896 '("McAccount*" "account")
901 (define-method get_from_handles
902 (of-object "EmpathyContactFactory")
903 (c-name "empathy_contact_factory_get_from_handles")
904 (return-type "GList*")
906 '("McAccount*" "account")
907 '("const-GArray*" "handles")
911 (define-method set_alias
912 (of-object "EmpathyContactFactory")
913 (c-name "empathy_contact_factory_set_alias")
916 '("EmpathyContact*" "contact")
917 '("const-gchar*" "alias")
921 (define-method set_avatar
922 (of-object "EmpathyContactFactory")
923 (c-name "empathy_contact_factory_set_avatar")
926 '("McAccount*" "account")
927 '("const-gchar*" "data")
929 '("const-gchar*" "mime_type")
935 ;; From empathy-contact-groups.h
937 (define-function contact_groups_get_all
938 (c-name "empathy_contact_groups_get_all")
942 (define-function contact_group_get_expanded
943 (c-name "empathy_contact_group_get_expanded")
944 (return-type "gboolean")
946 '("const-gchar*" "group")
950 (define-function contact_group_set_expanded
951 (c-name "empathy_contact_group_set_expanded")
954 '("const-gchar*" "group")
955 '("gboolean" "expanded")
961 ;; From empathy-contact-list.h
963 (define-function contact_list_get_type
964 (c-name "empathy_contact_list_get_type")
965 (return-type "GType")
969 (of-object "EmpathyContactList")
970 (c-name "empathy_contact_list_add")
973 '("EmpathyContact*" "contact")
974 '("const-gchar*" "message")
978 (define-method remove
979 (of-object "EmpathyContactList")
980 (c-name "empathy_contact_list_remove")
983 '("EmpathyContact*" "contact")
984 '("const-gchar*" "message")
988 (define-method get_members
989 (of-object "EmpathyContactList")
990 (c-name "empathy_contact_list_get_members")
991 (return-type "GList*")
994 (define-method get_pendings
995 (of-object "EmpathyContactList")
996 (c-name "empathy_contact_list_get_pendings")
997 (return-type "GList*")
1000 (define-method get_all_groups
1001 (of-object "EmpathyContactList")
1002 (c-name "empathy_contact_list_get_all_groups")
1003 (return-type "GList*")
1006 (define-method get_groups
1007 (of-object "EmpathyContactList")
1008 (c-name "empathy_contact_list_get_groups")
1009 (return-type "GList*")
1011 '("EmpathyContact*" "contact")
1015 (define-method add_to_group
1016 (of-object "EmpathyContactList")
1017 (c-name "empathy_contact_list_add_to_group")
1018 (return-type "none")
1020 '("EmpathyContact*" "contact")
1021 '("const-gchar*" "group")
1025 (define-method remove_from_group
1026 (of-object "EmpathyContactList")
1027 (c-name "empathy_contact_list_remove_from_group")
1028 (return-type "none")
1030 '("EmpathyContact*" "contact")
1031 '("const-gchar*" "group")
1035 (define-method rename_group
1036 (of-object "EmpathyContactList")
1037 (c-name "empathy_contact_list_rename_group")
1038 (return-type "none")
1040 '("const-gchar*" "old_group")
1041 '("const-gchar*" "new_group")
1045 (define-method remove_group
1046 (of-object "EmpathyContactList")
1047 (c-name "empathy_contact_list_remove_group")
1048 (return-type "none")
1050 '("const-gchar*" "group")
1054 (define-method get_monitor
1055 (of-object "EmpathyContactList")
1056 (c-name "empathy_contact_list_get_monitor")
1057 (return-type "EmpathyContactMonitor*")
1062 ;; From empathy-contact-manager.h
1064 (define-function contact_manager_get_type
1065 (c-name "empathy_contact_manager_get_type")
1066 (return-type "GType")
1069 (define-function contact_manager_dup_singleton
1070 (c-name "empathy_contact_manager_dup_singleton")
1071 (return-type "EmpathyContactManager*")
1074 (define-method get_list
1075 (of-object "EmpathyContactManager")
1076 (c-name "empathy_contact_manager_get_list")
1077 (return-type "EmpathyTpContactList*")
1079 '("McAccount*" "account")
1083 (define-method can_add
1084 (of-object "EmpathyContactManager")
1085 (c-name "empathy_contact_manager_can_add")
1086 (return-type "gboolean")
1088 '("McAccount*" "account")
1094 ;; From empathy-contact-monitor.h
1096 (define-function contact_monitor_get_type
1097 (c-name "empathy_contact_monitor_get_type")
1098 (return-type "GType")
1101 (define-method set_iface
1102 (of-object "EmpathyContactMonitor")
1103 (c-name "empathy_contact_monitor_set_iface")
1104 (return-type "none")
1106 '("EmpathyContactList*" "iface")
1110 (define-function contact_monitor_new_for_iface
1111 (c-name "empathy_contact_monitor_new_for_iface")
1112 (return-type "EmpathyContactMonitor*")
1114 '("EmpathyContactList*" "iface")
1120 ;; From empathy-debug.h
1122 (define-function debug_flag_is_set
1123 (c-name "empathy_debug_flag_is_set")
1124 (return-type "gboolean")
1126 '("EmpathyDebugFlags" "flag")
1130 (define-function debug
1131 (c-name "empathy_debug")
1132 (return-type "none")
1134 '("EmpathyDebugFlags" "flag")
1135 '("const-gchar*" "format")
1140 (define-function debug_set_flags
1141 (c-name "empathy_debug_set_flags")
1142 (return-type "none")
1144 '("const-gchar*" "flags_string")
1150 ;; From empathy-dispatcher.h
1152 (define-function dispatcher_get_type
1153 (c-name "empathy_dispatcher_get_type")
1154 (return-type "GType")
1157 (define-method create_channel
1158 (of-object "EmpathyDispatcher")
1159 (c-name "empathy_dispatcher_create_channel")
1160 (return-type "none")
1162 '("McAccount*" "account")
1163 '("GHashTable*" "request")
1164 '("EmpathyDispatcherRequestCb*" "callback")
1165 '("gpointer" "user_data")
1169 (define-function dispatcher_call_with_contact
1170 (c-name "empathy_dispatcher_call_with_contact")
1171 (return-type "none")
1173 '("EmpathyContact*" "contact")
1174 '("EmpathyDispatcherRequestCb*" "callback")
1175 '("gpointer" "user_data")
1179 (define-function dispatcher_chat_with_contact_id
1180 (c-name "empathy_dispatcher_chat_with_contact_id")
1181 (return-type "none")
1183 '("McAccount*" "account")
1184 '("const-gchar*" "contact_id")
1185 '("EmpathyDispatcherRequestCb*" "callback")
1186 '("gpointer" "user_data")
1190 (define-function dispatcher_chat_with_contact
1191 (c-name "empathy_dispatcher_chat_with_contact")
1192 (return-type "none")
1194 '("EmpathyContact*" "contact")
1195 '("EmpathyDispatcherRequestCb*" "callback")
1196 '("gpointer" "user_data")
1200 (define-function dispatcher_send_file_to_contact
1201 (c-name "empathy_dispatcher_send_file_to_contact")
1202 (return-type "none")
1204 '("EmpathyContact*" "contact")
1205 '("const-gchar*" "filename")
1208 '("const-gchar*" "content_type")
1209 '("EmpathyDispatcherRequestCb*" "callback")
1210 '("gpointer" "user_data")
1214 (define-function dispatcher_join_muc
1215 (c-name "empathy_dispatcher_join_muc")
1216 (return-type "none")
1218 '("McAccount*" "account")
1219 '("const-gchar*" "roomname")
1220 '("EmpathyDispatcherRequestCb*" "callback")
1221 '("gpointer" "user_data")
1225 (define-method find_channel_class
1226 (of-object "EmpathyDispatcher")
1227 (c-name "empathy_dispatcher_find_channel_class")
1228 (return-type "GStrv")
1230 '("McAccount*" "account")
1231 '("const-gchar*" "channel_type")
1232 '("guint" "handle_type")
1236 (define-function dispatcher_dup_singleton
1237 (c-name "empathy_dispatcher_dup_singleton")
1238 (return-type "EmpathyDispatcher*")
1243 ;; From empathy-dispatch-operation.h
1245 (define-function dispatch_operation_get_type
1246 (c-name "empathy_dispatch_operation_get_type")
1247 (return-type "GType")
1250 (define-function dispatch_operation_new
1251 (c-name "empathy_dispatch_operation_new")
1252 (is-constructor-of "EmpathyDispatchOperation")
1253 (return-type "EmpathyDispatchOperation*")
1255 '("TpConnection*" "connection")
1256 '("TpChannel*" "channel")
1257 '("EmpathyContact*" "contact")
1258 '("gboolean" "incoming")
1262 (define-function dispatch_operation_new_with_wrapper
1263 (c-name "empathy_dispatch_operation_new_with_wrapper")
1264 (return-type "EmpathyDispatchOperation*")
1266 '("TpConnection*" "connection")
1267 '("TpChannel*" "channel")
1268 '("EmpathyContact*" "contact")
1269 '("gboolean" "incoming")
1270 '("GObject*" "channel_wrapper")
1274 (define-method start
1275 (of-object "EmpathyDispatchOperation")
1276 (c-name "empathy_dispatch_operation_start")
1277 (return-type "none")
1280 (define-method approve
1281 (of-object "EmpathyDispatchOperation")
1282 (c-name "empathy_dispatch_operation_approve")
1283 (return-type "none")
1286 (define-method claim
1287 (of-object "EmpathyDispatchOperation")
1288 (c-name "empathy_dispatch_operation_claim")
1289 (return-type "gboolean")
1292 (define-method get_channel
1293 (of-object "EmpathyDispatchOperation")
1294 (c-name "empathy_dispatch_operation_get_channel")
1295 (return-type "TpChannel*")
1298 (define-method get_channel_wrapper
1299 (of-object "EmpathyDispatchOperation")
1300 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1301 (return-type "GObject*")
1304 (define-method get_tp_connection
1305 (of-object "EmpathyDispatchOperation")
1306 (c-name "empathy_dispatch_operation_get_tp_connection")
1307 (return-type "TpConnection*")
1310 (define-method get_channel_type
1311 (of-object "EmpathyDispatchOperation")
1312 (c-name "empathy_dispatch_operation_get_channel_type")
1313 (return-type "const-gchar*")
1316 (define-method get_channel_type_id
1317 (of-object "EmpathyDispatchOperation")
1318 (c-name "empathy_dispatch_operation_get_channel_type_id")
1319 (return-type "GQuark")
1322 (define-method get_object_path
1323 (of-object "EmpathyDispatchOperation")
1324 (c-name "empathy_dispatch_operation_get_object_path")
1325 (return-type "const-gchar*")
1328 (define-method get_status
1329 (of-object "EmpathyDispatchOperation")
1330 (c-name "empathy_dispatch_operation_get_status")
1331 (return-type "EmpathyDispatchOperationState")
1334 (define-method is_incoming
1335 (of-object "EmpathyDispatchOperation")
1336 (c-name "empathy_dispatch_operation_is_incoming")
1337 (return-type "gboolean")
1342 ;; From empathy-idle.h
1344 (define-function idle_get_type
1345 (c-name "empathy_idle_get_type")
1346 (return-type "GType")
1349 (define-function idle_dup_singleton
1350 (c-name "empathy_idle_dup_singleton")
1351 (return-type "EmpathyIdle*")
1354 (define-method get_state
1355 (of-object "EmpathyIdle")
1356 (c-name "empathy_idle_get_state")
1357 (return-type "McPresence")
1360 (define-method set_state
1361 (of-object "EmpathyIdle")
1362 (c-name "empathy_idle_set_state")
1363 (return-type "none")
1365 '("McPresence" "state")
1369 (define-method get_status
1370 (of-object "EmpathyIdle")
1371 (c-name "empathy_idle_get_status")
1372 (return-type "const-gchar*")
1375 (define-method set_status
1376 (of-object "EmpathyIdle")
1377 (c-name "empathy_idle_set_status")
1378 (return-type "none")
1380 '("const-gchar*" "status")
1384 (define-method get_flash_state
1385 (of-object "EmpathyIdle")
1386 (c-name "empathy_idle_get_flash_state")
1387 (return-type "McPresence")
1390 (define-method set_flash_state
1391 (of-object "EmpathyIdle")
1392 (c-name "empathy_idle_set_flash_state")
1393 (return-type "none")
1395 '("McPresence" "state")
1399 (define-method set_presence
1400 (of-object "EmpathyIdle")
1401 (c-name "empathy_idle_set_presence")
1402 (return-type "none")
1404 '("McPresence" "state")
1405 '("const-gchar*" "status")
1409 (define-method get_auto_away
1410 (of-object "EmpathyIdle")
1411 (c-name "empathy_idle_get_auto_away")
1412 (return-type "gboolean")
1415 (define-method set_auto_away
1416 (of-object "EmpathyIdle")
1417 (c-name "empathy_idle_set_auto_away")
1418 (return-type "none")
1420 '("gboolean" "auto_away")
1424 (define-method get_use_nm
1425 (of-object "EmpathyIdle")
1426 (c-name "empathy_idle_get_use_nm")
1427 (return-type "gboolean")
1430 (define-method set_use_nm
1431 (of-object "EmpathyIdle")
1432 (c-name "empathy_idle_set_use_nm")
1433 (return-type "none")
1435 '("gboolean" "use_nm")
1441 ;; From empathy-irc-network.h
1443 (define-function irc_network_get_type
1444 (c-name "empathy_irc_network_get_type")
1445 (return-type "GType")
1448 (define-function irc_network_new
1449 (c-name "empathy_irc_network_new")
1450 (is-constructor-of "EmpathyIrcNetwork")
1451 (return-type "EmpathyIrcNetwork*")
1453 '("const-gchar*" "name")
1457 (define-method get_servers
1458 (of-object "EmpathyIrcNetwork")
1459 (c-name "empathy_irc_network_get_servers")
1460 (return-type "GSList*")
1463 (define-method append_server
1464 (of-object "EmpathyIrcNetwork")
1465 (c-name "empathy_irc_network_append_server")
1466 (return-type "none")
1468 '("EmpathyIrcServer*" "server")
1472 (define-method remove_server
1473 (of-object "EmpathyIrcNetwork")
1474 (c-name "empathy_irc_network_remove_server")
1475 (return-type "none")
1477 '("EmpathyIrcServer*" "server")
1481 (define-method set_server_position
1482 (of-object "EmpathyIrcNetwork")
1483 (c-name "empathy_irc_network_set_server_position")
1484 (return-type "none")
1486 '("EmpathyIrcServer*" "server")
1493 ;; From empathy-irc-network-manager.h
1495 (define-function irc_network_manager_get_type
1496 (c-name "empathy_irc_network_manager_get_type")
1497 (return-type "GType")
1500 (define-function irc_network_manager_new
1501 (c-name "empathy_irc_network_manager_new")
1502 (is-constructor-of "EmpathyIrcNetworkManager")
1503 (return-type "EmpathyIrcNetworkManager*")
1505 '("const-gchar*" "global_file")
1506 '("const-gchar*" "user_file")
1511 (of-object "EmpathyIrcNetworkManager")
1512 (c-name "empathy_irc_network_manager_add")
1513 (return-type "none")
1515 '("EmpathyIrcNetwork*" "network")
1519 (define-method remove
1520 (of-object "EmpathyIrcNetworkManager")
1521 (c-name "empathy_irc_network_manager_remove")
1522 (return-type "none")
1524 '("EmpathyIrcNetwork*" "network")
1528 (define-method get_networks
1529 (of-object "EmpathyIrcNetworkManager")
1530 (c-name "empathy_irc_network_manager_get_networks")
1531 (return-type "GSList*")
1534 (define-method find_network_by_address
1535 (of-object "EmpathyIrcNetworkManager")
1536 (c-name "empathy_irc_network_manager_find_network_by_address")
1537 (return-type "EmpathyIrcNetwork*")
1539 '("const-gchar*" "address")
1545 ;; From empathy-irc-server.h
1547 (define-function irc_server_get_type
1548 (c-name "empathy_irc_server_get_type")
1549 (return-type "GType")
1552 (define-function irc_server_new
1553 (c-name "empathy_irc_server_new")
1554 (is-constructor-of "EmpathyIrcServer")
1555 (return-type "EmpathyIrcServer*")
1557 '("const-gchar*" "address")
1565 ;; From empathy-log-manager.h
1567 (define-function log_manager_get_type
1568 (c-name "empathy_log_manager_get_type")
1569 (return-type "GType")
1572 (define-function log_manager_dup_singleton
1573 (c-name "empathy_log_manager_dup_singleton")
1574 (return-type "EmpathyLogManager*")
1577 (define-method add_message
1578 (of-object "EmpathyLogManager")
1579 (c-name "empathy_log_manager_add_message")
1580 (return-type "none")
1582 '("const-gchar*" "chat_id")
1583 '("gboolean" "chatroom")
1584 '("EmpathyMessage*" "message")
1588 (define-method exists
1589 (of-object "EmpathyLogManager")
1590 (c-name "empathy_log_manager_exists")
1591 (return-type "gboolean")
1593 '("McAccount*" "account")
1594 '("const-gchar*" "chat_id")
1595 '("gboolean" "chatroom")
1599 (define-method get_dates
1600 (of-object "EmpathyLogManager")
1601 (c-name "empathy_log_manager_get_dates")
1602 (return-type "GList*")
1604 '("McAccount*" "account")
1605 '("const-gchar*" "chat_id")
1606 '("gboolean" "chatroom")
1610 (define-method get_messages_for_file
1611 (of-object "EmpathyLogManager")
1612 (c-name "empathy_log_manager_get_messages_for_file")
1613 (return-type "GList*")
1615 '("const-gchar*" "filename")
1619 (define-method get_messages_for_date
1620 (of-object "EmpathyLogManager")
1621 (c-name "empathy_log_manager_get_messages_for_date")
1622 (return-type "GList*")
1624 '("McAccount*" "account")
1625 '("const-gchar*" "chat_id")
1626 '("gboolean" "chatroom")
1627 '("const-gchar*" "date")
1631 (define-method get_last_messages
1632 (of-object "EmpathyLogManager")
1633 (c-name "empathy_log_manager_get_last_messages")
1634 (return-type "GList*")
1636 '("McAccount*" "account")
1637 '("const-gchar*" "chat_id")
1638 '("gboolean" "chatroom")
1642 (define-method get_messages_for_file
1643 (of-object "EmpathyLogManager")
1644 (c-name "empathy_log_manager_get_messages_for_file")
1645 (return-type "GList*")
1647 '("const-gchar*" "filename")
1651 (define-method get_chats
1652 (of-object "EmpathyLogManager")
1653 (c-name "empathy_log_manager_get_chats")
1654 (return-type "GList*")
1656 '("McAccount*" "account")
1660 (define-method search_new
1661 (of-object "EmpathyLogManager")
1662 (c-name "empathy_log_manager_search_new")
1663 (return-type "GList*")
1665 '("const-gchar*" "text")
1669 (define-function log_manager_search_free
1670 (c-name "empathy_log_manager_search_free")
1671 (return-type "none")
1677 (define-function log_manager_get_date_readable
1678 (c-name "empathy_log_manager_get_date_readable")
1679 (return-type "gchar*")
1681 '("const-gchar*" "date")
1687 ;; From empathy-message.h
1689 (define-function message_get_type
1690 (c-name "empathy_message_get_type")
1691 (return-type "GType")
1694 (define-function message_new
1695 (c-name "empathy_message_new")
1696 (is-constructor-of "EmpathyMessage")
1697 (return-type "EmpathyMessage*")
1699 '("const-gchar*" "body")
1703 (define-method get_tptype
1704 (of-object "EmpathyMessage")
1705 (c-name "empathy_message_get_tptype")
1706 (return-type "TpChannelTextMessageType")
1709 (define-method set_tptype
1710 (of-object "EmpathyMessage")
1711 (c-name "empathy_message_set_tptype")
1712 (return-type "none")
1714 '("TpChannelTextMessageType" "type")
1718 (define-method get_sender
1719 (of-object "EmpathyMessage")
1720 (c-name "empathy_message_get_sender")
1721 (return-type "EmpathyContact*")
1724 (define-method set_sender
1725 (of-object "EmpathyMessage")
1726 (c-name "empathy_message_set_sender")
1727 (return-type "none")
1729 '("EmpathyContact*" "contact")
1733 (define-method get_receiver
1734 (of-object "EmpathyMessage")
1735 (c-name "empathy_message_get_receiver")
1736 (return-type "EmpathyContact*")
1739 (define-method set_receiver
1740 (of-object "EmpathyMessage")
1741 (c-name "empathy_message_set_receiver")
1742 (return-type "none")
1744 '("EmpathyContact*" "contact")
1748 (define-method get_body
1749 (of-object "EmpathyMessage")
1750 (c-name "empathy_message_get_body")
1751 (return-type "const-gchar*")
1754 (define-method set_body
1755 (of-object "EmpathyMessage")
1756 (c-name "empathy_message_set_body")
1757 (return-type "none")
1759 '("const-gchar*" "body")
1763 (define-method get_timestamp
1764 (of-object "EmpathyMessage")
1765 (c-name "empathy_message_get_timestamp")
1766 (return-type "time_t")
1769 (define-method set_timestamp
1770 (of-object "EmpathyMessage")
1771 (c-name "empathy_message_set_timestamp")
1772 (return-type "none")
1774 '("time_t" "timestamp")
1778 (define-method should_highlight
1779 (of-object "EmpathyMessage")
1780 (c-name "empathy_message_should_highlight")
1781 (return-type "gboolean")
1784 (define-function message_type_from_str
1785 (c-name "empathy_message_type_from_str")
1786 (return-type "TpChannelTextMessageType")
1788 '("const-gchar*" "type_str")
1792 (define-function message_type_to_str
1793 (c-name "empathy_message_type_to_str")
1794 (return-type "const-gchar*")
1796 '("TpChannelTextMessageType" "type")
1800 (define-method get_id
1801 (of-object "EmpathyMessage")
1802 (c-name "empathy_message_get_id")
1803 (return-type "guint")
1806 (define-method set_id
1807 (of-object "EmpathyMessage")
1808 (c-name "empathy_message_set_id")
1809 (return-type "none")
1817 ;; From empathy-status-presets.h
1819 (define-function status_presets_get_all
1820 (c-name "empathy_status_presets_get_all")
1821 (return-type "none")
1824 (define-function status_presets_get
1825 (c-name "empathy_status_presets_get")
1826 (return-type "GList*")
1828 '("McPresence" "state")
1829 '("gint" "max_number")
1833 (define-function status_presets_set_last
1834 (c-name "empathy_status_presets_set_last")
1835 (return-type "none")
1837 '("McPresence" "state")
1838 '("const-gchar*" "status")
1842 (define-function status_presets_remove
1843 (c-name "empathy_status_presets_remove")
1844 (return-type "none")
1846 '("McPresence" "state")
1847 '("const-gchar*" "status")
1851 (define-function status_presets_reset
1852 (c-name "empathy_status_presets_reset")
1853 (return-type "none")
1856 (define-function status_presets_get_default_state
1857 (c-name "empathy_status_presets_get_default_state")
1858 (return-type "McPresence")
1861 (define-function status_presets_get_default_status
1862 (c-name "empathy_status_presets_get_default_status")
1863 (return-type "const-gchar*")
1866 (define-function status_presets_set_default
1867 (c-name "empathy_status_presets_set_default")
1868 (return-type "none")
1870 '("McPresence" "state")
1871 '("const-gchar*" "status")
1875 (define-function status_presets_clear_default
1876 (c-name "empathy_status_presets_clear_default")
1877 (return-type "none")
1882 ;; From empathy-time.h
1884 (define-function time_get_current
1885 (c-name "empathy_time_get_current")
1886 (return-type "time_t")
1889 (define-function time_get_local_time
1890 (c-name "empathy_time_get_local_time")
1891 (return-type "time_t")
1893 '("struct-tm*" "tm")
1897 (define-function time_parse
1898 (c-name "empathy_time_parse")
1899 (return-type "time_t")
1901 '("const-gchar*" "str")
1905 (define-function time_to_string_utc
1906 (c-name "empathy_time_to_string_utc")
1907 (return-type "gchar*")
1910 '("const-gchar*" "format")
1914 (define-function time_to_string_local
1915 (c-name "empathy_time_to_string_local")
1916 (return-type "gchar*")
1919 '("const-gchar*" "format")
1925 ;; From empathy-tp-call.h
1927 (define-function tp_call_get_type
1928 (c-name "empathy_tp_call_get_type")
1929 (return-type "GType")
1932 (define-function tp_call_new
1933 (c-name "empathy_tp_call_new")
1934 (is-constructor-of "EmpathyTpCall")
1935 (return-type "EmpathyTpCall*")
1937 '("TpChannel*" "channel")
1941 (define-method close
1942 (of-object "EmpathyTpCall")
1943 (c-name "empathy_tp_call_close")
1944 (return-type "none")
1948 (of-object "EmpathyTpCall")
1949 (c-name "empathy_tp_call_to")
1950 (return-type "none")
1952 '("EmpathyContact*" "contact")
1956 (define-method accept_incoming_call
1957 (of-object "EmpathyTpCall")
1958 (c-name "empathy_tp_call_accept_incoming_call")
1959 (return-type "none")
1962 (define-method request_video_stream_direction
1963 (of-object "EmpathyTpCall")
1964 (c-name "empathy_tp_call_request_video_stream_direction")
1965 (return-type "none")
1967 '("gboolean" "is_sending")
1971 (define-method start_tone
1972 (of-object "EmpathyTpCall")
1973 (c-name "empathy_tp_call_start_tone")
1974 (return-type "none")
1976 '("TpDTMFEvent" "event")
1980 (define-method stop_tone
1981 (of-object "EmpathyTpCall")
1982 (c-name "empathy_tp_call_stop_tone")
1983 (return-type "none")
1986 (define-method has_dtmf
1987 (of-object "EmpathyTpCall")
1988 (c-name "empathy_tp_call_has_dtmf")
1989 (return-type "gboolean")
1994 ;; From empathy-tp-chat.h
1996 (define-function tp_chat_get_type
1997 (c-name "empathy_tp_chat_get_type")
1998 (return-type "GType")
2001 (define-function tp_chat_new
2002 (c-name "empathy_tp_chat_new")
2003 (is-constructor-of "EmpathyTpChat")
2004 (return-type "EmpathyTpChat*")
2006 '("TpChannel*" "channel")
2010 (define-method close
2011 (of-object "EmpathyTpChat")
2012 (c-name "empathy_tp_chat_close")
2013 (return-type "none")
2016 (define-method get_id
2017 (of-object "EmpathyTpChat")
2018 (c-name "empathy_tp_chat_get_id")
2019 (return-type "const-gchar*")
2022 (define-method get_remote_contact
2023 (of-object "EmpathyTpChat")
2024 (c-name "empathy_tp_chat_get_remote_contact")
2025 (return-type "EmpathyContact*")
2028 (define-method get_account
2029 (of-object "EmpathyTpChat")
2030 (c-name "empathy_tp_chat_get_account")
2031 (return-type "McAccount*")
2034 (define-method get_channel
2035 (of-object "EmpathyTpChat")
2036 (c-name "empathy_tp_chat_get_channel")
2037 (return-type "TpChannel*")
2040 (define-method is_ready
2041 (of-object "EmpathyTpChat")
2042 (c-name "empathy_tp_chat_is_ready")
2043 (return-type "gboolean")
2046 (define-method get_members_count
2047 (of-object "EmpathyTpChat")
2048 (c-name "empathy_tp_chat_get_members_count")
2049 (return-type "guint")
2053 (of-object "EmpathyTpChat")
2054 (c-name "empathy_tp_chat_send")
2055 (return-type "none")
2057 '("EmpathyMessage*" "message")
2061 (define-method set_state
2062 (of-object "EmpathyTpChat")
2063 (c-name "empathy_tp_chat_set_state")
2064 (return-type "none")
2066 '("TpChannelChatState" "state")
2070 (define-method set_property
2071 (of-object "EmpathyTpChat")
2072 (c-name "empathy_tp_chat_set_property")
2073 (return-type "none")
2075 '("const-gchar*" "name")
2076 '("const-GValue*" "value")
2080 (define-method get_pending_messages
2081 (of-object "EmpathyTpChat")
2082 (c-name "empathy_tp_chat_get_pending_messages")
2083 (return-type "const-GList*")
2086 (define-method acknowledge_message
2087 (of-object "EmpathyTpChat")
2088 (c-name "empathy_tp_chat_acknowledge_message")
2089 (return-type "none")
2091 '("EmpathyMessage*" "message")
2095 (define-method acknowledge_messages
2096 (of-object "EmpathyTpChat")
2097 (c-name "empathy_tp_chat_acknowledge_messages")
2098 (return-type "none")
2100 '("const-GList*" "messages")
2106 ;; From empathy-tp-contact-factory.h
2108 (define-function tp_contact_factory_get_type
2109 (c-name "empathy_tp_contact_factory_get_type")
2110 (return-type "GType")
2113 (define-function tp_contact_factory_new
2114 (c-name "empathy_tp_contact_factory_new")
2115 (is-constructor-of "EmpathyTpContactFactory")
2116 (return-type "EmpathyTpContactFactory*")
2118 '("McAccount*" "account")
2122 (define-method get_user
2123 (of-object "EmpathyTpContactFactory")
2124 (c-name "empathy_tp_contact_factory_get_user")
2125 (return-type "EmpathyContact*")
2128 (define-method get_from_id
2129 (of-object "EmpathyTpContactFactory")
2130 (c-name "empathy_tp_contact_factory_get_from_id")
2131 (return-type "EmpathyContact*")
2133 '("const-gchar*" "id")
2137 (define-method get_from_handle
2138 (of-object "EmpathyTpContactFactory")
2139 (c-name "empathy_tp_contact_factory_get_from_handle")
2140 (return-type "EmpathyContact*")
2146 (define-method get_from_handles
2147 (of-object "EmpathyTpContactFactory")
2148 (c-name "empathy_tp_contact_factory_get_from_handles")
2149 (return-type "GList*")
2151 '("const-GArray*" "handles")
2155 (define-method set_alias
2156 (of-object "EmpathyTpContactFactory")
2157 (c-name "empathy_tp_contact_factory_set_alias")
2158 (return-type "none")
2160 '("EmpathyContact*" "contact")
2161 '("const-gchar*" "alias")
2165 (define-method set_avatar
2166 (of-object "EmpathyTpContactFactory")
2167 (c-name "empathy_tp_contact_factory_set_avatar")
2168 (return-type "none")
2170 '("const-gchar*" "data")
2172 '("const-gchar*" "mime_type")
2176 (define-method is_ready
2177 (of-object "EmpathyTpContactFactory")
2178 (c-name "empathy_tp_contact_factory_is_ready")
2179 (return-type "gboolean")
2184 ;; From empathy-tp-contact-list.h
2186 (define-function tp_contact_list_get_type
2187 (c-name "empathy_tp_contact_list_get_type")
2188 (return-type "GType")
2191 (define-function tp_contact_list_new
2192 (c-name "empathy_tp_contact_list_new")
2193 (is-constructor-of "EmpathyTpContactList")
2194 (return-type "EmpathyTpContactList*")
2196 '("McAccount*" "account")
2200 (define-method get_account
2201 (of-object "EmpathyTpContactList")
2202 (c-name "empathy_tp_contact_list_get_account")
2203 (return-type "McAccount*")
2206 (define-method can_add
2207 (of-object "EmpathyTpContactList")
2208 (c-name "empathy_tp_contact_list_can_add")
2209 (return-type "gboolean")
2214 ;; From empathy-tp-file.h
2216 (define-function tp_file_get_type
2217 (c-name "empathy_tp_file_get_type")
2218 (return-type "GType")
2221 (define-function tp_file_new
2222 (c-name "empathy_tp_file_new")
2223 (is-constructor-of "EmpathyTpFile")
2224 (return-type "EmpathyTpFile*")
2226 '("TpChannel*" "channel")
2230 (define-method get_channel
2231 (of-object "EmpathyTpFile")
2232 (c-name "empathy_tp_file_get_channel")
2233 (return-type "TpChannel*")
2236 (define-method accept
2237 (of-object "EmpathyTpFile")
2238 (c-name "empathy_tp_file_accept")
2239 (return-type "none")
2241 '("guint64" "offset")
2243 '("GError**" "error")
2247 (define-method cancel
2248 (of-object "EmpathyTpFile")
2249 (c-name "empathy_tp_file_cancel")
2250 (return-type "none")
2253 (define-method close
2254 (of-object "EmpathyTpFile")
2255 (c-name "empathy_tp_file_close")
2256 (return-type "none")
2259 (define-method offer
2260 (of-object "EmpathyTpFile")
2261 (c-name "empathy_tp_file_offer")
2262 (return-type "none")
2265 '("GError**" "error")
2269 (define-method get_contact
2270 (of-object "EmpathyTpFile")
2271 (c-name "empathy_tp_file_get_contact")
2272 (return-type "EmpathyContact*")
2275 (define-method get_filename
2276 (of-object "EmpathyTpFile")
2277 (c-name "empathy_tp_file_get_filename")
2278 (return-type "const-gchar*")
2281 (define-method is_incoming
2282 (of-object "EmpathyTpFile")
2283 (c-name "empathy_tp_file_is_incoming")
2284 (return-type "gboolean")
2287 (define-method get_state
2288 (of-object "EmpathyTpFile")
2289 (c-name "empathy_tp_file_get_state")
2290 (return-type "guint")
2292 '("guint*" "reason")
2296 (define-method get_size
2297 (of-object "EmpathyTpFile")
2298 (c-name "empathy_tp_file_get_size")
2299 (return-type "guint64")
2302 (define-method get_transferred_bytes
2303 (of-object "EmpathyTpFile")
2304 (c-name "empathy_tp_file_get_transferred_bytes")
2305 (return-type "guint64")
2308 (define-method get_remaining_time
2309 (of-object "EmpathyTpFile")
2310 (c-name "empathy_tp_file_get_remaining_time")
2311 (return-type "gint")
2314 (define-method get_content_type
2315 (of-object "EmpathyTpFile")
2316 (c-name "empathy_tp_file_get_content_type")
2317 (return-type "const-gchar*")
2322 ;; From empathy-tp-group.h
2324 (define-function tp_group_get_type
2325 (c-name "empathy_tp_group_get_type")
2326 (return-type "GType")
2329 (define-function tp_group_new
2330 (c-name "empathy_tp_group_new")
2331 (is-constructor-of "EmpathyTpGroup")
2332 (return-type "EmpathyTpGroup*")
2334 '("TpChannel*" "channel")
2338 (define-method close
2339 (of-object "EmpathyTpGroup")
2340 (c-name "empathy_tp_group_close")
2341 (return-type "none")
2344 (define-method add_members
2345 (of-object "EmpathyTpGroup")
2346 (c-name "empathy_tp_group_add_members")
2347 (return-type "none")
2349 '("GList*" "contacts")
2350 '("const-gchar*" "message")
2354 (define-method add_member
2355 (of-object "EmpathyTpGroup")
2356 (c-name "empathy_tp_group_add_member")
2357 (return-type "none")
2359 '("EmpathyContact*" "contact")
2360 '("const-gchar*" "message")
2364 (define-method remove_members
2365 (of-object "EmpathyTpGroup")
2366 (c-name "empathy_tp_group_remove_members")
2367 (return-type "none")
2369 '("GList*" "contacts")
2370 '("const-gchar*" "message")
2374 (define-method remove_member
2375 (of-object "EmpathyTpGroup")
2376 (c-name "empathy_tp_group_remove_member")
2377 (return-type "none")
2379 '("EmpathyContact*" "contact")
2380 '("const-gchar*" "message")
2384 (define-method get_members
2385 (of-object "EmpathyTpGroup")
2386 (c-name "empathy_tp_group_get_members")
2387 (return-type "GList*")
2390 (define-method get_local_pendings
2391 (of-object "EmpathyTpGroup")
2392 (c-name "empathy_tp_group_get_local_pendings")
2393 (return-type "GList*")
2396 (define-method get_remote_pendings
2397 (of-object "EmpathyTpGroup")
2398 (c-name "empathy_tp_group_get_remote_pendings")
2399 (return-type "GList*")
2402 (define-method get_name
2403 (of-object "EmpathyTpGroup")
2404 (c-name "empathy_tp_group_get_name")
2405 (return-type "const-gchar*")
2408 (define-method get_self_contact
2409 (of-object "EmpathyTpGroup")
2410 (c-name "empathy_tp_group_get_self_contact")
2411 (return-type "EmpathyContact*")
2414 (define-method is_member
2415 (of-object "EmpathyTpGroup")
2416 (c-name "empathy_tp_group_is_member")
2417 (return-type "gboolean")
2419 '("EmpathyContact*" "contact")
2423 (define-method is_ready
2424 (of-object "EmpathyTpGroup")
2425 (c-name "empathy_tp_group_is_ready")
2426 (return-type "gboolean")
2429 (define-method get_invitation
2430 (of-object "EmpathyTpGroup")
2431 (c-name "empathy_tp_group_get_invitation")
2432 (return-type "EmpathyPendingInfo*")
2434 '("EmpathyContact**" "remote_contact")
2438 (define-function pending_info_new
2439 (c-name "empathy_pending_info_new")
2440 (is-constructor-of "EmpathyPendingInfo")
2441 (return-type "EmpathyPendingInfo*")
2443 '("EmpathyContact*" "member")
2444 '("EmpathyContact*" "actor")
2445 '("const-gchar*" "message")
2450 (of-object "EmpathyPendingInfo")
2451 (c-name "empathy_pending_info_free")
2452 (return-type "none")
2455 (define-method get_flags
2456 (of-object "EmpathyTpGroup")
2457 (c-name "empathy_tp_group_get_flags")
2458 (return-type "TpChannelGroupFlags")
2463 ;; From empathy-tp-roomlist.h
2465 (define-function tp_roomlist_get_type
2466 (c-name "empathy_tp_roomlist_get_type")
2467 (return-type "GType")
2470 (define-function tp_roomlist_new
2471 (c-name "empathy_tp_roomlist_new")
2472 (is-constructor-of "EmpathyTpRoomlist")
2473 (return-type "EmpathyTpRoomlist*")
2475 '("McAccount*" "account")
2479 (define-method is_listing
2480 (of-object "EmpathyTpRoomlist")
2481 (c-name "empathy_tp_roomlist_is_listing")
2482 (return-type "gboolean")
2485 (define-method start
2486 (of-object "EmpathyTpRoomlist")
2487 (c-name "empathy_tp_roomlist_start")
2488 (return-type "none")
2492 (of-object "EmpathyTpRoomlist")
2493 (c-name "empathy_tp_roomlist_stop")
2494 (return-type "none")
2499 ;; From empathy-tp-tube.h
2501 (define-function tp_tube_get_type
2502 (c-name "empathy_tp_tube_get_type")
2503 (return-type "GType")
2506 (define-function tp_tube_new
2507 (c-name "empathy_tp_tube_new")
2508 (is-constructor-of "EmpathyTpTube")
2509 (return-type "EmpathyTpTube*")
2511 '("TpChannel*" "channel")
2515 (define-function tp_tube_new_stream_tube
2516 (c-name "empathy_tp_tube_new_stream_tube")
2517 (return-type "EmpathyTpTube*")
2519 '("EmpathyContact*" "contact")
2520 '("TpSocketAddressType" "type")
2521 '("const-gchar*" "hostname")
2523 '("const-gchar*" "service")
2524 '("GHashTable*" "parameters")
2528 (define-method accept_stream_tube
2529 (of-object "EmpathyTpTube")
2530 (c-name "empathy_tp_tube_accept_stream_tube")
2531 (return-type "none")
2533 '("TpSocketAddressType" "type")
2534 '("EmpatyTpTubeAcceptStreamTubeCb*" "callback")
2535 '("gpointer" "user_data")
2541 ;; From empathy-tube-handler.h
2543 (define-function tube_handler_get_type
2544 (c-name "empathy_tube_handler_get_type")
2545 (return-type "GType")
2548 (define-function tube_handler_new
2549 (c-name "empathy_tube_handler_new")
2550 (is-constructor-of "EmpathyTubeHandler")
2551 (return-type "EmpathyTubeHandler*")
2553 '("TpTubeType" "type")
2554 '("const-gchar*" "service")
2558 (define-function tube_handler_build_bus_name
2559 (c-name "empathy_tube_handler_build_bus_name")
2560 (return-type "gchar*")
2562 '("TpTubeType" "type")
2563 '("const-gchar*" "service")
2567 (define-function tube_handler_build_object_path
2568 (c-name "empathy_tube_handler_build_object_path")
2569 (return-type "gchar*")
2571 '("TpTubeType" "type")
2572 '("const-gchar*" "service")
2578 ;; From empathy-types.h
2582 ;; From empathy-utils.h
2584 (define-function init
2585 (c-name "empathy_init")
2586 (return-type "none")
2589 (define-function substring
2590 (c-name "empathy_substring")
2591 (return-type "gchar*")
2593 '("const-gchar*" "str")
2599 (define-function strcasecmp
2600 (c-name "empathy_strcasecmp")
2601 (return-type "gint")
2603 '("const-gchar*" "s1")
2604 '("const-gchar*" "s2")
2608 (define-function strncasecmp
2609 (c-name "empathy_strncasecmp")
2610 (return-type "gint")
2612 '("const-gchar*" "s1")
2613 '("const-gchar*" "s2")
2618 (define-function xml_validate
2619 (c-name "empathy_xml_validate")
2620 (return-type "gboolean")
2623 '("const-gchar*" "dtd_filename")
2627 (define-function xml_node_get_child
2628 (c-name "empathy_xml_node_get_child")
2629 (return-type "xmlNodePtr")
2631 '("xmlNodePtr" "node")
2632 '("const-gchar*" "child_name")
2636 (define-function xml_node_get_child_content
2637 (c-name "empathy_xml_node_get_child_content")
2638 (return-type "xmlChar*")
2640 '("xmlNodePtr" "node")
2641 '("const-gchar*" "child_name")
2645 (define-function xml_node_find_child_prop_value
2646 (c-name "empathy_xml_node_find_child_prop_value")
2647 (return-type "xmlNodePtr")
2649 '("xmlNodePtr" "node")
2650 '("const-gchar*" "prop_name")
2651 '("const-gchar*" "prop_value")
2655 (define-function account_hash
2656 (c-name "empathy_account_hash")
2657 (return-type "guint")
2659 '("gconstpointer" "key")
2663 (define-function account_equal
2664 (c-name "empathy_account_equal")
2665 (return-type "gboolean")
2667 '("gconstpointer" "a")
2668 '("gconstpointer" "b")
2672 (define-function mission_control_dup_singleton
2673 (c-name "empathy_mission_control_dup_singleton")
2674 (return-type "MissionControl*")
2677 (define-function presence_get_default_message
2678 (c-name "empathy_presence_get_default_message")
2679 (return-type "const-gchar*")
2681 '("McPresence" "presence")
2685 (define-function presence_to_str
2686 (c-name "empathy_presence_to_str")
2687 (return-type "const-gchar*")
2689 '("McPresence" "presence")
2693 (define-function presence_from_str
2694 (c-name "empathy_presence_from_str")
2695 (return-type "McPresence")
2697 '("const-gchar*" "str")
2701 (define-function file_lookup
2702 (c-name "empathy_file_lookup")
2703 (return-type "gchar*")
2705 '("const-gchar*" "filename")
2706 '("const-gchar*" "subdir")
2710 (define-function run_until_ready
2711 (c-name "empathy_run_until_ready")
2712 (return-type "none")
2714 '("gpointer" "object")
2718 (define-function run_until_ready_full
2719 (c-name "empathy_run_until_ready_full")
2720 (return-type "none")
2722 '("gpointer" "object")
2723 '("const-gchar*" "signal")
2724 '("EmpathyRunUntilReadyFunc" "func")
2725 '("gpointer" "user_data")
2726 '("GMainLoop**" "loop")
2730 (define-function channel_get_account
2731 (c-name "empathy_channel_get_account")
2732 (return-type "McAccount*")
2734 '("TpChannel*" "channel")
2738 (define-function proxy_equal
2739 (c-name "empathy_proxy_equal")
2740 (return-type "gboolean")
2742 '("gconstpointer" "a")
2743 '("gconstpointer" "b")
2747 (define-function proxy_hash
2748 (c-name "empathy_proxy_hash")
2749 (return-type "guint")
2751 '("gconstpointer" "key")
2755 (define-function check_available_state
2756 (c-name "empathy_check_available_state")
2757 (return-type "gboolean")