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-interface ContactList
47 (c-name "EmpathyContactList")
48 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
51 (define-object ContactManager
54 (implements "EmpathyContactList")
55 (c-name "EmpathyContactManager")
56 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
59 (define-object ContactMonitor
62 (c-name "EmpathyContactMonitor")
63 (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
66 (define-object DispatchOperation
69 (c-name "EmpathyDispatchOperation")
70 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
73 (define-object Dispatcher
76 (c-name "EmpathyDispatcher")
77 (gtype-id "EMPATHY_TYPE_DISPATCHER")
83 (c-name "EmpathyIdle")
84 (gtype-id "EMPATHY_TYPE_IDLE")
87 (define-object IrcNetwork
90 (c-name "EmpathyIrcNetwork")
91 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
94 (define-object IrcNetworkManager
97 (c-name "EmpathyIrcNetworkManager")
98 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
101 (define-object IrcServer
102 (in-module "Empathy")
104 (c-name "EmpathyIrcServer")
105 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
108 (define-object LogManager
109 (in-module "Empathy")
111 (c-name "EmpathyLogManager")
112 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
115 (define-object LogStoreEmpathy
116 (in-module "Empathy")
118 (c-name "EmpathyLogStoreEmpathy")
119 (gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
122 (define-object Message
123 (in-module "Empathy")
125 (c-name "EmpathyMessage")
126 (gtype-id "EMPATHY_TYPE_MESSAGE")
129 (define-object TpCall
130 (in-module "Empathy")
132 (c-name "EmpathyTpCall")
133 (gtype-id "EMPATHY_TYPE_TP_CALL")
136 (define-object TpChat
137 (in-module "Empathy")
139 (c-name "EmpathyTpChat")
140 (gtype-id "EMPATHY_TYPE_TP_CHAT")
143 (define-object TpContactFactory
144 (in-module "Empathy")
146 (c-name "EmpathyTpContactFactory")
147 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
150 (define-object TpContactList
151 (in-module "Empathy")
153 (implements "EmpathyContactList")
154 (c-name "EmpathyTpContactList")
155 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
158 (define-object TpFile
159 (in-module "Empathy")
161 (c-name "EmpathyTpFile")
162 (gtype-id "EMPATHY_TYPE_TP_FILE")
165 (define-object TpRoomlist
166 (in-module "Empathy")
168 (c-name "EmpathyTpRoomlist")
169 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
172 (define-object TpTube
173 (in-module "Empathy")
175 (c-name "EmpathyTpTube")
176 (gtype-id "EMPATHY_TYPE_TP_TUBE")
179 (define-object TubeHandler
180 (in-module "Empathy")
182 (c-name "EmpathyTubeHandler")
183 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
186 ;; Enumerations and flags ...
188 (define-flags Capabilities
189 (in-module "Empathy")
190 (c-name "EmpathyCapabilities")
191 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
193 '("none" "EMPATHY_CAPABILITIES_NONE")
194 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
195 '("video" "EMPATHY_CAPABILITIES_VIDEO")
196 '("ft" "EMPATHY_CAPABILITIES_FT")
197 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
201 (define-flags DebugFlags
202 (in-module "Empathy")
203 (c-name "EmpathyDebugFlags")
204 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
206 '("tp" "EMPATHY_DEBUG_TP")
207 '("chat" "EMPATHY_DEBUG_CHAT")
208 '("contact" "EMPATHY_DEBUG_CONTACT")
209 '("account" "EMPATHY_DEBUG_ACCOUNT")
210 '("irc" "EMPATHY_DEBUG_IRC")
211 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
212 '("ft" "EMPATHY_DEBUG_FT")
213 '("other" "EMPATHY_DEBUG_OTHER")
217 (define-enum DispatchOperationState
218 (in-module "Empathy")
219 (c-name "EmpathyDispatchOperationState")
220 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
222 '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
223 '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
224 '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
225 '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
226 '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
227 '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
231 (define-enum TpCallStatus
232 (in-module "Empathy")
233 (c-name "EmpathyTpCallStatus")
234 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
236 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
237 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
238 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
239 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
244 ;; From empathy-account-manager.h
246 (define-function account_manager_get_type
247 (c-name "empathy_account_manager_get_type")
248 (return-type "GType")
251 (define-function account_manager_dup_singleton
252 (c-name "empathy_account_manager_dup_singleton")
253 (return-type "EmpathyAccountManager*")
256 (define-method get_connected_accounts
257 (of-object "EmpathyAccountManager")
258 (c-name "empathy_account_manager_get_connected_accounts")
262 (define-method get_connecting_accounts
263 (of-object "EmpathyAccountManager")
264 (c-name "empathy_account_manager_get_connecting_accounts")
268 (define-method is_account_just_connected
269 (of-object "EmpathyAccountManager")
270 (c-name "empathy_account_manager_is_account_just_connected")
271 (return-type "gboolean")
273 '("McAccount*" "account")
277 (define-method get_count
278 (of-object "EmpathyAccountManager")
279 (c-name "empathy_account_manager_get_count")
283 (define-method get_account
284 (of-object "EmpathyAccountManager")
285 (c-name "empathy_account_manager_get_account")
286 (return-type "McAccount*")
288 '("TpConnection*" "connection")
292 (define-method dup_accounts
293 (of-object "EmpathyAccountManager")
294 (c-name "empathy_account_manager_dup_accounts")
295 (return-type "GList*")
298 (define-method get_connection
299 (of-object "EmpathyAccountManager")
300 (c-name "empathy_account_manager_get_connection")
301 (return-type "TpConnection*")
303 '("McAccount*" "account")
307 (define-method dup_connections
308 (of-object "EmpathyAccountManager")
309 (c-name "empathy_account_manager_dup_connections")
310 (return-type "GList*")
315 ;; From empathy-chatroom.h
317 (define-function chatroom_get_type
318 (c-name "empathy_chatroom_get_type")
319 (return-type "GType")
322 (define-function chatroom_new
323 (c-name "empathy_chatroom_new")
324 (is-constructor-of "EmpathyChatroom")
325 (return-type "EmpathyChatroom*")
327 '("McAccount*" "account")
331 (define-function chatroom_new_full
332 (c-name "empathy_chatroom_new_full")
333 (return-type "EmpathyChatroom*")
335 '("McAccount*" "account")
336 '("const-gchar*" "room")
337 '("const-gchar*" "name")
338 '("gboolean" "auto_connect")
342 (define-method get_account
343 (of-object "EmpathyChatroom")
344 (c-name "empathy_chatroom_get_account")
345 (return-type "McAccount*")
348 (define-method set_account
349 (of-object "EmpathyChatroom")
350 (c-name "empathy_chatroom_set_account")
353 '("McAccount*" "account")
357 (define-method get_room
358 (of-object "EmpathyChatroom")
359 (c-name "empathy_chatroom_get_room")
360 (return-type "const-gchar*")
363 (define-method set_room
364 (of-object "EmpathyChatroom")
365 (c-name "empathy_chatroom_set_room")
368 '("const-gchar*" "room")
372 (define-method get_name
373 (of-object "EmpathyChatroom")
374 (c-name "empathy_chatroom_get_name")
375 (return-type "const-gchar*")
378 (define-method set_name
379 (of-object "EmpathyChatroom")
380 (c-name "empathy_chatroom_set_name")
383 '("const-gchar*" "name")
387 (define-method get_auto_connect
388 (of-object "EmpathyChatroom")
389 (c-name "empathy_chatroom_get_auto_connect")
390 (return-type "gboolean")
393 (define-method set_auto_connect
394 (of-object "EmpathyChatroom")
395 (c-name "empathy_chatroom_set_auto_connect")
398 '("gboolean" "auto_connect")
402 (define-method get_subject
403 (of-object "EmpathyChatroom")
404 (c-name "empathy_chatroom_get_subject")
405 (return-type "const-gchar*")
408 (define-method set_subject
409 (of-object "EmpathyChatroom")
410 (c-name "empathy_chatroom_set_subject")
413 '("const-gchar*" "subject")
417 (define-method get_members_count
418 (of-object "EmpathyChatroom")
419 (c-name "empathy_chatroom_get_members_count")
420 (return-type "guint")
423 (define-method set_members_count
424 (of-object "EmpathyChatroom")
425 (c-name "empathy_chatroom_set_members_count")
432 (define-method get_need_password
433 (of-object "EmpathyChatroom")
434 (c-name "empathy_chatroom_get_need_password")
435 (return-type "gboolean")
438 (define-method set_need_password
439 (of-object "EmpathyChatroom")
440 (c-name "empathy_chatroom_set_need_password")
443 '("gboolean" "need_password")
447 (define-method get_invite_only
448 (of-object "EmpathyChatroom")
449 (c-name "empathy_chatroom_get_invite_only")
450 (return-type "gboolean")
453 (define-method set_invite_only
454 (of-object "EmpathyChatroom")
455 (c-name "empathy_chatroom_set_invite_only")
458 '("gboolean" "invite_only")
462 (define-function chatroom_equal
463 (c-name "empathy_chatroom_equal")
464 (return-type "gboolean")
466 '("gconstpointer" "v1")
467 '("gconstpointer" "v2")
471 (define-method get_tp_chat
472 (of-object "EmpathyChatroom")
473 (c-name "empathy_chatroom_get_tp_chat")
474 (return-type "EmpathyTpChat*")
477 (define-method set_tp_chat
478 (of-object "EmpathyChatroom")
479 (c-name "empathy_chatroom_set_tp_chat")
482 '("EmpathyTpChat*" "tp_chat")
486 (define-method is_favorite
487 (of-object "EmpathyChatroom")
488 (c-name "empathy_chatroom_is_favorite")
489 (return-type "gboolean")
492 (define-method set_favorite
493 (of-object "EmpathyChatroom")
494 (c-name "empathy_chatroom_set_favorite")
497 '("gboolean" "favorite")
503 ;; From empathy-chatroom-manager.h
505 (define-function chatroom_manager_get_type
506 (c-name "empathy_chatroom_manager_get_type")
507 (return-type "GType")
510 (define-function chatroom_manager_dup_singleton
511 (c-name "empathy_chatroom_manager_dup_singleton")
512 (return-type "EmpathyChatroomManager*")
514 '("const-gchar*" "file")
519 (of-object "EmpathyChatroomManager")
520 (c-name "empathy_chatroom_manager_add")
521 (return-type "gboolean")
523 '("EmpathyChatroom*" "chatroom")
527 (define-method remove
528 (of-object "EmpathyChatroomManager")
529 (c-name "empathy_chatroom_manager_remove")
532 '("EmpathyChatroom*" "chatroom")
537 (of-object "EmpathyChatroomManager")
538 (c-name "empathy_chatroom_manager_find")
539 (return-type "EmpathyChatroom*")
541 '("McAccount*" "account")
542 '("const-gchar*" "room")
546 (define-method get_chatrooms
547 (of-object "EmpathyChatroomManager")
548 (c-name "empathy_chatroom_manager_get_chatrooms")
549 (return-type "GList*")
551 '("McAccount*" "account")
555 (define-method get_count
556 (of-object "EmpathyChatroomManager")
557 (c-name "empathy_chatroom_manager_get_count")
558 (return-type "guint")
560 '("McAccount*" "account")
564 (define-method observe
565 (of-object "EmpathyChatroomManager")
566 (c-name "empathy_chatroom_manager_observe")
569 '("EmpathyDispatcher*" "dispatcher")
575 ;; From empathy-call-factory.h
577 (define-function call_factory_get_type
578 (c-name "empathy_call_factory_get_type")
579 (return-type "GType")
582 (define-function call_factory_initialise
583 (c-name "empathy_call_factory_initialise")
584 (return-type "EmpathyCallFactory*")
587 (define-function call_factory_get
588 (c-name "empathy_call_factory_get")
589 (return-type "EmpathyCallFactory*")
592 (define-method new_call
593 (of-object "EmpathyCallFactory")
594 (c-name "empathy_call_factory_new_call")
597 '("EmpathyContact*" "contact")
601 (define-method claim_channel
602 (of-object "EmpathyCallFactory")
603 (c-name "empathy_call_factory_claim_channel")
606 '("EmpathyDispatchOperation*" "operation")
612 ;; From empathy-call-handler.h
614 (define-function call_handler_get_type
615 (c-name "empathy_call_handler_get_type")
616 (return-type "GType")
619 (define-function call_handler_new_for_contact
620 (c-name "empathy_call_handler_new_for_contact")
621 (return-type "EmpathyCallHandler*")
623 '("EmpathyContact*" "contact")
627 (define-function call_handler_new_for_channel
628 (c-name "empathy_call_handler_new_for_channel")
629 (return-type "EmpathyCallHandler*")
631 '("EmpathyTpCall*" "call")
635 (define-method start_call
636 (of-object "EmpathyCallHandler")
637 (c-name "empathy_call_handler_start_call")
641 (define-method bus_message
642 (of-object "EmpathyCallHandler")
643 (c-name "empathy_call_handler_bus_message")
647 '("GstMessage*" "message")
653 ;; From empathy-contact.h
655 (define-function contact_get_type
656 (c-name "empathy_contact_get_type")
657 (return-type "GType")
660 (define-function contact_new
661 (c-name "empathy_contact_new")
662 (is-constructor-of "EmpathyContact")
663 (return-type "EmpathyContact*")
665 '("TpContact*" "tp_contact")
669 (define-function contact_new_for_log
670 (c-name "empathy_contact_new_for_log")
671 (return-type "EmpathyContact*")
673 '("McAccount*" "account")
674 '("const-gchar*" "id")
675 '("const-gchar*" "name")
676 '("gboolean" "is_user")
680 (define-method get_tp_contact
681 (of-object "EmpathyContact")
682 (c-name "empathy_contact_get_tp_contact")
683 (return-type "TpContact*")
686 (define-method get_id
687 (of-object "EmpathyContact")
688 (c-name "empathy_contact_get_id")
689 (return-type "const-gchar*")
692 (define-method set_id
693 (of-object "EmpathyContact")
694 (c-name "empathy_contact_set_id")
697 '("const-gchar*" "id")
701 (define-method get_name
702 (of-object "EmpathyContact")
703 (c-name "empathy_contact_get_name")
704 (return-type "const-gchar*")
707 (define-method set_name
708 (of-object "EmpathyContact")
709 (c-name "empathy_contact_set_name")
712 '("const-gchar*" "name")
716 (define-method get_avatar
717 (of-object "EmpathyContact")
718 (c-name "empathy_contact_get_avatar")
719 (return-type "EmpathyAvatar*")
722 (define-method set_avatar
723 (of-object "EmpathyContact")
724 (c-name "empathy_contact_set_avatar")
727 '("EmpathyAvatar*" "avatar")
731 (define-method get_account
732 (of-object "EmpathyContact")
733 (c-name "empathy_contact_get_account")
734 (return-type "McAccount*")
737 (define-method get_connection
738 (of-object "EmpathyContact")
739 (c-name "empathy_contact_get_connection")
740 (return-type "TpConnection*")
743 (define-method get_presence
744 (of-object "EmpathyContact")
745 (c-name "empathy_contact_get_presence")
746 (return-type "McPresence")
749 (define-method set_presence
750 (of-object "EmpathyContact")
751 (c-name "empathy_contact_set_presence")
754 '("McPresence" "presence")
758 (define-method get_presence_message
759 (of-object "EmpathyContact")
760 (c-name "empathy_contact_get_presence_message")
761 (return-type "const-gchar*")
764 (define-method set_presence_message
765 (of-object "EmpathyContact")
766 (c-name "empathy_contact_set_presence_message")
769 '("const-gchar*" "message")
773 (define-method get_handle
774 (of-object "EmpathyContact")
775 (c-name "empathy_contact_get_handle")
776 (return-type "guint")
779 (define-method set_handle
780 (of-object "EmpathyContact")
781 (c-name "empathy_contact_set_handle")
788 (define-method get_capabilities
789 (of-object "EmpathyContact")
790 (c-name "empathy_contact_get_capabilities")
791 (return-type "EmpathyCapabilities")
794 (define-method set_capabilities
795 (of-object "EmpathyContact")
796 (c-name "empathy_contact_set_capabilities")
799 '("EmpathyCapabilities" "capabilities")
803 (define-method is_user
804 (of-object "EmpathyContact")
805 (c-name "empathy_contact_is_user")
806 (return-type "gboolean")
809 (define-method set_is_user
810 (of-object "EmpathyContact")
811 (c-name "empathy_contact_set_is_user")
814 '("gboolean" "is_user")
818 (define-method is_online
819 (of-object "EmpathyContact")
820 (c-name "empathy_contact_is_online")
821 (return-type "gboolean")
824 (define-method get_status
825 (of-object "EmpathyContact")
826 (c-name "empathy_contact_get_status")
827 (return-type "const-gchar*")
830 (define-method can_voip
831 (of-object "EmpathyContact")
832 (c-name "empathy_contact_can_voip")
833 (return-type "gboolean")
836 (define-method can_send_files
837 (of-object "EmpathyContact")
838 (c-name "empathy_contact_can_send_files")
839 (return-type "gboolean")
842 (define-function contact_hash
843 (c-name "empathy_contact_hash")
844 (return-type "guint")
846 '("gconstpointer" "key")
850 (define-method load_avatar_data
851 (of-object "EmpathyContact")
852 (c-name "empathy_contact_load_avatar_data")
855 '("const-guchar*" "data")
856 '("const-gsize" "len")
857 '("const-gchar*" "format")
858 '("const-gchar*" "token")
862 (define-method load_avatar_cache
863 (of-object "EmpathyContact")
864 (c-name "empathy_contact_load_avatar_cache")
865 (return-type "gboolean")
867 '("const-gchar*" "token")
871 (define-function avatar_get_type
872 (c-name "empathy_avatar_get_type")
873 (return-type "GType")
876 (define-function avatar_new
877 (c-name "empathy_avatar_new")
878 (is-constructor-of "EmpathyAvatar")
879 (return-type "EmpathyAvatar*")
889 (of-object "EmpathyAvatar")
890 (c-name "empathy_avatar_ref")
891 (return-type "EmpathyAvatar*")
895 (of-object "EmpathyAvatar")
896 (c-name "empathy_avatar_unref")
900 (define-method save_to_file
901 (of-object "EmpathyAvatar")
902 (c-name "empathy_avatar_save_to_file")
903 (return-type "gboolean")
905 '("const-gchar*" "filename")
906 '("GError**" "error")
912 ;; From empathy-contact-groups.h
914 (define-function contact_groups_get_all
915 (c-name "empathy_contact_groups_get_all")
919 (define-function contact_group_get_expanded
920 (c-name "empathy_contact_group_get_expanded")
921 (return-type "gboolean")
923 '("const-gchar*" "group")
927 (define-function contact_group_set_expanded
928 (c-name "empathy_contact_group_set_expanded")
931 '("const-gchar*" "group")
932 '("gboolean" "expanded")
938 ;; From empathy-contact-list.h
940 (define-function contact_list_get_type
941 (c-name "empathy_contact_list_get_type")
942 (return-type "GType")
946 (of-object "EmpathyContactList")
947 (c-name "empathy_contact_list_add")
950 '("EmpathyContact*" "contact")
951 '("const-gchar*" "message")
955 (define-method remove
956 (of-object "EmpathyContactList")
957 (c-name "empathy_contact_list_remove")
960 '("EmpathyContact*" "contact")
961 '("const-gchar*" "message")
965 (define-method get_members
966 (of-object "EmpathyContactList")
967 (c-name "empathy_contact_list_get_members")
968 (return-type "GList*")
971 (define-method get_pendings
972 (of-object "EmpathyContactList")
973 (c-name "empathy_contact_list_get_pendings")
974 (return-type "GList*")
977 (define-method get_all_groups
978 (of-object "EmpathyContactList")
979 (c-name "empathy_contact_list_get_all_groups")
980 (return-type "GList*")
983 (define-method get_groups
984 (of-object "EmpathyContactList")
985 (c-name "empathy_contact_list_get_groups")
986 (return-type "GList*")
988 '("EmpathyContact*" "contact")
992 (define-method add_to_group
993 (of-object "EmpathyContactList")
994 (c-name "empathy_contact_list_add_to_group")
997 '("EmpathyContact*" "contact")
998 '("const-gchar*" "group")
1002 (define-method remove_from_group
1003 (of-object "EmpathyContactList")
1004 (c-name "empathy_contact_list_remove_from_group")
1005 (return-type "none")
1007 '("EmpathyContact*" "contact")
1008 '("const-gchar*" "group")
1012 (define-method rename_group
1013 (of-object "EmpathyContactList")
1014 (c-name "empathy_contact_list_rename_group")
1015 (return-type "none")
1017 '("const-gchar*" "old_group")
1018 '("const-gchar*" "new_group")
1022 (define-method remove_group
1023 (of-object "EmpathyContactList")
1024 (c-name "empathy_contact_list_remove_group")
1025 (return-type "none")
1027 '("const-gchar*" "group")
1031 (define-method get_monitor
1032 (of-object "EmpathyContactList")
1033 (c-name "empathy_contact_list_get_monitor")
1034 (return-type "EmpathyContactMonitor*")
1039 ;; From empathy-contact-manager.h
1041 (define-function contact_manager_get_type
1042 (c-name "empathy_contact_manager_get_type")
1043 (return-type "GType")
1046 (define-function contact_manager_dup_singleton
1047 (c-name "empathy_contact_manager_dup_singleton")
1048 (return-type "EmpathyContactManager*")
1051 (define-method get_list
1052 (of-object "EmpathyContactManager")
1053 (c-name "empathy_contact_manager_get_list")
1054 (return-type "EmpathyTpContactList*")
1056 '("TpConnection*" "connection")
1060 (define-method can_add
1061 (of-object "EmpathyContactManager")
1062 (c-name "empathy_contact_manager_can_add")
1063 (return-type "gboolean")
1065 '("TpConnection*" "connection")
1071 ;; From empathy-contact-monitor.h
1073 (define-function contact_monitor_get_type
1074 (c-name "empathy_contact_monitor_get_type")
1075 (return-type "GType")
1078 (define-method set_iface
1079 (of-object "EmpathyContactMonitor")
1080 (c-name "empathy_contact_monitor_set_iface")
1081 (return-type "none")
1083 '("EmpathyContactList*" "iface")
1087 (define-function contact_monitor_new_for_iface
1088 (c-name "empathy_contact_monitor_new_for_iface")
1089 (return-type "EmpathyContactMonitor*")
1091 '("EmpathyContactList*" "iface")
1097 ;; From empathy-debug.h
1099 (define-function debug_flag_is_set
1100 (c-name "empathy_debug_flag_is_set")
1101 (return-type "gboolean")
1103 '("EmpathyDebugFlags" "flag")
1107 (define-function debug
1108 (c-name "empathy_debug")
1109 (return-type "none")
1111 '("EmpathyDebugFlags" "flag")
1112 '("const-gchar*" "format")
1117 (define-function debug_set_flags
1118 (c-name "empathy_debug_set_flags")
1119 (return-type "none")
1121 '("const-gchar*" "flags_string")
1127 ;; From empathy-dispatcher.h
1129 (define-function dispatcher_get_type
1130 (c-name "empathy_dispatcher_get_type")
1131 (return-type "GType")
1134 (define-method create_channel
1135 (of-object "EmpathyDispatcher")
1136 (c-name "empathy_dispatcher_create_channel")
1137 (return-type "none")
1139 '("TpConnection*" "connection")
1140 '("GHashTable*" "request")
1141 '("EmpathyDispatcherRequestCb*" "callback")
1142 '("gpointer" "user_data")
1146 (define-function dispatcher_chat_with_contact_id
1147 (c-name "empathy_dispatcher_chat_with_contact_id")
1148 (return-type "none")
1150 '("TpConnection*" "connection")
1151 '("const-gchar*" "contact_id")
1152 '("EmpathyDispatcherRequestCb*" "callback")
1153 '("gpointer" "user_data")
1157 (define-function dispatcher_chat_with_contact
1158 (c-name "empathy_dispatcher_chat_with_contact")
1159 (return-type "none")
1161 '("EmpathyContact*" "contact")
1162 '("EmpathyDispatcherRequestCb*" "callback")
1163 '("gpointer" "user_data")
1167 (define-function dispatcher_send_file_to_contact
1168 (c-name "empathy_dispatcher_send_file_to_contact")
1169 (return-type "none")
1171 '("EmpathyContact*" "contact")
1172 '("const-gchar*" "filename")
1175 '("const-gchar*" "content_type")
1176 '("EmpathyDispatcherRequestCb*" "callback")
1177 '("gpointer" "user_data")
1181 (define-function dispatcher_join_muc
1182 (c-name "empathy_dispatcher_join_muc")
1183 (return-type "none")
1185 '("TpConnection*" "connection")
1186 '("const-gchar*" "roomname")
1187 '("EmpathyDispatcherRequestCb*" "callback")
1188 '("gpointer" "user_data")
1192 (define-method find_channel_class
1193 (of-object "EmpathyDispatcher")
1194 (c-name "empathy_dispatcher_find_channel_class")
1195 (return-type "GStrv")
1197 '("TpConnection*" "connection")
1198 '("const-gchar*" "channel_type")
1199 '("guint" "handle_type")
1203 (define-function dispatcher_dup_singleton
1204 (c-name "empathy_dispatcher_dup_singleton")
1205 (return-type "EmpathyDispatcher*")
1210 ;; From empathy-dispatch-operation.h
1212 (define-function dispatch_operation_get_type
1213 (c-name "empathy_dispatch_operation_get_type")
1214 (return-type "GType")
1217 (define-function dispatch_operation_new
1218 (c-name "empathy_dispatch_operation_new")
1219 (is-constructor-of "EmpathyDispatchOperation")
1220 (return-type "EmpathyDispatchOperation*")
1222 '("TpConnection*" "connection")
1223 '("TpChannel*" "channel")
1224 '("EmpathyContact*" "contact")
1225 '("gboolean" "incoming")
1229 (define-function dispatch_operation_new_with_wrapper
1230 (c-name "empathy_dispatch_operation_new_with_wrapper")
1231 (return-type "EmpathyDispatchOperation*")
1233 '("TpConnection*" "connection")
1234 '("TpChannel*" "channel")
1235 '("EmpathyContact*" "contact")
1236 '("gboolean" "incoming")
1237 '("GObject*" "channel_wrapper")
1241 (define-method start
1242 (of-object "EmpathyDispatchOperation")
1243 (c-name "empathy_dispatch_operation_start")
1244 (return-type "none")
1247 (define-method approve
1248 (of-object "EmpathyDispatchOperation")
1249 (c-name "empathy_dispatch_operation_approve")
1250 (return-type "none")
1253 (define-method claim
1254 (of-object "EmpathyDispatchOperation")
1255 (c-name "empathy_dispatch_operation_claim")
1256 (return-type "gboolean")
1259 (define-method get_channel
1260 (of-object "EmpathyDispatchOperation")
1261 (c-name "empathy_dispatch_operation_get_channel")
1262 (return-type "TpChannel*")
1265 (define-method get_channel_wrapper
1266 (of-object "EmpathyDispatchOperation")
1267 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1268 (return-type "GObject*")
1271 (define-method get_tp_connection
1272 (of-object "EmpathyDispatchOperation")
1273 (c-name "empathy_dispatch_operation_get_tp_connection")
1274 (return-type "TpConnection*")
1277 (define-method get_channel_type
1278 (of-object "EmpathyDispatchOperation")
1279 (c-name "empathy_dispatch_operation_get_channel_type")
1280 (return-type "const-gchar*")
1283 (define-method get_channel_type_id
1284 (of-object "EmpathyDispatchOperation")
1285 (c-name "empathy_dispatch_operation_get_channel_type_id")
1286 (return-type "GQuark")
1289 (define-method get_object_path
1290 (of-object "EmpathyDispatchOperation")
1291 (c-name "empathy_dispatch_operation_get_object_path")
1292 (return-type "const-gchar*")
1295 (define-method get_status
1296 (of-object "EmpathyDispatchOperation")
1297 (c-name "empathy_dispatch_operation_get_status")
1298 (return-type "EmpathyDispatchOperationState")
1301 (define-method is_incoming
1302 (of-object "EmpathyDispatchOperation")
1303 (c-name "empathy_dispatch_operation_is_incoming")
1304 (return-type "gboolean")
1309 ;; From empathy-idle.h
1311 (define-function idle_get_type
1312 (c-name "empathy_idle_get_type")
1313 (return-type "GType")
1316 (define-function idle_dup_singleton
1317 (c-name "empathy_idle_dup_singleton")
1318 (return-type "EmpathyIdle*")
1321 (define-method get_state
1322 (of-object "EmpathyIdle")
1323 (c-name "empathy_idle_get_state")
1324 (return-type "McPresence")
1327 (define-method set_state
1328 (of-object "EmpathyIdle")
1329 (c-name "empathy_idle_set_state")
1330 (return-type "none")
1332 '("McPresence" "state")
1336 (define-method get_status
1337 (of-object "EmpathyIdle")
1338 (c-name "empathy_idle_get_status")
1339 (return-type "const-gchar*")
1342 (define-method set_status
1343 (of-object "EmpathyIdle")
1344 (c-name "empathy_idle_set_status")
1345 (return-type "none")
1347 '("const-gchar*" "status")
1351 (define-method get_flash_state
1352 (of-object "EmpathyIdle")
1353 (c-name "empathy_idle_get_flash_state")
1354 (return-type "McPresence")
1357 (define-method set_flash_state
1358 (of-object "EmpathyIdle")
1359 (c-name "empathy_idle_set_flash_state")
1360 (return-type "none")
1362 '("McPresence" "state")
1366 (define-method set_presence
1367 (of-object "EmpathyIdle")
1368 (c-name "empathy_idle_set_presence")
1369 (return-type "none")
1371 '("McPresence" "state")
1372 '("const-gchar*" "status")
1376 (define-method get_auto_away
1377 (of-object "EmpathyIdle")
1378 (c-name "empathy_idle_get_auto_away")
1379 (return-type "gboolean")
1382 (define-method set_auto_away
1383 (of-object "EmpathyIdle")
1384 (c-name "empathy_idle_set_auto_away")
1385 (return-type "none")
1387 '("gboolean" "auto_away")
1391 (define-method get_use_nm
1392 (of-object "EmpathyIdle")
1393 (c-name "empathy_idle_get_use_nm")
1394 (return-type "gboolean")
1397 (define-method set_use_nm
1398 (of-object "EmpathyIdle")
1399 (c-name "empathy_idle_set_use_nm")
1400 (return-type "none")
1402 '("gboolean" "use_nm")
1408 ;; From empathy-irc-network.h
1410 (define-function irc_network_get_type
1411 (c-name "empathy_irc_network_get_type")
1412 (return-type "GType")
1415 (define-function irc_network_new
1416 (c-name "empathy_irc_network_new")
1417 (is-constructor-of "EmpathyIrcNetwork")
1418 (return-type "EmpathyIrcNetwork*")
1420 '("const-gchar*" "name")
1424 (define-method get_servers
1425 (of-object "EmpathyIrcNetwork")
1426 (c-name "empathy_irc_network_get_servers")
1427 (return-type "GSList*")
1430 (define-method append_server
1431 (of-object "EmpathyIrcNetwork")
1432 (c-name "empathy_irc_network_append_server")
1433 (return-type "none")
1435 '("EmpathyIrcServer*" "server")
1439 (define-method remove_server
1440 (of-object "EmpathyIrcNetwork")
1441 (c-name "empathy_irc_network_remove_server")
1442 (return-type "none")
1444 '("EmpathyIrcServer*" "server")
1448 (define-method set_server_position
1449 (of-object "EmpathyIrcNetwork")
1450 (c-name "empathy_irc_network_set_server_position")
1451 (return-type "none")
1453 '("EmpathyIrcServer*" "server")
1460 ;; From empathy-irc-network-manager.h
1462 (define-function irc_network_manager_get_type
1463 (c-name "empathy_irc_network_manager_get_type")
1464 (return-type "GType")
1467 (define-function irc_network_manager_new
1468 (c-name "empathy_irc_network_manager_new")
1469 (is-constructor-of "EmpathyIrcNetworkManager")
1470 (return-type "EmpathyIrcNetworkManager*")
1472 '("const-gchar*" "global_file")
1473 '("const-gchar*" "user_file")
1478 (of-object "EmpathyIrcNetworkManager")
1479 (c-name "empathy_irc_network_manager_add")
1480 (return-type "none")
1482 '("EmpathyIrcNetwork*" "network")
1486 (define-method remove
1487 (of-object "EmpathyIrcNetworkManager")
1488 (c-name "empathy_irc_network_manager_remove")
1489 (return-type "none")
1491 '("EmpathyIrcNetwork*" "network")
1495 (define-method get_networks
1496 (of-object "EmpathyIrcNetworkManager")
1497 (c-name "empathy_irc_network_manager_get_networks")
1498 (return-type "GSList*")
1501 (define-method find_network_by_address
1502 (of-object "EmpathyIrcNetworkManager")
1503 (c-name "empathy_irc_network_manager_find_network_by_address")
1504 (return-type "EmpathyIrcNetwork*")
1506 '("const-gchar*" "address")
1512 ;; From empathy-irc-server.h
1514 (define-function irc_server_get_type
1515 (c-name "empathy_irc_server_get_type")
1516 (return-type "GType")
1519 (define-function irc_server_new
1520 (c-name "empathy_irc_server_new")
1521 (is-constructor-of "EmpathyIrcServer")
1522 (return-type "EmpathyIrcServer*")
1524 '("const-gchar*" "address")
1532 ;; From empathy-log-manager.h
1534 (define-function log_manager_get_type
1535 (c-name "empathy_log_manager_get_type")
1536 (return-type "GType")
1539 (define-function log_manager_dup_singleton
1540 (c-name "empathy_log_manager_dup_singleton")
1541 (return-type "EmpathyLogManager*")
1544 (define-method add_message
1545 (of-object "EmpathyLogManager")
1546 (c-name "empathy_log_manager_add_message")
1547 (return-type "gboolean")
1549 '("const-gchar*" "chat_id")
1550 '("gboolean" "chatroom")
1551 '("EmpathyMessage*" "message")
1552 '("GError**" "error")
1556 (define-method exists
1557 (of-object "EmpathyLogManager")
1558 (c-name "empathy_log_manager_exists")
1559 (return-type "gboolean")
1561 '("McAccount*" "account")
1562 '("const-gchar*" "chat_id")
1563 '("gboolean" "chatroom")
1567 (define-method get_dates
1568 (of-object "EmpathyLogManager")
1569 (c-name "empathy_log_manager_get_dates")
1570 (return-type "GList*")
1572 '("McAccount*" "account")
1573 '("const-gchar*" "chat_id")
1574 '("gboolean" "chatroom")
1578 (define-method get_messages_for_date
1579 (of-object "EmpathyLogManager")
1580 (c-name "empathy_log_manager_get_messages_for_date")
1581 (return-type "GList*")
1583 '("McAccount*" "account")
1584 '("const-gchar*" "chat_id")
1585 '("gboolean" "chatroom")
1586 '("const-gchar*" "date")
1590 (define-method get_filtered_messages
1591 (of-object "EmpathyLogManager")
1592 (c-name "empathy_log_manager_get_filtered_messages")
1593 (return-type "GList*")
1595 '("McAccount*" "account")
1596 '("const-gchar*" "chat_id")
1597 '("gboolean" "chatroom")
1598 '("guint" "num_messages")
1599 '("EmpathyLogMessageFilter" "filter")
1600 '("gpointer" "user_data")
1604 (define-method get_chats
1605 (of-object "EmpathyLogManager")
1606 (c-name "empathy_log_manager_get_chats")
1607 (return-type "GList*")
1609 '("McAccount*" "account")
1613 (define-method search_new
1614 (of-object "EmpathyLogManager")
1615 (c-name "empathy_log_manager_search_new")
1616 (return-type "GList*")
1618 '("const-gchar*" "text")
1622 (define-function log_manager_search_free
1623 (c-name "empathy_log_manager_search_free")
1624 (return-type "none")
1630 (define-function log_manager_get_date_readable
1631 (c-name "empathy_log_manager_get_date_readable")
1632 (return-type "gchar*")
1634 '("const-gchar*" "date")
1638 (define-function log_manager_search_hit_free
1639 (c-name "empathy_log_manager_search_hit_free")
1640 (return-type "none")
1642 '("EmpathyLogSearchHit*" "hit")
1646 (define-method observe
1647 (of-object "EmpathyLogManager")
1648 (c-name "empathy_log_manager_observe")
1649 (return-type "none")
1651 '("EmpathyDispatcher*" "dispatcher")
1657 ;; From empathy-log-store.h
1659 (define-function log_store_get_type
1660 (c-name "empathy_log_store_get_type")
1661 (return-type "GType")
1664 (define-method get_name
1665 (of-object "EmpathyLogStore")
1666 (c-name "empathy_log_store_get_name")
1667 (return-type "const-gchar*")
1670 (define-method exists
1671 (of-object "EmpathyLogStore")
1672 (c-name "empathy_log_store_exists")
1673 (return-type "gboolean")
1675 '("McAccount*" "account")
1676 '("const-gchar*" "chat_id")
1677 '("gboolean" "chatroom")
1681 (define-method add_message
1682 (of-object "EmpathyLogStore")
1683 (c-name "empathy_log_store_add_message")
1684 (return-type "gboolean")
1686 '("const-gchar*" "chat_id")
1687 '("gboolean" "chatroom")
1688 '("EmpathyMessage*" "message")
1689 '("GError**" "error")
1693 (define-method get_dates
1694 (of-object "EmpathyLogStore")
1695 (c-name "empathy_log_store_get_dates")
1696 (return-type "GList*")
1698 '("McAccount*" "account")
1699 '("const-gchar*" "chat_id")
1700 '("gboolean" "chatroom")
1704 (define-method get_messages_for_date
1705 (of-object "EmpathyLogStore")
1706 (c-name "empathy_log_store_get_messages_for_date")
1707 (return-type "GList*")
1709 '("McAccount*" "account")
1710 '("const-gchar*" "chat_id")
1711 '("gboolean" "chatroom")
1712 '("const-gchar*" "date")
1716 (define-method get_last_messages
1717 (of-object "EmpathyLogStore")
1718 (c-name "empathy_log_store_get_last_messages")
1719 (return-type "GList*")
1721 '("McAccount*" "account")
1722 '("const-gchar*" "chat_id")
1723 '("gboolean" "chatroom")
1727 (define-method get_chats
1728 (of-object "EmpathyLogStore")
1729 (c-name "empathy_log_store_get_chats")
1730 (return-type "GList*")
1732 '("McAccount*" "account")
1736 (define-method search_new
1737 (of-object "EmpathyLogStore")
1738 (c-name "empathy_log_store_search_new")
1739 (return-type "GList*")
1741 '("const-gchar*" "text")
1745 (define-method ack_message
1746 (of-object "EmpathyLogStore")
1747 (c-name "empathy_log_store_ack_message")
1748 (return-type "none")
1750 '("const-gchar*" "chat_id")
1751 '("gboolean" "chatroom")
1752 '("EmpathyMessage*" "message")
1756 (define-method get_filtered_messages
1757 (of-object "EmpathyLogStore")
1758 (c-name "empathy_log_store_get_filtered_messages")
1759 (return-type "GList*")
1761 '("McAccount*" "account")
1762 '("const-gchar*" "chat_id")
1763 '("gboolean" "chatroom")
1764 '("guint" "num_messages")
1765 '("EmpathyLogMessageFilter" "filter")
1766 '("gpointer" "user_data")
1772 ;; From empathy-log-store-empathy.h
1774 (define-function log_store_empathy_get_type
1775 (c-name "empathy_log_store_empathy_get_type")
1776 (return-type "GType")
1781 ;; From empathy-message.h
1783 (define-function message_get_type
1784 (c-name "empathy_message_get_type")
1785 (return-type "GType")
1788 (define-function message_new
1789 (c-name "empathy_message_new")
1790 (is-constructor-of "EmpathyMessage")
1791 (return-type "EmpathyMessage*")
1793 '("const-gchar*" "body")
1797 (define-method get_tptype
1798 (of-object "EmpathyMessage")
1799 (c-name "empathy_message_get_tptype")
1800 (return-type "TpChannelTextMessageType")
1803 (define-method set_tptype
1804 (of-object "EmpathyMessage")
1805 (c-name "empathy_message_set_tptype")
1806 (return-type "none")
1808 '("TpChannelTextMessageType" "type")
1812 (define-method get_sender
1813 (of-object "EmpathyMessage")
1814 (c-name "empathy_message_get_sender")
1815 (return-type "EmpathyContact*")
1818 (define-method set_sender
1819 (of-object "EmpathyMessage")
1820 (c-name "empathy_message_set_sender")
1821 (return-type "none")
1823 '("EmpathyContact*" "contact")
1827 (define-method get_receiver
1828 (of-object "EmpathyMessage")
1829 (c-name "empathy_message_get_receiver")
1830 (return-type "EmpathyContact*")
1833 (define-method set_receiver
1834 (of-object "EmpathyMessage")
1835 (c-name "empathy_message_set_receiver")
1836 (return-type "none")
1838 '("EmpathyContact*" "contact")
1842 (define-method get_body
1843 (of-object "EmpathyMessage")
1844 (c-name "empathy_message_get_body")
1845 (return-type "const-gchar*")
1848 (define-method set_body
1849 (of-object "EmpathyMessage")
1850 (c-name "empathy_message_set_body")
1851 (return-type "none")
1853 '("const-gchar*" "body")
1857 (define-method get_timestamp
1858 (of-object "EmpathyMessage")
1859 (c-name "empathy_message_get_timestamp")
1860 (return-type "time_t")
1863 (define-method set_timestamp
1864 (of-object "EmpathyMessage")
1865 (c-name "empathy_message_set_timestamp")
1866 (return-type "none")
1868 '("time_t" "timestamp")
1872 (define-method should_highlight
1873 (of-object "EmpathyMessage")
1874 (c-name "empathy_message_should_highlight")
1875 (return-type "gboolean")
1878 (define-function message_type_from_str
1879 (c-name "empathy_message_type_from_str")
1880 (return-type "TpChannelTextMessageType")
1882 '("const-gchar*" "type_str")
1886 (define-function message_type_to_str
1887 (c-name "empathy_message_type_to_str")
1888 (return-type "const-gchar*")
1890 '("TpChannelTextMessageType" "type")
1894 (define-method get_id
1895 (of-object "EmpathyMessage")
1896 (c-name "empathy_message_get_id")
1897 (return-type "guint")
1900 (define-method set_id
1901 (of-object "EmpathyMessage")
1902 (c-name "empathy_message_set_id")
1903 (return-type "none")
1909 (define-method equal
1910 (of-object "EmpathyMessage")
1911 (c-name "empathy_message_equal")
1912 (return-type "gboolean")
1914 '("EmpathyMessage*" "message2")
1920 ;; From empathy-status-presets.h
1922 (define-function status_presets_get_all
1923 (c-name "empathy_status_presets_get_all")
1924 (return-type "none")
1927 (define-function status_presets_get
1928 (c-name "empathy_status_presets_get")
1929 (return-type "GList*")
1931 '("McPresence" "state")
1932 '("gint" "max_number")
1936 (define-function status_presets_set_last
1937 (c-name "empathy_status_presets_set_last")
1938 (return-type "none")
1940 '("McPresence" "state")
1941 '("const-gchar*" "status")
1945 (define-function status_presets_remove
1946 (c-name "empathy_status_presets_remove")
1947 (return-type "none")
1949 '("McPresence" "state")
1950 '("const-gchar*" "status")
1954 (define-function status_presets_reset
1955 (c-name "empathy_status_presets_reset")
1956 (return-type "none")
1959 (define-function status_presets_get_default_state
1960 (c-name "empathy_status_presets_get_default_state")
1961 (return-type "McPresence")
1964 (define-function status_presets_get_default_status
1965 (c-name "empathy_status_presets_get_default_status")
1966 (return-type "const-gchar*")
1969 (define-function status_presets_set_default
1970 (c-name "empathy_status_presets_set_default")
1971 (return-type "none")
1973 '("McPresence" "state")
1974 '("const-gchar*" "status")
1978 (define-function status_presets_clear_default
1979 (c-name "empathy_status_presets_clear_default")
1980 (return-type "none")
1985 ;; From empathy-time.h
1987 (define-function time_get_current
1988 (c-name "empathy_time_get_current")
1989 (return-type "time_t")
1992 (define-function time_get_local_time
1993 (c-name "empathy_time_get_local_time")
1994 (return-type "time_t")
1996 '("struct-tm*" "tm")
2000 (define-function time_parse
2001 (c-name "empathy_time_parse")
2002 (return-type "time_t")
2004 '("const-gchar*" "str")
2008 (define-function time_to_string_utc
2009 (c-name "empathy_time_to_string_utc")
2010 (return-type "gchar*")
2013 '("const-gchar*" "format")
2017 (define-function time_to_string_local
2018 (c-name "empathy_time_to_string_local")
2019 (return-type "gchar*")
2022 '("const-gchar*" "format")
2028 ;; From empathy-tp-call.h
2030 (define-function tp_call_get_type
2031 (c-name "empathy_tp_call_get_type")
2032 (return-type "GType")
2035 (define-function tp_call_new
2036 (c-name "empathy_tp_call_new")
2037 (is-constructor-of "EmpathyTpCall")
2038 (return-type "EmpathyTpCall*")
2040 '("TpChannel*" "channel")
2044 (define-method close
2045 (of-object "EmpathyTpCall")
2046 (c-name "empathy_tp_call_close")
2047 (return-type "none")
2051 (of-object "EmpathyTpCall")
2052 (c-name "empathy_tp_call_to")
2053 (return-type "none")
2055 '("EmpathyContact*" "contact")
2059 (define-method accept_incoming_call
2060 (of-object "EmpathyTpCall")
2061 (c-name "empathy_tp_call_accept_incoming_call")
2062 (return-type "none")
2065 (define-method request_video_stream_direction
2066 (of-object "EmpathyTpCall")
2067 (c-name "empathy_tp_call_request_video_stream_direction")
2068 (return-type "none")
2070 '("gboolean" "is_sending")
2074 (define-method start_tone
2075 (of-object "EmpathyTpCall")
2076 (c-name "empathy_tp_call_start_tone")
2077 (return-type "none")
2079 '("TpDTMFEvent" "event")
2083 (define-method stop_tone
2084 (of-object "EmpathyTpCall")
2085 (c-name "empathy_tp_call_stop_tone")
2086 (return-type "none")
2089 (define-method has_dtmf
2090 (of-object "EmpathyTpCall")
2091 (c-name "empathy_tp_call_has_dtmf")
2092 (return-type "gboolean")
2097 ;; From empathy-tp-chat.h
2099 (define-function tp_chat_get_type
2100 (c-name "empathy_tp_chat_get_type")
2101 (return-type "GType")
2104 (define-function tp_chat_new
2105 (c-name "empathy_tp_chat_new")
2106 (is-constructor-of "EmpathyTpChat")
2107 (return-type "EmpathyTpChat*")
2109 '("TpChannel*" "channel")
2113 (define-method close
2114 (of-object "EmpathyTpChat")
2115 (c-name "empathy_tp_chat_close")
2116 (return-type "none")
2119 (define-method get_id
2120 (of-object "EmpathyTpChat")
2121 (c-name "empathy_tp_chat_get_id")
2122 (return-type "const-gchar*")
2125 (define-method get_remote_contact
2126 (of-object "EmpathyTpChat")
2127 (c-name "empathy_tp_chat_get_remote_contact")
2128 (return-type "EmpathyContact*")
2131 (define-method get_channel
2132 (of-object "EmpathyTpChat")
2133 (c-name "empathy_tp_chat_get_channel")
2134 (return-type "TpChannel*")
2137 (define-method get_connection
2138 (of-object "EmpathyTpChat")
2139 (c-name "empathy_tp_chat_get_connection")
2140 (return-type "TpConnection*")
2143 (define-method is_ready
2144 (of-object "EmpathyTpChat")
2145 (c-name "empathy_tp_chat_is_ready")
2146 (return-type "gboolean")
2150 (of-object "EmpathyTpChat")
2151 (c-name "empathy_tp_chat_send")
2152 (return-type "none")
2154 '("EmpathyMessage*" "message")
2158 (define-method set_state
2159 (of-object "EmpathyTpChat")
2160 (c-name "empathy_tp_chat_set_state")
2161 (return-type "none")
2163 '("TpChannelChatState" "state")
2167 (define-method set_property
2168 (of-object "EmpathyTpChat")
2169 (c-name "empathy_tp_chat_set_property")
2170 (return-type "none")
2172 '("const-gchar*" "name")
2173 '("const-GValue*" "value")
2177 (define-method get_pending_messages
2178 (of-object "EmpathyTpChat")
2179 (c-name "empathy_tp_chat_get_pending_messages")
2180 (return-type "const-GList*")
2183 (define-method acknowledge_message
2184 (of-object "EmpathyTpChat")
2185 (c-name "empathy_tp_chat_acknowledge_message")
2186 (return-type "none")
2188 '("EmpathyMessage*" "message")
2192 (define-method acknowledge_messages
2193 (of-object "EmpathyTpChat")
2194 (c-name "empathy_tp_chat_acknowledge_messages")
2195 (return-type "none")
2197 '("const-GList*" "messages")
2203 ;; From empathy-tp-contact-factory.h
2205 (define-function tp_contact_factory_get_type
2206 (c-name "empathy_tp_contact_factory_get_type")
2207 (return-type "GType")
2210 (define-function tp_contact_factory_dup_singleton
2211 (c-name "empathy_tp_contact_factory_dup_singleton")
2212 (return-type "EmpathyTpContactFactory*")
2214 '("TpConnection*" "connection")
2218 (define-method get_from_ids
2219 (of-object "EmpathyTpContactFactory")
2220 (c-name "empathy_tp_contact_factory_get_from_ids")
2221 (return-type "none")
2224 '("const-gchar*-const*" "ids")
2225 '("EmpathyTpContactFactoryContactsByIdCb" "callback")
2226 '("gpointer" "user_data")
2227 '("GDestroyNotify" "destroy")
2228 '("GObject*" "weak_object")
2232 (define-method get_from_handles
2233 (of-object "EmpathyTpContactFactory")
2234 (c-name "empathy_tp_contact_factory_get_from_handles")
2235 (return-type "none")
2237 '("guint" "n_handles")
2238 '("const-TpHandle*" "handles")
2239 '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
2240 '("gpointer" "user_data")
2241 '("GDestroyNotify" "destroy")
2242 '("GObject*" "weak_object")
2246 (define-method get_from_id
2247 (of-object "EmpathyTpContactFactory")
2248 (c-name "empathy_tp_contact_factory_get_from_id")
2249 (return-type "none")
2251 '("const-gchar*" "id")
2252 '("EmpathyTpContactFactoryContactCb" "callback")
2253 '("gpointer" "user_data")
2254 '("GDestroyNotify" "destroy")
2255 '("GObject*" "weak_object")
2259 (define-method get_from_handle
2260 (of-object "EmpathyTpContactFactory")
2261 (c-name "empathy_tp_contact_factory_get_from_handle")
2262 (return-type "none")
2264 '("TpHandle" "handle")
2265 '("EmpathyTpContactFactoryContactCb" "callback")
2266 '("gpointer" "user_data")
2267 '("GDestroyNotify" "destroy")
2268 '("GObject*" "weak_object")
2272 (define-method set_alias
2273 (of-object "EmpathyTpContactFactory")
2274 (c-name "empathy_tp_contact_factory_set_alias")
2275 (return-type "none")
2277 '("EmpathyContact*" "contact")
2278 '("const-gchar*" "alias")
2282 (define-method set_avatar
2283 (of-object "EmpathyTpContactFactory")
2284 (c-name "empathy_tp_contact_factory_set_avatar")
2285 (return-type "none")
2287 '("const-gchar*" "data")
2289 '("const-gchar*" "mime_type")
2295 ;; From empathy-tp-contact-list.h
2297 (define-function tp_contact_list_get_type
2298 (c-name "empathy_tp_contact_list_get_type")
2299 (return-type "GType")
2302 (define-function tp_contact_list_new
2303 (c-name "empathy_tp_contact_list_new")
2304 (is-constructor-of "EmpathyTpContactList")
2305 (return-type "EmpathyTpContactList*")
2307 '("TpConnection*" "connection")
2311 (define-method get_connection
2312 (of-object "EmpathyTpContactList")
2313 (c-name "empathy_tp_contact_list_get_connection")
2314 (return-type "TpConnection*")
2317 (define-method can_add
2318 (of-object "EmpathyTpContactList")
2319 (c-name "empathy_tp_contact_list_can_add")
2320 (return-type "gboolean")
2323 (define-method remove_all
2324 (of-object "EmpathyTpContactList")
2325 (c-name "empathy_tp_contact_list_remove_all")
2326 (return-type "none")
2331 ;; From empathy-tp-file.h
2333 (define-function tp_file_get_type
2334 (c-name "empathy_tp_file_get_type")
2335 (return-type "GType")
2338 (define-function tp_file_new
2339 (c-name "empathy_tp_file_new")
2340 (is-constructor-of "EmpathyTpFile")
2341 (return-type "EmpathyTpFile*")
2343 '("TpChannel*" "channel")
2347 (define-method get_channel
2348 (of-object "EmpathyTpFile")
2349 (c-name "empathy_tp_file_get_channel")
2350 (return-type "TpChannel*")
2353 (define-method accept
2354 (of-object "EmpathyTpFile")
2355 (c-name "empathy_tp_file_accept")
2356 (return-type "none")
2358 '("guint64" "offset")
2360 '("GError**" "error")
2364 (define-method cancel
2365 (of-object "EmpathyTpFile")
2366 (c-name "empathy_tp_file_cancel")
2367 (return-type "none")
2370 (define-method offer
2371 (of-object "EmpathyTpFile")
2372 (c-name "empathy_tp_file_offer")
2373 (return-type "none")
2376 '("GError**" "error")
2380 (define-method get_contact
2381 (of-object "EmpathyTpFile")
2382 (c-name "empathy_tp_file_get_contact")
2383 (return-type "EmpathyContact*")
2386 (define-method get_filename
2387 (of-object "EmpathyTpFile")
2388 (c-name "empathy_tp_file_get_filename")
2389 (return-type "const-gchar*")
2392 (define-method is_incoming
2393 (of-object "EmpathyTpFile")
2394 (c-name "empathy_tp_file_is_incoming")
2395 (return-type "gboolean")
2398 (define-method get_state
2399 (of-object "EmpathyTpFile")
2400 (c-name "empathy_tp_file_get_state")
2401 (return-type "TpFileTransferState")
2403 '("TpFileTransferStateChangeReason*" "reason")
2407 (define-method get_size
2408 (of-object "EmpathyTpFile")
2409 (c-name "empathy_tp_file_get_size")
2410 (return-type "guint64")
2413 (define-method get_transferred_bytes
2414 (of-object "EmpathyTpFile")
2415 (c-name "empathy_tp_file_get_transferred_bytes")
2416 (return-type "guint64")
2419 (define-method get_remaining_time
2420 (of-object "EmpathyTpFile")
2421 (c-name "empathy_tp_file_get_remaining_time")
2422 (return-type "gint")
2425 (define-method get_speed
2426 (of-object "EmpathyTpFile")
2427 (c-name "empathy_tp_file_get_speed")
2428 (return-type "gdouble")
2431 (define-method get_content_type
2432 (of-object "EmpathyTpFile")
2433 (c-name "empathy_tp_file_get_content_type")
2434 (return-type "const-gchar*")
2437 (define-method is_ready
2438 (of-object "EmpathyTpFile")
2439 (c-name "empathy_tp_file_is_ready")
2440 (return-type "gboolean")
2445 ;; From empathy-tp-roomlist.h
2447 (define-function tp_roomlist_get_type
2448 (c-name "empathy_tp_roomlist_get_type")
2449 (return-type "GType")
2452 (define-function tp_roomlist_new
2453 (c-name "empathy_tp_roomlist_new")
2454 (is-constructor-of "EmpathyTpRoomlist")
2455 (return-type "EmpathyTpRoomlist*")
2457 '("McAccount*" "account")
2461 (define-method is_listing
2462 (of-object "EmpathyTpRoomlist")
2463 (c-name "empathy_tp_roomlist_is_listing")
2464 (return-type "gboolean")
2467 (define-method start
2468 (of-object "EmpathyTpRoomlist")
2469 (c-name "empathy_tp_roomlist_start")
2470 (return-type "none")
2474 (of-object "EmpathyTpRoomlist")
2475 (c-name "empathy_tp_roomlist_stop")
2476 (return-type "none")
2481 ;; From empathy-tp-tube.h
2483 (define-function tp_tube_get_type
2484 (c-name "empathy_tp_tube_get_type")
2485 (return-type "GType")
2488 (define-function tp_tube_new
2489 (c-name "empathy_tp_tube_new")
2490 (is-constructor-of "EmpathyTpTube")
2491 (return-type "EmpathyTpTube*")
2493 '("TpChannel*" "channel")
2497 (define-function tp_tube_new_stream_tube
2498 (c-name "empathy_tp_tube_new_stream_tube")
2499 (return-type "EmpathyTpTube*")
2501 '("EmpathyContact*" "contact")
2502 '("TpSocketAddressType" "type")
2503 '("const-gchar*" "hostname")
2505 '("const-gchar*" "service")
2506 '("GHashTable*" "parameters")
2510 (define-method accept_stream_tube
2511 (of-object "EmpathyTpTube")
2512 (c-name "empathy_tp_tube_accept_stream_tube")
2513 (return-type "none")
2515 '("TpSocketAddressType" "type")
2516 '("EmpatyTpTubeAcceptStreamTubeCb*" "callback")
2517 '("gpointer" "user_data")
2523 ;; From empathy-tube-handler.h
2525 (define-function tube_handler_get_type
2526 (c-name "empathy_tube_handler_get_type")
2527 (return-type "GType")
2530 (define-function tube_handler_new
2531 (c-name "empathy_tube_handler_new")
2532 (is-constructor-of "EmpathyTubeHandler")
2533 (return-type "EmpathyTubeHandler*")
2535 '("TpTubeType" "type")
2536 '("const-gchar*" "service")
2540 (define-function tube_handler_build_bus_name
2541 (c-name "empathy_tube_handler_build_bus_name")
2542 (return-type "gchar*")
2544 '("TpTubeType" "type")
2545 '("const-gchar*" "service")
2549 (define-function tube_handler_build_object_path
2550 (c-name "empathy_tube_handler_build_object_path")
2551 (return-type "gchar*")
2553 '("TpTubeType" "type")
2554 '("const-gchar*" "service")
2560 ;; From empathy-types.h
2564 ;; From empathy-utils.h
2566 (define-function init
2567 (c-name "empathy_init")
2568 (return-type "none")
2571 (define-function substring
2572 (c-name "empathy_substring")
2573 (return-type "gchar*")
2575 '("const-gchar*" "str")
2581 (define-function strcasecmp
2582 (c-name "empathy_strcasecmp")
2583 (return-type "gint")
2585 '("const-gchar*" "s1")
2586 '("const-gchar*" "s2")
2590 (define-function strncasecmp
2591 (c-name "empathy_strncasecmp")
2592 (return-type "gint")
2594 '("const-gchar*" "s1")
2595 '("const-gchar*" "s2")
2600 (define-function xml_validate
2601 (c-name "empathy_xml_validate")
2602 (return-type "gboolean")
2605 '("const-gchar*" "dtd_filename")
2609 (define-function xml_node_get_child
2610 (c-name "empathy_xml_node_get_child")
2611 (return-type "xmlNodePtr")
2613 '("xmlNodePtr" "node")
2614 '("const-gchar*" "child_name")
2618 (define-function xml_node_get_child_content
2619 (c-name "empathy_xml_node_get_child_content")
2620 (return-type "xmlChar*")
2622 '("xmlNodePtr" "node")
2623 '("const-gchar*" "child_name")
2627 (define-function xml_node_find_child_prop_value
2628 (c-name "empathy_xml_node_find_child_prop_value")
2629 (return-type "xmlNodePtr")
2631 '("xmlNodePtr" "node")
2632 '("const-gchar*" "prop_name")
2633 '("const-gchar*" "prop_value")
2637 (define-function account_hash
2638 (c-name "empathy_account_hash")
2639 (return-type "guint")
2641 '("gconstpointer" "key")
2645 (define-function account_equal
2646 (c-name "empathy_account_equal")
2647 (return-type "gboolean")
2649 '("gconstpointer" "a")
2650 '("gconstpointer" "b")
2654 (define-function mission_control_dup_singleton
2655 (c-name "empathy_mission_control_dup_singleton")
2656 (return-type "MissionControl*")
2659 (define-function presence_get_default_message
2660 (c-name "empathy_presence_get_default_message")
2661 (return-type "const-gchar*")
2663 '("McPresence" "presence")
2667 (define-function presence_to_str
2668 (c-name "empathy_presence_to_str")
2669 (return-type "const-gchar*")
2671 '("McPresence" "presence")
2675 (define-function presence_from_str
2676 (c-name "empathy_presence_from_str")
2677 (return-type "McPresence")
2679 '("const-gchar*" "str")
2683 (define-function file_lookup
2684 (c-name "empathy_file_lookup")
2685 (return-type "gchar*")
2687 '("const-gchar*" "filename")
2688 '("const-gchar*" "subdir")
2692 (define-function proxy_equal
2693 (c-name "empathy_proxy_equal")
2694 (return-type "gboolean")
2696 '("gconstpointer" "a")
2697 '("gconstpointer" "b")
2701 (define-function proxy_hash
2702 (c-name "empathy_proxy_hash")
2703 (return-type "guint")
2705 '("gconstpointer" "key")
2709 (define-function check_available_state
2710 (c-name "empathy_check_available_state")
2711 (return-type "gboolean")