2 ; object definitions ...
3 (define-object AccountManager
6 (c-name "EmpathyAccountManager")
7 (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
10 (define-object CallFactory
13 (c-name "EmpathyCallFactory")
14 (gtype-id "EMPATHY_TYPE_CALL_FACTORY")
17 (define-object CallHandler
20 (c-name "EmpathyCallHandler")
21 (gtype-id "EMPATHY_TYPE_CALL_HANDLER")
24 (define-object Chatroom
27 (c-name "EmpathyChatroom")
28 (gtype-id "EMPATHY_TYPE_CHATROOM")
31 (define-object ChatroomManager
34 (c-name "EmpathyChatroomManager")
35 (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
38 (define-object Contact
41 (c-name "EmpathyContact")
42 (gtype-id "EMPATHY_TYPE_CONTACT")
45 (define-object ContactFactory
48 (c-name "EmpathyContactFactory")
49 (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
52 (define-interface ContactList
54 (c-name "EmpathyContactList")
55 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
58 (define-object ContactManager
61 (implements "EmpathyContactList")
62 (c-name "EmpathyContactManager")
63 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
66 (define-object ContactMonitor
69 (c-name "EmpathyContactMonitor")
70 (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
73 (define-object DispatchOperation
76 (c-name "EmpathyDispatchOperation")
77 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
80 (define-object Dispatcher
83 (c-name "EmpathyDispatcher")
84 (gtype-id "EMPATHY_TYPE_DISPATCHER")
90 (c-name "EmpathyIdle")
91 (gtype-id "EMPATHY_TYPE_IDLE")
94 (define-object IrcNetwork
97 (c-name "EmpathyIrcNetwork")
98 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
101 (define-object IrcNetworkManager
102 (in-module "Empathy")
104 (c-name "EmpathyIrcNetworkManager")
105 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
108 (define-object IrcServer
109 (in-module "Empathy")
111 (c-name "EmpathyIrcServer")
112 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
115 (define-object LogManager
116 (in-module "Empathy")
118 (c-name "EmpathyLogManager")
119 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
122 (define-object LogStoreEmpathy
123 (in-module "Empathy")
125 (c-name "EmpathyLogStoreEmpathy")
126 (gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
129 (define-object Message
130 (in-module "Empathy")
132 (c-name "EmpathyMessage")
133 (gtype-id "EMPATHY_TYPE_MESSAGE")
136 (define-object TpCall
137 (in-module "Empathy")
139 (c-name "EmpathyTpCall")
140 (gtype-id "EMPATHY_TYPE_TP_CALL")
143 (define-object TpChat
144 (in-module "Empathy")
146 (c-name "EmpathyTpChat")
147 (gtype-id "EMPATHY_TYPE_TP_CHAT")
150 (define-object TpContactFactory
151 (in-module "Empathy")
153 (c-name "EmpathyTpContactFactory")
154 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
157 (define-object TpContactList
158 (in-module "Empathy")
160 (implements "EmpathyContactList")
161 (c-name "EmpathyTpContactList")
162 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
165 (define-object TpFile
166 (in-module "Empathy")
168 (c-name "EmpathyTpFile")
169 (gtype-id "EMPATHY_TYPE_TP_FILE")
172 (define-object TpGroup
173 (in-module "Empathy")
175 (c-name "EmpathyTpGroup")
176 (gtype-id "EMPATHY_TYPE_TP_GROUP")
179 (define-object TpRoomlist
180 (in-module "Empathy")
182 (c-name "EmpathyTpRoomlist")
183 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
186 (define-object TpTube
187 (in-module "Empathy")
189 (c-name "EmpathyTpTube")
190 (gtype-id "EMPATHY_TYPE_TP_TUBE")
193 (define-object TubeHandler
194 (in-module "Empathy")
196 (c-name "EmpathyTubeHandler")
197 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
200 ;; Enumerations and flags ...
202 (define-flags Capabilities
203 (in-module "Empathy")
204 (c-name "EmpathyCapabilities")
205 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
207 '("none" "EMPATHY_CAPABILITIES_NONE")
208 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
209 '("video" "EMPATHY_CAPABILITIES_VIDEO")
210 '("ft" "EMPATHY_CAPABILITIES_FT")
211 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
215 (define-flags ContactReady
216 (in-module "Empathy")
217 (c-name "EmpathyContactReady")
218 (gtype-id "EMPATHY_TYPE_CONTACT_READY")
220 '("none" "EMPATHY_CONTACT_READY_NONE")
221 '("id" "EMPATHY_CONTACT_READY_ID")
222 '("handle" "EMPATHY_CONTACT_READY_HANDLE")
223 '("name" "EMPATHY_CONTACT_READY_NAME")
224 '("all" "EMPATHY_CONTACT_READY_ALL")
228 (define-flags DebugFlags
229 (in-module "Empathy")
230 (c-name "EmpathyDebugFlags")
231 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
233 '("tp" "EMPATHY_DEBUG_TP")
234 '("chat" "EMPATHY_DEBUG_CHAT")
235 '("contact" "EMPATHY_DEBUG_CONTACT")
236 '("account" "EMPATHY_DEBUG_ACCOUNT")
237 '("irc" "EMPATHY_DEBUG_IRC")
238 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
239 '("ft" "EMPATHY_DEBUG_FT")
240 '("other" "EMPATHY_DEBUG_OTHER")
244 (define-enum DispatchOperationState
245 (in-module "Empathy")
246 (c-name "EmpathyDispatchOperationState")
247 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
249 '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
250 '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
251 '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
252 '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
253 '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
254 '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
258 (define-enum TpCallStatus
259 (in-module "Empathy")
260 (c-name "EmpathyTpCallStatus")
261 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
263 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
264 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
265 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
266 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
271 ;; From empathy-account-manager.h
273 (define-function account_manager_get_type
274 (c-name "empathy_account_manager_get_type")
275 (return-type "GType")
278 (define-function account_manager_dup_singleton
279 (c-name "empathy_account_manager_dup_singleton")
280 (return-type "EmpathyAccountManager*")
283 (define-method get_connected_accounts
284 (of-object "EmpathyAccountManager")
285 (c-name "empathy_account_manager_get_connected_accounts")
289 (define-method get_connecting_accounts
290 (of-object "EmpathyAccountManager")
291 (c-name "empathy_account_manager_get_connecting_accounts")
295 (define-method is_account_just_connected
296 (of-object "EmpathyAccountManager")
297 (c-name "empathy_account_manager_is_account_just_connected")
298 (return-type "gboolean")
300 '("McAccount*" "account")
304 (define-method get_count
305 (of-object "EmpathyAccountManager")
306 (c-name "empathy_account_manager_get_count")
312 ;; From empathy-chatroom.h
314 (define-function chatroom_get_type
315 (c-name "empathy_chatroom_get_type")
316 (return-type "GType")
319 (define-function chatroom_new
320 (c-name "empathy_chatroom_new")
321 (is-constructor-of "EmpathyChatroom")
322 (return-type "EmpathyChatroom*")
324 '("McAccount*" "account")
328 (define-function chatroom_new_full
329 (c-name "empathy_chatroom_new_full")
330 (return-type "EmpathyChatroom*")
332 '("McAccount*" "account")
333 '("const-gchar*" "room")
334 '("const-gchar*" "name")
335 '("gboolean" "auto_connect")
339 (define-method get_account
340 (of-object "EmpathyChatroom")
341 (c-name "empathy_chatroom_get_account")
342 (return-type "McAccount*")
345 (define-method set_account
346 (of-object "EmpathyChatroom")
347 (c-name "empathy_chatroom_set_account")
350 '("McAccount*" "account")
354 (define-method get_room
355 (of-object "EmpathyChatroom")
356 (c-name "empathy_chatroom_get_room")
357 (return-type "const-gchar*")
360 (define-method set_room
361 (of-object "EmpathyChatroom")
362 (c-name "empathy_chatroom_set_room")
365 '("const-gchar*" "room")
369 (define-method get_name
370 (of-object "EmpathyChatroom")
371 (c-name "empathy_chatroom_get_name")
372 (return-type "const-gchar*")
375 (define-method set_name
376 (of-object "EmpathyChatroom")
377 (c-name "empathy_chatroom_set_name")
380 '("const-gchar*" "name")
384 (define-method get_auto_connect
385 (of-object "EmpathyChatroom")
386 (c-name "empathy_chatroom_get_auto_connect")
387 (return-type "gboolean")
390 (define-method set_auto_connect
391 (of-object "EmpathyChatroom")
392 (c-name "empathy_chatroom_set_auto_connect")
395 '("gboolean" "auto_connect")
399 (define-method get_subject
400 (of-object "EmpathyChatroom")
401 (c-name "empathy_chatroom_get_subject")
402 (return-type "const-gchar*")
405 (define-method set_subject
406 (of-object "EmpathyChatroom")
407 (c-name "empathy_chatroom_set_subject")
410 '("const-gchar*" "subject")
414 (define-method get_members_count
415 (of-object "EmpathyChatroom")
416 (c-name "empathy_chatroom_get_members_count")
417 (return-type "guint")
420 (define-method set_members_count
421 (of-object "EmpathyChatroom")
422 (c-name "empathy_chatroom_set_members_count")
429 (define-method get_need_password
430 (of-object "EmpathyChatroom")
431 (c-name "empathy_chatroom_get_need_password")
432 (return-type "gboolean")
435 (define-method set_need_password
436 (of-object "EmpathyChatroom")
437 (c-name "empathy_chatroom_set_need_password")
440 '("gboolean" "need_password")
444 (define-method get_invite_only
445 (of-object "EmpathyChatroom")
446 (c-name "empathy_chatroom_get_invite_only")
447 (return-type "gboolean")
450 (define-method set_invite_only
451 (of-object "EmpathyChatroom")
452 (c-name "empathy_chatroom_set_invite_only")
455 '("gboolean" "invite_only")
459 (define-function chatroom_equal
460 (c-name "empathy_chatroom_equal")
461 (return-type "gboolean")
463 '("gconstpointer" "v1")
464 '("gconstpointer" "v2")
468 (define-method get_tp_chat
469 (of-object "EmpathyChatroom")
470 (c-name "empathy_chatroom_get_tp_chat")
471 (return-type "EmpathyTpChat*")
476 ;; From empathy-chatroom-manager.h
478 (define-function chatroom_manager_get_type
479 (c-name "empathy_chatroom_manager_get_type")
480 (return-type "GType")
483 (define-function chatroom_manager_dup_singleton
484 (c-name "empathy_chatroom_manager_dup_singleton")
485 (return-type "EmpathyChatroomManager*")
487 '("const-gchar*" "file")
492 (of-object "EmpathyChatroomManager")
493 (c-name "empathy_chatroom_manager_add")
494 (return-type "gboolean")
496 '("EmpathyChatroom*" "chatroom")
500 (define-method remove
501 (of-object "EmpathyChatroomManager")
502 (c-name "empathy_chatroom_manager_remove")
505 '("EmpathyChatroom*" "chatroom")
510 (of-object "EmpathyChatroomManager")
511 (c-name "empathy_chatroom_manager_find")
512 (return-type "EmpathyChatroom*")
514 '("McAccount*" "account")
515 '("const-gchar*" "room")
519 (define-method get_chatrooms
520 (of-object "EmpathyChatroomManager")
521 (c-name "empathy_chatroom_manager_get_chatrooms")
522 (return-type "GList*")
524 '("McAccount*" "account")
528 (define-method get_count
529 (of-object "EmpathyChatroomManager")
530 (c-name "empathy_chatroom_manager_get_count")
531 (return-type "guint")
533 '("McAccount*" "account")
537 (define-method observe
538 (of-object "EmpathyChatroomManager")
539 (c-name "empathy_chatroom_manager_observe")
542 '("EmpathyDispatcher*" "dispatcher")
548 ;; From empathy-call-factory.h
550 (define-function call_factory_get_type
551 (c-name "empathy_call_factory_get_type")
552 (return-type "GType")
555 (define-function call_factory_initialise
556 (c-name "empathy_call_factory_initialise")
557 (return-type "EmpathyCallFactory*")
560 (define-function call_factory_get
561 (c-name "empathy_call_factory_get")
562 (return-type "EmpathyCallFactory*")
565 (define-method new_call
566 (of-object "EmpathyCallFactory")
567 (c-name "empathy_call_factory_new_call")
570 '("EmpathyContact*" "contact")
574 (define-method claim_channel
575 (of-object "EmpathyCallFactory")
576 (c-name "empathy_call_factory_claim_channel")
579 '("EmpathyDispatchOperation*" "operation")
585 ;; From empathy-call-handler.h
587 (define-function call_handler_get_type
588 (c-name "empathy_call_handler_get_type")
589 (return-type "GType")
592 (define-function call_handler_new_for_contact
593 (c-name "empathy_call_handler_new_for_contact")
594 (return-type "EmpathyCallHandler*")
596 '("EmpathyContact*" "contact")
600 (define-function call_handler_new_for_channel
601 (c-name "empathy_call_handler_new_for_channel")
602 (return-type "EmpathyCallHandler*")
604 '("EmpathyTpCall*" "call")
608 (define-method start_call
609 (of-object "EmpathyCallHandler")
610 (c-name "empathy_call_handler_start_call")
614 (define-method bus_message
615 (of-object "EmpathyCallHandler")
616 (c-name "empathy_call_handler_bus_message")
620 '("GstMessage*" "message")
626 ;; From empathy-contact.h
628 (define-function contact_get_type
629 (c-name "empathy_contact_get_type")
630 (return-type "GType")
633 (define-function contact_new
634 (c-name "empathy_contact_new")
635 (is-constructor-of "EmpathyContact")
636 (return-type "EmpathyContact*")
638 '("McAccount*" "account")
642 (define-function contact_new_full
643 (c-name "empathy_contact_new_full")
644 (return-type "EmpathyContact*")
646 '("McAccount*" "account")
647 '("const-gchar*" "id")
648 '("const-gchar*" "name")
652 (define-method get_id
653 (of-object "EmpathyContact")
654 (c-name "empathy_contact_get_id")
655 (return-type "const-gchar*")
658 (define-method set_id
659 (of-object "EmpathyContact")
660 (c-name "empathy_contact_set_id")
663 '("const-gchar*" "id")
667 (define-method get_name
668 (of-object "EmpathyContact")
669 (c-name "empathy_contact_get_name")
670 (return-type "const-gchar*")
673 (define-method set_name
674 (of-object "EmpathyContact")
675 (c-name "empathy_contact_set_name")
678 '("const-gchar*" "name")
682 (define-method get_avatar
683 (of-object "EmpathyContact")
684 (c-name "empathy_contact_get_avatar")
685 (return-type "EmpathyAvatar*")
688 (define-method set_avatar
689 (of-object "EmpathyContact")
690 (c-name "empathy_contact_set_avatar")
693 '("EmpathyAvatar*" "avatar")
697 (define-method get_account
698 (of-object "EmpathyContact")
699 (c-name "empathy_contact_get_account")
700 (return-type "McAccount*")
703 (define-method set_account
704 (of-object "EmpathyContact")
705 (c-name "empathy_contact_set_account")
708 '("McAccount*" "account")
712 (define-method get_presence
713 (of-object "EmpathyContact")
714 (c-name "empathy_contact_get_presence")
715 (return-type "McPresence")
718 (define-method set_presence
719 (of-object "EmpathyContact")
720 (c-name "empathy_contact_set_presence")
723 '("McPresence" "presence")
727 (define-method get_presence_message
728 (of-object "EmpathyContact")
729 (c-name "empathy_contact_get_presence_message")
730 (return-type "const-gchar*")
733 (define-method set_presence_message
734 (of-object "EmpathyContact")
735 (c-name "empathy_contact_set_presence_message")
738 '("const-gchar*" "message")
742 (define-method get_handle
743 (of-object "EmpathyContact")
744 (c-name "empathy_contact_get_handle")
745 (return-type "guint")
748 (define-method set_handle
749 (of-object "EmpathyContact")
750 (c-name "empathy_contact_set_handle")
757 (define-method get_capabilities
758 (of-object "EmpathyContact")
759 (c-name "empathy_contact_get_capabilities")
760 (return-type "EmpathyCapabilities")
763 (define-method set_capabilities
764 (of-object "EmpathyContact")
765 (c-name "empathy_contact_set_capabilities")
768 '("EmpathyCapabilities" "capabilities")
772 (define-method get_ready
773 (of-object "EmpathyContact")
774 (c-name "empathy_contact_get_ready")
775 (return-type "EmpathyContactReady")
778 (define-method is_user
779 (of-object "EmpathyContact")
780 (c-name "empathy_contact_is_user")
781 (return-type "gboolean")
784 (define-method set_is_user
785 (of-object "EmpathyContact")
786 (c-name "empathy_contact_set_is_user")
789 '("gboolean" "is_user")
793 (define-method is_online
794 (of-object "EmpathyContact")
795 (c-name "empathy_contact_is_online")
796 (return-type "gboolean")
799 (define-method get_status
800 (of-object "EmpathyContact")
801 (c-name "empathy_contact_get_status")
802 (return-type "const-gchar*")
805 (define-method can_voip
806 (of-object "EmpathyContact")
807 (c-name "empathy_contact_can_voip")
808 (return-type "gboolean")
811 (define-method can_send_files
812 (of-object "EmpathyContact")
813 (c-name "empathy_contact_can_send_files")
814 (return-type "gboolean")
817 (define-function contact_equal
818 (c-name "empathy_contact_equal")
819 (return-type "gboolean")
821 '("gconstpointer" "v1")
822 '("gconstpointer" "v2")
826 (define-function contact_hash
827 (c-name "empathy_contact_hash")
828 (return-type "guint")
830 '("gconstpointer" "key")
834 (define-method call_when_ready
835 (of-object "EmpathyContact")
836 (c-name "empathy_contact_call_when_ready")
839 '("EmpathyContactReady" "ready")
840 '("EmpathyContactReadyCb*" "callback")
841 '("gpointer" "user_data")
842 '("GDestroyNotify" "destroy")
843 '("GObject*" "weak_object")
847 (define-method run_until_ready
848 (of-object "EmpathyContact")
849 (c-name "empathy_contact_run_until_ready")
852 '("EmpathyContactReady" "ready")
853 '("GMainLoop**" "loop")
857 (define-method load_avatar_data
858 (of-object "EmpathyContact")
859 (c-name "empathy_contact_load_avatar_data")
862 '("const-guchar*" "data")
863 '("const-gsize" "len")
864 '("const-gchar*" "format")
865 '("const-gchar*" "token")
869 (define-method load_avatar_cache
870 (of-object "EmpathyContact")
871 (c-name "empathy_contact_load_avatar_cache")
872 (return-type "gboolean")
874 '("const-gchar*" "token")
878 (define-function avatar_get_type
879 (c-name "empathy_avatar_get_type")
880 (return-type "GType")
883 (define-function avatar_new
884 (c-name "empathy_avatar_new")
885 (is-constructor-of "EmpathyAvatar")
886 (return-type "EmpathyAvatar*")
896 (of-object "EmpathyAvatar")
897 (c-name "empathy_avatar_ref")
898 (return-type "EmpathyAvatar*")
902 (of-object "EmpathyAvatar")
903 (c-name "empathy_avatar_unref")
907 (define-method save_to_file
908 (of-object "EmpathyAvatar")
909 (c-name "empathy_avatar_save_to_file")
910 (return-type "gboolean")
912 '("const-gchar*" "filename")
913 '("GError**" "error")
919 ;; From empathy-contact-factory.h
921 (define-function contact_factory_get_type
922 (c-name "empathy_contact_factory_get_type")
923 (return-type "GType")
926 (define-function contact_factory_dup_singleton
927 (c-name "empathy_contact_factory_dup_singleton")
928 (return-type "EmpathyContactFactory*")
931 (define-method get_tp_factory
932 (of-object "EmpathyContactFactory")
933 (c-name "empathy_contact_factory_get_tp_factory")
934 (return-type "EmpathyTpContactFactory*")
936 '("McAccount*" "account")
940 (define-method get_user
941 (of-object "EmpathyContactFactory")
942 (c-name "empathy_contact_factory_get_user")
943 (return-type "EmpathyContact*")
945 '("McAccount*" "account")
949 (define-method get_from_id
950 (of-object "EmpathyContactFactory")
951 (c-name "empathy_contact_factory_get_from_id")
952 (return-type "EmpathyContact*")
954 '("McAccount*" "account")
955 '("const-gchar*" "id")
959 (define-method get_from_handle
960 (of-object "EmpathyContactFactory")
961 (c-name "empathy_contact_factory_get_from_handle")
962 (return-type "EmpathyContact*")
964 '("McAccount*" "account")
969 (define-method get_from_handles
970 (of-object "EmpathyContactFactory")
971 (c-name "empathy_contact_factory_get_from_handles")
972 (return-type "GList*")
974 '("McAccount*" "account")
975 '("const-GArray*" "handles")
979 (define-method set_alias
980 (of-object "EmpathyContactFactory")
981 (c-name "empathy_contact_factory_set_alias")
984 '("EmpathyContact*" "contact")
985 '("const-gchar*" "alias")
989 (define-method set_avatar
990 (of-object "EmpathyContactFactory")
991 (c-name "empathy_contact_factory_set_avatar")
994 '("McAccount*" "account")
995 '("const-gchar*" "data")
997 '("const-gchar*" "mime_type")
1003 ;; From empathy-contact-groups.h
1005 (define-function contact_groups_get_all
1006 (c-name "empathy_contact_groups_get_all")
1007 (return-type "none")
1010 (define-function contact_group_get_expanded
1011 (c-name "empathy_contact_group_get_expanded")
1012 (return-type "gboolean")
1014 '("const-gchar*" "group")
1018 (define-function contact_group_set_expanded
1019 (c-name "empathy_contact_group_set_expanded")
1020 (return-type "none")
1022 '("const-gchar*" "group")
1023 '("gboolean" "expanded")
1029 ;; From empathy-contact-list.h
1031 (define-function contact_list_get_type
1032 (c-name "empathy_contact_list_get_type")
1033 (return-type "GType")
1037 (of-object "EmpathyContactList")
1038 (c-name "empathy_contact_list_add")
1039 (return-type "none")
1041 '("EmpathyContact*" "contact")
1042 '("const-gchar*" "message")
1046 (define-method remove
1047 (of-object "EmpathyContactList")
1048 (c-name "empathy_contact_list_remove")
1049 (return-type "none")
1051 '("EmpathyContact*" "contact")
1052 '("const-gchar*" "message")
1056 (define-method get_members
1057 (of-object "EmpathyContactList")
1058 (c-name "empathy_contact_list_get_members")
1059 (return-type "GList*")
1062 (define-method get_pendings
1063 (of-object "EmpathyContactList")
1064 (c-name "empathy_contact_list_get_pendings")
1065 (return-type "GList*")
1068 (define-method get_all_groups
1069 (of-object "EmpathyContactList")
1070 (c-name "empathy_contact_list_get_all_groups")
1071 (return-type "GList*")
1074 (define-method get_groups
1075 (of-object "EmpathyContactList")
1076 (c-name "empathy_contact_list_get_groups")
1077 (return-type "GList*")
1079 '("EmpathyContact*" "contact")
1083 (define-method add_to_group
1084 (of-object "EmpathyContactList")
1085 (c-name "empathy_contact_list_add_to_group")
1086 (return-type "none")
1088 '("EmpathyContact*" "contact")
1089 '("const-gchar*" "group")
1093 (define-method remove_from_group
1094 (of-object "EmpathyContactList")
1095 (c-name "empathy_contact_list_remove_from_group")
1096 (return-type "none")
1098 '("EmpathyContact*" "contact")
1099 '("const-gchar*" "group")
1103 (define-method rename_group
1104 (of-object "EmpathyContactList")
1105 (c-name "empathy_contact_list_rename_group")
1106 (return-type "none")
1108 '("const-gchar*" "old_group")
1109 '("const-gchar*" "new_group")
1113 (define-method remove_group
1114 (of-object "EmpathyContactList")
1115 (c-name "empathy_contact_list_remove_group")
1116 (return-type "none")
1118 '("const-gchar*" "group")
1122 (define-method get_monitor
1123 (of-object "EmpathyContactList")
1124 (c-name "empathy_contact_list_get_monitor")
1125 (return-type "EmpathyContactMonitor*")
1130 ;; From empathy-contact-manager.h
1132 (define-function contact_manager_get_type
1133 (c-name "empathy_contact_manager_get_type")
1134 (return-type "GType")
1137 (define-function contact_manager_dup_singleton
1138 (c-name "empathy_contact_manager_dup_singleton")
1139 (return-type "EmpathyContactManager*")
1142 (define-method get_list
1143 (of-object "EmpathyContactManager")
1144 (c-name "empathy_contact_manager_get_list")
1145 (return-type "EmpathyTpContactList*")
1147 '("McAccount*" "account")
1151 (define-method can_add
1152 (of-object "EmpathyContactManager")
1153 (c-name "empathy_contact_manager_can_add")
1154 (return-type "gboolean")
1156 '("McAccount*" "account")
1162 ;; From empathy-contact-monitor.h
1164 (define-function contact_monitor_get_type
1165 (c-name "empathy_contact_monitor_get_type")
1166 (return-type "GType")
1169 (define-method set_iface
1170 (of-object "EmpathyContactMonitor")
1171 (c-name "empathy_contact_monitor_set_iface")
1172 (return-type "none")
1174 '("EmpathyContactList*" "iface")
1178 (define-function contact_monitor_new_for_iface
1179 (c-name "empathy_contact_monitor_new_for_iface")
1180 (return-type "EmpathyContactMonitor*")
1182 '("EmpathyContactList*" "iface")
1188 ;; From empathy-debug.h
1190 (define-function debug_flag_is_set
1191 (c-name "empathy_debug_flag_is_set")
1192 (return-type "gboolean")
1194 '("EmpathyDebugFlags" "flag")
1198 (define-function debug
1199 (c-name "empathy_debug")
1200 (return-type "none")
1202 '("EmpathyDebugFlags" "flag")
1203 '("const-gchar*" "format")
1208 (define-function debug_set_flags
1209 (c-name "empathy_debug_set_flags")
1210 (return-type "none")
1212 '("const-gchar*" "flags_string")
1218 ;; From empathy-dispatcher.h
1220 (define-function dispatcher_get_type
1221 (c-name "empathy_dispatcher_get_type")
1222 (return-type "GType")
1225 (define-method create_channel
1226 (of-object "EmpathyDispatcher")
1227 (c-name "empathy_dispatcher_create_channel")
1228 (return-type "none")
1230 '("McAccount*" "account")
1231 '("GHashTable*" "request")
1232 '("EmpathyDispatcherRequestCb*" "callback")
1233 '("gpointer" "user_data")
1237 (define-function dispatcher_call_with_contact
1238 (c-name "empathy_dispatcher_call_with_contact")
1239 (return-type "none")
1241 '("EmpathyContact*" "contact")
1242 '("EmpathyDispatcherRequestCb*" "callback")
1243 '("gpointer" "user_data")
1247 (define-function dispatcher_chat_with_contact_id
1248 (c-name "empathy_dispatcher_chat_with_contact_id")
1249 (return-type "none")
1251 '("McAccount*" "account")
1252 '("const-gchar*" "contact_id")
1253 '("EmpathyDispatcherRequestCb*" "callback")
1254 '("gpointer" "user_data")
1258 (define-function dispatcher_chat_with_contact
1259 (c-name "empathy_dispatcher_chat_with_contact")
1260 (return-type "none")
1262 '("EmpathyContact*" "contact")
1263 '("EmpathyDispatcherRequestCb*" "callback")
1264 '("gpointer" "user_data")
1268 (define-function dispatcher_send_file_to_contact
1269 (c-name "empathy_dispatcher_send_file_to_contact")
1270 (return-type "none")
1272 '("EmpathyContact*" "contact")
1273 '("const-gchar*" "filename")
1276 '("const-gchar*" "content_type")
1277 '("EmpathyDispatcherRequestCb*" "callback")
1278 '("gpointer" "user_data")
1282 (define-function dispatcher_join_muc
1283 (c-name "empathy_dispatcher_join_muc")
1284 (return-type "none")
1286 '("McAccount*" "account")
1287 '("const-gchar*" "roomname")
1288 '("EmpathyDispatcherRequestCb*" "callback")
1289 '("gpointer" "user_data")
1293 (define-method find_channel_class
1294 (of-object "EmpathyDispatcher")
1295 (c-name "empathy_dispatcher_find_channel_class")
1296 (return-type "GStrv")
1298 '("McAccount*" "account")
1299 '("const-gchar*" "channel_type")
1300 '("guint" "handle_type")
1304 (define-function dispatcher_dup_singleton
1305 (c-name "empathy_dispatcher_dup_singleton")
1306 (return-type "EmpathyDispatcher*")
1311 ;; From empathy-dispatch-operation.h
1313 (define-function dispatch_operation_get_type
1314 (c-name "empathy_dispatch_operation_get_type")
1315 (return-type "GType")
1318 (define-function dispatch_operation_new
1319 (c-name "empathy_dispatch_operation_new")
1320 (is-constructor-of "EmpathyDispatchOperation")
1321 (return-type "EmpathyDispatchOperation*")
1323 '("TpConnection*" "connection")
1324 '("TpChannel*" "channel")
1325 '("EmpathyContact*" "contact")
1326 '("gboolean" "incoming")
1330 (define-function dispatch_operation_new_with_wrapper
1331 (c-name "empathy_dispatch_operation_new_with_wrapper")
1332 (return-type "EmpathyDispatchOperation*")
1334 '("TpConnection*" "connection")
1335 '("TpChannel*" "channel")
1336 '("EmpathyContact*" "contact")
1337 '("gboolean" "incoming")
1338 '("GObject*" "channel_wrapper")
1342 (define-method start
1343 (of-object "EmpathyDispatchOperation")
1344 (c-name "empathy_dispatch_operation_start")
1345 (return-type "none")
1348 (define-method approve
1349 (of-object "EmpathyDispatchOperation")
1350 (c-name "empathy_dispatch_operation_approve")
1351 (return-type "none")
1354 (define-method claim
1355 (of-object "EmpathyDispatchOperation")
1356 (c-name "empathy_dispatch_operation_claim")
1357 (return-type "gboolean")
1360 (define-method get_channel
1361 (of-object "EmpathyDispatchOperation")
1362 (c-name "empathy_dispatch_operation_get_channel")
1363 (return-type "TpChannel*")
1366 (define-method get_channel_wrapper
1367 (of-object "EmpathyDispatchOperation")
1368 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1369 (return-type "GObject*")
1372 (define-method get_tp_connection
1373 (of-object "EmpathyDispatchOperation")
1374 (c-name "empathy_dispatch_operation_get_tp_connection")
1375 (return-type "TpConnection*")
1378 (define-method get_channel_type
1379 (of-object "EmpathyDispatchOperation")
1380 (c-name "empathy_dispatch_operation_get_channel_type")
1381 (return-type "const-gchar*")
1384 (define-method get_channel_type_id
1385 (of-object "EmpathyDispatchOperation")
1386 (c-name "empathy_dispatch_operation_get_channel_type_id")
1387 (return-type "GQuark")
1390 (define-method get_object_path
1391 (of-object "EmpathyDispatchOperation")
1392 (c-name "empathy_dispatch_operation_get_object_path")
1393 (return-type "const-gchar*")
1396 (define-method get_status
1397 (of-object "EmpathyDispatchOperation")
1398 (c-name "empathy_dispatch_operation_get_status")
1399 (return-type "EmpathyDispatchOperationState")
1402 (define-method is_incoming
1403 (of-object "EmpathyDispatchOperation")
1404 (c-name "empathy_dispatch_operation_is_incoming")
1405 (return-type "gboolean")
1410 ;; From empathy-idle.h
1412 (define-function idle_get_type
1413 (c-name "empathy_idle_get_type")
1414 (return-type "GType")
1417 (define-function idle_dup_singleton
1418 (c-name "empathy_idle_dup_singleton")
1419 (return-type "EmpathyIdle*")
1422 (define-method get_state
1423 (of-object "EmpathyIdle")
1424 (c-name "empathy_idle_get_state")
1425 (return-type "McPresence")
1428 (define-method set_state
1429 (of-object "EmpathyIdle")
1430 (c-name "empathy_idle_set_state")
1431 (return-type "none")
1433 '("McPresence" "state")
1437 (define-method get_status
1438 (of-object "EmpathyIdle")
1439 (c-name "empathy_idle_get_status")
1440 (return-type "const-gchar*")
1443 (define-method set_status
1444 (of-object "EmpathyIdle")
1445 (c-name "empathy_idle_set_status")
1446 (return-type "none")
1448 '("const-gchar*" "status")
1452 (define-method get_flash_state
1453 (of-object "EmpathyIdle")
1454 (c-name "empathy_idle_get_flash_state")
1455 (return-type "McPresence")
1458 (define-method set_flash_state
1459 (of-object "EmpathyIdle")
1460 (c-name "empathy_idle_set_flash_state")
1461 (return-type "none")
1463 '("McPresence" "state")
1467 (define-method set_presence
1468 (of-object "EmpathyIdle")
1469 (c-name "empathy_idle_set_presence")
1470 (return-type "none")
1472 '("McPresence" "state")
1473 '("const-gchar*" "status")
1477 (define-method get_auto_away
1478 (of-object "EmpathyIdle")
1479 (c-name "empathy_idle_get_auto_away")
1480 (return-type "gboolean")
1483 (define-method set_auto_away
1484 (of-object "EmpathyIdle")
1485 (c-name "empathy_idle_set_auto_away")
1486 (return-type "none")
1488 '("gboolean" "auto_away")
1492 (define-method get_use_nm
1493 (of-object "EmpathyIdle")
1494 (c-name "empathy_idle_get_use_nm")
1495 (return-type "gboolean")
1498 (define-method set_use_nm
1499 (of-object "EmpathyIdle")
1500 (c-name "empathy_idle_set_use_nm")
1501 (return-type "none")
1503 '("gboolean" "use_nm")
1509 ;; From empathy-irc-network.h
1511 (define-function irc_network_get_type
1512 (c-name "empathy_irc_network_get_type")
1513 (return-type "GType")
1516 (define-function irc_network_new
1517 (c-name "empathy_irc_network_new")
1518 (is-constructor-of "EmpathyIrcNetwork")
1519 (return-type "EmpathyIrcNetwork*")
1521 '("const-gchar*" "name")
1525 (define-method get_servers
1526 (of-object "EmpathyIrcNetwork")
1527 (c-name "empathy_irc_network_get_servers")
1528 (return-type "GSList*")
1531 (define-method append_server
1532 (of-object "EmpathyIrcNetwork")
1533 (c-name "empathy_irc_network_append_server")
1534 (return-type "none")
1536 '("EmpathyIrcServer*" "server")
1540 (define-method remove_server
1541 (of-object "EmpathyIrcNetwork")
1542 (c-name "empathy_irc_network_remove_server")
1543 (return-type "none")
1545 '("EmpathyIrcServer*" "server")
1549 (define-method set_server_position
1550 (of-object "EmpathyIrcNetwork")
1551 (c-name "empathy_irc_network_set_server_position")
1552 (return-type "none")
1554 '("EmpathyIrcServer*" "server")
1561 ;; From empathy-irc-network-manager.h
1563 (define-function irc_network_manager_get_type
1564 (c-name "empathy_irc_network_manager_get_type")
1565 (return-type "GType")
1568 (define-function irc_network_manager_new
1569 (c-name "empathy_irc_network_manager_new")
1570 (is-constructor-of "EmpathyIrcNetworkManager")
1571 (return-type "EmpathyIrcNetworkManager*")
1573 '("const-gchar*" "global_file")
1574 '("const-gchar*" "user_file")
1579 (of-object "EmpathyIrcNetworkManager")
1580 (c-name "empathy_irc_network_manager_add")
1581 (return-type "none")
1583 '("EmpathyIrcNetwork*" "network")
1587 (define-method remove
1588 (of-object "EmpathyIrcNetworkManager")
1589 (c-name "empathy_irc_network_manager_remove")
1590 (return-type "none")
1592 '("EmpathyIrcNetwork*" "network")
1596 (define-method get_networks
1597 (of-object "EmpathyIrcNetworkManager")
1598 (c-name "empathy_irc_network_manager_get_networks")
1599 (return-type "GSList*")
1602 (define-method find_network_by_address
1603 (of-object "EmpathyIrcNetworkManager")
1604 (c-name "empathy_irc_network_manager_find_network_by_address")
1605 (return-type "EmpathyIrcNetwork*")
1607 '("const-gchar*" "address")
1613 ;; From empathy-irc-server.h
1615 (define-function irc_server_get_type
1616 (c-name "empathy_irc_server_get_type")
1617 (return-type "GType")
1620 (define-function irc_server_new
1621 (c-name "empathy_irc_server_new")
1622 (is-constructor-of "EmpathyIrcServer")
1623 (return-type "EmpathyIrcServer*")
1625 '("const-gchar*" "address")
1633 ;; From empathy-log-manager.h
1635 (define-function log_manager_get_type
1636 (c-name "empathy_log_manager_get_type")
1637 (return-type "GType")
1640 (define-function log_manager_dup_singleton
1641 (c-name "empathy_log_manager_dup_singleton")
1642 (return-type "EmpathyLogManager*")
1645 (define-method add_message
1646 (of-object "EmpathyLogManager")
1647 (c-name "empathy_log_manager_add_message")
1648 (return-type "gboolean")
1650 '("const-gchar*" "chat_id")
1651 '("gboolean" "chatroom")
1652 '("EmpathyMessage*" "message")
1653 '("GError**" "error")
1657 (define-method exists
1658 (of-object "EmpathyLogManager")
1659 (c-name "empathy_log_manager_exists")
1660 (return-type "gboolean")
1662 '("McAccount*" "account")
1663 '("const-gchar*" "chat_id")
1664 '("gboolean" "chatroom")
1668 (define-method get_dates
1669 (of-object "EmpathyLogManager")
1670 (c-name "empathy_log_manager_get_dates")
1671 (return-type "GList*")
1673 '("McAccount*" "account")
1674 '("const-gchar*" "chat_id")
1675 '("gboolean" "chatroom")
1679 (define-method get_messages_for_date
1680 (of-object "EmpathyLogManager")
1681 (c-name "empathy_log_manager_get_messages_for_date")
1682 (return-type "GList*")
1684 '("McAccount*" "account")
1685 '("const-gchar*" "chat_id")
1686 '("gboolean" "chatroom")
1687 '("const-gchar*" "date")
1691 (define-method get_filtered_messages
1692 (of-object "EmpathyLogManager")
1693 (c-name "empathy_log_manager_get_filtered_messages")
1694 (return-type "GList*")
1696 '("McAccount*" "account")
1697 '("const-gchar*" "chat_id")
1698 '("gboolean" "chatroom")
1699 '("guint" "num_messages")
1700 '("EmpathyLogMessageFilter" "filter")
1701 '("gpointer" "user_data")
1705 (define-method get_chats
1706 (of-object "EmpathyLogManager")
1707 (c-name "empathy_log_manager_get_chats")
1708 (return-type "GList*")
1710 '("McAccount*" "account")
1714 (define-method search_new
1715 (of-object "EmpathyLogManager")
1716 (c-name "empathy_log_manager_search_new")
1717 (return-type "GList*")
1719 '("const-gchar*" "text")
1723 (define-function log_manager_search_free
1724 (c-name "empathy_log_manager_search_free")
1725 (return-type "none")
1731 (define-function log_manager_get_date_readable
1732 (c-name "empathy_log_manager_get_date_readable")
1733 (return-type "gchar*")
1735 '("const-gchar*" "date")
1739 (define-function log_manager_search_hit_free
1740 (c-name "empathy_log_manager_search_hit_free")
1741 (return-type "none")
1743 '("EmpathyLogSearchHit*" "hit")
1747 (define-method observe
1748 (of-object "EmpathyLogManager")
1749 (c-name "empathy_log_manager_observe")
1750 (return-type "none")
1752 '("EmpathyDispatcher*" "dispatcher")
1758 ;; From empathy-log-store.h
1760 (define-function log_store_get_type
1761 (c-name "empathy_log_store_get_type")
1762 (return-type "GType")
1765 (define-method get_name
1766 (of-object "EmpathyLogStore")
1767 (c-name "empathy_log_store_get_name")
1768 (return-type "const-gchar*")
1771 (define-method exists
1772 (of-object "EmpathyLogStore")
1773 (c-name "empathy_log_store_exists")
1774 (return-type "gboolean")
1776 '("McAccount*" "account")
1777 '("const-gchar*" "chat_id")
1778 '("gboolean" "chatroom")
1782 (define-method add_message
1783 (of-object "EmpathyLogStore")
1784 (c-name "empathy_log_store_add_message")
1785 (return-type "gboolean")
1787 '("const-gchar*" "chat_id")
1788 '("gboolean" "chatroom")
1789 '("EmpathyMessage*" "message")
1790 '("GError**" "error")
1794 (define-method get_dates
1795 (of-object "EmpathyLogStore")
1796 (c-name "empathy_log_store_get_dates")
1797 (return-type "GList*")
1799 '("McAccount*" "account")
1800 '("const-gchar*" "chat_id")
1801 '("gboolean" "chatroom")
1805 (define-method get_messages_for_date
1806 (of-object "EmpathyLogStore")
1807 (c-name "empathy_log_store_get_messages_for_date")
1808 (return-type "GList*")
1810 '("McAccount*" "account")
1811 '("const-gchar*" "chat_id")
1812 '("gboolean" "chatroom")
1813 '("const-gchar*" "date")
1817 (define-method get_last_messages
1818 (of-object "EmpathyLogStore")
1819 (c-name "empathy_log_store_get_last_messages")
1820 (return-type "GList*")
1822 '("McAccount*" "account")
1823 '("const-gchar*" "chat_id")
1824 '("gboolean" "chatroom")
1828 (define-method get_chats
1829 (of-object "EmpathyLogStore")
1830 (c-name "empathy_log_store_get_chats")
1831 (return-type "GList*")
1833 '("McAccount*" "account")
1837 (define-method search_new
1838 (of-object "EmpathyLogStore")
1839 (c-name "empathy_log_store_search_new")
1840 (return-type "GList*")
1842 '("const-gchar*" "text")
1846 (define-method ack_message
1847 (of-object "EmpathyLogStore")
1848 (c-name "empathy_log_store_ack_message")
1849 (return-type "none")
1851 '("const-gchar*" "chat_id")
1852 '("gboolean" "chatroom")
1853 '("EmpathyMessage*" "message")
1857 (define-method get_filtered_messages
1858 (of-object "EmpathyLogStore")
1859 (c-name "empathy_log_store_get_filtered_messages")
1860 (return-type "GList*")
1862 '("McAccount*" "account")
1863 '("const-gchar*" "chat_id")
1864 '("gboolean" "chatroom")
1865 '("guint" "num_messages")
1866 '("EmpathyLogMessageFilter" "filter")
1867 '("gpointer" "user_data")
1873 ;; From empathy-log-store-empathy.h
1875 (define-function log_store_empathy_get_type
1876 (c-name "empathy_log_store_empathy_get_type")
1877 (return-type "GType")
1882 ;; From empathy-message.h
1884 (define-function message_get_type
1885 (c-name "empathy_message_get_type")
1886 (return-type "GType")
1889 (define-function message_new
1890 (c-name "empathy_message_new")
1891 (is-constructor-of "EmpathyMessage")
1892 (return-type "EmpathyMessage*")
1894 '("const-gchar*" "body")
1898 (define-method get_tptype
1899 (of-object "EmpathyMessage")
1900 (c-name "empathy_message_get_tptype")
1901 (return-type "TpChannelTextMessageType")
1904 (define-method set_tptype
1905 (of-object "EmpathyMessage")
1906 (c-name "empathy_message_set_tptype")
1907 (return-type "none")
1909 '("TpChannelTextMessageType" "type")
1913 (define-method get_sender
1914 (of-object "EmpathyMessage")
1915 (c-name "empathy_message_get_sender")
1916 (return-type "EmpathyContact*")
1919 (define-method set_sender
1920 (of-object "EmpathyMessage")
1921 (c-name "empathy_message_set_sender")
1922 (return-type "none")
1924 '("EmpathyContact*" "contact")
1928 (define-method get_receiver
1929 (of-object "EmpathyMessage")
1930 (c-name "empathy_message_get_receiver")
1931 (return-type "EmpathyContact*")
1934 (define-method set_receiver
1935 (of-object "EmpathyMessage")
1936 (c-name "empathy_message_set_receiver")
1937 (return-type "none")
1939 '("EmpathyContact*" "contact")
1943 (define-method get_body
1944 (of-object "EmpathyMessage")
1945 (c-name "empathy_message_get_body")
1946 (return-type "const-gchar*")
1949 (define-method set_body
1950 (of-object "EmpathyMessage")
1951 (c-name "empathy_message_set_body")
1952 (return-type "none")
1954 '("const-gchar*" "body")
1958 (define-method get_timestamp
1959 (of-object "EmpathyMessage")
1960 (c-name "empathy_message_get_timestamp")
1961 (return-type "time_t")
1964 (define-method set_timestamp
1965 (of-object "EmpathyMessage")
1966 (c-name "empathy_message_set_timestamp")
1967 (return-type "none")
1969 '("time_t" "timestamp")
1973 (define-method should_highlight
1974 (of-object "EmpathyMessage")
1975 (c-name "empathy_message_should_highlight")
1976 (return-type "gboolean")
1979 (define-function message_type_from_str
1980 (c-name "empathy_message_type_from_str")
1981 (return-type "TpChannelTextMessageType")
1983 '("const-gchar*" "type_str")
1987 (define-function message_type_to_str
1988 (c-name "empathy_message_type_to_str")
1989 (return-type "const-gchar*")
1991 '("TpChannelTextMessageType" "type")
1995 (define-method get_id
1996 (of-object "EmpathyMessage")
1997 (c-name "empathy_message_get_id")
1998 (return-type "guint")
2001 (define-method set_id
2002 (of-object "EmpathyMessage")
2003 (c-name "empathy_message_set_id")
2004 (return-type "none")
2010 (define-method equal
2011 (of-object "EmpathyMessage")
2012 (c-name "empathy_message_equal")
2013 (return-type "gboolean")
2015 '("EmpathyMessage*" "message2")
2021 ;; From empathy-status-presets.h
2023 (define-function status_presets_get_all
2024 (c-name "empathy_status_presets_get_all")
2025 (return-type "none")
2028 (define-function status_presets_get
2029 (c-name "empathy_status_presets_get")
2030 (return-type "GList*")
2032 '("McPresence" "state")
2033 '("gint" "max_number")
2037 (define-function status_presets_set_last
2038 (c-name "empathy_status_presets_set_last")
2039 (return-type "none")
2041 '("McPresence" "state")
2042 '("const-gchar*" "status")
2046 (define-function status_presets_remove
2047 (c-name "empathy_status_presets_remove")
2048 (return-type "none")
2050 '("McPresence" "state")
2051 '("const-gchar*" "status")
2055 (define-function status_presets_reset
2056 (c-name "empathy_status_presets_reset")
2057 (return-type "none")
2060 (define-function status_presets_get_default_state
2061 (c-name "empathy_status_presets_get_default_state")
2062 (return-type "McPresence")
2065 (define-function status_presets_get_default_status
2066 (c-name "empathy_status_presets_get_default_status")
2067 (return-type "const-gchar*")
2070 (define-function status_presets_set_default
2071 (c-name "empathy_status_presets_set_default")
2072 (return-type "none")
2074 '("McPresence" "state")
2075 '("const-gchar*" "status")
2079 (define-function status_presets_clear_default
2080 (c-name "empathy_status_presets_clear_default")
2081 (return-type "none")
2086 ;; From empathy-time.h
2088 (define-function time_get_current
2089 (c-name "empathy_time_get_current")
2090 (return-type "time_t")
2093 (define-function time_get_local_time
2094 (c-name "empathy_time_get_local_time")
2095 (return-type "time_t")
2097 '("struct-tm*" "tm")
2101 (define-function time_parse
2102 (c-name "empathy_time_parse")
2103 (return-type "time_t")
2105 '("const-gchar*" "str")
2109 (define-function time_to_string_utc
2110 (c-name "empathy_time_to_string_utc")
2111 (return-type "gchar*")
2114 '("const-gchar*" "format")
2118 (define-function time_to_string_local
2119 (c-name "empathy_time_to_string_local")
2120 (return-type "gchar*")
2123 '("const-gchar*" "format")
2129 ;; From empathy-tp-call.h
2131 (define-function tp_call_get_type
2132 (c-name "empathy_tp_call_get_type")
2133 (return-type "GType")
2136 (define-function tp_call_new
2137 (c-name "empathy_tp_call_new")
2138 (is-constructor-of "EmpathyTpCall")
2139 (return-type "EmpathyTpCall*")
2141 '("TpChannel*" "channel")
2145 (define-method close
2146 (of-object "EmpathyTpCall")
2147 (c-name "empathy_tp_call_close")
2148 (return-type "none")
2152 (of-object "EmpathyTpCall")
2153 (c-name "empathy_tp_call_to")
2154 (return-type "none")
2156 '("EmpathyContact*" "contact")
2160 (define-method accept_incoming_call
2161 (of-object "EmpathyTpCall")
2162 (c-name "empathy_tp_call_accept_incoming_call")
2163 (return-type "none")
2166 (define-method request_video_stream_direction
2167 (of-object "EmpathyTpCall")
2168 (c-name "empathy_tp_call_request_video_stream_direction")
2169 (return-type "none")
2171 '("gboolean" "is_sending")
2175 (define-method start_tone
2176 (of-object "EmpathyTpCall")
2177 (c-name "empathy_tp_call_start_tone")
2178 (return-type "none")
2180 '("TpDTMFEvent" "event")
2184 (define-method stop_tone
2185 (of-object "EmpathyTpCall")
2186 (c-name "empathy_tp_call_stop_tone")
2187 (return-type "none")
2190 (define-method has_dtmf
2191 (of-object "EmpathyTpCall")
2192 (c-name "empathy_tp_call_has_dtmf")
2193 (return-type "gboolean")
2198 ;; From empathy-tp-chat.h
2200 (define-function tp_chat_get_type
2201 (c-name "empathy_tp_chat_get_type")
2202 (return-type "GType")
2205 (define-function tp_chat_new
2206 (c-name "empathy_tp_chat_new")
2207 (is-constructor-of "EmpathyTpChat")
2208 (return-type "EmpathyTpChat*")
2210 '("TpChannel*" "channel")
2214 (define-method close
2215 (of-object "EmpathyTpChat")
2216 (c-name "empathy_tp_chat_close")
2217 (return-type "none")
2220 (define-method get_id
2221 (of-object "EmpathyTpChat")
2222 (c-name "empathy_tp_chat_get_id")
2223 (return-type "const-gchar*")
2226 (define-method get_remote_contact
2227 (of-object "EmpathyTpChat")
2228 (c-name "empathy_tp_chat_get_remote_contact")
2229 (return-type "EmpathyContact*")
2232 (define-method get_account
2233 (of-object "EmpathyTpChat")
2234 (c-name "empathy_tp_chat_get_account")
2235 (return-type "McAccount*")
2238 (define-method get_channel
2239 (of-object "EmpathyTpChat")
2240 (c-name "empathy_tp_chat_get_channel")
2241 (return-type "TpChannel*")
2244 (define-method is_ready
2245 (of-object "EmpathyTpChat")
2246 (c-name "empathy_tp_chat_is_ready")
2247 (return-type "gboolean")
2250 (define-method get_members_count
2251 (of-object "EmpathyTpChat")
2252 (c-name "empathy_tp_chat_get_members_count")
2253 (return-type "guint")
2257 (of-object "EmpathyTpChat")
2258 (c-name "empathy_tp_chat_send")
2259 (return-type "none")
2261 '("EmpathyMessage*" "message")
2265 (define-method set_state
2266 (of-object "EmpathyTpChat")
2267 (c-name "empathy_tp_chat_set_state")
2268 (return-type "none")
2270 '("TpChannelChatState" "state")
2274 (define-method set_property
2275 (of-object "EmpathyTpChat")
2276 (c-name "empathy_tp_chat_set_property")
2277 (return-type "none")
2279 '("const-gchar*" "name")
2280 '("const-GValue*" "value")
2284 (define-method get_pending_messages
2285 (of-object "EmpathyTpChat")
2286 (c-name "empathy_tp_chat_get_pending_messages")
2287 (return-type "const-GList*")
2290 (define-method acknowledge_message
2291 (of-object "EmpathyTpChat")
2292 (c-name "empathy_tp_chat_acknowledge_message")
2293 (return-type "none")
2295 '("EmpathyMessage*" "message")
2299 (define-method acknowledge_messages
2300 (of-object "EmpathyTpChat")
2301 (c-name "empathy_tp_chat_acknowledge_messages")
2302 (return-type "none")
2304 '("const-GList*" "messages")
2310 ;; From empathy-tp-contact-factory.h
2312 (define-function tp_contact_factory_get_type
2313 (c-name "empathy_tp_contact_factory_get_type")
2314 (return-type "GType")
2317 (define-function tp_contact_factory_new
2318 (c-name "empathy_tp_contact_factory_new")
2319 (is-constructor-of "EmpathyTpContactFactory")
2320 (return-type "EmpathyTpContactFactory*")
2322 '("McAccount*" "account")
2326 (define-method get_user
2327 (of-object "EmpathyTpContactFactory")
2328 (c-name "empathy_tp_contact_factory_get_user")
2329 (return-type "EmpathyContact*")
2332 (define-method get_from_id
2333 (of-object "EmpathyTpContactFactory")
2334 (c-name "empathy_tp_contact_factory_get_from_id")
2335 (return-type "EmpathyContact*")
2337 '("const-gchar*" "id")
2341 (define-method get_from_handle
2342 (of-object "EmpathyTpContactFactory")
2343 (c-name "empathy_tp_contact_factory_get_from_handle")
2344 (return-type "EmpathyContact*")
2350 (define-method get_from_handles
2351 (of-object "EmpathyTpContactFactory")
2352 (c-name "empathy_tp_contact_factory_get_from_handles")
2353 (return-type "GList*")
2355 '("const-GArray*" "handles")
2359 (define-method set_alias
2360 (of-object "EmpathyTpContactFactory")
2361 (c-name "empathy_tp_contact_factory_set_alias")
2362 (return-type "none")
2364 '("EmpathyContact*" "contact")
2365 '("const-gchar*" "alias")
2369 (define-method set_avatar
2370 (of-object "EmpathyTpContactFactory")
2371 (c-name "empathy_tp_contact_factory_set_avatar")
2372 (return-type "none")
2374 '("const-gchar*" "data")
2376 '("const-gchar*" "mime_type")
2380 (define-method is_ready
2381 (of-object "EmpathyTpContactFactory")
2382 (c-name "empathy_tp_contact_factory_is_ready")
2383 (return-type "gboolean")
2388 ;; From empathy-tp-contact-list.h
2390 (define-function tp_contact_list_get_type
2391 (c-name "empathy_tp_contact_list_get_type")
2392 (return-type "GType")
2395 (define-function tp_contact_list_new
2396 (c-name "empathy_tp_contact_list_new")
2397 (is-constructor-of "EmpathyTpContactList")
2398 (return-type "EmpathyTpContactList*")
2400 '("McAccount*" "account")
2404 (define-method get_account
2405 (of-object "EmpathyTpContactList")
2406 (c-name "empathy_tp_contact_list_get_account")
2407 (return-type "McAccount*")
2410 (define-method can_add
2411 (of-object "EmpathyTpContactList")
2412 (c-name "empathy_tp_contact_list_can_add")
2413 (return-type "gboolean")
2418 ;; From empathy-tp-file.h
2420 (define-function tp_file_get_type
2421 (c-name "empathy_tp_file_get_type")
2422 (return-type "GType")
2425 (define-function tp_file_new
2426 (c-name "empathy_tp_file_new")
2427 (is-constructor-of "EmpathyTpFile")
2428 (return-type "EmpathyTpFile*")
2430 '("TpChannel*" "channel")
2434 (define-method get_channel
2435 (of-object "EmpathyTpFile")
2436 (c-name "empathy_tp_file_get_channel")
2437 (return-type "TpChannel*")
2440 (define-method accept
2441 (of-object "EmpathyTpFile")
2442 (c-name "empathy_tp_file_accept")
2443 (return-type "none")
2445 '("guint64" "offset")
2447 '("GError**" "error")
2451 (define-method cancel
2452 (of-object "EmpathyTpFile")
2453 (c-name "empathy_tp_file_cancel")
2454 (return-type "none")
2457 (define-method close
2458 (of-object "EmpathyTpFile")
2459 (c-name "empathy_tp_file_close")
2460 (return-type "none")
2463 (define-method offer
2464 (of-object "EmpathyTpFile")
2465 (c-name "empathy_tp_file_offer")
2466 (return-type "none")
2469 '("GError**" "error")
2473 (define-method get_contact
2474 (of-object "EmpathyTpFile")
2475 (c-name "empathy_tp_file_get_contact")
2476 (return-type "EmpathyContact*")
2479 (define-method get_filename
2480 (of-object "EmpathyTpFile")
2481 (c-name "empathy_tp_file_get_filename")
2482 (return-type "const-gchar*")
2485 (define-method is_incoming
2486 (of-object "EmpathyTpFile")
2487 (c-name "empathy_tp_file_is_incoming")
2488 (return-type "gboolean")
2491 (define-method get_state
2492 (of-object "EmpathyTpFile")
2493 (c-name "empathy_tp_file_get_state")
2494 (return-type "TpFileTransferState")
2496 '("TpFileTransferStateChangeReason*" "reason")
2500 (define-method get_size
2501 (of-object "EmpathyTpFile")
2502 (c-name "empathy_tp_file_get_size")
2503 (return-type "guint64")
2506 (define-method get_transferred_bytes
2507 (of-object "EmpathyTpFile")
2508 (c-name "empathy_tp_file_get_transferred_bytes")
2509 (return-type "guint64")
2512 (define-method get_remaining_time
2513 (of-object "EmpathyTpFile")
2514 (c-name "empathy_tp_file_get_remaining_time")
2515 (return-type "gint")
2518 (define-method get_content_type
2519 (of-object "EmpathyTpFile")
2520 (c-name "empathy_tp_file_get_content_type")
2521 (return-type "const-gchar*")
2526 ;; From empathy-tp-group.h
2528 (define-function tp_group_get_type
2529 (c-name "empathy_tp_group_get_type")
2530 (return-type "GType")
2533 (define-function tp_group_new
2534 (c-name "empathy_tp_group_new")
2535 (is-constructor-of "EmpathyTpGroup")
2536 (return-type "EmpathyTpGroup*")
2538 '("TpChannel*" "channel")
2542 (define-method close
2543 (of-object "EmpathyTpGroup")
2544 (c-name "empathy_tp_group_close")
2545 (return-type "none")
2548 (define-method add_members
2549 (of-object "EmpathyTpGroup")
2550 (c-name "empathy_tp_group_add_members")
2551 (return-type "none")
2553 '("GList*" "contacts")
2554 '("const-gchar*" "message")
2558 (define-method add_member
2559 (of-object "EmpathyTpGroup")
2560 (c-name "empathy_tp_group_add_member")
2561 (return-type "none")
2563 '("EmpathyContact*" "contact")
2564 '("const-gchar*" "message")
2568 (define-method remove_members
2569 (of-object "EmpathyTpGroup")
2570 (c-name "empathy_tp_group_remove_members")
2571 (return-type "none")
2573 '("GList*" "contacts")
2574 '("const-gchar*" "message")
2578 (define-method remove_member
2579 (of-object "EmpathyTpGroup")
2580 (c-name "empathy_tp_group_remove_member")
2581 (return-type "none")
2583 '("EmpathyContact*" "contact")
2584 '("const-gchar*" "message")
2588 (define-method get_members
2589 (of-object "EmpathyTpGroup")
2590 (c-name "empathy_tp_group_get_members")
2591 (return-type "GList*")
2594 (define-method get_local_pendings
2595 (of-object "EmpathyTpGroup")
2596 (c-name "empathy_tp_group_get_local_pendings")
2597 (return-type "GList*")
2600 (define-method get_remote_pendings
2601 (of-object "EmpathyTpGroup")
2602 (c-name "empathy_tp_group_get_remote_pendings")
2603 (return-type "GList*")
2606 (define-method get_name
2607 (of-object "EmpathyTpGroup")
2608 (c-name "empathy_tp_group_get_name")
2609 (return-type "const-gchar*")
2612 (define-method get_self_contact
2613 (of-object "EmpathyTpGroup")
2614 (c-name "empathy_tp_group_get_self_contact")
2615 (return-type "EmpathyContact*")
2618 (define-method is_member
2619 (of-object "EmpathyTpGroup")
2620 (c-name "empathy_tp_group_is_member")
2621 (return-type "gboolean")
2623 '("EmpathyContact*" "contact")
2627 (define-method is_ready
2628 (of-object "EmpathyTpGroup")
2629 (c-name "empathy_tp_group_is_ready")
2630 (return-type "gboolean")
2633 (define-method get_invitation
2634 (of-object "EmpathyTpGroup")
2635 (c-name "empathy_tp_group_get_invitation")
2636 (return-type "EmpathyPendingInfo*")
2638 '("EmpathyContact**" "remote_contact")
2642 (define-function pending_info_new
2643 (c-name "empathy_pending_info_new")
2644 (is-constructor-of "EmpathyPendingInfo")
2645 (return-type "EmpathyPendingInfo*")
2647 '("EmpathyContact*" "member")
2648 '("EmpathyContact*" "actor")
2649 '("const-gchar*" "message")
2654 (of-object "EmpathyPendingInfo")
2655 (c-name "empathy_pending_info_free")
2656 (return-type "none")
2659 (define-method get_flags
2660 (of-object "EmpathyTpGroup")
2661 (c-name "empathy_tp_group_get_flags")
2662 (return-type "TpChannelGroupFlags")
2667 ;; From empathy-tp-roomlist.h
2669 (define-function tp_roomlist_get_type
2670 (c-name "empathy_tp_roomlist_get_type")
2671 (return-type "GType")
2674 (define-function tp_roomlist_new
2675 (c-name "empathy_tp_roomlist_new")
2676 (is-constructor-of "EmpathyTpRoomlist")
2677 (return-type "EmpathyTpRoomlist*")
2679 '("McAccount*" "account")
2683 (define-method is_listing
2684 (of-object "EmpathyTpRoomlist")
2685 (c-name "empathy_tp_roomlist_is_listing")
2686 (return-type "gboolean")
2689 (define-method start
2690 (of-object "EmpathyTpRoomlist")
2691 (c-name "empathy_tp_roomlist_start")
2692 (return-type "none")
2696 (of-object "EmpathyTpRoomlist")
2697 (c-name "empathy_tp_roomlist_stop")
2698 (return-type "none")
2703 ;; From empathy-tp-tube.h
2705 (define-function tp_tube_get_type
2706 (c-name "empathy_tp_tube_get_type")
2707 (return-type "GType")
2710 (define-function tp_tube_new
2711 (c-name "empathy_tp_tube_new")
2712 (is-constructor-of "EmpathyTpTube")
2713 (return-type "EmpathyTpTube*")
2715 '("TpChannel*" "channel")
2719 (define-function tp_tube_new_stream_tube
2720 (c-name "empathy_tp_tube_new_stream_tube")
2721 (return-type "EmpathyTpTube*")
2723 '("EmpathyContact*" "contact")
2724 '("TpSocketAddressType" "type")
2725 '("const-gchar*" "hostname")
2727 '("const-gchar*" "service")
2728 '("GHashTable*" "parameters")
2732 (define-method accept_stream_tube
2733 (of-object "EmpathyTpTube")
2734 (c-name "empathy_tp_tube_accept_stream_tube")
2735 (return-type "none")
2737 '("TpSocketAddressType" "type")
2738 '("EmpatyTpTubeAcceptStreamTubeCb*" "callback")
2739 '("gpointer" "user_data")
2745 ;; From empathy-tube-handler.h
2747 (define-function tube_handler_get_type
2748 (c-name "empathy_tube_handler_get_type")
2749 (return-type "GType")
2752 (define-function tube_handler_new
2753 (c-name "empathy_tube_handler_new")
2754 (is-constructor-of "EmpathyTubeHandler")
2755 (return-type "EmpathyTubeHandler*")
2757 '("TpTubeType" "type")
2758 '("const-gchar*" "service")
2762 (define-function tube_handler_build_bus_name
2763 (c-name "empathy_tube_handler_build_bus_name")
2764 (return-type "gchar*")
2766 '("TpTubeType" "type")
2767 '("const-gchar*" "service")
2771 (define-function tube_handler_build_object_path
2772 (c-name "empathy_tube_handler_build_object_path")
2773 (return-type "gchar*")
2775 '("TpTubeType" "type")
2776 '("const-gchar*" "service")
2782 ;; From empathy-types.h
2786 ;; From empathy-utils.h
2788 (define-function init
2789 (c-name "empathy_init")
2790 (return-type "none")
2793 (define-function substring
2794 (c-name "empathy_substring")
2795 (return-type "gchar*")
2797 '("const-gchar*" "str")
2803 (define-function strcasecmp
2804 (c-name "empathy_strcasecmp")
2805 (return-type "gint")
2807 '("const-gchar*" "s1")
2808 '("const-gchar*" "s2")
2812 (define-function strncasecmp
2813 (c-name "empathy_strncasecmp")
2814 (return-type "gint")
2816 '("const-gchar*" "s1")
2817 '("const-gchar*" "s2")
2822 (define-function xml_validate
2823 (c-name "empathy_xml_validate")
2824 (return-type "gboolean")
2827 '("const-gchar*" "dtd_filename")
2831 (define-function xml_node_get_child
2832 (c-name "empathy_xml_node_get_child")
2833 (return-type "xmlNodePtr")
2835 '("xmlNodePtr" "node")
2836 '("const-gchar*" "child_name")
2840 (define-function xml_node_get_child_content
2841 (c-name "empathy_xml_node_get_child_content")
2842 (return-type "xmlChar*")
2844 '("xmlNodePtr" "node")
2845 '("const-gchar*" "child_name")
2849 (define-function xml_node_find_child_prop_value
2850 (c-name "empathy_xml_node_find_child_prop_value")
2851 (return-type "xmlNodePtr")
2853 '("xmlNodePtr" "node")
2854 '("const-gchar*" "prop_name")
2855 '("const-gchar*" "prop_value")
2859 (define-function account_hash
2860 (c-name "empathy_account_hash")
2861 (return-type "guint")
2863 '("gconstpointer" "key")
2867 (define-function account_equal
2868 (c-name "empathy_account_equal")
2869 (return-type "gboolean")
2871 '("gconstpointer" "a")
2872 '("gconstpointer" "b")
2876 (define-function mission_control_dup_singleton
2877 (c-name "empathy_mission_control_dup_singleton")
2878 (return-type "MissionControl*")
2881 (define-function presence_get_default_message
2882 (c-name "empathy_presence_get_default_message")
2883 (return-type "const-gchar*")
2885 '("McPresence" "presence")
2889 (define-function presence_to_str
2890 (c-name "empathy_presence_to_str")
2891 (return-type "const-gchar*")
2893 '("McPresence" "presence")
2897 (define-function presence_from_str
2898 (c-name "empathy_presence_from_str")
2899 (return-type "McPresence")
2901 '("const-gchar*" "str")
2905 (define-function file_lookup
2906 (c-name "empathy_file_lookup")
2907 (return-type "gchar*")
2909 '("const-gchar*" "filename")
2910 '("const-gchar*" "subdir")
2914 (define-function run_until_ready
2915 (c-name "empathy_run_until_ready")
2916 (return-type "none")
2918 '("gpointer" "object")
2922 (define-function run_until_ready_full
2923 (c-name "empathy_run_until_ready_full")
2924 (return-type "none")
2926 '("gpointer" "object")
2927 '("const-gchar*" "signal")
2928 '("EmpathyRunUntilReadyFunc" "func")
2929 '("gpointer" "user_data")
2930 '("GMainLoop**" "loop")
2934 (define-function channel_get_account
2935 (c-name "empathy_channel_get_account")
2936 (return-type "McAccount*")
2938 '("TpChannel*" "channel")
2942 (define-function proxy_equal
2943 (c-name "empathy_proxy_equal")
2944 (return-type "gboolean")
2946 '("gconstpointer" "a")
2947 '("gconstpointer" "b")
2951 (define-function proxy_hash
2952 (c-name "empathy_proxy_hash")
2953 (return-type "guint")
2955 '("gconstpointer" "key")
2959 (define-function check_available_state
2960 (c-name "empathy_check_available_state")
2961 (return-type "gboolean")