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*")
479 ;; From empathy-chatroom-manager.h
481 (define-function chatroom_manager_get_type
482 (c-name "empathy_chatroom_manager_get_type")
483 (return-type "GType")
486 (define-function chatroom_manager_dup_singleton
487 (c-name "empathy_chatroom_manager_dup_singleton")
488 (return-type "EmpathyChatroomManager*")
490 '("const-gchar*" "file")
495 (of-object "EmpathyChatroomManager")
496 (c-name "empathy_chatroom_manager_add")
497 (return-type "gboolean")
499 '("EmpathyChatroom*" "chatroom")
503 (define-method remove
504 (of-object "EmpathyChatroomManager")
505 (c-name "empathy_chatroom_manager_remove")
508 '("EmpathyChatroom*" "chatroom")
513 (of-object "EmpathyChatroomManager")
514 (c-name "empathy_chatroom_manager_find")
515 (return-type "EmpathyChatroom*")
517 '("McAccount*" "account")
518 '("const-gchar*" "room")
522 (define-method get_chatrooms
523 (of-object "EmpathyChatroomManager")
524 (c-name "empathy_chatroom_manager_get_chatrooms")
525 (return-type "GList*")
527 '("McAccount*" "account")
531 (define-method get_count
532 (of-object "EmpathyChatroomManager")
533 (c-name "empathy_chatroom_manager_get_count")
534 (return-type "guint")
536 '("McAccount*" "account")
540 (define-method observe
541 (of-object "EmpathyChatroomManager")
542 (c-name "empathy_chatroom_manager_observe")
545 '("EmpathyDispatcher*" "dispatcher")
551 ;; From empathy-call-factory.h
553 (define-function call_factory_get_type
554 (c-name "empathy_call_factory_get_type")
555 (return-type "GType")
558 (define-function call_factory_initialise
559 (c-name "empathy_call_factory_initialise")
560 (return-type "EmpathyCallFactory*")
563 (define-function call_factory_get
564 (c-name "empathy_call_factory_get")
565 (return-type "EmpathyCallFactory*")
568 (define-method new_call
569 (of-object "EmpathyCallFactory")
570 (c-name "empathy_call_factory_new_call")
573 '("EmpathyContact*" "contact")
577 (define-method claim_channel
578 (of-object "EmpathyCallFactory")
579 (c-name "empathy_call_factory_claim_channel")
582 '("EmpathyDispatchOperation*" "operation")
588 ;; From empathy-call-handler.h
590 (define-function call_handler_get_type
591 (c-name "empathy_call_handler_get_type")
592 (return-type "GType")
595 (define-function call_handler_new_for_contact
596 (c-name "empathy_call_handler_new_for_contact")
597 (return-type "EmpathyCallHandler*")
599 '("EmpathyContact*" "contact")
603 (define-function call_handler_new_for_channel
604 (c-name "empathy_call_handler_new_for_channel")
605 (return-type "EmpathyCallHandler*")
607 '("EmpathyTpCall*" "call")
611 (define-method start_call
612 (of-object "EmpathyCallHandler")
613 (c-name "empathy_call_handler_start_call")
617 (define-method bus_message
618 (of-object "EmpathyCallHandler")
619 (c-name "empathy_call_handler_bus_message")
623 '("GstMessage*" "message")
629 ;; From empathy-contact.h
631 (define-function contact_get_type
632 (c-name "empathy_contact_get_type")
633 (return-type "GType")
636 (define-function contact_new
637 (c-name "empathy_contact_new")
638 (is-constructor-of "EmpathyContact")
639 (return-type "EmpathyContact*")
641 '("TpContact*" "tp_contact")
645 (define-method get_tp_contact
646 (of-object "EmpathyContact")
647 (c-name "empathy_contact_get_tp_contact")
648 (return-type "TpContact*")
651 (define-method get_id
652 (of-object "EmpathyContact")
653 (c-name "empathy_contact_get_id")
654 (return-type "const-gchar*")
657 (define-method set_id
658 (of-object "EmpathyContact")
659 (c-name "empathy_contact_set_id")
662 '("const-gchar*" "id")
666 (define-method get_name
667 (of-object "EmpathyContact")
668 (c-name "empathy_contact_get_name")
669 (return-type "const-gchar*")
672 (define-method set_name
673 (of-object "EmpathyContact")
674 (c-name "empathy_contact_set_name")
677 '("const-gchar*" "name")
681 (define-method get_avatar
682 (of-object "EmpathyContact")
683 (c-name "empathy_contact_get_avatar")
684 (return-type "EmpathyAvatar*")
687 (define-method set_avatar
688 (of-object "EmpathyContact")
689 (c-name "empathy_contact_set_avatar")
692 '("EmpathyAvatar*" "avatar")
696 (define-method get_account
697 (of-object "EmpathyContact")
698 (c-name "empathy_contact_get_account")
699 (return-type "McAccount*")
702 (define-method get_connection
703 (of-object "EmpathyContact")
704 (c-name "empathy_contact_get_connection")
705 (return-type "TpConnection*")
708 (define-method get_presence
709 (of-object "EmpathyContact")
710 (c-name "empathy_contact_get_presence")
711 (return-type "McPresence")
714 (define-method set_presence
715 (of-object "EmpathyContact")
716 (c-name "empathy_contact_set_presence")
719 '("McPresence" "presence")
723 (define-method get_presence_message
724 (of-object "EmpathyContact")
725 (c-name "empathy_contact_get_presence_message")
726 (return-type "const-gchar*")
729 (define-method set_presence_message
730 (of-object "EmpathyContact")
731 (c-name "empathy_contact_set_presence_message")
734 '("const-gchar*" "message")
738 (define-method get_handle
739 (of-object "EmpathyContact")
740 (c-name "empathy_contact_get_handle")
741 (return-type "guint")
744 (define-method set_handle
745 (of-object "EmpathyContact")
746 (c-name "empathy_contact_set_handle")
753 (define-method get_capabilities
754 (of-object "EmpathyContact")
755 (c-name "empathy_contact_get_capabilities")
756 (return-type "EmpathyCapabilities")
759 (define-method set_capabilities
760 (of-object "EmpathyContact")
761 (c-name "empathy_contact_set_capabilities")
764 '("EmpathyCapabilities" "capabilities")
768 (define-method is_user
769 (of-object "EmpathyContact")
770 (c-name "empathy_contact_is_user")
771 (return-type "gboolean")
774 (define-method set_is_user
775 (of-object "EmpathyContact")
776 (c-name "empathy_contact_set_is_user")
779 '("gboolean" "is_user")
783 (define-method is_online
784 (of-object "EmpathyContact")
785 (c-name "empathy_contact_is_online")
786 (return-type "gboolean")
789 (define-method get_status
790 (of-object "EmpathyContact")
791 (c-name "empathy_contact_get_status")
792 (return-type "const-gchar*")
795 (define-method can_voip
796 (of-object "EmpathyContact")
797 (c-name "empathy_contact_can_voip")
798 (return-type "gboolean")
801 (define-method can_send_files
802 (of-object "EmpathyContact")
803 (c-name "empathy_contact_can_send_files")
804 (return-type "gboolean")
807 (define-function contact_hash
808 (c-name "empathy_contact_hash")
809 (return-type "guint")
811 '("gconstpointer" "key")
815 (define-method load_avatar_data
816 (of-object "EmpathyContact")
817 (c-name "empathy_contact_load_avatar_data")
820 '("const-guchar*" "data")
821 '("const-gsize" "len")
822 '("const-gchar*" "format")
823 '("const-gchar*" "token")
827 (define-method load_avatar_cache
828 (of-object "EmpathyContact")
829 (c-name "empathy_contact_load_avatar_cache")
830 (return-type "gboolean")
832 '("const-gchar*" "token")
836 (define-function avatar_get_type
837 (c-name "empathy_avatar_get_type")
838 (return-type "GType")
841 (define-function avatar_new
842 (c-name "empathy_avatar_new")
843 (is-constructor-of "EmpathyAvatar")
844 (return-type "EmpathyAvatar*")
854 (of-object "EmpathyAvatar")
855 (c-name "empathy_avatar_ref")
856 (return-type "EmpathyAvatar*")
860 (of-object "EmpathyAvatar")
861 (c-name "empathy_avatar_unref")
865 (define-method save_to_file
866 (of-object "EmpathyAvatar")
867 (c-name "empathy_avatar_save_to_file")
868 (return-type "gboolean")
870 '("const-gchar*" "filename")
871 '("GError**" "error")
877 ;; From empathy-contact-groups.h
879 (define-function contact_groups_get_all
880 (c-name "empathy_contact_groups_get_all")
884 (define-function contact_group_get_expanded
885 (c-name "empathy_contact_group_get_expanded")
886 (return-type "gboolean")
888 '("const-gchar*" "group")
892 (define-function contact_group_set_expanded
893 (c-name "empathy_contact_group_set_expanded")
896 '("const-gchar*" "group")
897 '("gboolean" "expanded")
903 ;; From empathy-contact-list.h
905 (define-function contact_list_get_type
906 (c-name "empathy_contact_list_get_type")
907 (return-type "GType")
911 (of-object "EmpathyContactList")
912 (c-name "empathy_contact_list_add")
915 '("EmpathyContact*" "contact")
916 '("const-gchar*" "message")
920 (define-method remove
921 (of-object "EmpathyContactList")
922 (c-name "empathy_contact_list_remove")
925 '("EmpathyContact*" "contact")
926 '("const-gchar*" "message")
930 (define-method get_members
931 (of-object "EmpathyContactList")
932 (c-name "empathy_contact_list_get_members")
933 (return-type "GList*")
936 (define-method get_pendings
937 (of-object "EmpathyContactList")
938 (c-name "empathy_contact_list_get_pendings")
939 (return-type "GList*")
942 (define-method get_all_groups
943 (of-object "EmpathyContactList")
944 (c-name "empathy_contact_list_get_all_groups")
945 (return-type "GList*")
948 (define-method get_groups
949 (of-object "EmpathyContactList")
950 (c-name "empathy_contact_list_get_groups")
951 (return-type "GList*")
953 '("EmpathyContact*" "contact")
957 (define-method add_to_group
958 (of-object "EmpathyContactList")
959 (c-name "empathy_contact_list_add_to_group")
962 '("EmpathyContact*" "contact")
963 '("const-gchar*" "group")
967 (define-method remove_from_group
968 (of-object "EmpathyContactList")
969 (c-name "empathy_contact_list_remove_from_group")
972 '("EmpathyContact*" "contact")
973 '("const-gchar*" "group")
977 (define-method rename_group
978 (of-object "EmpathyContactList")
979 (c-name "empathy_contact_list_rename_group")
982 '("const-gchar*" "old_group")
983 '("const-gchar*" "new_group")
987 (define-method remove_group
988 (of-object "EmpathyContactList")
989 (c-name "empathy_contact_list_remove_group")
992 '("const-gchar*" "group")
996 (define-method get_monitor
997 (of-object "EmpathyContactList")
998 (c-name "empathy_contact_list_get_monitor")
999 (return-type "EmpathyContactMonitor*")
1004 ;; From empathy-contact-manager.h
1006 (define-function contact_manager_get_type
1007 (c-name "empathy_contact_manager_get_type")
1008 (return-type "GType")
1011 (define-function contact_manager_dup_singleton
1012 (c-name "empathy_contact_manager_dup_singleton")
1013 (return-type "EmpathyContactManager*")
1016 (define-method get_list
1017 (of-object "EmpathyContactManager")
1018 (c-name "empathy_contact_manager_get_list")
1019 (return-type "EmpathyTpContactList*")
1021 '("TpConnection*" "connection")
1025 (define-method can_add
1026 (of-object "EmpathyContactManager")
1027 (c-name "empathy_contact_manager_can_add")
1028 (return-type "gboolean")
1030 '("TpConnection*" "connection")
1036 ;; From empathy-contact-monitor.h
1038 (define-function contact_monitor_get_type
1039 (c-name "empathy_contact_monitor_get_type")
1040 (return-type "GType")
1043 (define-method set_iface
1044 (of-object "EmpathyContactMonitor")
1045 (c-name "empathy_contact_monitor_set_iface")
1046 (return-type "none")
1048 '("EmpathyContactList*" "iface")
1052 (define-function contact_monitor_new_for_iface
1053 (c-name "empathy_contact_monitor_new_for_iface")
1054 (return-type "EmpathyContactMonitor*")
1056 '("EmpathyContactList*" "iface")
1062 ;; From empathy-debug.h
1064 (define-function debug_flag_is_set
1065 (c-name "empathy_debug_flag_is_set")
1066 (return-type "gboolean")
1068 '("EmpathyDebugFlags" "flag")
1072 (define-function debug
1073 (c-name "empathy_debug")
1074 (return-type "none")
1076 '("EmpathyDebugFlags" "flag")
1077 '("const-gchar*" "format")
1082 (define-function debug_set_flags
1083 (c-name "empathy_debug_set_flags")
1084 (return-type "none")
1086 '("const-gchar*" "flags_string")
1092 ;; From empathy-dispatcher.h
1094 (define-function dispatcher_get_type
1095 (c-name "empathy_dispatcher_get_type")
1096 (return-type "GType")
1099 (define-method create_channel
1100 (of-object "EmpathyDispatcher")
1101 (c-name "empathy_dispatcher_create_channel")
1102 (return-type "none")
1104 '("TpConnection*" "connection")
1105 '("GHashTable*" "request")
1106 '("EmpathyDispatcherRequestCb*" "callback")
1107 '("gpointer" "user_data")
1111 (define-function dispatcher_chat_with_contact_id
1112 (c-name "empathy_dispatcher_chat_with_contact_id")
1113 (return-type "none")
1115 '("TpConnection*" "connection")
1116 '("const-gchar*" "contact_id")
1117 '("EmpathyDispatcherRequestCb*" "callback")
1118 '("gpointer" "user_data")
1122 (define-function dispatcher_chat_with_contact
1123 (c-name "empathy_dispatcher_chat_with_contact")
1124 (return-type "none")
1126 '("EmpathyContact*" "contact")
1127 '("EmpathyDispatcherRequestCb*" "callback")
1128 '("gpointer" "user_data")
1132 (define-function dispatcher_send_file_to_contact
1133 (c-name "empathy_dispatcher_send_file_to_contact")
1134 (return-type "none")
1136 '("EmpathyContact*" "contact")
1137 '("const-gchar*" "filename")
1140 '("const-gchar*" "content_type")
1141 '("EmpathyDispatcherRequestCb*" "callback")
1142 '("gpointer" "user_data")
1146 (define-function dispatcher_join_muc
1147 (c-name "empathy_dispatcher_join_muc")
1148 (return-type "none")
1150 '("TpConnection*" "connection")
1151 '("const-gchar*" "roomname")
1152 '("EmpathyDispatcherRequestCb*" "callback")
1153 '("gpointer" "user_data")
1157 (define-method find_channel_class
1158 (of-object "EmpathyDispatcher")
1159 (c-name "empathy_dispatcher_find_channel_class")
1160 (return-type "GStrv")
1162 '("TpConnection*" "connection")
1163 '("const-gchar*" "channel_type")
1164 '("guint" "handle_type")
1168 (define-function dispatcher_dup_singleton
1169 (c-name "empathy_dispatcher_dup_singleton")
1170 (return-type "EmpathyDispatcher*")
1175 ;; From empathy-dispatch-operation.h
1177 (define-function dispatch_operation_get_type
1178 (c-name "empathy_dispatch_operation_get_type")
1179 (return-type "GType")
1182 (define-function dispatch_operation_new
1183 (c-name "empathy_dispatch_operation_new")
1184 (is-constructor-of "EmpathyDispatchOperation")
1185 (return-type "EmpathyDispatchOperation*")
1187 '("TpConnection*" "connection")
1188 '("TpChannel*" "channel")
1189 '("EmpathyContact*" "contact")
1190 '("gboolean" "incoming")
1194 (define-function dispatch_operation_new_with_wrapper
1195 (c-name "empathy_dispatch_operation_new_with_wrapper")
1196 (return-type "EmpathyDispatchOperation*")
1198 '("TpConnection*" "connection")
1199 '("TpChannel*" "channel")
1200 '("EmpathyContact*" "contact")
1201 '("gboolean" "incoming")
1202 '("GObject*" "channel_wrapper")
1206 (define-method start
1207 (of-object "EmpathyDispatchOperation")
1208 (c-name "empathy_dispatch_operation_start")
1209 (return-type "none")
1212 (define-method approve
1213 (of-object "EmpathyDispatchOperation")
1214 (c-name "empathy_dispatch_operation_approve")
1215 (return-type "none")
1218 (define-method claim
1219 (of-object "EmpathyDispatchOperation")
1220 (c-name "empathy_dispatch_operation_claim")
1221 (return-type "gboolean")
1224 (define-method get_channel
1225 (of-object "EmpathyDispatchOperation")
1226 (c-name "empathy_dispatch_operation_get_channel")
1227 (return-type "TpChannel*")
1230 (define-method get_channel_wrapper
1231 (of-object "EmpathyDispatchOperation")
1232 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1233 (return-type "GObject*")
1236 (define-method get_tp_connection
1237 (of-object "EmpathyDispatchOperation")
1238 (c-name "empathy_dispatch_operation_get_tp_connection")
1239 (return-type "TpConnection*")
1242 (define-method get_channel_type
1243 (of-object "EmpathyDispatchOperation")
1244 (c-name "empathy_dispatch_operation_get_channel_type")
1245 (return-type "const-gchar*")
1248 (define-method get_channel_type_id
1249 (of-object "EmpathyDispatchOperation")
1250 (c-name "empathy_dispatch_operation_get_channel_type_id")
1251 (return-type "GQuark")
1254 (define-method get_object_path
1255 (of-object "EmpathyDispatchOperation")
1256 (c-name "empathy_dispatch_operation_get_object_path")
1257 (return-type "const-gchar*")
1260 (define-method get_status
1261 (of-object "EmpathyDispatchOperation")
1262 (c-name "empathy_dispatch_operation_get_status")
1263 (return-type "EmpathyDispatchOperationState")
1266 (define-method is_incoming
1267 (of-object "EmpathyDispatchOperation")
1268 (c-name "empathy_dispatch_operation_is_incoming")
1269 (return-type "gboolean")
1274 ;; From empathy-idle.h
1276 (define-function idle_get_type
1277 (c-name "empathy_idle_get_type")
1278 (return-type "GType")
1281 (define-function idle_dup_singleton
1282 (c-name "empathy_idle_dup_singleton")
1283 (return-type "EmpathyIdle*")
1286 (define-method get_state
1287 (of-object "EmpathyIdle")
1288 (c-name "empathy_idle_get_state")
1289 (return-type "McPresence")
1292 (define-method set_state
1293 (of-object "EmpathyIdle")
1294 (c-name "empathy_idle_set_state")
1295 (return-type "none")
1297 '("McPresence" "state")
1301 (define-method get_status
1302 (of-object "EmpathyIdle")
1303 (c-name "empathy_idle_get_status")
1304 (return-type "const-gchar*")
1307 (define-method set_status
1308 (of-object "EmpathyIdle")
1309 (c-name "empathy_idle_set_status")
1310 (return-type "none")
1312 '("const-gchar*" "status")
1316 (define-method get_flash_state
1317 (of-object "EmpathyIdle")
1318 (c-name "empathy_idle_get_flash_state")
1319 (return-type "McPresence")
1322 (define-method set_flash_state
1323 (of-object "EmpathyIdle")
1324 (c-name "empathy_idle_set_flash_state")
1325 (return-type "none")
1327 '("McPresence" "state")
1331 (define-method set_presence
1332 (of-object "EmpathyIdle")
1333 (c-name "empathy_idle_set_presence")
1334 (return-type "none")
1336 '("McPresence" "state")
1337 '("const-gchar*" "status")
1341 (define-method get_auto_away
1342 (of-object "EmpathyIdle")
1343 (c-name "empathy_idle_get_auto_away")
1344 (return-type "gboolean")
1347 (define-method set_auto_away
1348 (of-object "EmpathyIdle")
1349 (c-name "empathy_idle_set_auto_away")
1350 (return-type "none")
1352 '("gboolean" "auto_away")
1356 (define-method get_use_nm
1357 (of-object "EmpathyIdle")
1358 (c-name "empathy_idle_get_use_nm")
1359 (return-type "gboolean")
1362 (define-method set_use_nm
1363 (of-object "EmpathyIdle")
1364 (c-name "empathy_idle_set_use_nm")
1365 (return-type "none")
1367 '("gboolean" "use_nm")
1373 ;; From empathy-irc-network.h
1375 (define-function irc_network_get_type
1376 (c-name "empathy_irc_network_get_type")
1377 (return-type "GType")
1380 (define-function irc_network_new
1381 (c-name "empathy_irc_network_new")
1382 (is-constructor-of "EmpathyIrcNetwork")
1383 (return-type "EmpathyIrcNetwork*")
1385 '("const-gchar*" "name")
1389 (define-method get_servers
1390 (of-object "EmpathyIrcNetwork")
1391 (c-name "empathy_irc_network_get_servers")
1392 (return-type "GSList*")
1395 (define-method append_server
1396 (of-object "EmpathyIrcNetwork")
1397 (c-name "empathy_irc_network_append_server")
1398 (return-type "none")
1400 '("EmpathyIrcServer*" "server")
1404 (define-method remove_server
1405 (of-object "EmpathyIrcNetwork")
1406 (c-name "empathy_irc_network_remove_server")
1407 (return-type "none")
1409 '("EmpathyIrcServer*" "server")
1413 (define-method set_server_position
1414 (of-object "EmpathyIrcNetwork")
1415 (c-name "empathy_irc_network_set_server_position")
1416 (return-type "none")
1418 '("EmpathyIrcServer*" "server")
1425 ;; From empathy-irc-network-manager.h
1427 (define-function irc_network_manager_get_type
1428 (c-name "empathy_irc_network_manager_get_type")
1429 (return-type "GType")
1432 (define-function irc_network_manager_new
1433 (c-name "empathy_irc_network_manager_new")
1434 (is-constructor-of "EmpathyIrcNetworkManager")
1435 (return-type "EmpathyIrcNetworkManager*")
1437 '("const-gchar*" "global_file")
1438 '("const-gchar*" "user_file")
1443 (of-object "EmpathyIrcNetworkManager")
1444 (c-name "empathy_irc_network_manager_add")
1445 (return-type "none")
1447 '("EmpathyIrcNetwork*" "network")
1451 (define-method remove
1452 (of-object "EmpathyIrcNetworkManager")
1453 (c-name "empathy_irc_network_manager_remove")
1454 (return-type "none")
1456 '("EmpathyIrcNetwork*" "network")
1460 (define-method get_networks
1461 (of-object "EmpathyIrcNetworkManager")
1462 (c-name "empathy_irc_network_manager_get_networks")
1463 (return-type "GSList*")
1466 (define-method find_network_by_address
1467 (of-object "EmpathyIrcNetworkManager")
1468 (c-name "empathy_irc_network_manager_find_network_by_address")
1469 (return-type "EmpathyIrcNetwork*")
1471 '("const-gchar*" "address")
1477 ;; From empathy-irc-server.h
1479 (define-function irc_server_get_type
1480 (c-name "empathy_irc_server_get_type")
1481 (return-type "GType")
1484 (define-function irc_server_new
1485 (c-name "empathy_irc_server_new")
1486 (is-constructor-of "EmpathyIrcServer")
1487 (return-type "EmpathyIrcServer*")
1489 '("const-gchar*" "address")
1497 ;; From empathy-log-manager.h
1499 (define-function log_manager_get_type
1500 (c-name "empathy_log_manager_get_type")
1501 (return-type "GType")
1504 (define-function log_manager_dup_singleton
1505 (c-name "empathy_log_manager_dup_singleton")
1506 (return-type "EmpathyLogManager*")
1509 (define-method add_message
1510 (of-object "EmpathyLogManager")
1511 (c-name "empathy_log_manager_add_message")
1512 (return-type "gboolean")
1514 '("const-gchar*" "chat_id")
1515 '("gboolean" "chatroom")
1516 '("EmpathyMessage*" "message")
1517 '("GError**" "error")
1521 (define-method exists
1522 (of-object "EmpathyLogManager")
1523 (c-name "empathy_log_manager_exists")
1524 (return-type "gboolean")
1526 '("McAccount*" "account")
1527 '("const-gchar*" "chat_id")
1528 '("gboolean" "chatroom")
1532 (define-method get_dates
1533 (of-object "EmpathyLogManager")
1534 (c-name "empathy_log_manager_get_dates")
1535 (return-type "GList*")
1537 '("McAccount*" "account")
1538 '("const-gchar*" "chat_id")
1539 '("gboolean" "chatroom")
1543 (define-method get_messages_for_date
1544 (of-object "EmpathyLogManager")
1545 (c-name "empathy_log_manager_get_messages_for_date")
1546 (return-type "GList*")
1548 '("McAccount*" "account")
1549 '("const-gchar*" "chat_id")
1550 '("gboolean" "chatroom")
1551 '("const-gchar*" "date")
1555 (define-method get_filtered_messages
1556 (of-object "EmpathyLogManager")
1557 (c-name "empathy_log_manager_get_filtered_messages")
1558 (return-type "GList*")
1560 '("McAccount*" "account")
1561 '("const-gchar*" "chat_id")
1562 '("gboolean" "chatroom")
1563 '("guint" "num_messages")
1564 '("EmpathyLogMessageFilter" "filter")
1565 '("gpointer" "user_data")
1569 (define-method get_chats
1570 (of-object "EmpathyLogManager")
1571 (c-name "empathy_log_manager_get_chats")
1572 (return-type "GList*")
1574 '("McAccount*" "account")
1578 (define-method search_new
1579 (of-object "EmpathyLogManager")
1580 (c-name "empathy_log_manager_search_new")
1581 (return-type "GList*")
1583 '("const-gchar*" "text")
1587 (define-function log_manager_search_free
1588 (c-name "empathy_log_manager_search_free")
1589 (return-type "none")
1595 (define-function log_manager_get_date_readable
1596 (c-name "empathy_log_manager_get_date_readable")
1597 (return-type "gchar*")
1599 '("const-gchar*" "date")
1603 (define-function log_manager_search_hit_free
1604 (c-name "empathy_log_manager_search_hit_free")
1605 (return-type "none")
1607 '("EmpathyLogSearchHit*" "hit")
1611 (define-method observe
1612 (of-object "EmpathyLogManager")
1613 (c-name "empathy_log_manager_observe")
1614 (return-type "none")
1616 '("EmpathyDispatcher*" "dispatcher")
1622 ;; From empathy-log-store.h
1624 (define-function log_store_get_type
1625 (c-name "empathy_log_store_get_type")
1626 (return-type "GType")
1629 (define-method get_name
1630 (of-object "EmpathyLogStore")
1631 (c-name "empathy_log_store_get_name")
1632 (return-type "const-gchar*")
1635 (define-method exists
1636 (of-object "EmpathyLogStore")
1637 (c-name "empathy_log_store_exists")
1638 (return-type "gboolean")
1640 '("McAccount*" "account")
1641 '("const-gchar*" "chat_id")
1642 '("gboolean" "chatroom")
1646 (define-method add_message
1647 (of-object "EmpathyLogStore")
1648 (c-name "empathy_log_store_add_message")
1649 (return-type "gboolean")
1651 '("const-gchar*" "chat_id")
1652 '("gboolean" "chatroom")
1653 '("EmpathyMessage*" "message")
1654 '("GError**" "error")
1658 (define-method get_dates
1659 (of-object "EmpathyLogStore")
1660 (c-name "empathy_log_store_get_dates")
1661 (return-type "GList*")
1663 '("McAccount*" "account")
1664 '("const-gchar*" "chat_id")
1665 '("gboolean" "chatroom")
1669 (define-method get_messages_for_date
1670 (of-object "EmpathyLogStore")
1671 (c-name "empathy_log_store_get_messages_for_date")
1672 (return-type "GList*")
1674 '("McAccount*" "account")
1675 '("const-gchar*" "chat_id")
1676 '("gboolean" "chatroom")
1677 '("const-gchar*" "date")
1681 (define-method get_last_messages
1682 (of-object "EmpathyLogStore")
1683 (c-name "empathy_log_store_get_last_messages")
1684 (return-type "GList*")
1686 '("McAccount*" "account")
1687 '("const-gchar*" "chat_id")
1688 '("gboolean" "chatroom")
1692 (define-method get_chats
1693 (of-object "EmpathyLogStore")
1694 (c-name "empathy_log_store_get_chats")
1695 (return-type "GList*")
1697 '("McAccount*" "account")
1701 (define-method search_new
1702 (of-object "EmpathyLogStore")
1703 (c-name "empathy_log_store_search_new")
1704 (return-type "GList*")
1706 '("const-gchar*" "text")
1710 (define-method ack_message
1711 (of-object "EmpathyLogStore")
1712 (c-name "empathy_log_store_ack_message")
1713 (return-type "none")
1715 '("const-gchar*" "chat_id")
1716 '("gboolean" "chatroom")
1717 '("EmpathyMessage*" "message")
1721 (define-method get_filtered_messages
1722 (of-object "EmpathyLogStore")
1723 (c-name "empathy_log_store_get_filtered_messages")
1724 (return-type "GList*")
1726 '("McAccount*" "account")
1727 '("const-gchar*" "chat_id")
1728 '("gboolean" "chatroom")
1729 '("guint" "num_messages")
1730 '("EmpathyLogMessageFilter" "filter")
1731 '("gpointer" "user_data")
1737 ;; From empathy-log-store-empathy.h
1739 (define-function log_store_empathy_get_type
1740 (c-name "empathy_log_store_empathy_get_type")
1741 (return-type "GType")
1746 ;; From empathy-message.h
1748 (define-function message_get_type
1749 (c-name "empathy_message_get_type")
1750 (return-type "GType")
1753 (define-function message_new
1754 (c-name "empathy_message_new")
1755 (is-constructor-of "EmpathyMessage")
1756 (return-type "EmpathyMessage*")
1758 '("const-gchar*" "body")
1762 (define-method get_tptype
1763 (of-object "EmpathyMessage")
1764 (c-name "empathy_message_get_tptype")
1765 (return-type "TpChannelTextMessageType")
1768 (define-method set_tptype
1769 (of-object "EmpathyMessage")
1770 (c-name "empathy_message_set_tptype")
1771 (return-type "none")
1773 '("TpChannelTextMessageType" "type")
1777 (define-method get_sender
1778 (of-object "EmpathyMessage")
1779 (c-name "empathy_message_get_sender")
1780 (return-type "EmpathyContact*")
1783 (define-method set_sender
1784 (of-object "EmpathyMessage")
1785 (c-name "empathy_message_set_sender")
1786 (return-type "none")
1788 '("EmpathyContact*" "contact")
1792 (define-method get_receiver
1793 (of-object "EmpathyMessage")
1794 (c-name "empathy_message_get_receiver")
1795 (return-type "EmpathyContact*")
1798 (define-method set_receiver
1799 (of-object "EmpathyMessage")
1800 (c-name "empathy_message_set_receiver")
1801 (return-type "none")
1803 '("EmpathyContact*" "contact")
1807 (define-method get_body
1808 (of-object "EmpathyMessage")
1809 (c-name "empathy_message_get_body")
1810 (return-type "const-gchar*")
1813 (define-method set_body
1814 (of-object "EmpathyMessage")
1815 (c-name "empathy_message_set_body")
1816 (return-type "none")
1818 '("const-gchar*" "body")
1822 (define-method get_timestamp
1823 (of-object "EmpathyMessage")
1824 (c-name "empathy_message_get_timestamp")
1825 (return-type "time_t")
1828 (define-method set_timestamp
1829 (of-object "EmpathyMessage")
1830 (c-name "empathy_message_set_timestamp")
1831 (return-type "none")
1833 '("time_t" "timestamp")
1837 (define-method should_highlight
1838 (of-object "EmpathyMessage")
1839 (c-name "empathy_message_should_highlight")
1840 (return-type "gboolean")
1843 (define-function message_type_from_str
1844 (c-name "empathy_message_type_from_str")
1845 (return-type "TpChannelTextMessageType")
1847 '("const-gchar*" "type_str")
1851 (define-function message_type_to_str
1852 (c-name "empathy_message_type_to_str")
1853 (return-type "const-gchar*")
1855 '("TpChannelTextMessageType" "type")
1859 (define-method get_id
1860 (of-object "EmpathyMessage")
1861 (c-name "empathy_message_get_id")
1862 (return-type "guint")
1865 (define-method set_id
1866 (of-object "EmpathyMessage")
1867 (c-name "empathy_message_set_id")
1868 (return-type "none")
1874 (define-method equal
1875 (of-object "EmpathyMessage")
1876 (c-name "empathy_message_equal")
1877 (return-type "gboolean")
1879 '("EmpathyMessage*" "message2")
1885 ;; From empathy-status-presets.h
1887 (define-function status_presets_get_all
1888 (c-name "empathy_status_presets_get_all")
1889 (return-type "none")
1892 (define-function status_presets_get
1893 (c-name "empathy_status_presets_get")
1894 (return-type "GList*")
1896 '("McPresence" "state")
1897 '("gint" "max_number")
1901 (define-function status_presets_set_last
1902 (c-name "empathy_status_presets_set_last")
1903 (return-type "none")
1905 '("McPresence" "state")
1906 '("const-gchar*" "status")
1910 (define-function status_presets_remove
1911 (c-name "empathy_status_presets_remove")
1912 (return-type "none")
1914 '("McPresence" "state")
1915 '("const-gchar*" "status")
1919 (define-function status_presets_reset
1920 (c-name "empathy_status_presets_reset")
1921 (return-type "none")
1924 (define-function status_presets_get_default_state
1925 (c-name "empathy_status_presets_get_default_state")
1926 (return-type "McPresence")
1929 (define-function status_presets_get_default_status
1930 (c-name "empathy_status_presets_get_default_status")
1931 (return-type "const-gchar*")
1934 (define-function status_presets_set_default
1935 (c-name "empathy_status_presets_set_default")
1936 (return-type "none")
1938 '("McPresence" "state")
1939 '("const-gchar*" "status")
1943 (define-function status_presets_clear_default
1944 (c-name "empathy_status_presets_clear_default")
1945 (return-type "none")
1950 ;; From empathy-time.h
1952 (define-function time_get_current
1953 (c-name "empathy_time_get_current")
1954 (return-type "time_t")
1957 (define-function time_get_local_time
1958 (c-name "empathy_time_get_local_time")
1959 (return-type "time_t")
1961 '("struct-tm*" "tm")
1965 (define-function time_parse
1966 (c-name "empathy_time_parse")
1967 (return-type "time_t")
1969 '("const-gchar*" "str")
1973 (define-function time_to_string_utc
1974 (c-name "empathy_time_to_string_utc")
1975 (return-type "gchar*")
1978 '("const-gchar*" "format")
1982 (define-function time_to_string_local
1983 (c-name "empathy_time_to_string_local")
1984 (return-type "gchar*")
1987 '("const-gchar*" "format")
1993 ;; From empathy-tp-call.h
1995 (define-function tp_call_get_type
1996 (c-name "empathy_tp_call_get_type")
1997 (return-type "GType")
2000 (define-function tp_call_new
2001 (c-name "empathy_tp_call_new")
2002 (is-constructor-of "EmpathyTpCall")
2003 (return-type "EmpathyTpCall*")
2005 '("TpChannel*" "channel")
2009 (define-method close
2010 (of-object "EmpathyTpCall")
2011 (c-name "empathy_tp_call_close")
2012 (return-type "none")
2016 (of-object "EmpathyTpCall")
2017 (c-name "empathy_tp_call_to")
2018 (return-type "none")
2020 '("EmpathyContact*" "contact")
2024 (define-method accept_incoming_call
2025 (of-object "EmpathyTpCall")
2026 (c-name "empathy_tp_call_accept_incoming_call")
2027 (return-type "none")
2030 (define-method request_video_stream_direction
2031 (of-object "EmpathyTpCall")
2032 (c-name "empathy_tp_call_request_video_stream_direction")
2033 (return-type "none")
2035 '("gboolean" "is_sending")
2039 (define-method start_tone
2040 (of-object "EmpathyTpCall")
2041 (c-name "empathy_tp_call_start_tone")
2042 (return-type "none")
2044 '("TpDTMFEvent" "event")
2048 (define-method stop_tone
2049 (of-object "EmpathyTpCall")
2050 (c-name "empathy_tp_call_stop_tone")
2051 (return-type "none")
2054 (define-method has_dtmf
2055 (of-object "EmpathyTpCall")
2056 (c-name "empathy_tp_call_has_dtmf")
2057 (return-type "gboolean")
2062 ;; From empathy-tp-chat.h
2064 (define-function tp_chat_get_type
2065 (c-name "empathy_tp_chat_get_type")
2066 (return-type "GType")
2069 (define-function tp_chat_new
2070 (c-name "empathy_tp_chat_new")
2071 (is-constructor-of "EmpathyTpChat")
2072 (return-type "EmpathyTpChat*")
2074 '("TpChannel*" "channel")
2078 (define-method close
2079 (of-object "EmpathyTpChat")
2080 (c-name "empathy_tp_chat_close")
2081 (return-type "none")
2084 (define-method get_id
2085 (of-object "EmpathyTpChat")
2086 (c-name "empathy_tp_chat_get_id")
2087 (return-type "const-gchar*")
2090 (define-method get_remote_contact
2091 (of-object "EmpathyTpChat")
2092 (c-name "empathy_tp_chat_get_remote_contact")
2093 (return-type "EmpathyContact*")
2096 (define-method get_channel
2097 (of-object "EmpathyTpChat")
2098 (c-name "empathy_tp_chat_get_channel")
2099 (return-type "TpChannel*")
2102 (define-method get_connection
2103 (of-object "EmpathyTpChat")
2104 (c-name "empathy_tp_chat_get_connection")
2105 (return-type "TpConnection*")
2108 (define-method is_ready
2109 (of-object "EmpathyTpChat")
2110 (c-name "empathy_tp_chat_is_ready")
2111 (return-type "gboolean")
2115 (of-object "EmpathyTpChat")
2116 (c-name "empathy_tp_chat_send")
2117 (return-type "none")
2119 '("EmpathyMessage*" "message")
2123 (define-method set_state
2124 (of-object "EmpathyTpChat")
2125 (c-name "empathy_tp_chat_set_state")
2126 (return-type "none")
2128 '("TpChannelChatState" "state")
2132 (define-method set_property
2133 (of-object "EmpathyTpChat")
2134 (c-name "empathy_tp_chat_set_property")
2135 (return-type "none")
2137 '("const-gchar*" "name")
2138 '("const-GValue*" "value")
2142 (define-method get_pending_messages
2143 (of-object "EmpathyTpChat")
2144 (c-name "empathy_tp_chat_get_pending_messages")
2145 (return-type "const-GList*")
2148 (define-method acknowledge_message
2149 (of-object "EmpathyTpChat")
2150 (c-name "empathy_tp_chat_acknowledge_message")
2151 (return-type "none")
2153 '("EmpathyMessage*" "message")
2157 (define-method acknowledge_messages
2158 (of-object "EmpathyTpChat")
2159 (c-name "empathy_tp_chat_acknowledge_messages")
2160 (return-type "none")
2162 '("const-GList*" "messages")
2168 ;; From empathy-tp-contact-factory.h
2170 (define-function tp_contact_factory_get_type
2171 (c-name "empathy_tp_contact_factory_get_type")
2172 (return-type "GType")
2175 (define-function tp_contact_factory_dup_singleton
2176 (c-name "empathy_tp_contact_factory_dup_singleton")
2177 (return-type "EmpathyTpContactFactory*")
2179 '("TpConnection*" "connection")
2183 (define-method get_from_ids
2184 (of-object "EmpathyTpContactFactory")
2185 (c-name "empathy_tp_contact_factory_get_from_ids")
2186 (return-type "none")
2189 '("const-gchar*-const*" "ids")
2190 '("EmpathyTpContactFactoryGotContactsCb" "callback")
2191 '("gpointer" "user_data")
2192 '("GDestroyNotify" "destroy")
2193 '("GObject*" "weak_object")
2197 (define-method get_from_handles
2198 (of-object "EmpathyTpContactFactory")
2199 (c-name "empathy_tp_contact_factory_get_from_handles")
2200 (return-type "none")
2202 '("guint" "n_handles")
2203 '("const-TpHandle*" "handles")
2204 '("EmpathyTpContactFactoryGotContactsCb" "callback")
2205 '("gpointer" "user_data")
2206 '("GDestroyNotify" "destroy")
2207 '("GObject*" "weak_object")
2211 (define-method set_alias
2212 (of-object "EmpathyTpContactFactory")
2213 (c-name "empathy_tp_contact_factory_set_alias")
2214 (return-type "none")
2216 '("EmpathyContact*" "contact")
2217 '("const-gchar*" "alias")
2221 (define-method set_avatar
2222 (of-object "EmpathyTpContactFactory")
2223 (c-name "empathy_tp_contact_factory_set_avatar")
2224 (return-type "none")
2226 '("const-gchar*" "data")
2228 '("const-gchar*" "mime_type")
2234 ;; From empathy-tp-contact-list.h
2236 (define-function tp_contact_list_get_type
2237 (c-name "empathy_tp_contact_list_get_type")
2238 (return-type "GType")
2241 (define-function tp_contact_list_new
2242 (c-name "empathy_tp_contact_list_new")
2243 (is-constructor-of "EmpathyTpContactList")
2244 (return-type "EmpathyTpContactList*")
2246 '("TpConnection*" "connection")
2250 (define-method get_connection
2251 (of-object "EmpathyTpContactList")
2252 (c-name "empathy_tp_contact_list_get_connection")
2253 (return-type "TpConnection*")
2256 (define-method can_add
2257 (of-object "EmpathyTpContactList")
2258 (c-name "empathy_tp_contact_list_can_add")
2259 (return-type "gboolean")
2262 (define-method remove_all
2263 (of-object "EmpathyTpContactList")
2264 (c-name "empathy_tp_contact_list_remove_all")
2265 (return-type "none")
2270 ;; From empathy-tp-file.h
2272 (define-function tp_file_get_type
2273 (c-name "empathy_tp_file_get_type")
2274 (return-type "GType")
2277 (define-function tp_file_new
2278 (c-name "empathy_tp_file_new")
2279 (is-constructor-of "EmpathyTpFile")
2280 (return-type "EmpathyTpFile*")
2282 '("TpChannel*" "channel")
2286 (define-method get_channel
2287 (of-object "EmpathyTpFile")
2288 (c-name "empathy_tp_file_get_channel")
2289 (return-type "TpChannel*")
2292 (define-method accept
2293 (of-object "EmpathyTpFile")
2294 (c-name "empathy_tp_file_accept")
2295 (return-type "none")
2297 '("guint64" "offset")
2299 '("GError**" "error")
2303 (define-method cancel
2304 (of-object "EmpathyTpFile")
2305 (c-name "empathy_tp_file_cancel")
2306 (return-type "none")
2309 (define-method close
2310 (of-object "EmpathyTpFile")
2311 (c-name "empathy_tp_file_close")
2312 (return-type "none")
2315 (define-method offer
2316 (of-object "EmpathyTpFile")
2317 (c-name "empathy_tp_file_offer")
2318 (return-type "none")
2321 '("GError**" "error")
2325 (define-method get_contact
2326 (of-object "EmpathyTpFile")
2327 (c-name "empathy_tp_file_get_contact")
2328 (return-type "EmpathyContact*")
2331 (define-method get_filename
2332 (of-object "EmpathyTpFile")
2333 (c-name "empathy_tp_file_get_filename")
2334 (return-type "const-gchar*")
2337 (define-method is_incoming
2338 (of-object "EmpathyTpFile")
2339 (c-name "empathy_tp_file_is_incoming")
2340 (return-type "gboolean")
2343 (define-method get_state
2344 (of-object "EmpathyTpFile")
2345 (c-name "empathy_tp_file_get_state")
2346 (return-type "TpFileTransferState")
2348 '("TpFileTransferStateChangeReason*" "reason")
2352 (define-method get_size
2353 (of-object "EmpathyTpFile")
2354 (c-name "empathy_tp_file_get_size")
2355 (return-type "guint64")
2358 (define-method get_transferred_bytes
2359 (of-object "EmpathyTpFile")
2360 (c-name "empathy_tp_file_get_transferred_bytes")
2361 (return-type "guint64")
2364 (define-method get_remaining_time
2365 (of-object "EmpathyTpFile")
2366 (c-name "empathy_tp_file_get_remaining_time")
2367 (return-type "gint")
2370 (define-method get_content_type
2371 (of-object "EmpathyTpFile")
2372 (c-name "empathy_tp_file_get_content_type")
2373 (return-type "const-gchar*")
2376 (define-method is_ready
2377 (of-object "EmpathyTpFile")
2378 (c-name "empathy_tp_file_is_ready")
2379 (return-type "gboolean")
2384 ;; From empathy-tp-roomlist.h
2386 (define-function tp_roomlist_get_type
2387 (c-name "empathy_tp_roomlist_get_type")
2388 (return-type "GType")
2391 (define-function tp_roomlist_new
2392 (c-name "empathy_tp_roomlist_new")
2393 (is-constructor-of "EmpathyTpRoomlist")
2394 (return-type "EmpathyTpRoomlist*")
2396 '("McAccount*" "account")
2400 (define-method is_listing
2401 (of-object "EmpathyTpRoomlist")
2402 (c-name "empathy_tp_roomlist_is_listing")
2403 (return-type "gboolean")
2406 (define-method start
2407 (of-object "EmpathyTpRoomlist")
2408 (c-name "empathy_tp_roomlist_start")
2409 (return-type "none")
2413 (of-object "EmpathyTpRoomlist")
2414 (c-name "empathy_tp_roomlist_stop")
2415 (return-type "none")
2420 ;; From empathy-tp-tube.h
2422 (define-function tp_tube_get_type
2423 (c-name "empathy_tp_tube_get_type")
2424 (return-type "GType")
2427 (define-function tp_tube_new
2428 (c-name "empathy_tp_tube_new")
2429 (is-constructor-of "EmpathyTpTube")
2430 (return-type "EmpathyTpTube*")
2432 '("TpChannel*" "channel")
2436 (define-function tp_tube_new_stream_tube
2437 (c-name "empathy_tp_tube_new_stream_tube")
2438 (return-type "EmpathyTpTube*")
2440 '("EmpathyContact*" "contact")
2441 '("TpSocketAddressType" "type")
2442 '("const-gchar*" "hostname")
2444 '("const-gchar*" "service")
2445 '("GHashTable*" "parameters")
2449 (define-method accept_stream_tube
2450 (of-object "EmpathyTpTube")
2451 (c-name "empathy_tp_tube_accept_stream_tube")
2452 (return-type "none")
2454 '("TpSocketAddressType" "type")
2455 '("EmpatyTpTubeAcceptStreamTubeCb*" "callback")
2456 '("gpointer" "user_data")
2462 ;; From empathy-tube-handler.h
2464 (define-function tube_handler_get_type
2465 (c-name "empathy_tube_handler_get_type")
2466 (return-type "GType")
2469 (define-function tube_handler_new
2470 (c-name "empathy_tube_handler_new")
2471 (is-constructor-of "EmpathyTubeHandler")
2472 (return-type "EmpathyTubeHandler*")
2474 '("TpTubeType" "type")
2475 '("const-gchar*" "service")
2479 (define-function tube_handler_build_bus_name
2480 (c-name "empathy_tube_handler_build_bus_name")
2481 (return-type "gchar*")
2483 '("TpTubeType" "type")
2484 '("const-gchar*" "service")
2488 (define-function tube_handler_build_object_path
2489 (c-name "empathy_tube_handler_build_object_path")
2490 (return-type "gchar*")
2492 '("TpTubeType" "type")
2493 '("const-gchar*" "service")
2499 ;; From empathy-types.h
2503 ;; From empathy-utils.h
2505 (define-function init
2506 (c-name "empathy_init")
2507 (return-type "none")
2510 (define-function substring
2511 (c-name "empathy_substring")
2512 (return-type "gchar*")
2514 '("const-gchar*" "str")
2520 (define-function strcasecmp
2521 (c-name "empathy_strcasecmp")
2522 (return-type "gint")
2524 '("const-gchar*" "s1")
2525 '("const-gchar*" "s2")
2529 (define-function strncasecmp
2530 (c-name "empathy_strncasecmp")
2531 (return-type "gint")
2533 '("const-gchar*" "s1")
2534 '("const-gchar*" "s2")
2539 (define-function xml_validate
2540 (c-name "empathy_xml_validate")
2541 (return-type "gboolean")
2544 '("const-gchar*" "dtd_filename")
2548 (define-function xml_node_get_child
2549 (c-name "empathy_xml_node_get_child")
2550 (return-type "xmlNodePtr")
2552 '("xmlNodePtr" "node")
2553 '("const-gchar*" "child_name")
2557 (define-function xml_node_get_child_content
2558 (c-name "empathy_xml_node_get_child_content")
2559 (return-type "xmlChar*")
2561 '("xmlNodePtr" "node")
2562 '("const-gchar*" "child_name")
2566 (define-function xml_node_find_child_prop_value
2567 (c-name "empathy_xml_node_find_child_prop_value")
2568 (return-type "xmlNodePtr")
2570 '("xmlNodePtr" "node")
2571 '("const-gchar*" "prop_name")
2572 '("const-gchar*" "prop_value")
2576 (define-function account_hash
2577 (c-name "empathy_account_hash")
2578 (return-type "guint")
2580 '("gconstpointer" "key")
2584 (define-function account_equal
2585 (c-name "empathy_account_equal")
2586 (return-type "gboolean")
2588 '("gconstpointer" "a")
2589 '("gconstpointer" "b")
2593 (define-function mission_control_dup_singleton
2594 (c-name "empathy_mission_control_dup_singleton")
2595 (return-type "MissionControl*")
2598 (define-function presence_get_default_message
2599 (c-name "empathy_presence_get_default_message")
2600 (return-type "const-gchar*")
2602 '("McPresence" "presence")
2606 (define-function presence_to_str
2607 (c-name "empathy_presence_to_str")
2608 (return-type "const-gchar*")
2610 '("McPresence" "presence")
2614 (define-function presence_from_str
2615 (c-name "empathy_presence_from_str")
2616 (return-type "McPresence")
2618 '("const-gchar*" "str")
2622 (define-function file_lookup
2623 (c-name "empathy_file_lookup")
2624 (return-type "gchar*")
2626 '("const-gchar*" "filename")
2627 '("const-gchar*" "subdir")
2631 (define-function proxy_equal
2632 (c-name "empathy_proxy_equal")
2633 (return-type "gboolean")
2635 '("gconstpointer" "a")
2636 '("gconstpointer" "b")
2640 (define-function proxy_hash
2641 (c-name "empathy_proxy_hash")
2642 (return-type "guint")
2644 '("gconstpointer" "key")
2648 (define-function check_available_state
2649 (c-name "empathy_check_available_state")
2650 (return-type "gboolean")