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")
293 (define-method get_count
294 (of-object "EmpathyAccountManager")
295 (c-name "empathy_account_manager_get_count")
301 ;; From empathy-chatroom.h
303 (define-function chatroom_get_type
304 (c-name "empathy_chatroom_get_type")
305 (return-type "GType")
308 (define-function chatroom_new
309 (c-name "empathy_chatroom_new")
310 (is-constructor-of "EmpathyChatroom")
311 (return-type "EmpathyChatroom*")
313 '("McAccount*" "account")
317 (define-function chatroom_new_full
318 (c-name "empathy_chatroom_new_full")
319 (return-type "EmpathyChatroom*")
321 '("McAccount*" "account")
322 '("const-gchar*" "room")
323 '("const-gchar*" "name")
324 '("gboolean" "auto_connect")
328 (define-method get_account
329 (of-object "EmpathyChatroom")
330 (c-name "empathy_chatroom_get_account")
331 (return-type "McAccount*")
334 (define-method set_account
335 (of-object "EmpathyChatroom")
336 (c-name "empathy_chatroom_set_account")
339 '("McAccount*" "account")
343 (define-method get_room
344 (of-object "EmpathyChatroom")
345 (c-name "empathy_chatroom_get_room")
346 (return-type "const-gchar*")
349 (define-method set_room
350 (of-object "EmpathyChatroom")
351 (c-name "empathy_chatroom_set_room")
354 '("const-gchar*" "room")
358 (define-method get_name
359 (of-object "EmpathyChatroom")
360 (c-name "empathy_chatroom_get_name")
361 (return-type "const-gchar*")
364 (define-method set_name
365 (of-object "EmpathyChatroom")
366 (c-name "empathy_chatroom_set_name")
369 '("const-gchar*" "name")
373 (define-method get_auto_connect
374 (of-object "EmpathyChatroom")
375 (c-name "empathy_chatroom_get_auto_connect")
376 (return-type "gboolean")
379 (define-method set_auto_connect
380 (of-object "EmpathyChatroom")
381 (c-name "empathy_chatroom_set_auto_connect")
384 '("gboolean" "auto_connect")
388 (define-function chatroom_equal
389 (c-name "empathy_chatroom_equal")
390 (return-type "gboolean")
392 '("gconstpointer" "v1")
393 '("gconstpointer" "v2")
397 (define-method get_tp_chat
398 (of-object "EmpathyChatroom")
399 (c-name "empathy_chatroom_get_tp_chat")
400 (return-type "EmpathyTpChat*")
405 ;; From empathy-chatroom-manager.h
407 (define-function chatroom_manager_get_type
408 (c-name "empathy_chatroom_manager_get_type")
409 (return-type "GType")
412 (define-function chatroom_manager_dup_singleton
413 (c-name "empathy_chatroom_manager_dup_singleton")
414 (return-type "EmpathyChatroomManager*")
416 '("const-gchar*" "file")
421 (of-object "EmpathyChatroomManager")
422 (c-name "empathy_chatroom_manager_add")
423 (return-type "gboolean")
425 '("EmpathyChatroom*" "chatroom")
429 (define-method remove
430 (of-object "EmpathyChatroomManager")
431 (c-name "empathy_chatroom_manager_remove")
434 '("EmpathyChatroom*" "chatroom")
439 (of-object "EmpathyChatroomManager")
440 (c-name "empathy_chatroom_manager_find")
441 (return-type "EmpathyChatroom*")
443 '("McAccount*" "account")
444 '("const-gchar*" "room")
448 (define-method get_chatrooms
449 (of-object "EmpathyChatroomManager")
450 (c-name "empathy_chatroom_manager_get_chatrooms")
451 (return-type "GList*")
453 '("McAccount*" "account")
457 (define-method get_count
458 (of-object "EmpathyChatroomManager")
459 (c-name "empathy_chatroom_manager_get_count")
460 (return-type "guint")
462 '("McAccount*" "account")
466 (define-method observe
467 (of-object "EmpathyChatroomManager")
468 (c-name "empathy_chatroom_manager_observe")
471 '("EmpathyDispatcher*" "dispatcher")
477 ;; From empathy-contact.h
479 (define-function contact_get_type
480 (c-name "empathy_contact_get_type")
481 (return-type "GType")
484 (define-function contact_new
485 (c-name "empathy_contact_new")
486 (is-constructor-of "EmpathyContact")
487 (return-type "EmpathyContact*")
489 '("McAccount*" "account")
493 (define-function contact_new_full
494 (c-name "empathy_contact_new_full")
495 (return-type "EmpathyContact*")
497 '("McAccount*" "account")
498 '("const-gchar*" "id")
499 '("const-gchar*" "name")
503 (define-method get_id
504 (of-object "EmpathyContact")
505 (c-name "empathy_contact_get_id")
506 (return-type "const-gchar*")
509 (define-method set_id
510 (of-object "EmpathyContact")
511 (c-name "empathy_contact_set_id")
514 '("const-gchar*" "id")
518 (define-method get_name
519 (of-object "EmpathyContact")
520 (c-name "empathy_contact_get_name")
521 (return-type "const-gchar*")
524 (define-method set_name
525 (of-object "EmpathyContact")
526 (c-name "empathy_contact_set_name")
529 '("const-gchar*" "name")
533 (define-method get_avatar
534 (of-object "EmpathyContact")
535 (c-name "empathy_contact_get_avatar")
536 (return-type "EmpathyAvatar*")
539 (define-method set_avatar
540 (of-object "EmpathyContact")
541 (c-name "empathy_contact_set_avatar")
544 '("EmpathyAvatar*" "avatar")
548 (define-method get_account
549 (of-object "EmpathyContact")
550 (c-name "empathy_contact_get_account")
551 (return-type "McAccount*")
554 (define-method set_account
555 (of-object "EmpathyContact")
556 (c-name "empathy_contact_set_account")
559 '("McAccount*" "account")
563 (define-method get_presence
564 (of-object "EmpathyContact")
565 (c-name "empathy_contact_get_presence")
566 (return-type "McPresence")
569 (define-method set_presence
570 (of-object "EmpathyContact")
571 (c-name "empathy_contact_set_presence")
574 '("McPresence" "presence")
578 (define-method get_presence_message
579 (of-object "EmpathyContact")
580 (c-name "empathy_contact_get_presence_message")
581 (return-type "const-gchar*")
584 (define-method set_presence_message
585 (of-object "EmpathyContact")
586 (c-name "empathy_contact_set_presence_message")
589 '("const-gchar*" "message")
593 (define-method get_handle
594 (of-object "EmpathyContact")
595 (c-name "empathy_contact_get_handle")
596 (return-type "guint")
599 (define-method set_handle
600 (of-object "EmpathyContact")
601 (c-name "empathy_contact_set_handle")
608 (define-method get_capabilities
609 (of-object "EmpathyContact")
610 (c-name "empathy_contact_get_capabilities")
611 (return-type "EmpathyCapabilities")
614 (define-method set_capabilities
615 (of-object "EmpathyContact")
616 (c-name "empathy_contact_set_capabilities")
619 '("EmpathyCapabilities" "capabilities")
623 (define-method get_ready
624 (of-object "EmpathyContact")
625 (c-name "empathy_contact_get_ready")
626 (return-type "EmpathyContactReady")
629 (define-method is_user
630 (of-object "EmpathyContact")
631 (c-name "empathy_contact_is_user")
632 (return-type "gboolean")
635 (define-method set_is_user
636 (of-object "EmpathyContact")
637 (c-name "empathy_contact_set_is_user")
640 '("gboolean" "is_user")
644 (define-method is_online
645 (of-object "EmpathyContact")
646 (c-name "empathy_contact_is_online")
647 (return-type "gboolean")
650 (define-method get_status
651 (of-object "EmpathyContact")
652 (c-name "empathy_contact_get_status")
653 (return-type "const-gchar*")
656 (define-method can_voip
657 (of-object "EmpathyContact")
658 (c-name "empathy_contact_can_voip")
659 (return-type "gboolean")
662 (define-method can_send_files
663 (of-object "EmpathyContact")
664 (c-name "empathy_contact_can_send_files")
665 (return-type "gboolean")
668 (define-function contact_equal
669 (c-name "empathy_contact_equal")
670 (return-type "gboolean")
672 '("gconstpointer" "v1")
673 '("gconstpointer" "v2")
677 (define-function contact_hash
678 (c-name "empathy_contact_hash")
679 (return-type "guint")
681 '("gconstpointer" "key")
685 (define-method call_when_ready
686 (of-object "EmpathyContact")
687 (c-name "empathy_contact_call_when_ready")
690 '("EmpathyContactReady" "ready")
691 '("EmpathyContactReadyCb*" "callback")
692 '("gpointer" "user_data")
693 '("GDestroyNotify" "destroy")
694 '("GObject*" "weak_object")
698 (define-method run_until_ready
699 (of-object "EmpathyContact")
700 (c-name "empathy_contact_run_until_ready")
703 '("EmpathyContactReady" "ready")
704 '("GMainLoop**" "loop")
708 (define-method load_avatar_data
709 (of-object "EmpathyContact")
710 (c-name "empathy_contact_load_avatar_data")
713 '("const-guchar*" "data")
714 '("const-gsize" "len")
715 '("const-gchar*" "format")
716 '("const-gchar*" "token")
720 (define-method load_avatar_cache
721 (of-object "EmpathyContact")
722 (c-name "empathy_contact_load_avatar_cache")
723 (return-type "gboolean")
725 '("const-gchar*" "token")
729 (define-function avatar_get_type
730 (c-name "empathy_avatar_get_type")
731 (return-type "GType")
734 (define-function avatar_new
735 (c-name "empathy_avatar_new")
736 (is-constructor-of "EmpathyAvatar")
737 (return-type "EmpathyAvatar*")
747 (of-object "EmpathyAvatar")
748 (c-name "empathy_avatar_ref")
749 (return-type "EmpathyAvatar*")
753 (of-object "EmpathyAvatar")
754 (c-name "empathy_avatar_unref")
758 (define-method save_to_file
759 (of-object "EmpathyAvatar")
760 (c-name "empathy_avatar_save_to_file")
761 (return-type "gboolean")
763 '("const-gchar*" "filename")
764 '("GError**" "error")
770 ;; From empathy-contact-factory.h
772 (define-function contact_factory_get_type
773 (c-name "empathy_contact_factory_get_type")
774 (return-type "GType")
777 (define-function contact_factory_dup_singleton
778 (c-name "empathy_contact_factory_dup_singleton")
779 (return-type "EmpathyContactFactory*")
782 (define-method get_tp_factory
783 (of-object "EmpathyContactFactory")
784 (c-name "empathy_contact_factory_get_tp_factory")
785 (return-type "EmpathyTpContactFactory*")
787 '("McAccount*" "account")
791 (define-method get_user
792 (of-object "EmpathyContactFactory")
793 (c-name "empathy_contact_factory_get_user")
794 (return-type "EmpathyContact*")
796 '("McAccount*" "account")
800 (define-method get_from_id
801 (of-object "EmpathyContactFactory")
802 (c-name "empathy_contact_factory_get_from_id")
803 (return-type "EmpathyContact*")
805 '("McAccount*" "account")
806 '("const-gchar*" "id")
810 (define-method get_from_handle
811 (of-object "EmpathyContactFactory")
812 (c-name "empathy_contact_factory_get_from_handle")
813 (return-type "EmpathyContact*")
815 '("McAccount*" "account")
820 (define-method get_from_handles
821 (of-object "EmpathyContactFactory")
822 (c-name "empathy_contact_factory_get_from_handles")
823 (return-type "GList*")
825 '("McAccount*" "account")
826 '("const-GArray*" "handles")
830 (define-method set_alias
831 (of-object "EmpathyContactFactory")
832 (c-name "empathy_contact_factory_set_alias")
835 '("EmpathyContact*" "contact")
836 '("const-gchar*" "alias")
840 (define-method set_avatar
841 (of-object "EmpathyContactFactory")
842 (c-name "empathy_contact_factory_set_avatar")
845 '("McAccount*" "account")
846 '("const-gchar*" "data")
848 '("const-gchar*" "mime_type")
854 ;; From empathy-contact-groups.h
856 (define-function contact_groups_get_all
857 (c-name "empathy_contact_groups_get_all")
861 (define-function contact_group_get_expanded
862 (c-name "empathy_contact_group_get_expanded")
863 (return-type "gboolean")
865 '("const-gchar*" "group")
869 (define-function contact_group_set_expanded
870 (c-name "empathy_contact_group_set_expanded")
873 '("const-gchar*" "group")
874 '("gboolean" "expanded")
880 ;; From empathy-contact-list.h
882 (define-function contact_list_get_type
883 (c-name "empathy_contact_list_get_type")
884 (return-type "GType")
888 (of-object "EmpathyContactList")
889 (c-name "empathy_contact_list_add")
892 '("EmpathyContact*" "contact")
893 '("const-gchar*" "message")
897 (define-method remove
898 (of-object "EmpathyContactList")
899 (c-name "empathy_contact_list_remove")
902 '("EmpathyContact*" "contact")
903 '("const-gchar*" "message")
907 (define-method get_members
908 (of-object "EmpathyContactList")
909 (c-name "empathy_contact_list_get_members")
910 (return-type "GList*")
913 (define-method get_pendings
914 (of-object "EmpathyContactList")
915 (c-name "empathy_contact_list_get_pendings")
916 (return-type "GList*")
919 (define-method get_all_groups
920 (of-object "EmpathyContactList")
921 (c-name "empathy_contact_list_get_all_groups")
922 (return-type "GList*")
925 (define-method get_groups
926 (of-object "EmpathyContactList")
927 (c-name "empathy_contact_list_get_groups")
928 (return-type "GList*")
930 '("EmpathyContact*" "contact")
934 (define-method add_to_group
935 (of-object "EmpathyContactList")
936 (c-name "empathy_contact_list_add_to_group")
939 '("EmpathyContact*" "contact")
940 '("const-gchar*" "group")
944 (define-method remove_from_group
945 (of-object "EmpathyContactList")
946 (c-name "empathy_contact_list_remove_from_group")
949 '("EmpathyContact*" "contact")
950 '("const-gchar*" "group")
954 (define-method rename_group
955 (of-object "EmpathyContactList")
956 (c-name "empathy_contact_list_rename_group")
959 '("const-gchar*" "old_group")
960 '("const-gchar*" "new_group")
964 (define-method remove_group
965 (of-object "EmpathyContactList")
966 (c-name "empathy_contact_list_remove_group")
969 '("const-gchar*" "group")
973 (define-method get_monitor
974 (of-object "EmpathyContactList")
975 (c-name "empathy_contact_list_get_monitor")
976 (return-type "EmpathyContactMonitor*")
981 ;; From empathy-contact-manager.h
983 (define-function contact_manager_get_type
984 (c-name "empathy_contact_manager_get_type")
985 (return-type "GType")
988 (define-function contact_manager_dup_singleton
989 (c-name "empathy_contact_manager_dup_singleton")
990 (return-type "EmpathyContactManager*")
993 (define-method get_list
994 (of-object "EmpathyContactManager")
995 (c-name "empathy_contact_manager_get_list")
996 (return-type "EmpathyTpContactList*")
998 '("McAccount*" "account")
1002 (define-method can_add
1003 (of-object "EmpathyContactManager")
1004 (c-name "empathy_contact_manager_can_add")
1005 (return-type "gboolean")
1007 '("McAccount*" "account")
1013 ;; From empathy-contact-monitor.h
1015 (define-function contact_monitor_get_type
1016 (c-name "empathy_contact_monitor_get_type")
1017 (return-type "GType")
1020 (define-method set_iface
1021 (of-object "EmpathyContactMonitor")
1022 (c-name "empathy_contact_monitor_set_iface")
1023 (return-type "none")
1025 '("EmpathyContactList*" "iface")
1029 (define-function contact_monitor_new_for_iface
1030 (c-name "empathy_contact_monitor_new_for_iface")
1031 (return-type "EmpathyContactMonitor*")
1033 '("EmpathyContactList*" "iface")
1039 ;; From empathy-debug.h
1041 (define-function debug_flag_is_set
1042 (c-name "empathy_debug_flag_is_set")
1043 (return-type "gboolean")
1045 '("EmpathyDebugFlags" "flag")
1049 (define-function debug
1050 (c-name "empathy_debug")
1051 (return-type "none")
1053 '("EmpathyDebugFlags" "flag")
1054 '("const-gchar*" "format")
1059 (define-function debug_set_flags
1060 (c-name "empathy_debug_set_flags")
1061 (return-type "none")
1063 '("const-gchar*" "flags_string")
1069 ;; From empathy-dispatcher.h
1071 (define-function dispatcher_get_type
1072 (c-name "empathy_dispatcher_get_type")
1073 (return-type "GType")
1076 (define-function dispatcher_call_with_contact
1077 (c-name "empathy_dispatcher_call_with_contact")
1078 (return-type "none")
1080 '("EmpathyContact*" "contact")
1081 '("EmpathyDispatcherRequestCb*" "callback")
1082 '("gpointer" "user_data")
1086 (define-function dispatcher_chat_with_contact_id
1087 (c-name "empathy_dispatcher_chat_with_contact_id")
1088 (return-type "none")
1090 '("McAccount*" "account")
1091 '("const-gchar*" "contact_id")
1092 '("EmpathyDispatcherRequestCb*" "callback")
1093 '("gpointer" "user_data")
1097 (define-function dispatcher_chat_with_contact
1098 (c-name "empathy_dispatcher_chat_with_contact")
1099 (return-type "none")
1101 '("EmpathyContact*" "contact")
1102 '("EmpathyDispatcherRequestCb*" "callback")
1103 '("gpointer" "user_data")
1107 (define-function dispatcher_send_file_to_contact
1108 (c-name "empathy_dispatcher_send_file_to_contact")
1109 (return-type "none")
1111 '("EmpathyContact*" "contact")
1112 '("const-gchar*" "filename")
1115 '("const-gchar*" "content_type")
1116 '("EmpathyDispatcherRequestCb*" "callback")
1117 '("gpointer" "user_data")
1121 (define-function dispatcher_join_muc
1122 (c-name "empathy_dispatcher_join_muc")
1123 (return-type "none")
1125 '("McAccount*" "account")
1126 '("const-gchar*" "roomname")
1127 '("EmpathyDispatcherRequestCb*" "callback")
1128 '("gpointer" "user_data")
1132 (define-function dispatcher_dup_singleton
1133 (c-name "empathy_dispatcher_dup_singleton")
1134 (return-type "EmpathyDispatcher*")
1139 ;; From empathy-dispatch-operation.h
1141 (define-function dispatch_operation_get_type
1142 (c-name "empathy_dispatch_operation_get_type")
1143 (return-type "GType")
1146 (define-function dispatch_operation_new
1147 (c-name "empathy_dispatch_operation_new")
1148 (is-constructor-of "EmpathyDispatchOperation")
1149 (return-type "EmpathyDispatchOperation*")
1151 '("TpConnection*" "connection")
1152 '("TpChannel*" "channel")
1153 '("EmpathyContact*" "contact")
1154 '("gboolean" "incoming")
1158 (define-function dispatch_operation_new_with_wrapper
1159 (c-name "empathy_dispatch_operation_new_with_wrapper")
1160 (return-type "EmpathyDispatchOperation*")
1162 '("TpConnection*" "connection")
1163 '("TpChannel*" "channel")
1164 '("EmpathyContact*" "contact")
1165 '("gboolean" "incoming")
1166 '("GObject*" "channel_wrapper")
1170 (define-method start
1171 (of-object "EmpathyDispatchOperation")
1172 (c-name "empathy_dispatch_operation_start")
1173 (return-type "none")
1176 (define-method approve
1177 (of-object "EmpathyDispatchOperation")
1178 (c-name "empathy_dispatch_operation_approve")
1179 (return-type "none")
1182 (define-method claim
1183 (of-object "EmpathyDispatchOperation")
1184 (c-name "empathy_dispatch_operation_claim")
1185 (return-type "gboolean")
1188 (define-method get_channel
1189 (of-object "EmpathyDispatchOperation")
1190 (c-name "empathy_dispatch_operation_get_channel")
1191 (return-type "TpChannel*")
1194 (define-method get_channel_wrapper
1195 (of-object "EmpathyDispatchOperation")
1196 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1197 (return-type "GObject*")
1200 (define-method get_tp_connection
1201 (of-object "EmpathyDispatchOperation")
1202 (c-name "empathy_dispatch_operation_get_tp_connection")
1203 (return-type "TpConnection*")
1206 (define-method get_channel_type
1207 (of-object "EmpathyDispatchOperation")
1208 (c-name "empathy_dispatch_operation_get_channel_type")
1209 (return-type "const-gchar*")
1212 (define-method get_channel_type_id
1213 (of-object "EmpathyDispatchOperation")
1214 (c-name "empathy_dispatch_operation_get_channel_type_id")
1215 (return-type "GQuark")
1218 (define-method get_object_path
1219 (of-object "EmpathyDispatchOperation")
1220 (c-name "empathy_dispatch_operation_get_object_path")
1221 (return-type "const-gchar*")
1224 (define-method get_status
1225 (of-object "EmpathyDispatchOperation")
1226 (c-name "empathy_dispatch_operation_get_status")
1227 (return-type "EmpathyDispatchOperationState")
1230 (define-method is_incoming
1231 (of-object "EmpathyDispatchOperation")
1232 (c-name "empathy_dispatch_operation_is_incoming")
1233 (return-type "gboolean")
1238 ;; From empathy-idle.h
1240 (define-function idle_get_type
1241 (c-name "empathy_idle_get_type")
1242 (return-type "GType")
1245 (define-function idle_dup_singleton
1246 (c-name "empathy_idle_dup_singleton")
1247 (return-type "EmpathyIdle*")
1250 (define-method get_state
1251 (of-object "EmpathyIdle")
1252 (c-name "empathy_idle_get_state")
1253 (return-type "McPresence")
1256 (define-method set_state
1257 (of-object "EmpathyIdle")
1258 (c-name "empathy_idle_set_state")
1259 (return-type "none")
1261 '("McPresence" "state")
1265 (define-method get_status
1266 (of-object "EmpathyIdle")
1267 (c-name "empathy_idle_get_status")
1268 (return-type "const-gchar*")
1271 (define-method set_status
1272 (of-object "EmpathyIdle")
1273 (c-name "empathy_idle_set_status")
1274 (return-type "none")
1276 '("const-gchar*" "status")
1280 (define-method get_flash_state
1281 (of-object "EmpathyIdle")
1282 (c-name "empathy_idle_get_flash_state")
1283 (return-type "McPresence")
1286 (define-method set_flash_state
1287 (of-object "EmpathyIdle")
1288 (c-name "empathy_idle_set_flash_state")
1289 (return-type "none")
1291 '("McPresence" "state")
1295 (define-method set_presence
1296 (of-object "EmpathyIdle")
1297 (c-name "empathy_idle_set_presence")
1298 (return-type "none")
1300 '("McPresence" "state")
1301 '("const-gchar*" "status")
1305 (define-method get_auto_away
1306 (of-object "EmpathyIdle")
1307 (c-name "empathy_idle_get_auto_away")
1308 (return-type "gboolean")
1311 (define-method set_auto_away
1312 (of-object "EmpathyIdle")
1313 (c-name "empathy_idle_set_auto_away")
1314 (return-type "none")
1316 '("gboolean" "auto_away")
1320 (define-method get_use_nm
1321 (of-object "EmpathyIdle")
1322 (c-name "empathy_idle_get_use_nm")
1323 (return-type "gboolean")
1326 (define-method set_use_nm
1327 (of-object "EmpathyIdle")
1328 (c-name "empathy_idle_set_use_nm")
1329 (return-type "none")
1331 '("gboolean" "use_nm")
1337 ;; From empathy-irc-network.h
1339 (define-function irc_network_get_type
1340 (c-name "empathy_irc_network_get_type")
1341 (return-type "GType")
1344 (define-function irc_network_new
1345 (c-name "empathy_irc_network_new")
1346 (is-constructor-of "EmpathyIrcNetwork")
1347 (return-type "EmpathyIrcNetwork*")
1349 '("const-gchar*" "name")
1353 (define-method get_servers
1354 (of-object "EmpathyIrcNetwork")
1355 (c-name "empathy_irc_network_get_servers")
1356 (return-type "GSList*")
1359 (define-method append_server
1360 (of-object "EmpathyIrcNetwork")
1361 (c-name "empathy_irc_network_append_server")
1362 (return-type "none")
1364 '("EmpathyIrcServer*" "server")
1368 (define-method remove_server
1369 (of-object "EmpathyIrcNetwork")
1370 (c-name "empathy_irc_network_remove_server")
1371 (return-type "none")
1373 '("EmpathyIrcServer*" "server")
1377 (define-method set_server_position
1378 (of-object "EmpathyIrcNetwork")
1379 (c-name "empathy_irc_network_set_server_position")
1380 (return-type "none")
1382 '("EmpathyIrcServer*" "server")
1389 ;; From empathy-irc-network-manager.h
1391 (define-function irc_network_manager_get_type
1392 (c-name "empathy_irc_network_manager_get_type")
1393 (return-type "GType")
1396 (define-function irc_network_manager_new
1397 (c-name "empathy_irc_network_manager_new")
1398 (is-constructor-of "EmpathyIrcNetworkManager")
1399 (return-type "EmpathyIrcNetworkManager*")
1401 '("const-gchar*" "global_file")
1402 '("const-gchar*" "user_file")
1407 (of-object "EmpathyIrcNetworkManager")
1408 (c-name "empathy_irc_network_manager_add")
1409 (return-type "none")
1411 '("EmpathyIrcNetwork*" "network")
1415 (define-method remove
1416 (of-object "EmpathyIrcNetworkManager")
1417 (c-name "empathy_irc_network_manager_remove")
1418 (return-type "none")
1420 '("EmpathyIrcNetwork*" "network")
1424 (define-method get_networks
1425 (of-object "EmpathyIrcNetworkManager")
1426 (c-name "empathy_irc_network_manager_get_networks")
1427 (return-type "GSList*")
1430 (define-method find_network_by_address
1431 (of-object "EmpathyIrcNetworkManager")
1432 (c-name "empathy_irc_network_manager_find_network_by_address")
1433 (return-type "EmpathyIrcNetwork*")
1435 '("const-gchar*" "address")
1441 ;; From empathy-irc-server.h
1443 (define-function irc_server_get_type
1444 (c-name "empathy_irc_server_get_type")
1445 (return-type "GType")
1448 (define-function irc_server_new
1449 (c-name "empathy_irc_server_new")
1450 (is-constructor-of "EmpathyIrcServer")
1451 (return-type "EmpathyIrcServer*")
1453 '("const-gchar*" "address")
1461 ;; From empathy-log-manager.h
1463 (define-function log_manager_get_type
1464 (c-name "empathy_log_manager_get_type")
1465 (return-type "GType")
1468 (define-function log_manager_dup_singleton
1469 (c-name "empathy_log_manager_dup_singleton")
1470 (return-type "EmpathyLogManager*")
1473 (define-method add_message
1474 (of-object "EmpathyLogManager")
1475 (c-name "empathy_log_manager_add_message")
1476 (return-type "none")
1478 '("const-gchar*" "chat_id")
1479 '("gboolean" "chatroom")
1480 '("EmpathyMessage*" "message")
1484 (define-method exists
1485 (of-object "EmpathyLogManager")
1486 (c-name "empathy_log_manager_exists")
1487 (return-type "gboolean")
1489 '("McAccount*" "account")
1490 '("const-gchar*" "chat_id")
1491 '("gboolean" "chatroom")
1495 (define-method get_dates
1496 (of-object "EmpathyLogManager")
1497 (c-name "empathy_log_manager_get_dates")
1498 (return-type "GList*")
1500 '("McAccount*" "account")
1501 '("const-gchar*" "chat_id")
1502 '("gboolean" "chatroom")
1506 (define-method get_messages_for_file
1507 (of-object "EmpathyLogManager")
1508 (c-name "empathy_log_manager_get_messages_for_file")
1509 (return-type "GList*")
1511 '("const-gchar*" "filename")
1515 (define-method get_messages_for_date
1516 (of-object "EmpathyLogManager")
1517 (c-name "empathy_log_manager_get_messages_for_date")
1518 (return-type "GList*")
1520 '("McAccount*" "account")
1521 '("const-gchar*" "chat_id")
1522 '("gboolean" "chatroom")
1523 '("const-gchar*" "date")
1527 (define-method get_last_messages
1528 (of-object "EmpathyLogManager")
1529 (c-name "empathy_log_manager_get_last_messages")
1530 (return-type "GList*")
1532 '("McAccount*" "account")
1533 '("const-gchar*" "chat_id")
1534 '("gboolean" "chatroom")
1538 (define-method get_messages_for_file
1539 (of-object "EmpathyLogManager")
1540 (c-name "empathy_log_manager_get_messages_for_file")
1541 (return-type "GList*")
1543 '("const-gchar*" "filename")
1547 (define-method get_chats
1548 (of-object "EmpathyLogManager")
1549 (c-name "empathy_log_manager_get_chats")
1550 (return-type "GList*")
1552 '("McAccount*" "account")
1556 (define-method search_new
1557 (of-object "EmpathyLogManager")
1558 (c-name "empathy_log_manager_search_new")
1559 (return-type "GList*")
1561 '("const-gchar*" "text")
1565 (define-function log_manager_search_free
1566 (c-name "empathy_log_manager_search_free")
1567 (return-type "none")
1573 (define-function log_manager_get_date_readable
1574 (c-name "empathy_log_manager_get_date_readable")
1575 (return-type "gchar*")
1577 '("const-gchar*" "date")
1583 ;; From empathy-message.h
1585 (define-function message_get_type
1586 (c-name "empathy_message_get_type")
1587 (return-type "GType")
1590 (define-function message_new
1591 (c-name "empathy_message_new")
1592 (is-constructor-of "EmpathyMessage")
1593 (return-type "EmpathyMessage*")
1595 '("const-gchar*" "body")
1599 (define-method get_tptype
1600 (of-object "EmpathyMessage")
1601 (c-name "empathy_message_get_tptype")
1602 (return-type "TpChannelTextMessageType")
1605 (define-method set_tptype
1606 (of-object "EmpathyMessage")
1607 (c-name "empathy_message_set_tptype")
1608 (return-type "none")
1610 '("TpChannelTextMessageType" "type")
1614 (define-method get_sender
1615 (of-object "EmpathyMessage")
1616 (c-name "empathy_message_get_sender")
1617 (return-type "EmpathyContact*")
1620 (define-method set_sender
1621 (of-object "EmpathyMessage")
1622 (c-name "empathy_message_set_sender")
1623 (return-type "none")
1625 '("EmpathyContact*" "contact")
1629 (define-method get_receiver
1630 (of-object "EmpathyMessage")
1631 (c-name "empathy_message_get_receiver")
1632 (return-type "EmpathyContact*")
1635 (define-method set_receiver
1636 (of-object "EmpathyMessage")
1637 (c-name "empathy_message_set_receiver")
1638 (return-type "none")
1640 '("EmpathyContact*" "contact")
1644 (define-method get_body
1645 (of-object "EmpathyMessage")
1646 (c-name "empathy_message_get_body")
1647 (return-type "const-gchar*")
1650 (define-method set_body
1651 (of-object "EmpathyMessage")
1652 (c-name "empathy_message_set_body")
1653 (return-type "none")
1655 '("const-gchar*" "body")
1659 (define-method get_timestamp
1660 (of-object "EmpathyMessage")
1661 (c-name "empathy_message_get_timestamp")
1662 (return-type "time_t")
1665 (define-method set_timestamp
1666 (of-object "EmpathyMessage")
1667 (c-name "empathy_message_set_timestamp")
1668 (return-type "none")
1670 '("time_t" "timestamp")
1674 (define-method should_highlight
1675 (of-object "EmpathyMessage")
1676 (c-name "empathy_message_should_highlight")
1677 (return-type "gboolean")
1680 (define-function message_type_from_str
1681 (c-name "empathy_message_type_from_str")
1682 (return-type "TpChannelTextMessageType")
1684 '("const-gchar*" "type_str")
1688 (define-function message_type_to_str
1689 (c-name "empathy_message_type_to_str")
1690 (return-type "const-gchar*")
1692 '("TpChannelTextMessageType" "type")
1696 (define-method get_id
1697 (of-object "EmpathyMessage")
1698 (c-name "empathy_message_get_id")
1699 (return-type "guint")
1702 (define-method set_id
1703 (of-object "EmpathyMessage")
1704 (c-name "empathy_message_set_id")
1705 (return-type "none")
1713 ;; From empathy-status-presets.h
1715 (define-function status_presets_get_all
1716 (c-name "empathy_status_presets_get_all")
1717 (return-type "none")
1720 (define-function status_presets_get
1721 (c-name "empathy_status_presets_get")
1722 (return-type "GList*")
1724 '("McPresence" "state")
1725 '("gint" "max_number")
1729 (define-function status_presets_set_last
1730 (c-name "empathy_status_presets_set_last")
1731 (return-type "none")
1733 '("McPresence" "state")
1734 '("const-gchar*" "status")
1738 (define-function status_presets_remove
1739 (c-name "empathy_status_presets_remove")
1740 (return-type "none")
1742 '("McPresence" "state")
1743 '("const-gchar*" "status")
1747 (define-function status_presets_reset
1748 (c-name "empathy_status_presets_reset")
1749 (return-type "none")
1752 (define-function status_presets_get_default_state
1753 (c-name "empathy_status_presets_get_default_state")
1754 (return-type "McPresence")
1757 (define-function status_presets_get_default_status
1758 (c-name "empathy_status_presets_get_default_status")
1759 (return-type "const-gchar*")
1762 (define-function status_presets_set_default
1763 (c-name "empathy_status_presets_set_default")
1764 (return-type "none")
1766 '("McPresence" "state")
1767 '("const-gchar*" "status")
1771 (define-function status_presets_clear_default
1772 (c-name "empathy_status_presets_clear_default")
1773 (return-type "none")
1778 ;; From empathy-time.h
1780 (define-function time_get_current
1781 (c-name "empathy_time_get_current")
1782 (return-type "time_t")
1785 (define-function time_get_local_time
1786 (c-name "empathy_time_get_local_time")
1787 (return-type "time_t")
1789 '("struct-tm*" "tm")
1793 (define-function time_parse
1794 (c-name "empathy_time_parse")
1795 (return-type "time_t")
1797 '("const-gchar*" "str")
1801 (define-function time_to_string_utc
1802 (c-name "empathy_time_to_string_utc")
1803 (return-type "gchar*")
1806 '("const-gchar*" "format")
1810 (define-function time_to_string_local
1811 (c-name "empathy_time_to_string_local")
1812 (return-type "gchar*")
1815 '("const-gchar*" "format")
1821 ;; From empathy-tp-call.h
1823 (define-function tp_call_get_type
1824 (c-name "empathy_tp_call_get_type")
1825 (return-type "GType")
1828 (define-function tp_call_new
1829 (c-name "empathy_tp_call_new")
1830 (is-constructor-of "EmpathyTpCall")
1831 (return-type "EmpathyTpCall*")
1833 '("TpChannel*" "channel")
1837 (define-method close
1838 (of-object "EmpathyTpCall")
1839 (c-name "empathy_tp_call_close")
1840 (return-type "none")
1844 (of-object "EmpathyTpCall")
1845 (c-name "empathy_tp_call_to")
1846 (return-type "none")
1848 '("EmpathyContact*" "contact")
1852 (define-method accept_incoming_call
1853 (of-object "EmpathyTpCall")
1854 (c-name "empathy_tp_call_accept_incoming_call")
1855 (return-type "none")
1858 (define-method request_video_stream_direction
1859 (of-object "EmpathyTpCall")
1860 (c-name "empathy_tp_call_request_video_stream_direction")
1861 (return-type "none")
1863 '("gboolean" "is_sending")
1867 (define-method add_preview_video
1868 (of-object "EmpathyTpCall")
1869 (c-name "empathy_tp_call_add_preview_video")
1870 (return-type "none")
1872 '("guint" "preview_video_socket_id")
1876 (define-method remove_preview_video
1877 (of-object "EmpathyTpCall")
1878 (c-name "empathy_tp_call_remove_preview_video")
1879 (return-type "none")
1881 '("guint" "preview_video_socket_id")
1885 (define-method add_output_video
1886 (of-object "EmpathyTpCall")
1887 (c-name "empathy_tp_call_add_output_video")
1888 (return-type "none")
1890 '("guint" "output_video_socket_id")
1894 (define-method set_output_volume
1895 (of-object "EmpathyTpCall")
1896 (c-name "empathy_tp_call_set_output_volume")
1897 (return-type "none")
1903 (define-method mute_output
1904 (of-object "EmpathyTpCall")
1905 (c-name "empathy_tp_call_mute_output")
1906 (return-type "none")
1908 '("gboolean" "is_muted")
1912 (define-method mute_input
1913 (of-object "EmpathyTpCall")
1914 (c-name "empathy_tp_call_mute_input")
1915 (return-type "none")
1917 '("gboolean" "is_muted")
1921 (define-method start_tone
1922 (of-object "EmpathyTpCall")
1923 (c-name "empathy_tp_call_start_tone")
1924 (return-type "none")
1926 '("TpDTMFEvent" "event")
1930 (define-method stop_tone
1931 (of-object "EmpathyTpCall")
1932 (c-name "empathy_tp_call_stop_tone")
1933 (return-type "none")
1936 (define-method has_dtmf
1937 (of-object "EmpathyTpCall")
1938 (c-name "empathy_tp_call_has_dtmf")
1939 (return-type "gboolean")
1944 ;; From empathy-tp-chat.h
1946 (define-function tp_chat_get_type
1947 (c-name "empathy_tp_chat_get_type")
1948 (return-type "GType")
1951 (define-function tp_chat_new
1952 (c-name "empathy_tp_chat_new")
1953 (is-constructor-of "EmpathyTpChat")
1954 (return-type "EmpathyTpChat*")
1956 '("TpChannel*" "channel")
1960 (define-method close
1961 (of-object "EmpathyTpChat")
1962 (c-name "empathy_tp_chat_close")
1963 (return-type "none")
1966 (define-method get_id
1967 (of-object "EmpathyTpChat")
1968 (c-name "empathy_tp_chat_get_id")
1969 (return-type "const-gchar*")
1972 (define-method get_remote_contact
1973 (of-object "EmpathyTpChat")
1974 (c-name "empathy_tp_chat_get_remote_contact")
1975 (return-type "EmpathyContact*")
1978 (define-method get_account
1979 (of-object "EmpathyTpChat")
1980 (c-name "empathy_tp_chat_get_account")
1981 (return-type "McAccount*")
1984 (define-method get_channel
1985 (of-object "EmpathyTpChat")
1986 (c-name "empathy_tp_chat_get_channel")
1987 (return-type "TpChannel*")
1990 (define-method is_ready
1991 (of-object "EmpathyTpChat")
1992 (c-name "empathy_tp_chat_is_ready")
1993 (return-type "gboolean")
1996 (define-method get_members_count
1997 (of-object "EmpathyTpChat")
1998 (c-name "empathy_tp_chat_get_members_count")
1999 (return-type "guint")
2003 (of-object "EmpathyTpChat")
2004 (c-name "empathy_tp_chat_send")
2005 (return-type "none")
2007 '("EmpathyMessage*" "message")
2011 (define-method set_state
2012 (of-object "EmpathyTpChat")
2013 (c-name "empathy_tp_chat_set_state")
2014 (return-type "none")
2016 '("TpChannelChatState" "state")
2020 (define-method set_property
2021 (of-object "EmpathyTpChat")
2022 (c-name "empathy_tp_chat_set_property")
2023 (return-type "none")
2025 '("const-gchar*" "name")
2026 '("const-GValue*" "value")
2030 (define-method get_pending_messages
2031 (of-object "EmpathyTpChat")
2032 (c-name "empathy_tp_chat_get_pending_messages")
2033 (return-type "const-GList*")
2036 (define-method acknowledge_message
2037 (of-object "EmpathyTpChat")
2038 (c-name "empathy_tp_chat_acknowledge_message")
2039 (return-type "none")
2041 '("EmpathyMessage*" "message")
2045 (define-method acknowledge_messages
2046 (of-object "EmpathyTpChat")
2047 (c-name "empathy_tp_chat_acknowledge_messages")
2048 (return-type "none")
2050 '("const-GList*" "messages")
2056 ;; From empathy-tp-contact-factory.h
2058 (define-function tp_contact_factory_get_type
2059 (c-name "empathy_tp_contact_factory_get_type")
2060 (return-type "GType")
2063 (define-function tp_contact_factory_new
2064 (c-name "empathy_tp_contact_factory_new")
2065 (is-constructor-of "EmpathyTpContactFactory")
2066 (return-type "EmpathyTpContactFactory*")
2068 '("McAccount*" "account")
2072 (define-method get_user
2073 (of-object "EmpathyTpContactFactory")
2074 (c-name "empathy_tp_contact_factory_get_user")
2075 (return-type "EmpathyContact*")
2078 (define-method get_from_id
2079 (of-object "EmpathyTpContactFactory")
2080 (c-name "empathy_tp_contact_factory_get_from_id")
2081 (return-type "EmpathyContact*")
2083 '("const-gchar*" "id")
2087 (define-method get_from_handle
2088 (of-object "EmpathyTpContactFactory")
2089 (c-name "empathy_tp_contact_factory_get_from_handle")
2090 (return-type "EmpathyContact*")
2096 (define-method get_from_handles
2097 (of-object "EmpathyTpContactFactory")
2098 (c-name "empathy_tp_contact_factory_get_from_handles")
2099 (return-type "GList*")
2101 '("const-GArray*" "handles")
2105 (define-method set_alias
2106 (of-object "EmpathyTpContactFactory")
2107 (c-name "empathy_tp_contact_factory_set_alias")
2108 (return-type "none")
2110 '("EmpathyContact*" "contact")
2111 '("const-gchar*" "alias")
2115 (define-method set_avatar
2116 (of-object "EmpathyTpContactFactory")
2117 (c-name "empathy_tp_contact_factory_set_avatar")
2118 (return-type "none")
2120 '("const-gchar*" "data")
2122 '("const-gchar*" "mime_type")
2126 (define-method is_ready
2127 (of-object "EmpathyTpContactFactory")
2128 (c-name "empathy_tp_contact_factory_is_ready")
2129 (return-type "gboolean")
2134 ;; From empathy-tp-contact-list.h
2136 (define-function tp_contact_list_get_type
2137 (c-name "empathy_tp_contact_list_get_type")
2138 (return-type "GType")
2141 (define-function tp_contact_list_new
2142 (c-name "empathy_tp_contact_list_new")
2143 (is-constructor-of "EmpathyTpContactList")
2144 (return-type "EmpathyTpContactList*")
2146 '("McAccount*" "account")
2150 (define-method get_account
2151 (of-object "EmpathyTpContactList")
2152 (c-name "empathy_tp_contact_list_get_account")
2153 (return-type "McAccount*")
2156 (define-method can_add
2157 (of-object "EmpathyTpContactList")
2158 (c-name "empathy_tp_contact_list_can_add")
2159 (return-type "gboolean")
2164 ;; From empathy-tp-file.h
2166 (define-function tp_file_get_type
2167 (c-name "empathy_tp_file_get_type")
2168 (return-type "GType")
2171 (define-function tp_file_new
2172 (c-name "empathy_tp_file_new")
2173 (is-constructor-of "EmpathyTpFile")
2174 (return-type "EmpathyTpFile*")
2176 '("TpChannel*" "channel")
2180 (define-method get_channel
2181 (of-object "EmpathyTpFile")
2182 (c-name "empathy_tp_file_get_channel")
2183 (return-type "TpChannel*")
2186 (define-method accept
2187 (of-object "EmpathyTpFile")
2188 (c-name "empathy_tp_file_accept")
2189 (return-type "none")
2191 '("guint64" "offset")
2193 '("GError**" "error")
2197 (define-method cancel
2198 (of-object "EmpathyTpFile")
2199 (c-name "empathy_tp_file_cancel")
2200 (return-type "none")
2203 (define-method close
2204 (of-object "EmpathyTpFile")
2205 (c-name "empathy_tp_file_close")
2206 (return-type "none")
2209 (define-method offer
2210 (of-object "EmpathyTpFile")
2211 (c-name "empathy_tp_file_offer")
2212 (return-type "none")
2215 '("GError**" "error")
2219 (define-method get_contact
2220 (of-object "EmpathyTpFile")
2221 (c-name "empathy_tp_file_get_contact")
2222 (return-type "EmpathyContact*")
2225 (define-method get_filename
2226 (of-object "EmpathyTpFile")
2227 (c-name "empathy_tp_file_get_filename")
2228 (return-type "const-gchar*")
2231 (define-method is_incoming
2232 (of-object "EmpathyTpFile")
2233 (c-name "empathy_tp_file_is_incoming")
2234 (return-type "gboolean")
2237 (define-method get_state
2238 (of-object "EmpathyTpFile")
2239 (c-name "empathy_tp_file_get_state")
2240 (return-type "guint")
2242 '("guint*" "reason")
2246 (define-method get_size
2247 (of-object "EmpathyTpFile")
2248 (c-name "empathy_tp_file_get_size")
2249 (return-type "guint64")
2252 (define-method get_transferred_bytes
2253 (of-object "EmpathyTpFile")
2254 (c-name "empathy_tp_file_get_transferred_bytes")
2255 (return-type "guint64")
2258 (define-method get_remaining_time
2259 (of-object "EmpathyTpFile")
2260 (c-name "empathy_tp_file_get_remaining_time")
2261 (return-type "gint")
2264 (define-method get_content_type
2265 (of-object "EmpathyTpFile")
2266 (c-name "empathy_tp_file_get_content_type")
2267 (return-type "const-gchar*")
2272 ;; From empathy-tp-group.h
2274 (define-function tp_group_get_type
2275 (c-name "empathy_tp_group_get_type")
2276 (return-type "GType")
2279 (define-function tp_group_new
2280 (c-name "empathy_tp_group_new")
2281 (is-constructor-of "EmpathyTpGroup")
2282 (return-type "EmpathyTpGroup*")
2284 '("TpChannel*" "channel")
2288 (define-method close
2289 (of-object "EmpathyTpGroup")
2290 (c-name "empathy_tp_group_close")
2291 (return-type "none")
2294 (define-method add_members
2295 (of-object "EmpathyTpGroup")
2296 (c-name "empathy_tp_group_add_members")
2297 (return-type "none")
2299 '("GList*" "contacts")
2300 '("const-gchar*" "message")
2304 (define-method add_member
2305 (of-object "EmpathyTpGroup")
2306 (c-name "empathy_tp_group_add_member")
2307 (return-type "none")
2309 '("EmpathyContact*" "contact")
2310 '("const-gchar*" "message")
2314 (define-method remove_members
2315 (of-object "EmpathyTpGroup")
2316 (c-name "empathy_tp_group_remove_members")
2317 (return-type "none")
2319 '("GList*" "contacts")
2320 '("const-gchar*" "message")
2324 (define-method remove_member
2325 (of-object "EmpathyTpGroup")
2326 (c-name "empathy_tp_group_remove_member")
2327 (return-type "none")
2329 '("EmpathyContact*" "contact")
2330 '("const-gchar*" "message")
2334 (define-method get_members
2335 (of-object "EmpathyTpGroup")
2336 (c-name "empathy_tp_group_get_members")
2337 (return-type "GList*")
2340 (define-method get_local_pendings
2341 (of-object "EmpathyTpGroup")
2342 (c-name "empathy_tp_group_get_local_pendings")
2343 (return-type "GList*")
2346 (define-method get_remote_pendings
2347 (of-object "EmpathyTpGroup")
2348 (c-name "empathy_tp_group_get_remote_pendings")
2349 (return-type "GList*")
2352 (define-method get_name
2353 (of-object "EmpathyTpGroup")
2354 (c-name "empathy_tp_group_get_name")
2355 (return-type "const-gchar*")
2358 (define-method get_self_contact
2359 (of-object "EmpathyTpGroup")
2360 (c-name "empathy_tp_group_get_self_contact")
2361 (return-type "EmpathyContact*")
2364 (define-method is_member
2365 (of-object "EmpathyTpGroup")
2366 (c-name "empathy_tp_group_is_member")
2367 (return-type "gboolean")
2369 '("EmpathyContact*" "contact")
2373 (define-method is_ready
2374 (of-object "EmpathyTpGroup")
2375 (c-name "empathy_tp_group_is_ready")
2376 (return-type "gboolean")
2379 (define-method get_invitation
2380 (of-object "EmpathyTpGroup")
2381 (c-name "empathy_tp_group_get_invitation")
2382 (return-type "EmpathyPendingInfo*")
2384 '("EmpathyContact**" "remote_contact")
2388 (define-function pending_info_new
2389 (c-name "empathy_pending_info_new")
2390 (is-constructor-of "EmpathyPendingInfo")
2391 (return-type "EmpathyPendingInfo*")
2393 '("EmpathyContact*" "member")
2394 '("EmpathyContact*" "actor")
2395 '("const-gchar*" "message")
2400 (of-object "EmpathyPendingInfo")
2401 (c-name "empathy_pending_info_free")
2402 (return-type "none")
2405 (define-method get_flags
2406 (of-object "EmpathyTpGroup")
2407 (c-name "empathy_tp_group_get_flags")
2408 (return-type "TpChannelGroupFlags")
2413 ;; From empathy-tp-roomlist.h
2415 (define-function tp_roomlist_get_type
2416 (c-name "empathy_tp_roomlist_get_type")
2417 (return-type "GType")
2420 (define-function tp_roomlist_new
2421 (c-name "empathy_tp_roomlist_new")
2422 (is-constructor-of "EmpathyTpRoomlist")
2423 (return-type "EmpathyTpRoomlist*")
2425 '("McAccount*" "account")
2429 (define-method is_listing
2430 (of-object "EmpathyTpRoomlist")
2431 (c-name "empathy_tp_roomlist_is_listing")
2432 (return-type "gboolean")
2435 (define-method start
2436 (of-object "EmpathyTpRoomlist")
2437 (c-name "empathy_tp_roomlist_start")
2438 (return-type "none")
2442 (of-object "EmpathyTpRoomlist")
2443 (c-name "empathy_tp_roomlist_stop")
2444 (return-type "none")
2449 ;; From empathy-tp-tube.h
2451 (define-function tp_tube_get_type
2452 (c-name "empathy_tp_tube_get_type")
2453 (return-type "GType")
2456 (define-function tp_tube_new
2457 (c-name "empathy_tp_tube_new")
2458 (is-constructor-of "EmpathyTpTube")
2459 (return-type "EmpathyTpTube*")
2461 '("TpChannel*" "channel")
2465 (define-function tp_tube_new_stream_tube
2466 (c-name "empathy_tp_tube_new_stream_tube")
2467 (return-type "EmpathyTpTube*")
2469 '("EmpathyContact*" "contact")
2470 '("TpSocketAddressType" "type")
2471 '("const-gchar*" "hostname")
2473 '("const-gchar*" "service")
2477 (define-method accept_stream_tube
2478 (of-object "EmpathyTpTube")
2479 (c-name "empathy_tp_tube_accept_stream_tube")
2480 (return-type "none")
2482 '("TpSocketAddressType" "type")
2483 '("EmpatyTpTubeAcceptStreamTubeCb*" "callback")
2484 '("gpointer" "user_data")
2490 ;; From empathy-tube-handler.h
2492 (define-function tube_handler_get_type
2493 (c-name "empathy_tube_handler_get_type")
2494 (return-type "GType")
2497 (define-function tube_handler_new
2498 (c-name "empathy_tube_handler_new")
2499 (is-constructor-of "EmpathyTubeHandler")
2500 (return-type "EmpathyTubeHandler*")
2502 '("EmpathyTubeType" "type")
2503 '("const-gchar*" "service")
2507 (define-function tube_handler_build_bus_name
2508 (c-name "empathy_tube_handler_build_bus_name")
2509 (return-type "gchar*")
2511 '("EmpathyTubeType" "type")
2512 '("const-gchar*" "service")
2516 (define-function tube_handler_build_object_path
2517 (c-name "empathy_tube_handler_build_object_path")
2518 (return-type "gchar*")
2520 '("EmpathyTubeType" "type")
2521 '("const-gchar*" "service")
2527 ;; From empathy-types.h
2531 ;; From empathy-utils.h
2533 (define-function init
2534 (c-name "empathy_init")
2535 (return-type "none")
2538 (define-function substring
2539 (c-name "empathy_substring")
2540 (return-type "gchar*")
2542 '("const-gchar*" "str")
2548 (define-function strcasecmp
2549 (c-name "empathy_strcasecmp")
2550 (return-type "gint")
2552 '("const-gchar*" "s1")
2553 '("const-gchar*" "s2")
2557 (define-function strncasecmp
2558 (c-name "empathy_strncasecmp")
2559 (return-type "gint")
2561 '("const-gchar*" "s1")
2562 '("const-gchar*" "s2")
2567 (define-function xml_validate
2568 (c-name "empathy_xml_validate")
2569 (return-type "gboolean")
2572 '("const-gchar*" "dtd_filename")
2576 (define-function xml_node_get_child
2577 (c-name "empathy_xml_node_get_child")
2578 (return-type "xmlNodePtr")
2580 '("xmlNodePtr" "node")
2581 '("const-gchar*" "child_name")
2585 (define-function xml_node_get_child_content
2586 (c-name "empathy_xml_node_get_child_content")
2587 (return-type "xmlChar*")
2589 '("xmlNodePtr" "node")
2590 '("const-gchar*" "child_name")
2594 (define-function xml_node_find_child_prop_value
2595 (c-name "empathy_xml_node_find_child_prop_value")
2596 (return-type "xmlNodePtr")
2598 '("xmlNodePtr" "node")
2599 '("const-gchar*" "prop_name")
2600 '("const-gchar*" "prop_value")
2604 (define-function account_hash
2605 (c-name "empathy_account_hash")
2606 (return-type "guint")
2608 '("gconstpointer" "key")
2612 (define-function account_equal
2613 (c-name "empathy_account_equal")
2614 (return-type "gboolean")
2616 '("gconstpointer" "a")
2617 '("gconstpointer" "b")
2621 (define-function mission_control_dup_singleton
2622 (c-name "empathy_mission_control_dup_singleton")
2623 (return-type "MissionControl*")
2626 (define-function presence_get_default_message
2627 (c-name "empathy_presence_get_default_message")
2628 (return-type "const-gchar*")
2630 '("McPresence" "presence")
2634 (define-function presence_to_str
2635 (c-name "empathy_presence_to_str")
2636 (return-type "const-gchar*")
2638 '("McPresence" "presence")
2642 (define-function presence_from_str
2643 (c-name "empathy_presence_from_str")
2644 (return-type "McPresence")
2646 '("const-gchar*" "str")
2650 (define-function file_lookup
2651 (c-name "empathy_file_lookup")
2652 (return-type "gchar*")
2654 '("const-gchar*" "filename")
2655 '("const-gchar*" "subdir")
2659 (define-function run_until_ready
2660 (c-name "empathy_run_until_ready")
2661 (return-type "none")
2663 '("gpointer" "object")
2667 (define-function run_until_ready_full
2668 (c-name "empathy_run_until_ready_full")
2669 (return-type "none")
2671 '("gpointer" "object")
2672 '("const-gchar*" "signal")
2673 '("EmpathyRunUntilReadyFunc" "func")
2674 '("gpointer" "user_data")
2675 '("GMainLoop**" "loop")
2679 (define-function channel_get_account
2680 (c-name "empathy_channel_get_account")
2681 (return-type "McAccount*")
2683 '("TpChannel*" "channel")
2687 (define-function proxy_equal
2688 (c-name "empathy_proxy_equal")
2689 (return-type "gboolean")
2691 '("gconstpointer" "a")
2692 '("gconstpointer" "b")
2696 (define-function proxy_hash
2697 (c-name "empathy_proxy_hash")
2698 (return-type "guint")
2700 '("gconstpointer" "key")
2704 (define-function check_available_state
2705 (c-name "empathy_check_available_state")
2706 (return-type "gboolean")
2709 (define-function start_call_with_contact
2710 (c-name "empathy_start_call_with_contact")
2711 (return-type "none")
2713 '("EmpathyContact*" "contact")