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-method create_channel
1077 (of-object "EmpathyDispatcher")
1078 (c-name "empathy_dispatcher_create_channel")
1079 (return-type "none")
1081 '("McAccount*" "account")
1082 '("GHashTable*" "request")
1083 '("EmpathyDispatcherRequestCb*" "callback")
1084 '("gpointer" "user_data")
1088 (define-function dispatcher_call_with_contact
1089 (c-name "empathy_dispatcher_call_with_contact")
1090 (return-type "none")
1092 '("EmpathyContact*" "contact")
1093 '("EmpathyDispatcherRequestCb*" "callback")
1094 '("gpointer" "user_data")
1098 (define-function dispatcher_chat_with_contact_id
1099 (c-name "empathy_dispatcher_chat_with_contact_id")
1100 (return-type "none")
1102 '("McAccount*" "account")
1103 '("const-gchar*" "contact_id")
1104 '("EmpathyDispatcherRequestCb*" "callback")
1105 '("gpointer" "user_data")
1109 (define-function dispatcher_chat_with_contact
1110 (c-name "empathy_dispatcher_chat_with_contact")
1111 (return-type "none")
1113 '("EmpathyContact*" "contact")
1114 '("EmpathyDispatcherRequestCb*" "callback")
1115 '("gpointer" "user_data")
1119 (define-function dispatcher_send_file_to_contact
1120 (c-name "empathy_dispatcher_send_file_to_contact")
1121 (return-type "none")
1123 '("EmpathyContact*" "contact")
1124 '("const-gchar*" "filename")
1127 '("const-gchar*" "content_type")
1128 '("EmpathyDispatcherRequestCb*" "callback")
1129 '("gpointer" "user_data")
1133 (define-function dispatcher_join_muc
1134 (c-name "empathy_dispatcher_join_muc")
1135 (return-type "none")
1137 '("McAccount*" "account")
1138 '("const-gchar*" "roomname")
1139 '("EmpathyDispatcherRequestCb*" "callback")
1140 '("gpointer" "user_data")
1144 (define-method find_channel_class
1145 (of-object "EmpathyDispatcher")
1146 (c-name "empathy_dispatcher_find_channel_class")
1147 (return-type "GStrv")
1149 '("McAccount*" "account")
1150 '("const-gchar*" "channel_type")
1151 '("guint" "handle_type")
1155 (define-function dispatcher_dup_singleton
1156 (c-name "empathy_dispatcher_dup_singleton")
1157 (return-type "EmpathyDispatcher*")
1162 ;; From empathy-dispatch-operation.h
1164 (define-function dispatch_operation_get_type
1165 (c-name "empathy_dispatch_operation_get_type")
1166 (return-type "GType")
1169 (define-function dispatch_operation_new
1170 (c-name "empathy_dispatch_operation_new")
1171 (is-constructor-of "EmpathyDispatchOperation")
1172 (return-type "EmpathyDispatchOperation*")
1174 '("TpConnection*" "connection")
1175 '("TpChannel*" "channel")
1176 '("EmpathyContact*" "contact")
1177 '("gboolean" "incoming")
1181 (define-function dispatch_operation_new_with_wrapper
1182 (c-name "empathy_dispatch_operation_new_with_wrapper")
1183 (return-type "EmpathyDispatchOperation*")
1185 '("TpConnection*" "connection")
1186 '("TpChannel*" "channel")
1187 '("EmpathyContact*" "contact")
1188 '("gboolean" "incoming")
1189 '("GObject*" "channel_wrapper")
1193 (define-method start
1194 (of-object "EmpathyDispatchOperation")
1195 (c-name "empathy_dispatch_operation_start")
1196 (return-type "none")
1199 (define-method approve
1200 (of-object "EmpathyDispatchOperation")
1201 (c-name "empathy_dispatch_operation_approve")
1202 (return-type "none")
1205 (define-method claim
1206 (of-object "EmpathyDispatchOperation")
1207 (c-name "empathy_dispatch_operation_claim")
1208 (return-type "gboolean")
1211 (define-method get_channel
1212 (of-object "EmpathyDispatchOperation")
1213 (c-name "empathy_dispatch_operation_get_channel")
1214 (return-type "TpChannel*")
1217 (define-method get_channel_wrapper
1218 (of-object "EmpathyDispatchOperation")
1219 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1220 (return-type "GObject*")
1223 (define-method get_tp_connection
1224 (of-object "EmpathyDispatchOperation")
1225 (c-name "empathy_dispatch_operation_get_tp_connection")
1226 (return-type "TpConnection*")
1229 (define-method get_channel_type
1230 (of-object "EmpathyDispatchOperation")
1231 (c-name "empathy_dispatch_operation_get_channel_type")
1232 (return-type "const-gchar*")
1235 (define-method get_channel_type_id
1236 (of-object "EmpathyDispatchOperation")
1237 (c-name "empathy_dispatch_operation_get_channel_type_id")
1238 (return-type "GQuark")
1241 (define-method get_object_path
1242 (of-object "EmpathyDispatchOperation")
1243 (c-name "empathy_dispatch_operation_get_object_path")
1244 (return-type "const-gchar*")
1247 (define-method get_status
1248 (of-object "EmpathyDispatchOperation")
1249 (c-name "empathy_dispatch_operation_get_status")
1250 (return-type "EmpathyDispatchOperationState")
1253 (define-method is_incoming
1254 (of-object "EmpathyDispatchOperation")
1255 (c-name "empathy_dispatch_operation_is_incoming")
1256 (return-type "gboolean")
1261 ;; From empathy-idle.h
1263 (define-function idle_get_type
1264 (c-name "empathy_idle_get_type")
1265 (return-type "GType")
1268 (define-function idle_dup_singleton
1269 (c-name "empathy_idle_dup_singleton")
1270 (return-type "EmpathyIdle*")
1273 (define-method get_state
1274 (of-object "EmpathyIdle")
1275 (c-name "empathy_idle_get_state")
1276 (return-type "McPresence")
1279 (define-method set_state
1280 (of-object "EmpathyIdle")
1281 (c-name "empathy_idle_set_state")
1282 (return-type "none")
1284 '("McPresence" "state")
1288 (define-method get_status
1289 (of-object "EmpathyIdle")
1290 (c-name "empathy_idle_get_status")
1291 (return-type "const-gchar*")
1294 (define-method set_status
1295 (of-object "EmpathyIdle")
1296 (c-name "empathy_idle_set_status")
1297 (return-type "none")
1299 '("const-gchar*" "status")
1303 (define-method get_flash_state
1304 (of-object "EmpathyIdle")
1305 (c-name "empathy_idle_get_flash_state")
1306 (return-type "McPresence")
1309 (define-method set_flash_state
1310 (of-object "EmpathyIdle")
1311 (c-name "empathy_idle_set_flash_state")
1312 (return-type "none")
1314 '("McPresence" "state")
1318 (define-method set_presence
1319 (of-object "EmpathyIdle")
1320 (c-name "empathy_idle_set_presence")
1321 (return-type "none")
1323 '("McPresence" "state")
1324 '("const-gchar*" "status")
1328 (define-method get_auto_away
1329 (of-object "EmpathyIdle")
1330 (c-name "empathy_idle_get_auto_away")
1331 (return-type "gboolean")
1334 (define-method set_auto_away
1335 (of-object "EmpathyIdle")
1336 (c-name "empathy_idle_set_auto_away")
1337 (return-type "none")
1339 '("gboolean" "auto_away")
1343 (define-method get_use_nm
1344 (of-object "EmpathyIdle")
1345 (c-name "empathy_idle_get_use_nm")
1346 (return-type "gboolean")
1349 (define-method set_use_nm
1350 (of-object "EmpathyIdle")
1351 (c-name "empathy_idle_set_use_nm")
1352 (return-type "none")
1354 '("gboolean" "use_nm")
1360 ;; From empathy-irc-network.h
1362 (define-function irc_network_get_type
1363 (c-name "empathy_irc_network_get_type")
1364 (return-type "GType")
1367 (define-function irc_network_new
1368 (c-name "empathy_irc_network_new")
1369 (is-constructor-of "EmpathyIrcNetwork")
1370 (return-type "EmpathyIrcNetwork*")
1372 '("const-gchar*" "name")
1376 (define-method get_servers
1377 (of-object "EmpathyIrcNetwork")
1378 (c-name "empathy_irc_network_get_servers")
1379 (return-type "GSList*")
1382 (define-method append_server
1383 (of-object "EmpathyIrcNetwork")
1384 (c-name "empathy_irc_network_append_server")
1385 (return-type "none")
1387 '("EmpathyIrcServer*" "server")
1391 (define-method remove_server
1392 (of-object "EmpathyIrcNetwork")
1393 (c-name "empathy_irc_network_remove_server")
1394 (return-type "none")
1396 '("EmpathyIrcServer*" "server")
1400 (define-method set_server_position
1401 (of-object "EmpathyIrcNetwork")
1402 (c-name "empathy_irc_network_set_server_position")
1403 (return-type "none")
1405 '("EmpathyIrcServer*" "server")
1412 ;; From empathy-irc-network-manager.h
1414 (define-function irc_network_manager_get_type
1415 (c-name "empathy_irc_network_manager_get_type")
1416 (return-type "GType")
1419 (define-function irc_network_manager_new
1420 (c-name "empathy_irc_network_manager_new")
1421 (is-constructor-of "EmpathyIrcNetworkManager")
1422 (return-type "EmpathyIrcNetworkManager*")
1424 '("const-gchar*" "global_file")
1425 '("const-gchar*" "user_file")
1430 (of-object "EmpathyIrcNetworkManager")
1431 (c-name "empathy_irc_network_manager_add")
1432 (return-type "none")
1434 '("EmpathyIrcNetwork*" "network")
1438 (define-method remove
1439 (of-object "EmpathyIrcNetworkManager")
1440 (c-name "empathy_irc_network_manager_remove")
1441 (return-type "none")
1443 '("EmpathyIrcNetwork*" "network")
1447 (define-method get_networks
1448 (of-object "EmpathyIrcNetworkManager")
1449 (c-name "empathy_irc_network_manager_get_networks")
1450 (return-type "GSList*")
1453 (define-method find_network_by_address
1454 (of-object "EmpathyIrcNetworkManager")
1455 (c-name "empathy_irc_network_manager_find_network_by_address")
1456 (return-type "EmpathyIrcNetwork*")
1458 '("const-gchar*" "address")
1464 ;; From empathy-irc-server.h
1466 (define-function irc_server_get_type
1467 (c-name "empathy_irc_server_get_type")
1468 (return-type "GType")
1471 (define-function irc_server_new
1472 (c-name "empathy_irc_server_new")
1473 (is-constructor-of "EmpathyIrcServer")
1474 (return-type "EmpathyIrcServer*")
1476 '("const-gchar*" "address")
1484 ;; From empathy-log-manager.h
1486 (define-function log_manager_get_type
1487 (c-name "empathy_log_manager_get_type")
1488 (return-type "GType")
1491 (define-function log_manager_dup_singleton
1492 (c-name "empathy_log_manager_dup_singleton")
1493 (return-type "EmpathyLogManager*")
1496 (define-method add_message
1497 (of-object "EmpathyLogManager")
1498 (c-name "empathy_log_manager_add_message")
1499 (return-type "none")
1501 '("const-gchar*" "chat_id")
1502 '("gboolean" "chatroom")
1503 '("EmpathyMessage*" "message")
1507 (define-method exists
1508 (of-object "EmpathyLogManager")
1509 (c-name "empathy_log_manager_exists")
1510 (return-type "gboolean")
1512 '("McAccount*" "account")
1513 '("const-gchar*" "chat_id")
1514 '("gboolean" "chatroom")
1518 (define-method get_dates
1519 (of-object "EmpathyLogManager")
1520 (c-name "empathy_log_manager_get_dates")
1521 (return-type "GList*")
1523 '("McAccount*" "account")
1524 '("const-gchar*" "chat_id")
1525 '("gboolean" "chatroom")
1529 (define-method get_messages_for_file
1530 (of-object "EmpathyLogManager")
1531 (c-name "empathy_log_manager_get_messages_for_file")
1532 (return-type "GList*")
1534 '("const-gchar*" "filename")
1538 (define-method get_messages_for_date
1539 (of-object "EmpathyLogManager")
1540 (c-name "empathy_log_manager_get_messages_for_date")
1541 (return-type "GList*")
1543 '("McAccount*" "account")
1544 '("const-gchar*" "chat_id")
1545 '("gboolean" "chatroom")
1546 '("const-gchar*" "date")
1550 (define-method get_last_messages
1551 (of-object "EmpathyLogManager")
1552 (c-name "empathy_log_manager_get_last_messages")
1553 (return-type "GList*")
1555 '("McAccount*" "account")
1556 '("const-gchar*" "chat_id")
1557 '("gboolean" "chatroom")
1561 (define-method get_messages_for_file
1562 (of-object "EmpathyLogManager")
1563 (c-name "empathy_log_manager_get_messages_for_file")
1564 (return-type "GList*")
1566 '("const-gchar*" "filename")
1570 (define-method get_chats
1571 (of-object "EmpathyLogManager")
1572 (c-name "empathy_log_manager_get_chats")
1573 (return-type "GList*")
1575 '("McAccount*" "account")
1579 (define-method search_new
1580 (of-object "EmpathyLogManager")
1581 (c-name "empathy_log_manager_search_new")
1582 (return-type "GList*")
1584 '("const-gchar*" "text")
1588 (define-function log_manager_search_free
1589 (c-name "empathy_log_manager_search_free")
1590 (return-type "none")
1596 (define-function log_manager_get_date_readable
1597 (c-name "empathy_log_manager_get_date_readable")
1598 (return-type "gchar*")
1600 '("const-gchar*" "date")
1606 ;; From empathy-message.h
1608 (define-function message_get_type
1609 (c-name "empathy_message_get_type")
1610 (return-type "GType")
1613 (define-function message_new
1614 (c-name "empathy_message_new")
1615 (is-constructor-of "EmpathyMessage")
1616 (return-type "EmpathyMessage*")
1618 '("const-gchar*" "body")
1622 (define-method get_tptype
1623 (of-object "EmpathyMessage")
1624 (c-name "empathy_message_get_tptype")
1625 (return-type "TpChannelTextMessageType")
1628 (define-method set_tptype
1629 (of-object "EmpathyMessage")
1630 (c-name "empathy_message_set_tptype")
1631 (return-type "none")
1633 '("TpChannelTextMessageType" "type")
1637 (define-method get_sender
1638 (of-object "EmpathyMessage")
1639 (c-name "empathy_message_get_sender")
1640 (return-type "EmpathyContact*")
1643 (define-method set_sender
1644 (of-object "EmpathyMessage")
1645 (c-name "empathy_message_set_sender")
1646 (return-type "none")
1648 '("EmpathyContact*" "contact")
1652 (define-method get_receiver
1653 (of-object "EmpathyMessage")
1654 (c-name "empathy_message_get_receiver")
1655 (return-type "EmpathyContact*")
1658 (define-method set_receiver
1659 (of-object "EmpathyMessage")
1660 (c-name "empathy_message_set_receiver")
1661 (return-type "none")
1663 '("EmpathyContact*" "contact")
1667 (define-method get_body
1668 (of-object "EmpathyMessage")
1669 (c-name "empathy_message_get_body")
1670 (return-type "const-gchar*")
1673 (define-method set_body
1674 (of-object "EmpathyMessage")
1675 (c-name "empathy_message_set_body")
1676 (return-type "none")
1678 '("const-gchar*" "body")
1682 (define-method get_timestamp
1683 (of-object "EmpathyMessage")
1684 (c-name "empathy_message_get_timestamp")
1685 (return-type "time_t")
1688 (define-method set_timestamp
1689 (of-object "EmpathyMessage")
1690 (c-name "empathy_message_set_timestamp")
1691 (return-type "none")
1693 '("time_t" "timestamp")
1697 (define-method should_highlight
1698 (of-object "EmpathyMessage")
1699 (c-name "empathy_message_should_highlight")
1700 (return-type "gboolean")
1703 (define-function message_type_from_str
1704 (c-name "empathy_message_type_from_str")
1705 (return-type "TpChannelTextMessageType")
1707 '("const-gchar*" "type_str")
1711 (define-function message_type_to_str
1712 (c-name "empathy_message_type_to_str")
1713 (return-type "const-gchar*")
1715 '("TpChannelTextMessageType" "type")
1719 (define-method get_id
1720 (of-object "EmpathyMessage")
1721 (c-name "empathy_message_get_id")
1722 (return-type "guint")
1725 (define-method set_id
1726 (of-object "EmpathyMessage")
1727 (c-name "empathy_message_set_id")
1728 (return-type "none")
1736 ;; From empathy-status-presets.h
1738 (define-function status_presets_get_all
1739 (c-name "empathy_status_presets_get_all")
1740 (return-type "none")
1743 (define-function status_presets_get
1744 (c-name "empathy_status_presets_get")
1745 (return-type "GList*")
1747 '("McPresence" "state")
1748 '("gint" "max_number")
1752 (define-function status_presets_set_last
1753 (c-name "empathy_status_presets_set_last")
1754 (return-type "none")
1756 '("McPresence" "state")
1757 '("const-gchar*" "status")
1761 (define-function status_presets_remove
1762 (c-name "empathy_status_presets_remove")
1763 (return-type "none")
1765 '("McPresence" "state")
1766 '("const-gchar*" "status")
1770 (define-function status_presets_reset
1771 (c-name "empathy_status_presets_reset")
1772 (return-type "none")
1775 (define-function status_presets_get_default_state
1776 (c-name "empathy_status_presets_get_default_state")
1777 (return-type "McPresence")
1780 (define-function status_presets_get_default_status
1781 (c-name "empathy_status_presets_get_default_status")
1782 (return-type "const-gchar*")
1785 (define-function status_presets_set_default
1786 (c-name "empathy_status_presets_set_default")
1787 (return-type "none")
1789 '("McPresence" "state")
1790 '("const-gchar*" "status")
1794 (define-function status_presets_clear_default
1795 (c-name "empathy_status_presets_clear_default")
1796 (return-type "none")
1801 ;; From empathy-time.h
1803 (define-function time_get_current
1804 (c-name "empathy_time_get_current")
1805 (return-type "time_t")
1808 (define-function time_get_local_time
1809 (c-name "empathy_time_get_local_time")
1810 (return-type "time_t")
1812 '("struct-tm*" "tm")
1816 (define-function time_parse
1817 (c-name "empathy_time_parse")
1818 (return-type "time_t")
1820 '("const-gchar*" "str")
1824 (define-function time_to_string_utc
1825 (c-name "empathy_time_to_string_utc")
1826 (return-type "gchar*")
1829 '("const-gchar*" "format")
1833 (define-function time_to_string_local
1834 (c-name "empathy_time_to_string_local")
1835 (return-type "gchar*")
1838 '("const-gchar*" "format")
1844 ;; From empathy-tp-call.h
1846 (define-function tp_call_get_type
1847 (c-name "empathy_tp_call_get_type")
1848 (return-type "GType")
1851 (define-function tp_call_new
1852 (c-name "empathy_tp_call_new")
1853 (is-constructor-of "EmpathyTpCall")
1854 (return-type "EmpathyTpCall*")
1856 '("TpChannel*" "channel")
1860 (define-method close
1861 (of-object "EmpathyTpCall")
1862 (c-name "empathy_tp_call_close")
1863 (return-type "none")
1867 (of-object "EmpathyTpCall")
1868 (c-name "empathy_tp_call_to")
1869 (return-type "none")
1871 '("EmpathyContact*" "contact")
1875 (define-method accept_incoming_call
1876 (of-object "EmpathyTpCall")
1877 (c-name "empathy_tp_call_accept_incoming_call")
1878 (return-type "none")
1881 (define-method request_video_stream_direction
1882 (of-object "EmpathyTpCall")
1883 (c-name "empathy_tp_call_request_video_stream_direction")
1884 (return-type "none")
1886 '("gboolean" "is_sending")
1890 (define-method add_preview_video
1891 (of-object "EmpathyTpCall")
1892 (c-name "empathy_tp_call_add_preview_video")
1893 (return-type "none")
1895 '("guint" "preview_video_socket_id")
1899 (define-method remove_preview_video
1900 (of-object "EmpathyTpCall")
1901 (c-name "empathy_tp_call_remove_preview_video")
1902 (return-type "none")
1904 '("guint" "preview_video_socket_id")
1908 (define-method add_output_video
1909 (of-object "EmpathyTpCall")
1910 (c-name "empathy_tp_call_add_output_video")
1911 (return-type "none")
1913 '("guint" "output_video_socket_id")
1917 (define-method set_output_volume
1918 (of-object "EmpathyTpCall")
1919 (c-name "empathy_tp_call_set_output_volume")
1920 (return-type "none")
1926 (define-method mute_output
1927 (of-object "EmpathyTpCall")
1928 (c-name "empathy_tp_call_mute_output")
1929 (return-type "none")
1931 '("gboolean" "is_muted")
1935 (define-method mute_input
1936 (of-object "EmpathyTpCall")
1937 (c-name "empathy_tp_call_mute_input")
1938 (return-type "none")
1940 '("gboolean" "is_muted")
1944 (define-method start_tone
1945 (of-object "EmpathyTpCall")
1946 (c-name "empathy_tp_call_start_tone")
1947 (return-type "none")
1949 '("TpDTMFEvent" "event")
1953 (define-method stop_tone
1954 (of-object "EmpathyTpCall")
1955 (c-name "empathy_tp_call_stop_tone")
1956 (return-type "none")
1959 (define-method has_dtmf
1960 (of-object "EmpathyTpCall")
1961 (c-name "empathy_tp_call_has_dtmf")
1962 (return-type "gboolean")
1967 ;; From empathy-tp-chat.h
1969 (define-function tp_chat_get_type
1970 (c-name "empathy_tp_chat_get_type")
1971 (return-type "GType")
1974 (define-function tp_chat_new
1975 (c-name "empathy_tp_chat_new")
1976 (is-constructor-of "EmpathyTpChat")
1977 (return-type "EmpathyTpChat*")
1979 '("TpChannel*" "channel")
1983 (define-method close
1984 (of-object "EmpathyTpChat")
1985 (c-name "empathy_tp_chat_close")
1986 (return-type "none")
1989 (define-method get_id
1990 (of-object "EmpathyTpChat")
1991 (c-name "empathy_tp_chat_get_id")
1992 (return-type "const-gchar*")
1995 (define-method get_remote_contact
1996 (of-object "EmpathyTpChat")
1997 (c-name "empathy_tp_chat_get_remote_contact")
1998 (return-type "EmpathyContact*")
2001 (define-method get_account
2002 (of-object "EmpathyTpChat")
2003 (c-name "empathy_tp_chat_get_account")
2004 (return-type "McAccount*")
2007 (define-method get_channel
2008 (of-object "EmpathyTpChat")
2009 (c-name "empathy_tp_chat_get_channel")
2010 (return-type "TpChannel*")
2013 (define-method is_ready
2014 (of-object "EmpathyTpChat")
2015 (c-name "empathy_tp_chat_is_ready")
2016 (return-type "gboolean")
2019 (define-method get_members_count
2020 (of-object "EmpathyTpChat")
2021 (c-name "empathy_tp_chat_get_members_count")
2022 (return-type "guint")
2026 (of-object "EmpathyTpChat")
2027 (c-name "empathy_tp_chat_send")
2028 (return-type "none")
2030 '("EmpathyMessage*" "message")
2034 (define-method set_state
2035 (of-object "EmpathyTpChat")
2036 (c-name "empathy_tp_chat_set_state")
2037 (return-type "none")
2039 '("TpChannelChatState" "state")
2043 (define-method set_property
2044 (of-object "EmpathyTpChat")
2045 (c-name "empathy_tp_chat_set_property")
2046 (return-type "none")
2048 '("const-gchar*" "name")
2049 '("const-GValue*" "value")
2053 (define-method get_pending_messages
2054 (of-object "EmpathyTpChat")
2055 (c-name "empathy_tp_chat_get_pending_messages")
2056 (return-type "const-GList*")
2059 (define-method acknowledge_message
2060 (of-object "EmpathyTpChat")
2061 (c-name "empathy_tp_chat_acknowledge_message")
2062 (return-type "none")
2064 '("EmpathyMessage*" "message")
2068 (define-method acknowledge_messages
2069 (of-object "EmpathyTpChat")
2070 (c-name "empathy_tp_chat_acknowledge_messages")
2071 (return-type "none")
2073 '("const-GList*" "messages")
2079 ;; From empathy-tp-contact-factory.h
2081 (define-function tp_contact_factory_get_type
2082 (c-name "empathy_tp_contact_factory_get_type")
2083 (return-type "GType")
2086 (define-function tp_contact_factory_new
2087 (c-name "empathy_tp_contact_factory_new")
2088 (is-constructor-of "EmpathyTpContactFactory")
2089 (return-type "EmpathyTpContactFactory*")
2091 '("McAccount*" "account")
2095 (define-method get_user
2096 (of-object "EmpathyTpContactFactory")
2097 (c-name "empathy_tp_contact_factory_get_user")
2098 (return-type "EmpathyContact*")
2101 (define-method get_from_id
2102 (of-object "EmpathyTpContactFactory")
2103 (c-name "empathy_tp_contact_factory_get_from_id")
2104 (return-type "EmpathyContact*")
2106 '("const-gchar*" "id")
2110 (define-method get_from_handle
2111 (of-object "EmpathyTpContactFactory")
2112 (c-name "empathy_tp_contact_factory_get_from_handle")
2113 (return-type "EmpathyContact*")
2119 (define-method get_from_handles
2120 (of-object "EmpathyTpContactFactory")
2121 (c-name "empathy_tp_contact_factory_get_from_handles")
2122 (return-type "GList*")
2124 '("const-GArray*" "handles")
2128 (define-method set_alias
2129 (of-object "EmpathyTpContactFactory")
2130 (c-name "empathy_tp_contact_factory_set_alias")
2131 (return-type "none")
2133 '("EmpathyContact*" "contact")
2134 '("const-gchar*" "alias")
2138 (define-method set_avatar
2139 (of-object "EmpathyTpContactFactory")
2140 (c-name "empathy_tp_contact_factory_set_avatar")
2141 (return-type "none")
2143 '("const-gchar*" "data")
2145 '("const-gchar*" "mime_type")
2149 (define-method is_ready
2150 (of-object "EmpathyTpContactFactory")
2151 (c-name "empathy_tp_contact_factory_is_ready")
2152 (return-type "gboolean")
2157 ;; From empathy-tp-contact-list.h
2159 (define-function tp_contact_list_get_type
2160 (c-name "empathy_tp_contact_list_get_type")
2161 (return-type "GType")
2164 (define-function tp_contact_list_new
2165 (c-name "empathy_tp_contact_list_new")
2166 (is-constructor-of "EmpathyTpContactList")
2167 (return-type "EmpathyTpContactList*")
2169 '("McAccount*" "account")
2173 (define-method get_account
2174 (of-object "EmpathyTpContactList")
2175 (c-name "empathy_tp_contact_list_get_account")
2176 (return-type "McAccount*")
2179 (define-method can_add
2180 (of-object "EmpathyTpContactList")
2181 (c-name "empathy_tp_contact_list_can_add")
2182 (return-type "gboolean")
2187 ;; From empathy-tp-file.h
2189 (define-function tp_file_get_type
2190 (c-name "empathy_tp_file_get_type")
2191 (return-type "GType")
2194 (define-function tp_file_new
2195 (c-name "empathy_tp_file_new")
2196 (is-constructor-of "EmpathyTpFile")
2197 (return-type "EmpathyTpFile*")
2199 '("TpChannel*" "channel")
2203 (define-method get_channel
2204 (of-object "EmpathyTpFile")
2205 (c-name "empathy_tp_file_get_channel")
2206 (return-type "TpChannel*")
2209 (define-method accept
2210 (of-object "EmpathyTpFile")
2211 (c-name "empathy_tp_file_accept")
2212 (return-type "none")
2214 '("guint64" "offset")
2216 '("GError**" "error")
2220 (define-method cancel
2221 (of-object "EmpathyTpFile")
2222 (c-name "empathy_tp_file_cancel")
2223 (return-type "none")
2226 (define-method close
2227 (of-object "EmpathyTpFile")
2228 (c-name "empathy_tp_file_close")
2229 (return-type "none")
2232 (define-method offer
2233 (of-object "EmpathyTpFile")
2234 (c-name "empathy_tp_file_offer")
2235 (return-type "none")
2238 '("GError**" "error")
2242 (define-method get_contact
2243 (of-object "EmpathyTpFile")
2244 (c-name "empathy_tp_file_get_contact")
2245 (return-type "EmpathyContact*")
2248 (define-method get_filename
2249 (of-object "EmpathyTpFile")
2250 (c-name "empathy_tp_file_get_filename")
2251 (return-type "const-gchar*")
2254 (define-method is_incoming
2255 (of-object "EmpathyTpFile")
2256 (c-name "empathy_tp_file_is_incoming")
2257 (return-type "gboolean")
2260 (define-method get_state
2261 (of-object "EmpathyTpFile")
2262 (c-name "empathy_tp_file_get_state")
2263 (return-type "guint")
2265 '("guint*" "reason")
2269 (define-method get_size
2270 (of-object "EmpathyTpFile")
2271 (c-name "empathy_tp_file_get_size")
2272 (return-type "guint64")
2275 (define-method get_transferred_bytes
2276 (of-object "EmpathyTpFile")
2277 (c-name "empathy_tp_file_get_transferred_bytes")
2278 (return-type "guint64")
2281 (define-method get_remaining_time
2282 (of-object "EmpathyTpFile")
2283 (c-name "empathy_tp_file_get_remaining_time")
2284 (return-type "gint")
2287 (define-method get_content_type
2288 (of-object "EmpathyTpFile")
2289 (c-name "empathy_tp_file_get_content_type")
2290 (return-type "const-gchar*")
2295 ;; From empathy-tp-group.h
2297 (define-function tp_group_get_type
2298 (c-name "empathy_tp_group_get_type")
2299 (return-type "GType")
2302 (define-function tp_group_new
2303 (c-name "empathy_tp_group_new")
2304 (is-constructor-of "EmpathyTpGroup")
2305 (return-type "EmpathyTpGroup*")
2307 '("TpChannel*" "channel")
2311 (define-method close
2312 (of-object "EmpathyTpGroup")
2313 (c-name "empathy_tp_group_close")
2314 (return-type "none")
2317 (define-method add_members
2318 (of-object "EmpathyTpGroup")
2319 (c-name "empathy_tp_group_add_members")
2320 (return-type "none")
2322 '("GList*" "contacts")
2323 '("const-gchar*" "message")
2327 (define-method add_member
2328 (of-object "EmpathyTpGroup")
2329 (c-name "empathy_tp_group_add_member")
2330 (return-type "none")
2332 '("EmpathyContact*" "contact")
2333 '("const-gchar*" "message")
2337 (define-method remove_members
2338 (of-object "EmpathyTpGroup")
2339 (c-name "empathy_tp_group_remove_members")
2340 (return-type "none")
2342 '("GList*" "contacts")
2343 '("const-gchar*" "message")
2347 (define-method remove_member
2348 (of-object "EmpathyTpGroup")
2349 (c-name "empathy_tp_group_remove_member")
2350 (return-type "none")
2352 '("EmpathyContact*" "contact")
2353 '("const-gchar*" "message")
2357 (define-method get_members
2358 (of-object "EmpathyTpGroup")
2359 (c-name "empathy_tp_group_get_members")
2360 (return-type "GList*")
2363 (define-method get_local_pendings
2364 (of-object "EmpathyTpGroup")
2365 (c-name "empathy_tp_group_get_local_pendings")
2366 (return-type "GList*")
2369 (define-method get_remote_pendings
2370 (of-object "EmpathyTpGroup")
2371 (c-name "empathy_tp_group_get_remote_pendings")
2372 (return-type "GList*")
2375 (define-method get_name
2376 (of-object "EmpathyTpGroup")
2377 (c-name "empathy_tp_group_get_name")
2378 (return-type "const-gchar*")
2381 (define-method get_self_contact
2382 (of-object "EmpathyTpGroup")
2383 (c-name "empathy_tp_group_get_self_contact")
2384 (return-type "EmpathyContact*")
2387 (define-method is_member
2388 (of-object "EmpathyTpGroup")
2389 (c-name "empathy_tp_group_is_member")
2390 (return-type "gboolean")
2392 '("EmpathyContact*" "contact")
2396 (define-method is_ready
2397 (of-object "EmpathyTpGroup")
2398 (c-name "empathy_tp_group_is_ready")
2399 (return-type "gboolean")
2402 (define-method get_invitation
2403 (of-object "EmpathyTpGroup")
2404 (c-name "empathy_tp_group_get_invitation")
2405 (return-type "EmpathyPendingInfo*")
2407 '("EmpathyContact**" "remote_contact")
2411 (define-function pending_info_new
2412 (c-name "empathy_pending_info_new")
2413 (is-constructor-of "EmpathyPendingInfo")
2414 (return-type "EmpathyPendingInfo*")
2416 '("EmpathyContact*" "member")
2417 '("EmpathyContact*" "actor")
2418 '("const-gchar*" "message")
2423 (of-object "EmpathyPendingInfo")
2424 (c-name "empathy_pending_info_free")
2425 (return-type "none")
2428 (define-method get_flags
2429 (of-object "EmpathyTpGroup")
2430 (c-name "empathy_tp_group_get_flags")
2431 (return-type "TpChannelGroupFlags")
2436 ;; From empathy-tp-roomlist.h
2438 (define-function tp_roomlist_get_type
2439 (c-name "empathy_tp_roomlist_get_type")
2440 (return-type "GType")
2443 (define-function tp_roomlist_new
2444 (c-name "empathy_tp_roomlist_new")
2445 (is-constructor-of "EmpathyTpRoomlist")
2446 (return-type "EmpathyTpRoomlist*")
2448 '("McAccount*" "account")
2452 (define-method is_listing
2453 (of-object "EmpathyTpRoomlist")
2454 (c-name "empathy_tp_roomlist_is_listing")
2455 (return-type "gboolean")
2458 (define-method start
2459 (of-object "EmpathyTpRoomlist")
2460 (c-name "empathy_tp_roomlist_start")
2461 (return-type "none")
2465 (of-object "EmpathyTpRoomlist")
2466 (c-name "empathy_tp_roomlist_stop")
2467 (return-type "none")
2472 ;; From empathy-tp-tube.h
2474 (define-function tp_tube_get_type
2475 (c-name "empathy_tp_tube_get_type")
2476 (return-type "GType")
2479 (define-function tp_tube_new
2480 (c-name "empathy_tp_tube_new")
2481 (is-constructor-of "EmpathyTpTube")
2482 (return-type "EmpathyTpTube*")
2484 '("TpChannel*" "channel")
2488 (define-function tp_tube_new_stream_tube
2489 (c-name "empathy_tp_tube_new_stream_tube")
2490 (return-type "EmpathyTpTube*")
2492 '("EmpathyContact*" "contact")
2493 '("TpSocketAddressType" "type")
2494 '("const-gchar*" "hostname")
2496 '("const-gchar*" "service")
2500 (define-method accept_stream_tube
2501 (of-object "EmpathyTpTube")
2502 (c-name "empathy_tp_tube_accept_stream_tube")
2503 (return-type "none")
2505 '("TpSocketAddressType" "type")
2506 '("EmpatyTpTubeAcceptStreamTubeCb*" "callback")
2507 '("gpointer" "user_data")
2513 ;; From empathy-tube-handler.h
2515 (define-function tube_handler_get_type
2516 (c-name "empathy_tube_handler_get_type")
2517 (return-type "GType")
2520 (define-function tube_handler_new
2521 (c-name "empathy_tube_handler_new")
2522 (is-constructor-of "EmpathyTubeHandler")
2523 (return-type "EmpathyTubeHandler*")
2525 '("EmpathyTubeType" "type")
2526 '("const-gchar*" "service")
2530 (define-function tube_handler_build_bus_name
2531 (c-name "empathy_tube_handler_build_bus_name")
2532 (return-type "gchar*")
2534 '("EmpathyTubeType" "type")
2535 '("const-gchar*" "service")
2539 (define-function tube_handler_build_object_path
2540 (c-name "empathy_tube_handler_build_object_path")
2541 (return-type "gchar*")
2543 '("EmpathyTubeType" "type")
2544 '("const-gchar*" "service")
2550 ;; From empathy-types.h
2554 ;; From empathy-utils.h
2556 (define-function init
2557 (c-name "empathy_init")
2558 (return-type "none")
2561 (define-function substring
2562 (c-name "empathy_substring")
2563 (return-type "gchar*")
2565 '("const-gchar*" "str")
2571 (define-function strcasecmp
2572 (c-name "empathy_strcasecmp")
2573 (return-type "gint")
2575 '("const-gchar*" "s1")
2576 '("const-gchar*" "s2")
2580 (define-function strncasecmp
2581 (c-name "empathy_strncasecmp")
2582 (return-type "gint")
2584 '("const-gchar*" "s1")
2585 '("const-gchar*" "s2")
2590 (define-function xml_validate
2591 (c-name "empathy_xml_validate")
2592 (return-type "gboolean")
2595 '("const-gchar*" "dtd_filename")
2599 (define-function xml_node_get_child
2600 (c-name "empathy_xml_node_get_child")
2601 (return-type "xmlNodePtr")
2603 '("xmlNodePtr" "node")
2604 '("const-gchar*" "child_name")
2608 (define-function xml_node_get_child_content
2609 (c-name "empathy_xml_node_get_child_content")
2610 (return-type "xmlChar*")
2612 '("xmlNodePtr" "node")
2613 '("const-gchar*" "child_name")
2617 (define-function xml_node_find_child_prop_value
2618 (c-name "empathy_xml_node_find_child_prop_value")
2619 (return-type "xmlNodePtr")
2621 '("xmlNodePtr" "node")
2622 '("const-gchar*" "prop_name")
2623 '("const-gchar*" "prop_value")
2627 (define-function account_hash
2628 (c-name "empathy_account_hash")
2629 (return-type "guint")
2631 '("gconstpointer" "key")
2635 (define-function account_equal
2636 (c-name "empathy_account_equal")
2637 (return-type "gboolean")
2639 '("gconstpointer" "a")
2640 '("gconstpointer" "b")
2644 (define-function mission_control_dup_singleton
2645 (c-name "empathy_mission_control_dup_singleton")
2646 (return-type "MissionControl*")
2649 (define-function presence_get_default_message
2650 (c-name "empathy_presence_get_default_message")
2651 (return-type "const-gchar*")
2653 '("McPresence" "presence")
2657 (define-function presence_to_str
2658 (c-name "empathy_presence_to_str")
2659 (return-type "const-gchar*")
2661 '("McPresence" "presence")
2665 (define-function presence_from_str
2666 (c-name "empathy_presence_from_str")
2667 (return-type "McPresence")
2669 '("const-gchar*" "str")
2673 (define-function file_lookup
2674 (c-name "empathy_file_lookup")
2675 (return-type "gchar*")
2677 '("const-gchar*" "filename")
2678 '("const-gchar*" "subdir")
2682 (define-function run_until_ready
2683 (c-name "empathy_run_until_ready")
2684 (return-type "none")
2686 '("gpointer" "object")
2690 (define-function run_until_ready_full
2691 (c-name "empathy_run_until_ready_full")
2692 (return-type "none")
2694 '("gpointer" "object")
2695 '("const-gchar*" "signal")
2696 '("EmpathyRunUntilReadyFunc" "func")
2697 '("gpointer" "user_data")
2698 '("GMainLoop**" "loop")
2702 (define-function channel_get_account
2703 (c-name "empathy_channel_get_account")
2704 (return-type "McAccount*")
2706 '("TpChannel*" "channel")
2710 (define-function proxy_equal
2711 (c-name "empathy_proxy_equal")
2712 (return-type "gboolean")
2714 '("gconstpointer" "a")
2715 '("gconstpointer" "b")
2719 (define-function proxy_hash
2720 (c-name "empathy_proxy_hash")
2721 (return-type "guint")
2723 '("gconstpointer" "key")
2727 (define-function check_available_state
2728 (c-name "empathy_check_available_state")
2729 (return-type "gboolean")