2 ; object definitions ...
3 (define-object AccountManager
6 (c-name "EmpathyAccountManager")
7 (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
10 (define-object Chatroom
13 (c-name "EmpathyChatroom")
14 (gtype-id "EMPATHY_TYPE_CHATROOM")
17 (define-object ChatroomManager
20 (c-name "EmpathyChatroomManager")
21 (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
24 (define-object Contact
27 (c-name "EmpathyContact")
28 (gtype-id "EMPATHY_TYPE_CONTACT")
31 (define-object ContactFactory
34 (c-name "EmpathyContactFactory")
35 (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
38 (define-interface ContactList
40 (c-name "EmpathyContactList")
41 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
44 (define-object ContactManager
47 (implements "EmpathyContactList")
48 (c-name "EmpathyContactManager")
49 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
52 (define-object ContactMonitor
55 (c-name "EmpathyContactMonitor")
56 (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
59 (define-object DispatchOperation
62 (c-name "EmpathyDispatchOperation")
63 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
66 (define-object Dispatcher
69 (c-name "EmpathyDispatcher")
70 (gtype-id "EMPATHY_TYPE_DISPATCHER")
76 (c-name "EmpathyIdle")
77 (gtype-id "EMPATHY_TYPE_IDLE")
80 (define-object IrcNetwork
83 (c-name "EmpathyIrcNetwork")
84 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
87 (define-object IrcNetworkManager
90 (c-name "EmpathyIrcNetworkManager")
91 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
94 (define-object IrcServer
97 (c-name "EmpathyIrcServer")
98 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
101 (define-object LogManager
102 (in-module "Empathy")
104 (c-name "EmpathyLogManager")
105 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
108 (define-object Message
109 (in-module "Empathy")
111 (c-name "EmpathyMessage")
112 (gtype-id "EMPATHY_TYPE_MESSAGE")
115 (define-object TpCall
116 (in-module "Empathy")
118 (c-name "EmpathyTpCall")
119 (gtype-id "EMPATHY_TYPE_TP_CALL")
122 (define-object TpChat
123 (in-module "Empathy")
125 (c-name "EmpathyTpChat")
126 (gtype-id "EMPATHY_TYPE_TP_CHAT")
129 (define-object TpContactFactory
130 (in-module "Empathy")
132 (c-name "EmpathyTpContactFactory")
133 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
136 (define-object TpContactList
137 (in-module "Empathy")
139 (implements "EmpathyContactList")
140 (c-name "EmpathyTpContactList")
141 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
144 (define-object TpFile
145 (in-module "Empathy")
147 (c-name "EmpathyTpFile")
148 (gtype-id "EMPATHY_TYPE_TP_FILE")
151 (define-object TpGroup
152 (in-module "Empathy")
154 (c-name "EmpathyTpGroup")
155 (gtype-id "EMPATHY_TYPE_TP_GROUP")
158 (define-object TpRoomlist
159 (in-module "Empathy")
161 (c-name "EmpathyTpRoomlist")
162 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
165 (define-object TpTube
166 (in-module "Empathy")
168 (c-name "EmpathyTpTube")
169 (gtype-id "EMPATHY_TYPE_TP_TUBE")
172 (define-object TubeHandler
173 (in-module "Empathy")
175 (c-name "EmpathyTubeHandler")
176 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
179 ;; Enumerations and flags ...
181 (define-flags Capabilities
182 (in-module "Empathy")
183 (c-name "EmpathyCapabilities")
184 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
186 '("none" "EMPATHY_CAPABILITIES_NONE")
187 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
188 '("video" "EMPATHY_CAPABILITIES_VIDEO")
189 '("ft" "EMPATHY_CAPABILITIES_FT")
190 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
194 (define-flags ContactReady
195 (in-module "Empathy")
196 (c-name "EmpathyContactReady")
197 (gtype-id "EMPATHY_TYPE_CONTACT_READY")
199 '("none" "EMPATHY_CONTACT_READY_NONE")
200 '("id" "EMPATHY_CONTACT_READY_ID")
201 '("handle" "EMPATHY_CONTACT_READY_HANDLE")
202 '("name" "EMPATHY_CONTACT_READY_NAME")
203 '("all" "EMPATHY_CONTACT_READY_ALL")
207 (define-flags DebugFlags
208 (in-module "Empathy")
209 (c-name "EmpathyDebugFlags")
210 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
212 '("tp" "EMPATHY_DEBUG_TP")
213 '("chat" "EMPATHY_DEBUG_CHAT")
214 '("contact" "EMPATHY_DEBUG_CONTACT")
215 '("account" "EMPATHY_DEBUG_ACCOUNT")
216 '("irc" "EMPATHY_DEBUG_IRC")
217 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
218 '("ft" "EMPATHY_DEBUG_FT")
219 '("other" "EMPATHY_DEBUG_OTHER")
223 (define-enum DispatchOperationState
224 (in-module "Empathy")
225 (c-name "EmpathyDispatchOperationState")
226 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
228 '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
229 '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
230 '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
231 '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
232 '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
233 '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
237 (define-enum TpCallStatus
238 (in-module "Empathy")
239 (c-name "EmpathyTpCallStatus")
240 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
242 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
243 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
244 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
245 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
249 (define-enum TubeType
250 (in-module "Empathy")
251 (c-name "EmpathyTubeType")
252 (gtype-id "EMPATHY_TYPE_TUBE_TYPE")
254 '("stream-tube" "EMPATHY_TYPE_STREAM_TUBE")
255 '("dbus-tube" "EMPATHY_TYPE_DBUS_TUBE")
260 ;; From empathy-account-manager.h
262 (define-function account_manager_get_type
263 (c-name "empathy_account_manager_get_type")
264 (return-type "GType")
267 (define-function account_manager_dup_singleton
268 (c-name "empathy_account_manager_dup_singleton")
269 (return-type "EmpathyAccountManager*")
272 (define-method get_connected_accounts
273 (of-object "EmpathyAccountManager")
274 (c-name "empathy_account_manager_get_connected_accounts")
278 (define-method get_connecting_accounts
279 (of-object "EmpathyAccountManager")
280 (c-name "empathy_account_manager_get_connecting_accounts")
284 (define-method is_account_just_connected
285 (of-object "EmpathyAccountManager")
286 (c-name "empathy_account_manager_is_account_just_connected")
287 (return-type "gboolean")
289 '("McAccount*" "account")
295 ;; From empathy-chatroom.h
297 (define-function chatroom_get_type
298 (c-name "empathy_chatroom_get_type")
299 (return-type "GType")
302 (define-function chatroom_new
303 (c-name "empathy_chatroom_new")
304 (is-constructor-of "EmpathyChatroom")
305 (return-type "EmpathyChatroom*")
307 '("McAccount*" "account")
311 (define-function chatroom_new_full
312 (c-name "empathy_chatroom_new_full")
313 (return-type "EmpathyChatroom*")
315 '("McAccount*" "account")
316 '("const-gchar*" "room")
317 '("const-gchar*" "name")
318 '("gboolean" "auto_connect")
322 (define-method get_account
323 (of-object "EmpathyChatroom")
324 (c-name "empathy_chatroom_get_account")
325 (return-type "McAccount*")
328 (define-method set_account
329 (of-object "EmpathyChatroom")
330 (c-name "empathy_chatroom_set_account")
333 '("McAccount*" "account")
337 (define-method get_room
338 (of-object "EmpathyChatroom")
339 (c-name "empathy_chatroom_get_room")
340 (return-type "const-gchar*")
343 (define-method set_room
344 (of-object "EmpathyChatroom")
345 (c-name "empathy_chatroom_set_room")
348 '("const-gchar*" "room")
352 (define-method get_name
353 (of-object "EmpathyChatroom")
354 (c-name "empathy_chatroom_get_name")
355 (return-type "const-gchar*")
358 (define-method set_name
359 (of-object "EmpathyChatroom")
360 (c-name "empathy_chatroom_set_name")
363 '("const-gchar*" "name")
367 (define-method get_auto_connect
368 (of-object "EmpathyChatroom")
369 (c-name "empathy_chatroom_get_auto_connect")
370 (return-type "gboolean")
373 (define-method set_auto_connect
374 (of-object "EmpathyChatroom")
375 (c-name "empathy_chatroom_set_auto_connect")
378 '("gboolean" "auto_connect")
382 (define-function chatroom_equal
383 (c-name "empathy_chatroom_equal")
384 (return-type "gboolean")
386 '("gconstpointer" "v1")
387 '("gconstpointer" "v2")
391 (define-method get_tp_chat
392 (of-object "EmpathyChatroom")
393 (c-name "empathy_chatroom_get_tp_chat")
394 (return-type "EmpathyTpChat*")
399 ;; From empathy-chatroom-manager.h
401 (define-function chatroom_manager_get_type
402 (c-name "empathy_chatroom_manager_get_type")
403 (return-type "GType")
406 (define-function chatroom_manager_dup_singleton
407 (c-name "empathy_chatroom_manager_dup_singleton")
408 (return-type "EmpathyChatroomManager*")
410 '("const-gchar*" "file")
415 (of-object "EmpathyChatroomManager")
416 (c-name "empathy_chatroom_manager_add")
417 (return-type "gboolean")
419 '("EmpathyChatroom*" "chatroom")
423 (define-method remove
424 (of-object "EmpathyChatroomManager")
425 (c-name "empathy_chatroom_manager_remove")
428 '("EmpathyChatroom*" "chatroom")
433 (of-object "EmpathyChatroomManager")
434 (c-name "empathy_chatroom_manager_find")
435 (return-type "EmpathyChatroom*")
437 '("McAccount*" "account")
438 '("const-gchar*" "room")
442 (define-method get_chatrooms
443 (of-object "EmpathyChatroomManager")
444 (c-name "empathy_chatroom_manager_get_chatrooms")
445 (return-type "GList*")
447 '("McAccount*" "account")
451 (define-method get_count
452 (of-object "EmpathyChatroomManager")
453 (c-name "empathy_chatroom_manager_get_count")
454 (return-type "guint")
456 '("McAccount*" "account")
460 (define-method observe
461 (of-object "EmpathyChatroomManager")
462 (c-name "empathy_chatroom_manager_observe")
465 '("EmpathyDispatcher*" "dispatcher")
471 ;; From empathy-contact.h
473 (define-function contact_get_type
474 (c-name "empathy_contact_get_type")
475 (return-type "GType")
478 (define-function contact_new
479 (c-name "empathy_contact_new")
480 (is-constructor-of "EmpathyContact")
481 (return-type "EmpathyContact*")
483 '("McAccount*" "account")
487 (define-function contact_new_full
488 (c-name "empathy_contact_new_full")
489 (return-type "EmpathyContact*")
491 '("McAccount*" "account")
492 '("const-gchar*" "id")
493 '("const-gchar*" "name")
497 (define-method get_id
498 (of-object "EmpathyContact")
499 (c-name "empathy_contact_get_id")
500 (return-type "const-gchar*")
503 (define-method set_id
504 (of-object "EmpathyContact")
505 (c-name "empathy_contact_set_id")
508 '("const-gchar*" "id")
512 (define-method get_name
513 (of-object "EmpathyContact")
514 (c-name "empathy_contact_get_name")
515 (return-type "const-gchar*")
518 (define-method set_name
519 (of-object "EmpathyContact")
520 (c-name "empathy_contact_set_name")
523 '("const-gchar*" "name")
527 (define-method get_avatar
528 (of-object "EmpathyContact")
529 (c-name "empathy_contact_get_avatar")
530 (return-type "EmpathyAvatar*")
533 (define-method set_avatar
534 (of-object "EmpathyContact")
535 (c-name "empathy_contact_set_avatar")
538 '("EmpathyAvatar*" "avatar")
542 (define-method get_account
543 (of-object "EmpathyContact")
544 (c-name "empathy_contact_get_account")
545 (return-type "McAccount*")
548 (define-method set_account
549 (of-object "EmpathyContact")
550 (c-name "empathy_contact_set_account")
553 '("McAccount*" "account")
557 (define-method get_presence
558 (of-object "EmpathyContact")
559 (c-name "empathy_contact_get_presence")
560 (return-type "McPresence")
563 (define-method set_presence
564 (of-object "EmpathyContact")
565 (c-name "empathy_contact_set_presence")
568 '("McPresence" "presence")
572 (define-method get_presence_message
573 (of-object "EmpathyContact")
574 (c-name "empathy_contact_get_presence_message")
575 (return-type "const-gchar*")
578 (define-method set_presence_message
579 (of-object "EmpathyContact")
580 (c-name "empathy_contact_set_presence_message")
583 '("const-gchar*" "message")
587 (define-method get_handle
588 (of-object "EmpathyContact")
589 (c-name "empathy_contact_get_handle")
590 (return-type "guint")
593 (define-method set_handle
594 (of-object "EmpathyContact")
595 (c-name "empathy_contact_set_handle")
602 (define-method get_capabilities
603 (of-object "EmpathyContact")
604 (c-name "empathy_contact_get_capabilities")
605 (return-type "EmpathyCapabilities")
608 (define-method set_capabilities
609 (of-object "EmpathyContact")
610 (c-name "empathy_contact_set_capabilities")
613 '("EmpathyCapabilities" "capabilities")
617 (define-method get_ready
618 (of-object "EmpathyContact")
619 (c-name "empathy_contact_get_ready")
620 (return-type "EmpathyContactReady")
623 (define-method is_user
624 (of-object "EmpathyContact")
625 (c-name "empathy_contact_is_user")
626 (return-type "gboolean")
629 (define-method set_is_user
630 (of-object "EmpathyContact")
631 (c-name "empathy_contact_set_is_user")
634 '("gboolean" "is_user")
638 (define-method is_online
639 (of-object "EmpathyContact")
640 (c-name "empathy_contact_is_online")
641 (return-type "gboolean")
644 (define-method get_status
645 (of-object "EmpathyContact")
646 (c-name "empathy_contact_get_status")
647 (return-type "const-gchar*")
650 (define-method can_voip
651 (of-object "EmpathyContact")
652 (c-name "empathy_contact_can_voip")
653 (return-type "gboolean")
656 (define-method can_send_files
657 (of-object "EmpathyContact")
658 (c-name "empathy_contact_can_send_files")
659 (return-type "gboolean")
662 (define-function contact_equal
663 (c-name "empathy_contact_equal")
664 (return-type "gboolean")
666 '("gconstpointer" "v1")
667 '("gconstpointer" "v2")
671 (define-function contact_hash
672 (c-name "empathy_contact_hash")
673 (return-type "guint")
675 '("gconstpointer" "key")
679 (define-method call_when_ready
680 (of-object "EmpathyContact")
681 (c-name "empathy_contact_call_when_ready")
684 '("EmpathyContactReady" "ready")
685 '("EmpathyContactReadyCb*" "callback")
686 '("gpointer" "user_data")
687 '("GDestroyNotify" "destroy")
688 '("GObject*" "weak_object")
692 (define-method run_until_ready
693 (of-object "EmpathyContact")
694 (c-name "empathy_contact_run_until_ready")
697 '("EmpathyContactReady" "ready")
698 '("GMainLoop**" "loop")
702 (define-method load_avatar_data
703 (of-object "EmpathyContact")
704 (c-name "empathy_contact_load_avatar_data")
707 '("const-guchar*" "data")
708 '("const-gsize" "len")
709 '("const-gchar*" "format")
710 '("const-gchar*" "token")
714 (define-method load_avatar_cache
715 (of-object "EmpathyContact")
716 (c-name "empathy_contact_load_avatar_cache")
717 (return-type "gboolean")
719 '("const-gchar*" "token")
723 (define-function avatar_get_type
724 (c-name "empathy_avatar_get_type")
725 (return-type "GType")
728 (define-function avatar_new
729 (c-name "empathy_avatar_new")
730 (is-constructor-of "EmpathyAvatar")
731 (return-type "EmpathyAvatar*")
741 (of-object "EmpathyAvatar")
742 (c-name "empathy_avatar_ref")
743 (return-type "EmpathyAvatar*")
747 (of-object "EmpathyAvatar")
748 (c-name "empathy_avatar_unref")
752 (define-method save_to_file
753 (of-object "EmpathyAvatar")
754 (c-name "empathy_avatar_save_to_file")
755 (return-type "gboolean")
757 '("const-gchar*" "filename")
758 '("GError**" "error")
764 ;; From empathy-contact-factory.h
766 (define-function contact_factory_get_type
767 (c-name "empathy_contact_factory_get_type")
768 (return-type "GType")
771 (define-function contact_factory_dup_singleton
772 (c-name "empathy_contact_factory_dup_singleton")
773 (return-type "EmpathyContactFactory*")
776 (define-method get_tp_factory
777 (of-object "EmpathyContactFactory")
778 (c-name "empathy_contact_factory_get_tp_factory")
779 (return-type "EmpathyTpContactFactory*")
781 '("McAccount*" "account")
785 (define-method get_user
786 (of-object "EmpathyContactFactory")
787 (c-name "empathy_contact_factory_get_user")
788 (return-type "EmpathyContact*")
790 '("McAccount*" "account")
794 (define-method get_from_id
795 (of-object "EmpathyContactFactory")
796 (c-name "empathy_contact_factory_get_from_id")
797 (return-type "EmpathyContact*")
799 '("McAccount*" "account")
800 '("const-gchar*" "id")
804 (define-method get_from_handle
805 (of-object "EmpathyContactFactory")
806 (c-name "empathy_contact_factory_get_from_handle")
807 (return-type "EmpathyContact*")
809 '("McAccount*" "account")
814 (define-method get_from_handles
815 (of-object "EmpathyContactFactory")
816 (c-name "empathy_contact_factory_get_from_handles")
817 (return-type "GList*")
819 '("McAccount*" "account")
820 '("const-GArray*" "handles")
824 (define-method set_alias
825 (of-object "EmpathyContactFactory")
826 (c-name "empathy_contact_factory_set_alias")
829 '("EmpathyContact*" "contact")
830 '("const-gchar*" "alias")
834 (define-method set_avatar
835 (of-object "EmpathyContactFactory")
836 (c-name "empathy_contact_factory_set_avatar")
839 '("McAccount*" "account")
840 '("const-gchar*" "data")
842 '("const-gchar*" "mime_type")
848 ;; From empathy-contact-groups.h
850 (define-function contact_groups_get_all
851 (c-name "empathy_contact_groups_get_all")
855 (define-function contact_group_get_expanded
856 (c-name "empathy_contact_group_get_expanded")
857 (return-type "gboolean")
859 '("const-gchar*" "group")
863 (define-function contact_group_set_expanded
864 (c-name "empathy_contact_group_set_expanded")
867 '("const-gchar*" "group")
868 '("gboolean" "expanded")
874 ;; From empathy-contact-list.h
876 (define-function contact_list_get_type
877 (c-name "empathy_contact_list_get_type")
878 (return-type "GType")
882 (of-object "EmpathyContactList")
883 (c-name "empathy_contact_list_add")
886 '("EmpathyContact*" "contact")
887 '("const-gchar*" "message")
891 (define-method remove
892 (of-object "EmpathyContactList")
893 (c-name "empathy_contact_list_remove")
896 '("EmpathyContact*" "contact")
897 '("const-gchar*" "message")
901 (define-method get_members
902 (of-object "EmpathyContactList")
903 (c-name "empathy_contact_list_get_members")
904 (return-type "GList*")
907 (define-method get_pendings
908 (of-object "EmpathyContactList")
909 (c-name "empathy_contact_list_get_pendings")
910 (return-type "GList*")
913 (define-method get_all_groups
914 (of-object "EmpathyContactList")
915 (c-name "empathy_contact_list_get_all_groups")
916 (return-type "GList*")
919 (define-method get_groups
920 (of-object "EmpathyContactList")
921 (c-name "empathy_contact_list_get_groups")
922 (return-type "GList*")
924 '("EmpathyContact*" "contact")
928 (define-method add_to_group
929 (of-object "EmpathyContactList")
930 (c-name "empathy_contact_list_add_to_group")
933 '("EmpathyContact*" "contact")
934 '("const-gchar*" "group")
938 (define-method remove_from_group
939 (of-object "EmpathyContactList")
940 (c-name "empathy_contact_list_remove_from_group")
943 '("EmpathyContact*" "contact")
944 '("const-gchar*" "group")
948 (define-method rename_group
949 (of-object "EmpathyContactList")
950 (c-name "empathy_contact_list_rename_group")
953 '("const-gchar*" "old_group")
954 '("const-gchar*" "new_group")
958 (define-method remove_group
959 (of-object "EmpathyContactList")
960 (c-name "empathy_contact_list_remove_group")
963 '("const-gchar*" "group")
967 (define-method get_monitor
968 (of-object "EmpathyContactList")
969 (c-name "empathy_contact_list_get_monitor")
970 (return-type "EmpathyContactMonitor*")
975 ;; From empathy-contact-manager.h
977 (define-function contact_manager_get_type
978 (c-name "empathy_contact_manager_get_type")
979 (return-type "GType")
982 (define-function contact_manager_dup_singleton
983 (c-name "empathy_contact_manager_dup_singleton")
984 (return-type "EmpathyContactManager*")
987 (define-method get_list
988 (of-object "EmpathyContactManager")
989 (c-name "empathy_contact_manager_get_list")
990 (return-type "EmpathyTpContactList*")
992 '("McAccount*" "account")
996 (define-method can_add
997 (of-object "EmpathyContactManager")
998 (c-name "empathy_contact_manager_can_add")
999 (return-type "gboolean")
1001 '("McAccount*" "account")
1007 ;; From empathy-contact-monitor.h
1009 (define-function contact_monitor_get_type
1010 (c-name "empathy_contact_monitor_get_type")
1011 (return-type "GType")
1014 (define-method set_iface
1015 (of-object "EmpathyContactMonitor")
1016 (c-name "empathy_contact_monitor_set_iface")
1017 (return-type "none")
1019 '("EmpathyContactList*" "iface")
1023 (define-function contact_monitor_new_for_iface
1024 (c-name "empathy_contact_monitor_new_for_iface")
1025 (return-type "EmpathyContactMonitor*")
1027 '("EmpathyContactList*" "iface")
1033 ;; From empathy-debug.h
1035 (define-function debug_flag_is_set
1036 (c-name "empathy_debug_flag_is_set")
1037 (return-type "gboolean")
1039 '("EmpathyDebugFlags" "flag")
1043 (define-function debug
1044 (c-name "empathy_debug")
1045 (return-type "none")
1047 '("EmpathyDebugFlags" "flag")
1048 '("const-gchar*" "format")
1053 (define-function debug_set_flags
1054 (c-name "empathy_debug_set_flags")
1055 (return-type "none")
1057 '("const-gchar*" "flags_string")
1063 ;; From empathy-dispatcher.h
1065 (define-function dispatcher_get_type
1066 (c-name "empathy_dispatcher_get_type")
1067 (return-type "GType")
1070 (define-function dispatcher_call_with_contact
1071 (c-name "empathy_dispatcher_call_with_contact")
1072 (return-type "none")
1074 '("EmpathyContact*" "contact")
1075 '("EmpathyDispatcherRequestCb*" "callback")
1076 '("gpointer" "user_data")
1080 (define-function dispatcher_chat_with_contact_id
1081 (c-name "empathy_dispatcher_chat_with_contact_id")
1082 (return-type "none")
1084 '("McAccount*" "account")
1085 '("const-gchar*" "contact_id")
1086 '("EmpathyDispatcherRequestCb*" "callback")
1087 '("gpointer" "user_data")
1091 (define-function dispatcher_chat_with_contact
1092 (c-name "empathy_dispatcher_chat_with_contact")
1093 (return-type "none")
1095 '("EmpathyContact*" "contact")
1096 '("EmpathyDispatcherRequestCb*" "callback")
1097 '("gpointer" "user_data")
1101 (define-function dispatcher_send_file_to_contact
1102 (c-name "empathy_dispatcher_send_file_to_contact")
1103 (return-type "none")
1105 '("EmpathyContact*" "contact")
1106 '("const-gchar*" "filename")
1109 '("const-gchar*" "content_type")
1110 '("EmpathyDispatcherRequestCb*" "callback")
1111 '("gpointer" "user_data")
1115 (define-function dispatcher_join_muc
1116 (c-name "empathy_dispatcher_join_muc")
1117 (return-type "none")
1119 '("McAccount*" "account")
1120 '("const-gchar*" "roomname")
1121 '("EmpathyDispatcherRequestCb*" "callback")
1122 '("gpointer" "user_data")
1126 (define-function dispatcher_dup_singleton
1127 (c-name "empathy_dispatcher_dup_singleton")
1128 (return-type "EmpathyDispatcher*")
1133 ;; From empathy-dispatch-operation.h
1135 (define-function dispatch_operation_get_type
1136 (c-name "empathy_dispatch_operation_get_type")
1137 (return-type "GType")
1140 (define-function dispatch_operation_new
1141 (c-name "empathy_dispatch_operation_new")
1142 (is-constructor-of "EmpathyDispatchOperation")
1143 (return-type "EmpathyDispatchOperation*")
1145 '("TpConnection*" "connection")
1146 '("TpChannel*" "channel")
1147 '("EmpathyContact*" "contact")
1148 '("gboolean" "incoming")
1152 (define-function dispatch_operation_new_with_wrapper
1153 (c-name "empathy_dispatch_operation_new_with_wrapper")
1154 (return-type "EmpathyDispatchOperation*")
1156 '("TpConnection*" "connection")
1157 '("TpChannel*" "channel")
1158 '("EmpathyContact*" "contact")
1159 '("gboolean" "incoming")
1160 '("GObject*" "channel_wrapper")
1164 (define-method start
1165 (of-object "EmpathyDispatchOperation")
1166 (c-name "empathy_dispatch_operation_start")
1167 (return-type "none")
1170 (define-method approve
1171 (of-object "EmpathyDispatchOperation")
1172 (c-name "empathy_dispatch_operation_approve")
1173 (return-type "none")
1176 (define-method claim
1177 (of-object "EmpathyDispatchOperation")
1178 (c-name "empathy_dispatch_operation_claim")
1179 (return-type "gboolean")
1182 (define-method get_channel
1183 (of-object "EmpathyDispatchOperation")
1184 (c-name "empathy_dispatch_operation_get_channel")
1185 (return-type "TpChannel*")
1188 (define-method get_channel_wrapper
1189 (of-object "EmpathyDispatchOperation")
1190 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1191 (return-type "GObject*")
1194 (define-method get_tp_connection
1195 (of-object "EmpathyDispatchOperation")
1196 (c-name "empathy_dispatch_operation_get_tp_connection")
1197 (return-type "TpConnection*")
1200 (define-method get_channel_type
1201 (of-object "EmpathyDispatchOperation")
1202 (c-name "empathy_dispatch_operation_get_channel_type")
1203 (return-type "const-gchar*")
1206 (define-method get_channel_type_id
1207 (of-object "EmpathyDispatchOperation")
1208 (c-name "empathy_dispatch_operation_get_channel_type_id")
1209 (return-type "GQuark")
1212 (define-method get_object_path
1213 (of-object "EmpathyDispatchOperation")
1214 (c-name "empathy_dispatch_operation_get_object_path")
1215 (return-type "const-gchar*")
1218 (define-method get_status
1219 (of-object "EmpathyDispatchOperation")
1220 (c-name "empathy_dispatch_operation_get_status")
1221 (return-type "EmpathyDispatchOperationState")
1224 (define-method is_incoming
1225 (of-object "EmpathyDispatchOperation")
1226 (c-name "empathy_dispatch_operation_is_incoming")
1227 (return-type "gboolean")
1232 ;; From empathy-idle.h
1234 (define-function idle_get_type
1235 (c-name "empathy_idle_get_type")
1236 (return-type "GType")
1239 (define-function idle_dup_singleton
1240 (c-name "empathy_idle_dup_singleton")
1241 (return-type "EmpathyIdle*")
1244 (define-method get_state
1245 (of-object "EmpathyIdle")
1246 (c-name "empathy_idle_get_state")
1247 (return-type "McPresence")
1250 (define-method set_state
1251 (of-object "EmpathyIdle")
1252 (c-name "empathy_idle_set_state")
1253 (return-type "none")
1255 '("McPresence" "state")
1259 (define-method get_status
1260 (of-object "EmpathyIdle")
1261 (c-name "empathy_idle_get_status")
1262 (return-type "const-gchar*")
1265 (define-method set_status
1266 (of-object "EmpathyIdle")
1267 (c-name "empathy_idle_set_status")
1268 (return-type "none")
1270 '("const-gchar*" "status")
1274 (define-method get_flash_state
1275 (of-object "EmpathyIdle")
1276 (c-name "empathy_idle_get_flash_state")
1277 (return-type "McPresence")
1280 (define-method set_flash_state
1281 (of-object "EmpathyIdle")
1282 (c-name "empathy_idle_set_flash_state")
1283 (return-type "none")
1285 '("McPresence" "state")
1289 (define-method set_presence
1290 (of-object "EmpathyIdle")
1291 (c-name "empathy_idle_set_presence")
1292 (return-type "none")
1294 '("McPresence" "state")
1295 '("const-gchar*" "status")
1299 (define-method get_auto_away
1300 (of-object "EmpathyIdle")
1301 (c-name "empathy_idle_get_auto_away")
1302 (return-type "gboolean")
1305 (define-method set_auto_away
1306 (of-object "EmpathyIdle")
1307 (c-name "empathy_idle_set_auto_away")
1308 (return-type "none")
1310 '("gboolean" "auto_away")
1314 (define-method get_use_nm
1315 (of-object "EmpathyIdle")
1316 (c-name "empathy_idle_get_use_nm")
1317 (return-type "gboolean")
1320 (define-method set_use_nm
1321 (of-object "EmpathyIdle")
1322 (c-name "empathy_idle_set_use_nm")
1323 (return-type "none")
1325 '("gboolean" "use_nm")
1331 ;; From empathy-irc-network.h
1333 (define-function irc_network_get_type
1334 (c-name "empathy_irc_network_get_type")
1335 (return-type "GType")
1338 (define-function irc_network_new
1339 (c-name "empathy_irc_network_new")
1340 (is-constructor-of "EmpathyIrcNetwork")
1341 (return-type "EmpathyIrcNetwork*")
1343 '("const-gchar*" "name")
1347 (define-method get_servers
1348 (of-object "EmpathyIrcNetwork")
1349 (c-name "empathy_irc_network_get_servers")
1350 (return-type "GSList*")
1353 (define-method append_server
1354 (of-object "EmpathyIrcNetwork")
1355 (c-name "empathy_irc_network_append_server")
1356 (return-type "none")
1358 '("EmpathyIrcServer*" "server")
1362 (define-method remove_server
1363 (of-object "EmpathyIrcNetwork")
1364 (c-name "empathy_irc_network_remove_server")
1365 (return-type "none")
1367 '("EmpathyIrcServer*" "server")
1371 (define-method set_server_position
1372 (of-object "EmpathyIrcNetwork")
1373 (c-name "empathy_irc_network_set_server_position")
1374 (return-type "none")
1376 '("EmpathyIrcServer*" "server")
1383 ;; From empathy-irc-network-manager.h
1385 (define-function irc_network_manager_get_type
1386 (c-name "empathy_irc_network_manager_get_type")
1387 (return-type "GType")
1390 (define-function irc_network_manager_new
1391 (c-name "empathy_irc_network_manager_new")
1392 (is-constructor-of "EmpathyIrcNetworkManager")
1393 (return-type "EmpathyIrcNetworkManager*")
1395 '("const-gchar*" "global_file")
1396 '("const-gchar*" "user_file")
1401 (of-object "EmpathyIrcNetworkManager")
1402 (c-name "empathy_irc_network_manager_add")
1403 (return-type "none")
1405 '("EmpathyIrcNetwork*" "network")
1409 (define-method remove
1410 (of-object "EmpathyIrcNetworkManager")
1411 (c-name "empathy_irc_network_manager_remove")
1412 (return-type "none")
1414 '("EmpathyIrcNetwork*" "network")
1418 (define-method get_networks
1419 (of-object "EmpathyIrcNetworkManager")
1420 (c-name "empathy_irc_network_manager_get_networks")
1421 (return-type "GSList*")
1424 (define-method find_network_by_address
1425 (of-object "EmpathyIrcNetworkManager")
1426 (c-name "empathy_irc_network_manager_find_network_by_address")
1427 (return-type "EmpathyIrcNetwork*")
1429 '("const-gchar*" "address")
1435 ;; From empathy-irc-server.h
1437 (define-function irc_server_get_type
1438 (c-name "empathy_irc_server_get_type")
1439 (return-type "GType")
1442 (define-function irc_server_new
1443 (c-name "empathy_irc_server_new")
1444 (is-constructor-of "EmpathyIrcServer")
1445 (return-type "EmpathyIrcServer*")
1447 '("const-gchar*" "address")
1455 ;; From empathy-log-manager.h
1457 (define-function log_manager_get_type
1458 (c-name "empathy_log_manager_get_type")
1459 (return-type "GType")
1462 (define-function log_manager_dup_singleton
1463 (c-name "empathy_log_manager_dup_singleton")
1464 (return-type "EmpathyLogManager*")
1467 (define-method add_message
1468 (of-object "EmpathyLogManager")
1469 (c-name "empathy_log_manager_add_message")
1470 (return-type "none")
1472 '("const-gchar*" "chat_id")
1473 '("gboolean" "chatroom")
1474 '("EmpathyMessage*" "message")
1478 (define-method exists
1479 (of-object "EmpathyLogManager")
1480 (c-name "empathy_log_manager_exists")
1481 (return-type "gboolean")
1483 '("McAccount*" "account")
1484 '("const-gchar*" "chat_id")
1485 '("gboolean" "chatroom")
1489 (define-method get_dates
1490 (of-object "EmpathyLogManager")
1491 (c-name "empathy_log_manager_get_dates")
1492 (return-type "GList*")
1494 '("McAccount*" "account")
1495 '("const-gchar*" "chat_id")
1496 '("gboolean" "chatroom")
1500 (define-method get_messages_for_file
1501 (of-object "EmpathyLogManager")
1502 (c-name "empathy_log_manager_get_messages_for_file")
1503 (return-type "GList*")
1505 '("const-gchar*" "filename")
1509 (define-method get_messages_for_date
1510 (of-object "EmpathyLogManager")
1511 (c-name "empathy_log_manager_get_messages_for_date")
1512 (return-type "GList*")
1514 '("McAccount*" "account")
1515 '("const-gchar*" "chat_id")
1516 '("gboolean" "chatroom")
1517 '("const-gchar*" "date")
1521 (define-method get_last_messages
1522 (of-object "EmpathyLogManager")
1523 (c-name "empathy_log_manager_get_last_messages")
1524 (return-type "GList*")
1526 '("McAccount*" "account")
1527 '("const-gchar*" "chat_id")
1528 '("gboolean" "chatroom")
1532 (define-method get_messages_for_file
1533 (of-object "EmpathyLogManager")
1534 (c-name "empathy_log_manager_get_messages_for_file")
1535 (return-type "GList*")
1537 '("const-gchar*" "filename")
1541 (define-method get_chats
1542 (of-object "EmpathyLogManager")
1543 (c-name "empathy_log_manager_get_chats")
1544 (return-type "GList*")
1546 '("McAccount*" "account")
1550 (define-method search_new
1551 (of-object "EmpathyLogManager")
1552 (c-name "empathy_log_manager_search_new")
1553 (return-type "GList*")
1555 '("const-gchar*" "text")
1559 (define-function log_manager_search_free
1560 (c-name "empathy_log_manager_search_free")
1561 (return-type "none")
1567 (define-function log_manager_get_date_readable
1568 (c-name "empathy_log_manager_get_date_readable")
1569 (return-type "gchar*")
1571 '("const-gchar*" "date")
1577 ;; From empathy-message.h
1579 (define-function message_get_type
1580 (c-name "empathy_message_get_type")
1581 (return-type "GType")
1584 (define-function message_new
1585 (c-name "empathy_message_new")
1586 (is-constructor-of "EmpathyMessage")
1587 (return-type "EmpathyMessage*")
1589 '("const-gchar*" "body")
1593 (define-method get_tptype
1594 (of-object "EmpathyMessage")
1595 (c-name "empathy_message_get_tptype")
1596 (return-type "TpChannelTextMessageType")
1599 (define-method set_tptype
1600 (of-object "EmpathyMessage")
1601 (c-name "empathy_message_set_tptype")
1602 (return-type "none")
1604 '("TpChannelTextMessageType" "type")
1608 (define-method get_sender
1609 (of-object "EmpathyMessage")
1610 (c-name "empathy_message_get_sender")
1611 (return-type "EmpathyContact*")
1614 (define-method set_sender
1615 (of-object "EmpathyMessage")
1616 (c-name "empathy_message_set_sender")
1617 (return-type "none")
1619 '("EmpathyContact*" "contact")
1623 (define-method get_receiver
1624 (of-object "EmpathyMessage")
1625 (c-name "empathy_message_get_receiver")
1626 (return-type "EmpathyContact*")
1629 (define-method set_receiver
1630 (of-object "EmpathyMessage")
1631 (c-name "empathy_message_set_receiver")
1632 (return-type "none")
1634 '("EmpathyContact*" "contact")
1638 (define-method get_body
1639 (of-object "EmpathyMessage")
1640 (c-name "empathy_message_get_body")
1641 (return-type "const-gchar*")
1644 (define-method set_body
1645 (of-object "EmpathyMessage")
1646 (c-name "empathy_message_set_body")
1647 (return-type "none")
1649 '("const-gchar*" "body")
1653 (define-method get_timestamp
1654 (of-object "EmpathyMessage")
1655 (c-name "empathy_message_get_timestamp")
1656 (return-type "time_t")
1659 (define-method set_timestamp
1660 (of-object "EmpathyMessage")
1661 (c-name "empathy_message_set_timestamp")
1662 (return-type "none")
1664 '("time_t" "timestamp")
1668 (define-method should_highlight
1669 (of-object "EmpathyMessage")
1670 (c-name "empathy_message_should_highlight")
1671 (return-type "gboolean")
1674 (define-function message_type_from_str
1675 (c-name "empathy_message_type_from_str")
1676 (return-type "TpChannelTextMessageType")
1678 '("const-gchar*" "type_str")
1682 (define-function message_type_to_str
1683 (c-name "empathy_message_type_to_str")
1684 (return-type "const-gchar*")
1686 '("TpChannelTextMessageType" "type")
1690 (define-method get_id
1691 (of-object "EmpathyMessage")
1692 (c-name "empathy_message_get_id")
1693 (return-type "guint")
1696 (define-method set_id
1697 (of-object "EmpathyMessage")
1698 (c-name "empathy_message_set_id")
1699 (return-type "none")
1707 ;; From empathy-status-presets.h
1709 (define-function status_presets_get_all
1710 (c-name "empathy_status_presets_get_all")
1711 (return-type "none")
1714 (define-function status_presets_get
1715 (c-name "empathy_status_presets_get")
1716 (return-type "GList*")
1718 '("McPresence" "state")
1719 '("gint" "max_number")
1723 (define-function status_presets_set_last
1724 (c-name "empathy_status_presets_set_last")
1725 (return-type "none")
1727 '("McPresence" "state")
1728 '("const-gchar*" "status")
1732 (define-function status_presets_remove
1733 (c-name "empathy_status_presets_remove")
1734 (return-type "none")
1736 '("McPresence" "state")
1737 '("const-gchar*" "status")
1741 (define-function status_presets_reset
1742 (c-name "empathy_status_presets_reset")
1743 (return-type "none")
1746 (define-function status_presets_get_default_state
1747 (c-name "empathy_status_presets_get_default_state")
1748 (return-type "McPresence")
1751 (define-function status_presets_get_default_status
1752 (c-name "empathy_status_presets_get_default_status")
1753 (return-type "const-gchar*")
1756 (define-function status_presets_set_default
1757 (c-name "empathy_status_presets_set_default")
1758 (return-type "none")
1760 '("McPresence" "state")
1761 '("const-gchar*" "status")
1765 (define-function status_presets_clear_default
1766 (c-name "empathy_status_presets_clear_default")
1767 (return-type "none")
1772 ;; From empathy-time.h
1774 (define-function time_get_current
1775 (c-name "empathy_time_get_current")
1776 (return-type "time_t")
1779 (define-function time_get_local_time
1780 (c-name "empathy_time_get_local_time")
1781 (return-type "time_t")
1783 '("struct-tm*" "tm")
1787 (define-function time_parse
1788 (c-name "empathy_time_parse")
1789 (return-type "time_t")
1791 '("const-gchar*" "str")
1795 (define-function time_to_string_utc
1796 (c-name "empathy_time_to_string_utc")
1797 (return-type "gchar*")
1800 '("const-gchar*" "format")
1804 (define-function time_to_string_local
1805 (c-name "empathy_time_to_string_local")
1806 (return-type "gchar*")
1809 '("const-gchar*" "format")
1815 ;; From empathy-tp-call.h
1817 (define-function tp_call_get_type
1818 (c-name "empathy_tp_call_get_type")
1819 (return-type "GType")
1822 (define-function tp_call_new
1823 (c-name "empathy_tp_call_new")
1824 (is-constructor-of "EmpathyTpCall")
1825 (return-type "EmpathyTpCall*")
1827 '("TpChannel*" "channel")
1831 (define-method close
1832 (of-object "EmpathyTpCall")
1833 (c-name "empathy_tp_call_close")
1834 (return-type "none")
1838 (of-object "EmpathyTpCall")
1839 (c-name "empathy_tp_call_to")
1840 (return-type "none")
1842 '("EmpathyContact*" "contact")
1846 (define-method accept_incoming_call
1847 (of-object "EmpathyTpCall")
1848 (c-name "empathy_tp_call_accept_incoming_call")
1849 (return-type "none")
1852 (define-method request_video_stream_direction
1853 (of-object "EmpathyTpCall")
1854 (c-name "empathy_tp_call_request_video_stream_direction")
1855 (return-type "none")
1857 '("gboolean" "is_sending")
1861 (define-method add_preview_video
1862 (of-object "EmpathyTpCall")
1863 (c-name "empathy_tp_call_add_preview_video")
1864 (return-type "none")
1866 '("guint" "preview_video_socket_id")
1870 (define-method remove_preview_video
1871 (of-object "EmpathyTpCall")
1872 (c-name "empathy_tp_call_remove_preview_video")
1873 (return-type "none")
1875 '("guint" "preview_video_socket_id")
1879 (define-method add_output_video
1880 (of-object "EmpathyTpCall")
1881 (c-name "empathy_tp_call_add_output_video")
1882 (return-type "none")
1884 '("guint" "output_video_socket_id")
1888 (define-method set_output_volume
1889 (of-object "EmpathyTpCall")
1890 (c-name "empathy_tp_call_set_output_volume")
1891 (return-type "none")
1897 (define-method mute_output
1898 (of-object "EmpathyTpCall")
1899 (c-name "empathy_tp_call_mute_output")
1900 (return-type "none")
1902 '("gboolean" "is_muted")
1906 (define-method mute_input
1907 (of-object "EmpathyTpCall")
1908 (c-name "empathy_tp_call_mute_input")
1909 (return-type "none")
1911 '("gboolean" "is_muted")
1915 (define-method start_tone
1916 (of-object "EmpathyTpCall")
1917 (c-name "empathy_tp_call_start_tone")
1918 (return-type "none")
1920 '("TpDTMFEvent" "event")
1924 (define-method stop_tone
1925 (of-object "EmpathyTpCall")
1926 (c-name "empathy_tp_call_stop_tone")
1927 (return-type "none")
1930 (define-method has_dtmf
1931 (of-object "EmpathyTpCall")
1932 (c-name "empathy_tp_call_has_dtmf")
1933 (return-type "gboolean")
1938 ;; From empathy-tp-chat.h
1940 (define-function tp_chat_get_type
1941 (c-name "empathy_tp_chat_get_type")
1942 (return-type "GType")
1945 (define-function tp_chat_new
1946 (c-name "empathy_tp_chat_new")
1947 (is-constructor-of "EmpathyTpChat")
1948 (return-type "EmpathyTpChat*")
1950 '("TpChannel*" "channel")
1954 (define-method close
1955 (of-object "EmpathyTpChat")
1956 (c-name "empathy_tp_chat_close")
1957 (return-type "none")
1960 (define-method get_id
1961 (of-object "EmpathyTpChat")
1962 (c-name "empathy_tp_chat_get_id")
1963 (return-type "const-gchar*")
1966 (define-method get_remote_contact
1967 (of-object "EmpathyTpChat")
1968 (c-name "empathy_tp_chat_get_remote_contact")
1969 (return-type "EmpathyContact*")
1972 (define-method get_account
1973 (of-object "EmpathyTpChat")
1974 (c-name "empathy_tp_chat_get_account")
1975 (return-type "McAccount*")
1978 (define-method get_channel
1979 (of-object "EmpathyTpChat")
1980 (c-name "empathy_tp_chat_get_channel")
1981 (return-type "TpChannel*")
1984 (define-method is_ready
1985 (of-object "EmpathyTpChat")
1986 (c-name "empathy_tp_chat_is_ready")
1987 (return-type "gboolean")
1990 (define-method get_members_count
1991 (of-object "EmpathyTpChat")
1992 (c-name "empathy_tp_chat_get_members_count")
1993 (return-type "guint")
1997 (of-object "EmpathyTpChat")
1998 (c-name "empathy_tp_chat_send")
1999 (return-type "none")
2001 '("EmpathyMessage*" "message")
2005 (define-method set_state
2006 (of-object "EmpathyTpChat")
2007 (c-name "empathy_tp_chat_set_state")
2008 (return-type "none")
2010 '("TpChannelChatState" "state")
2014 (define-method set_property
2015 (of-object "EmpathyTpChat")
2016 (c-name "empathy_tp_chat_set_property")
2017 (return-type "none")
2019 '("const-gchar*" "name")
2020 '("const-GValue*" "value")
2024 (define-method get_pending_messages
2025 (of-object "EmpathyTpChat")
2026 (c-name "empathy_tp_chat_get_pending_messages")
2027 (return-type "const-GList*")
2030 (define-method acknowledge_message
2031 (of-object "EmpathyTpChat")
2032 (c-name "empathy_tp_chat_acknowledge_message")
2033 (return-type "none")
2035 '("EmpathyMessage*" "message")
2039 (define-method acknowledge_messages
2040 (of-object "EmpathyTpChat")
2041 (c-name "empathy_tp_chat_acknowledge_messages")
2042 (return-type "none")
2044 '("const-GList*" "messages")
2050 ;; From empathy-tp-contact-factory.h
2052 (define-function tp_contact_factory_get_type
2053 (c-name "empathy_tp_contact_factory_get_type")
2054 (return-type "GType")
2057 (define-function tp_contact_factory_new
2058 (c-name "empathy_tp_contact_factory_new")
2059 (is-constructor-of "EmpathyTpContactFactory")
2060 (return-type "EmpathyTpContactFactory*")
2062 '("McAccount*" "account")
2066 (define-method get_user
2067 (of-object "EmpathyTpContactFactory")
2068 (c-name "empathy_tp_contact_factory_get_user")
2069 (return-type "EmpathyContact*")
2072 (define-method get_from_id
2073 (of-object "EmpathyTpContactFactory")
2074 (c-name "empathy_tp_contact_factory_get_from_id")
2075 (return-type "EmpathyContact*")
2077 '("const-gchar*" "id")
2081 (define-method get_from_handle
2082 (of-object "EmpathyTpContactFactory")
2083 (c-name "empathy_tp_contact_factory_get_from_handle")
2084 (return-type "EmpathyContact*")
2090 (define-method get_from_handles
2091 (of-object "EmpathyTpContactFactory")
2092 (c-name "empathy_tp_contact_factory_get_from_handles")
2093 (return-type "GList*")
2095 '("const-GArray*" "handles")
2099 (define-method set_alias
2100 (of-object "EmpathyTpContactFactory")
2101 (c-name "empathy_tp_contact_factory_set_alias")
2102 (return-type "none")
2104 '("EmpathyContact*" "contact")
2105 '("const-gchar*" "alias")
2109 (define-method set_avatar
2110 (of-object "EmpathyTpContactFactory")
2111 (c-name "empathy_tp_contact_factory_set_avatar")
2112 (return-type "none")
2114 '("const-gchar*" "data")
2116 '("const-gchar*" "mime_type")
2120 (define-method is_ready
2121 (of-object "EmpathyTpContactFactory")
2122 (c-name "empathy_tp_contact_factory_is_ready")
2123 (return-type "gboolean")
2128 ;; From empathy-tp-contact-list.h
2130 (define-function tp_contact_list_get_type
2131 (c-name "empathy_tp_contact_list_get_type")
2132 (return-type "GType")
2135 (define-function tp_contact_list_new
2136 (c-name "empathy_tp_contact_list_new")
2137 (is-constructor-of "EmpathyTpContactList")
2138 (return-type "EmpathyTpContactList*")
2140 '("McAccount*" "account")
2144 (define-method get_account
2145 (of-object "EmpathyTpContactList")
2146 (c-name "empathy_tp_contact_list_get_account")
2147 (return-type "McAccount*")
2150 (define-method can_add
2151 (of-object "EmpathyTpContactList")
2152 (c-name "empathy_tp_contact_list_can_add")
2153 (return-type "gboolean")
2158 ;; From empathy-tp-file.h
2160 (define-function tp_file_get_type
2161 (c-name "empathy_tp_file_get_type")
2162 (return-type "GType")
2165 (define-function tp_file_new
2166 (c-name "empathy_tp_file_new")
2167 (is-constructor-of "EmpathyTpFile")
2168 (return-type "EmpathyTpFile*")
2170 '("TpChannel*" "channel")
2174 (define-method get_channel
2175 (of-object "EmpathyTpFile")
2176 (c-name "empathy_tp_file_get_channel")
2177 (return-type "TpChannel*")
2180 (define-method accept
2181 (of-object "EmpathyTpFile")
2182 (c-name "empathy_tp_file_accept")
2183 (return-type "none")
2185 '("guint64" "offset")
2187 '("GError**" "error")
2191 (define-method cancel
2192 (of-object "EmpathyTpFile")
2193 (c-name "empathy_tp_file_cancel")
2194 (return-type "none")
2197 (define-method close
2198 (of-object "EmpathyTpFile")
2199 (c-name "empathy_tp_file_close")
2200 (return-type "none")
2203 (define-method offer
2204 (of-object "EmpathyTpFile")
2205 (c-name "empathy_tp_file_offer")
2206 (return-type "none")
2209 '("GError**" "error")
2213 (define-method get_contact
2214 (of-object "EmpathyTpFile")
2215 (c-name "empathy_tp_file_get_contact")
2216 (return-type "EmpathyContact*")
2219 (define-method get_filename
2220 (of-object "EmpathyTpFile")
2221 (c-name "empathy_tp_file_get_filename")
2222 (return-type "const-gchar*")
2225 (define-method is_incoming
2226 (of-object "EmpathyTpFile")
2227 (c-name "empathy_tp_file_is_incoming")
2228 (return-type "gboolean")
2231 (define-method get_state
2232 (of-object "EmpathyTpFile")
2233 (c-name "empathy_tp_file_get_state")
2234 (return-type "EmpFileTransferState")
2236 '("EmpFileTransferStateChangeReason*" "reason")
2240 (define-method get_size
2241 (of-object "EmpathyTpFile")
2242 (c-name "empathy_tp_file_get_size")
2243 (return-type "guint64")
2246 (define-method get_transferred_bytes
2247 (of-object "EmpathyTpFile")
2248 (c-name "empathy_tp_file_get_transferred_bytes")
2249 (return-type "guint64")
2252 (define-method get_remaining_time
2253 (of-object "EmpathyTpFile")
2254 (c-name "empathy_tp_file_get_remaining_time")
2255 (return-type "gint")
2258 (define-method get_content_type
2259 (of-object "EmpathyTpFile")
2260 (c-name "empathy_tp_file_get_content_type")
2261 (return-type "const-gchar*")
2266 ;; From empathy-tp-group.h
2268 (define-function tp_group_get_type
2269 (c-name "empathy_tp_group_get_type")
2270 (return-type "GType")
2273 (define-function tp_group_new
2274 (c-name "empathy_tp_group_new")
2275 (is-constructor-of "EmpathyTpGroup")
2276 (return-type "EmpathyTpGroup*")
2278 '("TpChannel*" "channel")
2282 (define-method close
2283 (of-object "EmpathyTpGroup")
2284 (c-name "empathy_tp_group_close")
2285 (return-type "none")
2288 (define-method add_members
2289 (of-object "EmpathyTpGroup")
2290 (c-name "empathy_tp_group_add_members")
2291 (return-type "none")
2293 '("GList*" "contacts")
2294 '("const-gchar*" "message")
2298 (define-method add_member
2299 (of-object "EmpathyTpGroup")
2300 (c-name "empathy_tp_group_add_member")
2301 (return-type "none")
2303 '("EmpathyContact*" "contact")
2304 '("const-gchar*" "message")
2308 (define-method remove_members
2309 (of-object "EmpathyTpGroup")
2310 (c-name "empathy_tp_group_remove_members")
2311 (return-type "none")
2313 '("GList*" "contacts")
2314 '("const-gchar*" "message")
2318 (define-method remove_member
2319 (of-object "EmpathyTpGroup")
2320 (c-name "empathy_tp_group_remove_member")
2321 (return-type "none")
2323 '("EmpathyContact*" "contact")
2324 '("const-gchar*" "message")
2328 (define-method get_members
2329 (of-object "EmpathyTpGroup")
2330 (c-name "empathy_tp_group_get_members")
2331 (return-type "GList*")
2334 (define-method get_local_pendings
2335 (of-object "EmpathyTpGroup")
2336 (c-name "empathy_tp_group_get_local_pendings")
2337 (return-type "GList*")
2340 (define-method get_remote_pendings
2341 (of-object "EmpathyTpGroup")
2342 (c-name "empathy_tp_group_get_remote_pendings")
2343 (return-type "GList*")
2346 (define-method get_name
2347 (of-object "EmpathyTpGroup")
2348 (c-name "empathy_tp_group_get_name")
2349 (return-type "const-gchar*")
2352 (define-method get_self_contact
2353 (of-object "EmpathyTpGroup")
2354 (c-name "empathy_tp_group_get_self_contact")
2355 (return-type "EmpathyContact*")
2358 (define-method is_member
2359 (of-object "EmpathyTpGroup")
2360 (c-name "empathy_tp_group_is_member")
2361 (return-type "gboolean")
2363 '("EmpathyContact*" "contact")
2367 (define-method is_ready
2368 (of-object "EmpathyTpGroup")
2369 (c-name "empathy_tp_group_is_ready")
2370 (return-type "gboolean")
2373 (define-method get_invitation
2374 (of-object "EmpathyTpGroup")
2375 (c-name "empathy_tp_group_get_invitation")
2376 (return-type "EmpathyPendingInfo*")
2378 '("EmpathyContact**" "remote_contact")
2382 (define-function pending_info_new
2383 (c-name "empathy_pending_info_new")
2384 (is-constructor-of "EmpathyPendingInfo")
2385 (return-type "EmpathyPendingInfo*")
2387 '("EmpathyContact*" "member")
2388 '("EmpathyContact*" "actor")
2389 '("const-gchar*" "message")
2394 (of-object "EmpathyPendingInfo")
2395 (c-name "empathy_pending_info_free")
2396 (return-type "none")
2399 (define-method get_flags
2400 (of-object "EmpathyTpGroup")
2401 (c-name "empathy_tp_group_get_flags")
2402 (return-type "TpChannelGroupFlags")
2407 ;; From empathy-tp-roomlist.h
2409 (define-function tp_roomlist_get_type
2410 (c-name "empathy_tp_roomlist_get_type")
2411 (return-type "GType")
2414 (define-function tp_roomlist_new
2415 (c-name "empathy_tp_roomlist_new")
2416 (is-constructor-of "EmpathyTpRoomlist")
2417 (return-type "EmpathyTpRoomlist*")
2419 '("McAccount*" "account")
2423 (define-method is_listing
2424 (of-object "EmpathyTpRoomlist")
2425 (c-name "empathy_tp_roomlist_is_listing")
2426 (return-type "gboolean")
2429 (define-method start
2430 (of-object "EmpathyTpRoomlist")
2431 (c-name "empathy_tp_roomlist_start")
2432 (return-type "none")
2436 (of-object "EmpathyTpRoomlist")
2437 (c-name "empathy_tp_roomlist_stop")
2438 (return-type "none")
2443 ;; From empathy-tp-tube.h
2445 (define-function tp_tube_get_type
2446 (c-name "empathy_tp_tube_get_type")
2447 (return-type "GType")
2450 (define-function tp_tube_new
2451 (c-name "empathy_tp_tube_new")
2452 (is-constructor-of "EmpathyTpTube")
2453 (return-type "EmpathyTpTube*")
2455 '("TpChannel*" "channel")
2459 (define-function tp_tube_new_stream_tube
2460 (c-name "empathy_tp_tube_new_stream_tube")
2461 (return-type "EmpathyTpTube*")
2463 '("EmpathyContact*" "contact")
2464 '("TpSocketAddressType" "type")
2465 '("const-gchar*" "hostname")
2467 '("const-gchar*" "service")
2471 (define-method accept_stream_tube
2472 (of-object "EmpathyTpTube")
2473 (c-name "empathy_tp_tube_accept_stream_tube")
2474 (return-type "none")
2476 '("TpSocketAddressType" "type")
2477 '("EmpatyTpTubeAcceptStreamTubeCb*" "callback")
2478 '("gpointer" "user_data")
2484 ;; From empathy-tube-handler.h
2486 (define-function tube_handler_get_type
2487 (c-name "empathy_tube_handler_get_type")
2488 (return-type "GType")
2491 (define-function tube_handler_new
2492 (c-name "empathy_tube_handler_new")
2493 (is-constructor-of "EmpathyTubeHandler")
2494 (return-type "EmpathyTubeHandler*")
2496 '("EmpathyTubeType" "type")
2497 '("const-gchar*" "service")
2501 (define-function tube_handler_build_bus_name
2502 (c-name "empathy_tube_handler_build_bus_name")
2503 (return-type "gchar*")
2505 '("EmpathyTubeType" "type")
2506 '("const-gchar*" "service")
2510 (define-function tube_handler_build_object_path
2511 (c-name "empathy_tube_handler_build_object_path")
2512 (return-type "gchar*")
2514 '("EmpathyTubeType" "type")
2515 '("const-gchar*" "service")
2521 ;; From empathy-types.h
2525 ;; From empathy-utils.h
2527 (define-function init
2528 (c-name "empathy_init")
2529 (return-type "none")
2532 (define-function substring
2533 (c-name "empathy_substring")
2534 (return-type "gchar*")
2536 '("const-gchar*" "str")
2542 (define-function strcasecmp
2543 (c-name "empathy_strcasecmp")
2544 (return-type "gint")
2546 '("const-gchar*" "s1")
2547 '("const-gchar*" "s2")
2551 (define-function strncasecmp
2552 (c-name "empathy_strncasecmp")
2553 (return-type "gint")
2555 '("const-gchar*" "s1")
2556 '("const-gchar*" "s2")
2561 (define-function xml_validate
2562 (c-name "empathy_xml_validate")
2563 (return-type "gboolean")
2566 '("const-gchar*" "dtd_filename")
2570 (define-function xml_node_get_child
2571 (c-name "empathy_xml_node_get_child")
2572 (return-type "xmlNodePtr")
2574 '("xmlNodePtr" "node")
2575 '("const-gchar*" "child_name")
2579 (define-function xml_node_get_child_content
2580 (c-name "empathy_xml_node_get_child_content")
2581 (return-type "xmlChar*")
2583 '("xmlNodePtr" "node")
2584 '("const-gchar*" "child_name")
2588 (define-function xml_node_find_child_prop_value
2589 (c-name "empathy_xml_node_find_child_prop_value")
2590 (return-type "xmlNodePtr")
2592 '("xmlNodePtr" "node")
2593 '("const-gchar*" "prop_name")
2594 '("const-gchar*" "prop_value")
2598 (define-function account_hash
2599 (c-name "empathy_account_hash")
2600 (return-type "guint")
2602 '("gconstpointer" "key")
2606 (define-function account_equal
2607 (c-name "empathy_account_equal")
2608 (return-type "gboolean")
2610 '("gconstpointer" "a")
2611 '("gconstpointer" "b")
2615 (define-function mission_control_dup_singleton
2616 (c-name "empathy_mission_control_dup_singleton")
2617 (return-type "MissionControl*")
2620 (define-function presence_get_default_message
2621 (c-name "empathy_presence_get_default_message")
2622 (return-type "const-gchar*")
2624 '("McPresence" "presence")
2628 (define-function presence_to_str
2629 (c-name "empathy_presence_to_str")
2630 (return-type "const-gchar*")
2632 '("McPresence" "presence")
2636 (define-function presence_from_str
2637 (c-name "empathy_presence_from_str")
2638 (return-type "McPresence")
2640 '("const-gchar*" "str")
2644 (define-function file_lookup
2645 (c-name "empathy_file_lookup")
2646 (return-type "gchar*")
2648 '("const-gchar*" "filename")
2649 '("const-gchar*" "subdir")
2653 (define-function run_until_ready
2654 (c-name "empathy_run_until_ready")
2655 (return-type "none")
2657 '("gpointer" "object")
2661 (define-function run_until_ready_full
2662 (c-name "empathy_run_until_ready_full")
2663 (return-type "none")
2665 '("gpointer" "object")
2666 '("const-gchar*" "signal")
2667 '("EmpathyRunUntilReadyFunc" "func")
2668 '("gpointer" "user_data")
2669 '("GMainLoop**" "loop")
2673 (define-function channel_get_account
2674 (c-name "empathy_channel_get_account")
2675 (return-type "McAccount*")
2677 '("TpChannel*" "channel")
2681 (define-function proxy_equal
2682 (c-name "empathy_proxy_equal")
2683 (return-type "gboolean")
2685 '("gconstpointer" "a")
2686 '("gconstpointer" "b")
2690 (define-function proxy_hash
2691 (c-name "empathy_proxy_hash")
2692 (return-type "guint")
2694 '("gconstpointer" "key")
2698 (define-function start_call_with_contact
2699 (c-name "empathy_start_call_with_contact")
2700 (return-type "none")
2702 '("EmpathyContact*" "contact")