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")
80 (define-object FTFactory
83 (c-name "EmpathyFTFactory")
84 (gtype-id "EMPATHY_TYPE_FT_FACTORY")
87 (define-object FTHandler
90 (c-name "EmpathyFTHandler")
91 (gtype-id "EMPATHY_TYPE_FT_HANDLER")
97 (c-name "EmpathyIdle")
98 (gtype-id "EMPATHY_TYPE_IDLE")
101 (define-object IrcNetwork
102 (in-module "Empathy")
104 (c-name "EmpathyIrcNetwork")
105 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
108 (define-object IrcNetworkManager
109 (in-module "Empathy")
111 (c-name "EmpathyIrcNetworkManager")
112 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
115 (define-object IrcServer
116 (in-module "Empathy")
118 (c-name "EmpathyIrcServer")
119 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
122 (define-object LogManager
123 (in-module "Empathy")
125 (c-name "EmpathyLogManager")
126 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
129 (define-object LogStoreEmpathy
130 (in-module "Empathy")
132 (c-name "EmpathyLogStoreEmpathy")
133 (gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
136 (define-object Message
137 (in-module "Empathy")
139 (c-name "EmpathyMessage")
140 (gtype-id "EMPATHY_TYPE_MESSAGE")
143 (define-object TpCall
144 (in-module "Empathy")
146 (c-name "EmpathyTpCall")
147 (gtype-id "EMPATHY_TYPE_TP_CALL")
150 (define-object TpChat
151 (in-module "Empathy")
153 (c-name "EmpathyTpChat")
154 (gtype-id "EMPATHY_TYPE_TP_CHAT")
157 (define-object TpContactFactory
158 (in-module "Empathy")
160 (c-name "EmpathyTpContactFactory")
161 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
164 (define-object TpContactList
165 (in-module "Empathy")
167 (implements "EmpathyContactList")
168 (c-name "EmpathyTpContactList")
169 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
172 (define-object TpFile
173 (in-module "Empathy")
175 (c-name "EmpathyTpFile")
176 (gtype-id "EMPATHY_TYPE_TP_FILE")
179 (define-object TpRoomlist
180 (in-module "Empathy")
182 (c-name "EmpathyTpRoomlist")
183 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
186 (define-object TubeHandler
187 (in-module "Empathy")
189 (c-name "EmpathyTubeHandler")
190 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
193 ;; Enumerations and flags ...
195 (define-flags Capabilities
196 (in-module "Empathy")
197 (c-name "EmpathyCapabilities")
198 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
200 '("none" "EMPATHY_CAPABILITIES_NONE")
201 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
202 '("video" "EMPATHY_CAPABILITIES_VIDEO")
203 '("ft" "EMPATHY_CAPABILITIES_FT")
204 '("stream-tube" "EMPATHY_CAPABILITIES_STREAM_TUBE")
205 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
209 (define-flags DebugFlags
210 (in-module "Empathy")
211 (c-name "EmpathyDebugFlags")
212 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
214 '("tp" "EMPATHY_DEBUG_TP")
215 '("chat" "EMPATHY_DEBUG_CHAT")
216 '("contact" "EMPATHY_DEBUG_CONTACT")
217 '("account" "EMPATHY_DEBUG_ACCOUNT")
218 '("irc" "EMPATHY_DEBUG_IRC")
219 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
220 '("ft" "EMPATHY_DEBUG_FT")
221 '("location" "EMPATHY_DEBUG_LOCATION")
222 '("other" "EMPATHY_DEBUG_OTHER")
226 (define-enum DispatchOperationState
227 (in-module "Empathy")
228 (c-name "EmpathyDispatchOperationState")
229 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
231 '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
232 '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
233 '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
234 '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
235 '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
236 '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
240 (define-enum TpCallStatus
241 (in-module "Empathy")
242 (c-name "EmpathyTpCallStatus")
243 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
245 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
246 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
247 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
248 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
252 (define-enum FTErrorEnum
253 (in-module "Empathy")
254 (c-name "EmpathyFTErrorEnum")
255 (gtype-id "EMPATHY_TYPE_FT_ERROR_ENUM")
257 '("failed" "EMPATHY_FT_ERROR_FAILED")
258 '("hash-mismatch" "EMPATHY_FT_ERROR_HASH_MISMATCH")
259 '("tp-error" "EMPATHY_FT_ERROR_TP_ERROR")
260 '("socket" "EMPATHY_FT_ERROR_SOCKET")
261 '("not-supported" "EMPATHY_FT_ERROR_NOT_SUPPORTED")
266 ;; From empathy-account-manager.h
268 (define-function account_manager_get_type
269 (c-name "empathy_account_manager_get_type")
270 (return-type "GType")
273 (define-function account_manager_dup_singleton
274 (c-name "empathy_account_manager_dup_singleton")
275 (return-type "EmpathyAccountManager*")
278 (define-method get_connected_accounts
279 (of-object "EmpathyAccountManager")
280 (c-name "empathy_account_manager_get_connected_accounts")
284 (define-method get_connecting_accounts
285 (of-object "EmpathyAccountManager")
286 (c-name "empathy_account_manager_get_connecting_accounts")
290 (define-method is_account_just_connected
291 (of-object "EmpathyAccountManager")
292 (c-name "empathy_account_manager_is_account_just_connected")
293 (return-type "gboolean")
295 '("McAccount*" "account")
299 (define-method get_count
300 (of-object "EmpathyAccountManager")
301 (c-name "empathy_account_manager_get_count")
305 (define-method get_account
306 (of-object "EmpathyAccountManager")
307 (c-name "empathy_account_manager_get_account")
308 (return-type "McAccount*")
310 '("TpConnection*" "connection")
314 (define-method dup_accounts
315 (of-object "EmpathyAccountManager")
316 (c-name "empathy_account_manager_dup_accounts")
317 (return-type "GList*")
320 (define-method get_connection
321 (of-object "EmpathyAccountManager")
322 (c-name "empathy_account_manager_get_connection")
323 (return-type "TpConnection*")
325 '("McAccount*" "account")
329 (define-method dup_connections
330 (of-object "EmpathyAccountManager")
331 (c-name "empathy_account_manager_dup_connections")
332 (return-type "GList*")
337 ;; From empathy-chatroom.h
339 (define-function chatroom_get_type
340 (c-name "empathy_chatroom_get_type")
341 (return-type "GType")
344 (define-function chatroom_new
345 (c-name "empathy_chatroom_new")
346 (is-constructor-of "EmpathyChatroom")
347 (return-type "EmpathyChatroom*")
349 '("McAccount*" "account")
353 (define-function chatroom_new_full
354 (c-name "empathy_chatroom_new_full")
355 (return-type "EmpathyChatroom*")
357 '("McAccount*" "account")
358 '("const-gchar*" "room")
359 '("const-gchar*" "name")
360 '("gboolean" "auto_connect")
364 (define-method get_account
365 (of-object "EmpathyChatroom")
366 (c-name "empathy_chatroom_get_account")
367 (return-type "McAccount*")
370 (define-method set_account
371 (of-object "EmpathyChatroom")
372 (c-name "empathy_chatroom_set_account")
375 '("McAccount*" "account")
379 (define-method get_room
380 (of-object "EmpathyChatroom")
381 (c-name "empathy_chatroom_get_room")
382 (return-type "const-gchar*")
385 (define-method set_room
386 (of-object "EmpathyChatroom")
387 (c-name "empathy_chatroom_set_room")
390 '("const-gchar*" "room")
394 (define-method get_name
395 (of-object "EmpathyChatroom")
396 (c-name "empathy_chatroom_get_name")
397 (return-type "const-gchar*")
400 (define-method set_name
401 (of-object "EmpathyChatroom")
402 (c-name "empathy_chatroom_set_name")
405 '("const-gchar*" "name")
409 (define-method get_auto_connect
410 (of-object "EmpathyChatroom")
411 (c-name "empathy_chatroom_get_auto_connect")
412 (return-type "gboolean")
415 (define-method set_auto_connect
416 (of-object "EmpathyChatroom")
417 (c-name "empathy_chatroom_set_auto_connect")
420 '("gboolean" "auto_connect")
424 (define-method get_subject
425 (of-object "EmpathyChatroom")
426 (c-name "empathy_chatroom_get_subject")
427 (return-type "const-gchar*")
430 (define-method set_subject
431 (of-object "EmpathyChatroom")
432 (c-name "empathy_chatroom_set_subject")
435 '("const-gchar*" "subject")
439 (define-method get_members_count
440 (of-object "EmpathyChatroom")
441 (c-name "empathy_chatroom_get_members_count")
442 (return-type "guint")
445 (define-method set_members_count
446 (of-object "EmpathyChatroom")
447 (c-name "empathy_chatroom_set_members_count")
454 (define-method get_need_password
455 (of-object "EmpathyChatroom")
456 (c-name "empathy_chatroom_get_need_password")
457 (return-type "gboolean")
460 (define-method set_need_password
461 (of-object "EmpathyChatroom")
462 (c-name "empathy_chatroom_set_need_password")
465 '("gboolean" "need_password")
469 (define-method get_invite_only
470 (of-object "EmpathyChatroom")
471 (c-name "empathy_chatroom_get_invite_only")
472 (return-type "gboolean")
475 (define-method set_invite_only
476 (of-object "EmpathyChatroom")
477 (c-name "empathy_chatroom_set_invite_only")
480 '("gboolean" "invite_only")
484 (define-function chatroom_equal
485 (c-name "empathy_chatroom_equal")
486 (return-type "gboolean")
488 '("gconstpointer" "v1")
489 '("gconstpointer" "v2")
493 (define-method get_tp_chat
494 (of-object "EmpathyChatroom")
495 (c-name "empathy_chatroom_get_tp_chat")
496 (return-type "EmpathyTpChat*")
499 (define-method set_tp_chat
500 (of-object "EmpathyChatroom")
501 (c-name "empathy_chatroom_set_tp_chat")
504 '("EmpathyTpChat*" "tp_chat")
508 (define-method is_favorite
509 (of-object "EmpathyChatroom")
510 (c-name "empathy_chatroom_is_favorite")
511 (return-type "gboolean")
514 (define-method set_favorite
515 (of-object "EmpathyChatroom")
516 (c-name "empathy_chatroom_set_favorite")
519 '("gboolean" "favorite")
525 ;; From empathy-chatroom-manager.h
527 (define-function chatroom_manager_get_type
528 (c-name "empathy_chatroom_manager_get_type")
529 (return-type "GType")
532 (define-function chatroom_manager_dup_singleton
533 (c-name "empathy_chatroom_manager_dup_singleton")
534 (return-type "EmpathyChatroomManager*")
536 '("const-gchar*" "file")
541 (of-object "EmpathyChatroomManager")
542 (c-name "empathy_chatroom_manager_add")
543 (return-type "gboolean")
545 '("EmpathyChatroom*" "chatroom")
549 (define-method remove
550 (of-object "EmpathyChatroomManager")
551 (c-name "empathy_chatroom_manager_remove")
554 '("EmpathyChatroom*" "chatroom")
559 (of-object "EmpathyChatroomManager")
560 (c-name "empathy_chatroom_manager_find")
561 (return-type "EmpathyChatroom*")
563 '("McAccount*" "account")
564 '("const-gchar*" "room")
568 (define-method get_chatrooms
569 (of-object "EmpathyChatroomManager")
570 (c-name "empathy_chatroom_manager_get_chatrooms")
571 (return-type "GList*")
573 '("McAccount*" "account")
577 (define-method get_count
578 (of-object "EmpathyChatroomManager")
579 (c-name "empathy_chatroom_manager_get_count")
580 (return-type "guint")
582 '("McAccount*" "account")
586 (define-method observe
587 (of-object "EmpathyChatroomManager")
588 (c-name "empathy_chatroom_manager_observe")
591 '("EmpathyDispatcher*" "dispatcher")
597 ;; From empathy-call-factory.h
599 (define-function call_factory_get_type
600 (c-name "empathy_call_factory_get_type")
601 (return-type "GType")
604 (define-function call_factory_initialise
605 (c-name "empathy_call_factory_initialise")
606 (return-type "EmpathyCallFactory*")
609 (define-function call_factory_get
610 (c-name "empathy_call_factory_get")
611 (return-type "EmpathyCallFactory*")
614 (define-method new_call
615 (of-object "EmpathyCallFactory")
616 (c-name "empathy_call_factory_new_call")
619 '("EmpathyContact*" "contact")
623 (define-method new_call_with_streams
624 (of-object "EmpathyCallFactory")
625 (c-name "empathy_call_factory_new_call_with_streams")
628 '("EmpathyContact*" "contact")
629 '("gboolean" "initial_audio")
630 '("gboolean" "initial_video")
634 (define-method claim_channel
635 (of-object "EmpathyCallFactory")
636 (c-name "empathy_call_factory_claim_channel")
639 '("EmpathyDispatchOperation*" "operation")
645 ;; From empathy-call-handler.h
647 (define-function call_handler_get_type
648 (c-name "empathy_call_handler_get_type")
649 (return-type "GType")
652 (define-function call_handler_new_for_contact
653 (c-name "empathy_call_handler_new_for_contact")
654 (return-type "EmpathyCallHandler*")
656 '("EmpathyContact*" "contact")
660 (define-function call_handler_new_for_contact_with_streams
661 (c-name "empathy_call_handler_new_for_contact_with_streams")
662 (return-type "EmpathyCallHandler*")
664 '("EmpathyContact*" "contact")
665 '("gboolean" "audio")
666 '("gboolean" "video")
670 (define-function call_handler_new_for_channel
671 (c-name "empathy_call_handler_new_for_channel")
672 (return-type "EmpathyCallHandler*")
674 '("EmpathyTpCall*" "call")
678 (define-method start_call
679 (of-object "EmpathyCallHandler")
680 (c-name "empathy_call_handler_start_call")
684 (define-method bus_message
685 (of-object "EmpathyCallHandler")
686 (c-name "empathy_call_handler_bus_message")
690 '("GstMessage*" "message")
696 ;; From empathy-contact.h
698 (define-function contact_get_type
699 (c-name "empathy_contact_get_type")
700 (return-type "GType")
703 (define-function contact_new
704 (c-name "empathy_contact_new")
705 (is-constructor-of "EmpathyContact")
706 (return-type "EmpathyContact*")
708 '("TpContact*" "tp_contact")
712 (define-function contact_new_for_log
713 (c-name "empathy_contact_new_for_log")
714 (return-type "EmpathyContact*")
716 '("McAccount*" "account")
717 '("const-gchar*" "id")
718 '("const-gchar*" "name")
719 '("gboolean" "is_user")
723 (define-method get_tp_contact
724 (of-object "EmpathyContact")
725 (c-name "empathy_contact_get_tp_contact")
726 (return-type "TpContact*")
729 (define-method get_id
730 (of-object "EmpathyContact")
731 (c-name "empathy_contact_get_id")
732 (return-type "const-gchar*")
735 (define-method set_id
736 (of-object "EmpathyContact")
737 (c-name "empathy_contact_set_id")
740 '("const-gchar*" "id")
744 (define-method get_name
745 (of-object "EmpathyContact")
746 (c-name "empathy_contact_get_name")
747 (return-type "const-gchar*")
750 (define-method set_name
751 (of-object "EmpathyContact")
752 (c-name "empathy_contact_set_name")
755 '("const-gchar*" "name")
759 (define-method get_avatar
760 (of-object "EmpathyContact")
761 (c-name "empathy_contact_get_avatar")
762 (return-type "EmpathyAvatar*")
765 (define-method set_avatar
766 (of-object "EmpathyContact")
767 (c-name "empathy_contact_set_avatar")
770 '("EmpathyAvatar*" "avatar")
774 (define-method get_account
775 (of-object "EmpathyContact")
776 (c-name "empathy_contact_get_account")
777 (return-type "McAccount*")
780 (define-method get_connection
781 (of-object "EmpathyContact")
782 (c-name "empathy_contact_get_connection")
783 (return-type "TpConnection*")
786 (define-method get_presence
787 (of-object "EmpathyContact")
788 (c-name "empathy_contact_get_presence")
789 (return-type "TpConnectionPresenceType")
792 (define-method set_presence
793 (of-object "EmpathyContact")
794 (c-name "empathy_contact_set_presence")
797 '("TpConnectionPresenceType" "presence")
801 (define-method get_presence_message
802 (of-object "EmpathyContact")
803 (c-name "empathy_contact_get_presence_message")
804 (return-type "const-gchar*")
807 (define-method set_presence_message
808 (of-object "EmpathyContact")
809 (c-name "empathy_contact_set_presence_message")
812 '("const-gchar*" "message")
816 (define-method get_handle
817 (of-object "EmpathyContact")
818 (c-name "empathy_contact_get_handle")
819 (return-type "guint")
822 (define-method set_handle
823 (of-object "EmpathyContact")
824 (c-name "empathy_contact_set_handle")
831 (define-method get_capabilities
832 (of-object "EmpathyContact")
833 (c-name "empathy_contact_get_capabilities")
834 (return-type "EmpathyCapabilities")
837 (define-method set_capabilities
838 (of-object "EmpathyContact")
839 (c-name "empathy_contact_set_capabilities")
842 '("EmpathyCapabilities" "capabilities")
846 (define-method is_user
847 (of-object "EmpathyContact")
848 (c-name "empathy_contact_is_user")
849 (return-type "gboolean")
852 (define-method set_is_user
853 (of-object "EmpathyContact")
854 (c-name "empathy_contact_set_is_user")
857 '("gboolean" "is_user")
861 (define-method is_online
862 (of-object "EmpathyContact")
863 (c-name "empathy_contact_is_online")
864 (return-type "gboolean")
867 (define-method get_status
868 (of-object "EmpathyContact")
869 (c-name "empathy_contact_get_status")
870 (return-type "const-gchar*")
873 (define-method can_voip
874 (of-object "EmpathyContact")
875 (c-name "empathy_contact_can_voip")
876 (return-type "gboolean")
879 (define-method can_send_files
880 (of-object "EmpathyContact")
881 (c-name "empathy_contact_can_send_files")
882 (return-type "gboolean")
885 (define-method can_use_stream_tube
886 (of-object "EmpathyContact")
887 (c-name "empathy_contact_can_use_stream_tube")
888 (return-type "gboolean")
891 (define-function contact_hash
892 (c-name "empathy_contact_hash")
893 (return-type "guint")
895 '("gconstpointer" "key")
899 (define-method load_avatar_data
900 (of-object "EmpathyContact")
901 (c-name "empathy_contact_load_avatar_data")
904 '("const-guchar*" "data")
905 '("const-gsize" "len")
906 '("const-gchar*" "format")
907 '("const-gchar*" "token")
911 (define-method load_avatar_cache
912 (of-object "EmpathyContact")
913 (c-name "empathy_contact_load_avatar_cache")
914 (return-type "gboolean")
916 '("const-gchar*" "token")
920 (define-function avatar_get_type
921 (c-name "empathy_avatar_get_type")
922 (return-type "GType")
925 (define-function avatar_new
926 (c-name "empathy_avatar_new")
927 (is-constructor-of "EmpathyAvatar")
928 (return-type "EmpathyAvatar*")
938 (of-object "EmpathyAvatar")
939 (c-name "empathy_avatar_ref")
940 (return-type "EmpathyAvatar*")
944 (of-object "EmpathyAvatar")
945 (c-name "empathy_avatar_unref")
949 (define-method save_to_file
950 (of-object "EmpathyAvatar")
951 (c-name "empathy_avatar_save_to_file")
952 (return-type "gboolean")
954 '("const-gchar*" "filename")
955 '("GError**" "error")
959 (define-method get_location
960 (of-object "EmpathyContact")
961 (c-name "empathy_contact_get_location")
962 (return-type "GHashTable*")
965 (define-method set_location
966 (of-object "EmpathyContact")
967 (c-name "empathy_contact_set_location")
970 '("GHashTable*" "location")
976 ;; From empathy-contact-groups.h
978 (define-function contact_groups_get_all
979 (c-name "empathy_contact_groups_get_all")
983 (define-function contact_group_get_expanded
984 (c-name "empathy_contact_group_get_expanded")
985 (return-type "gboolean")
987 '("const-gchar*" "group")
991 (define-function contact_group_set_expanded
992 (c-name "empathy_contact_group_set_expanded")
995 '("const-gchar*" "group")
996 '("gboolean" "expanded")
1002 ;; From empathy-contact-list.h
1004 (define-function contact_list_get_type
1005 (c-name "empathy_contact_list_get_type")
1006 (return-type "GType")
1010 (of-object "EmpathyContactList")
1011 (c-name "empathy_contact_list_add")
1012 (return-type "none")
1014 '("EmpathyContact*" "contact")
1015 '("const-gchar*" "message")
1019 (define-method remove
1020 (of-object "EmpathyContactList")
1021 (c-name "empathy_contact_list_remove")
1022 (return-type "none")
1024 '("EmpathyContact*" "contact")
1025 '("const-gchar*" "message")
1029 (define-method get_members
1030 (of-object "EmpathyContactList")
1031 (c-name "empathy_contact_list_get_members")
1032 (return-type "GList*")
1035 (define-method get_pendings
1036 (of-object "EmpathyContactList")
1037 (c-name "empathy_contact_list_get_pendings")
1038 (return-type "GList*")
1041 (define-method get_all_groups
1042 (of-object "EmpathyContactList")
1043 (c-name "empathy_contact_list_get_all_groups")
1044 (return-type "GList*")
1047 (define-method get_groups
1048 (of-object "EmpathyContactList")
1049 (c-name "empathy_contact_list_get_groups")
1050 (return-type "GList*")
1052 '("EmpathyContact*" "contact")
1056 (define-method add_to_group
1057 (of-object "EmpathyContactList")
1058 (c-name "empathy_contact_list_add_to_group")
1059 (return-type "none")
1061 '("EmpathyContact*" "contact")
1062 '("const-gchar*" "group")
1066 (define-method remove_from_group
1067 (of-object "EmpathyContactList")
1068 (c-name "empathy_contact_list_remove_from_group")
1069 (return-type "none")
1071 '("EmpathyContact*" "contact")
1072 '("const-gchar*" "group")
1076 (define-method rename_group
1077 (of-object "EmpathyContactList")
1078 (c-name "empathy_contact_list_rename_group")
1079 (return-type "none")
1081 '("const-gchar*" "old_group")
1082 '("const-gchar*" "new_group")
1086 (define-method remove_group
1087 (of-object "EmpathyContactList")
1088 (c-name "empathy_contact_list_remove_group")
1089 (return-type "none")
1091 '("const-gchar*" "group")
1095 (define-method get_monitor
1096 (of-object "EmpathyContactList")
1097 (c-name "empathy_contact_list_get_monitor")
1098 (return-type "EmpathyContactMonitor*")
1103 ;; From empathy-contact-manager.h
1105 (define-function contact_manager_get_type
1106 (c-name "empathy_contact_manager_get_type")
1107 (return-type "GType")
1110 (define-function contact_manager_dup_singleton
1111 (c-name "empathy_contact_manager_dup_singleton")
1112 (return-type "EmpathyContactManager*")
1115 (define-method get_list
1116 (of-object "EmpathyContactManager")
1117 (c-name "empathy_contact_manager_get_list")
1118 (return-type "EmpathyTpContactList*")
1120 '("TpConnection*" "connection")
1124 (define-method can_add
1125 (of-object "EmpathyContactManager")
1126 (c-name "empathy_contact_manager_can_add")
1127 (return-type "gboolean")
1129 '("TpConnection*" "connection")
1135 ;; From empathy-contact-monitor.h
1137 (define-function contact_monitor_get_type
1138 (c-name "empathy_contact_monitor_get_type")
1139 (return-type "GType")
1142 (define-method set_iface
1143 (of-object "EmpathyContactMonitor")
1144 (c-name "empathy_contact_monitor_set_iface")
1145 (return-type "none")
1147 '("EmpathyContactList*" "iface")
1151 (define-function contact_monitor_new_for_iface
1152 (c-name "empathy_contact_monitor_new_for_iface")
1153 (return-type "EmpathyContactMonitor*")
1155 '("EmpathyContactList*" "iface")
1161 ;; From empathy-debug.h
1163 (define-function debug_flag_is_set
1164 (c-name "empathy_debug_flag_is_set")
1165 (return-type "gboolean")
1167 '("EmpathyDebugFlags" "flag")
1171 (define-function debug
1172 (c-name "empathy_debug")
1173 (return-type "none")
1175 '("EmpathyDebugFlags" "flag")
1176 '("const-gchar*" "format")
1181 (define-function debug_set_flags
1182 (c-name "empathy_debug_set_flags")
1183 (return-type "none")
1185 '("const-gchar*" "flags_string")
1191 ;; From empathy-dispatcher.h
1193 (define-function dispatcher_get_type
1194 (c-name "empathy_dispatcher_get_type")
1195 (return-type "GType")
1198 (define-method create_channel
1199 (of-object "EmpathyDispatcher")
1200 (c-name "empathy_dispatcher_create_channel")
1201 (return-type "none")
1203 '("TpConnection*" "connection")
1204 '("GHashTable*" "request")
1205 '("EmpathyDispatcherRequestCb*" "callback")
1206 '("gpointer" "user_data")
1210 (define-function dispatcher_chat_with_contact_id
1211 (c-name "empathy_dispatcher_chat_with_contact_id")
1212 (return-type "none")
1214 '("TpConnection*" "connection")
1215 '("const-gchar*" "contact_id")
1216 '("EmpathyDispatcherRequestCb*" "callback")
1217 '("gpointer" "user_data")
1221 (define-function dispatcher_chat_with_contact
1222 (c-name "empathy_dispatcher_chat_with_contact")
1223 (return-type "none")
1225 '("EmpathyContact*" "contact")
1226 '("EmpathyDispatcherRequestCb*" "callback")
1227 '("gpointer" "user_data")
1231 (define-function dispatcher_send_file_to_contact
1232 (c-name "empathy_dispatcher_send_file_to_contact")
1233 (return-type "none")
1235 '("EmpathyContact*" "contact")
1236 '("const-gchar*" "filename")
1239 '("const-gchar*" "content_type")
1240 '("EmpathyDispatcherRequestCb*" "callback")
1241 '("gpointer" "user_data")
1245 (define-function dispatcher_join_muc
1246 (c-name "empathy_dispatcher_join_muc")
1247 (return-type "none")
1249 '("TpConnection*" "connection")
1250 '("const-gchar*" "roomname")
1251 '("EmpathyDispatcherRequestCb*" "callback")
1252 '("gpointer" "user_data")
1256 (define-method find_requestable_channel_classes_async
1257 (of-object "EmpathyDispatcher")
1258 (c-name "empathy_dispatcher_find_requestable_channel_classes_async")
1259 (return-type "none")
1261 '("TpConnection*" "connection")
1262 '("const-gchar*" "channel_type")
1263 '("guint" "handle_type")
1264 '("EmpathyDispatcherFindChannelClassCb" "callback")
1265 '("gpointer" "user_data")
1266 '("const-char*" "first_property_name")
1271 (define-method find_requestable_channel_classes
1272 (of-object "EmpathyDispatcher")
1273 (c-name "empathy_dispatcher_find_requestable_channel_classes")
1274 (return-type "GList*")
1276 '("TpConnection*" "connection")
1277 '("const-gchar*" "channel_type")
1278 '("guint" "handle_type")
1279 '("const-char*" "first_property_name")
1284 (define-function dispatcher_dup_singleton
1285 (c-name "empathy_dispatcher_dup_singleton")
1286 (return-type "EmpathyDispatcher*")
1291 ;; From empathy-dispatch-operation.h
1293 (define-function dispatch_operation_get_type
1294 (c-name "empathy_dispatch_operation_get_type")
1295 (return-type "GType")
1298 (define-function dispatch_operation_new
1299 (c-name "empathy_dispatch_operation_new")
1300 (is-constructor-of "EmpathyDispatchOperation")
1301 (return-type "EmpathyDispatchOperation*")
1303 '("TpConnection*" "connection")
1304 '("TpChannel*" "channel")
1305 '("EmpathyContact*" "contact")
1306 '("gboolean" "incoming")
1310 (define-function dispatch_operation_new_with_wrapper
1311 (c-name "empathy_dispatch_operation_new_with_wrapper")
1312 (return-type "EmpathyDispatchOperation*")
1314 '("TpConnection*" "connection")
1315 '("TpChannel*" "channel")
1316 '("EmpathyContact*" "contact")
1317 '("gboolean" "incoming")
1318 '("GObject*" "channel_wrapper")
1322 (define-method start
1323 (of-object "EmpathyDispatchOperation")
1324 (c-name "empathy_dispatch_operation_start")
1325 (return-type "none")
1328 (define-method approve
1329 (of-object "EmpathyDispatchOperation")
1330 (c-name "empathy_dispatch_operation_approve")
1331 (return-type "none")
1334 (define-method claim
1335 (of-object "EmpathyDispatchOperation")
1336 (c-name "empathy_dispatch_operation_claim")
1337 (return-type "gboolean")
1340 (define-method get_channel
1341 (of-object "EmpathyDispatchOperation")
1342 (c-name "empathy_dispatch_operation_get_channel")
1343 (return-type "TpChannel*")
1346 (define-method get_channel_wrapper
1347 (of-object "EmpathyDispatchOperation")
1348 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1349 (return-type "GObject*")
1352 (define-method get_tp_connection
1353 (of-object "EmpathyDispatchOperation")
1354 (c-name "empathy_dispatch_operation_get_tp_connection")
1355 (return-type "TpConnection*")
1358 (define-method get_channel_type
1359 (of-object "EmpathyDispatchOperation")
1360 (c-name "empathy_dispatch_operation_get_channel_type")
1361 (return-type "const-gchar*")
1364 (define-method get_channel_type_id
1365 (of-object "EmpathyDispatchOperation")
1366 (c-name "empathy_dispatch_operation_get_channel_type_id")
1367 (return-type "GQuark")
1370 (define-method get_object_path
1371 (of-object "EmpathyDispatchOperation")
1372 (c-name "empathy_dispatch_operation_get_object_path")
1373 (return-type "const-gchar*")
1376 (define-method get_status
1377 (of-object "EmpathyDispatchOperation")
1378 (c-name "empathy_dispatch_operation_get_status")
1379 (return-type "EmpathyDispatchOperationState")
1382 (define-method is_incoming
1383 (of-object "EmpathyDispatchOperation")
1384 (c-name "empathy_dispatch_operation_is_incoming")
1385 (return-type "gboolean")
1390 ;; From empathy-ft-factory.h
1392 (define-function ft_factory_get_type
1393 (c-name "empathy_ft_factory_get_type")
1394 (return-type "GType")
1397 (define-function ft_factory_dup_singleton
1398 (c-name "empathy_ft_factory_dup_singleton")
1399 (return-type "EmpathyFTFactory*")
1402 (define-method new_transfer_outgoing
1403 (of-object "EmpathyFTFactory")
1404 (c-name "empathy_ft_factory_new_transfer_outgoing")
1405 (return-type "none")
1407 '("EmpathyContact*" "contact")
1408 '("GFile*" "source")
1412 (define-method claim_channel
1413 (of-object "EmpathyFTFactory")
1414 (c-name "empathy_ft_factory_claim_channel")
1415 (return-type "none")
1417 '("EmpathyDispatchOperation*" "operation")
1421 (define-method set_destination_for_incoming_handler
1422 (of-object "EmpathyFTFactory")
1423 (c-name "empathy_ft_factory_set_destination_for_incoming_handler")
1424 (return-type "none")
1426 '("EmpathyFTHandler*" "handler")
1427 '("GFile*" "destination")
1433 ;; From empathy-ft-handler.h
1435 (define-function ft_handler_get_type
1436 (c-name "empathy_ft_handler_get_type")
1437 (return-type "GType")
1440 (define-function ft_handler_new_outgoing
1441 (c-name "empathy_ft_handler_new_outgoing")
1442 (return-type "none")
1444 '("EmpathyContact*" "contact")
1445 '("GFile*" "source")
1446 '("EmpathyFTHandlerReadyCallback" "callback")
1447 '("gpointer" "user_data")
1451 (define-function ft_handler_new_incoming
1452 (c-name "empathy_ft_handler_new_incoming")
1453 (return-type "none")
1455 '("EmpathyTpFile*" "tp_file")
1456 '("EmpathyFTHandlerReadyCallback" "callback")
1457 '("gpointer" "user_data")
1461 (define-method incoming_set_destination
1462 (of-object "EmpathyFTHandler")
1463 (c-name "empathy_ft_handler_incoming_set_destination")
1464 (return-type "none")
1466 '("GFile*" "destination")
1470 (define-method start_transfer
1471 (of-object "EmpathyFTHandler")
1472 (c-name "empathy_ft_handler_start_transfer")
1473 (return-type "none")
1476 (define-method cancel_transfer
1477 (of-object "EmpathyFTHandler")
1478 (c-name "empathy_ft_handler_cancel_transfer")
1479 (return-type "none")
1482 (define-method get_filename
1483 (of-object "EmpathyFTHandler")
1484 (c-name "empathy_ft_handler_get_filename")
1485 (return-type "const-char*")
1488 (define-method get_content_type
1489 (of-object "EmpathyFTHandler")
1490 (c-name "empathy_ft_handler_get_content_type")
1491 (return-type "const-char*")
1494 (define-method get_contact
1495 (of-object "EmpathyFTHandler")
1496 (c-name "empathy_ft_handler_get_contact")
1497 (return-type "EmpathyContact*")
1500 (define-method get_gfile
1501 (of-object "EmpathyFTHandler")
1502 (c-name "empathy_ft_handler_get_gfile")
1503 (return-type "GFile*")
1506 (define-method get_use_hash
1507 (of-object "EmpathyFTHandler")
1508 (c-name "empathy_ft_handler_get_use_hash")
1509 (return-type "gboolean")
1512 (define-method is_incoming
1513 (of-object "EmpathyFTHandler")
1514 (c-name "empathy_ft_handler_is_incoming")
1515 (return-type "gboolean")
1518 (define-method get_transferred_bytes
1519 (of-object "EmpathyFTHandler")
1520 (c-name "empathy_ft_handler_get_transferred_bytes")
1521 (return-type "guint64")
1524 (define-method get_total_bytes
1525 (of-object "EmpathyFTHandler")
1526 (c-name "empathy_ft_handler_get_total_bytes")
1527 (return-type "guint64")
1530 (define-method is_completed
1531 (of-object "EmpathyFTHandler")
1532 (c-name "empathy_ft_handler_is_completed")
1533 (return-type "gboolean")
1536 (define-method is_cancelled
1537 (of-object "EmpathyFTHandler")
1538 (c-name "empathy_ft_handler_is_cancelled")
1539 (return-type "gboolean")
1544 ;; From empathy-idle.h
1546 (define-function idle_get_type
1547 (c-name "empathy_idle_get_type")
1548 (return-type "GType")
1551 (define-function idle_dup_singleton
1552 (c-name "empathy_idle_dup_singleton")
1553 (return-type "EmpathyIdle*")
1556 (define-method get_state
1557 (of-object "EmpathyIdle")
1558 (c-name "empathy_idle_get_state")
1559 (return-type "TpConnectionPresenceType")
1562 (define-method set_state
1563 (of-object "EmpathyIdle")
1564 (c-name "empathy_idle_set_state")
1565 (return-type "none")
1567 '("TpConnectionPresenceType" "state")
1571 (define-method get_status
1572 (of-object "EmpathyIdle")
1573 (c-name "empathy_idle_get_status")
1574 (return-type "const-gchar*")
1577 (define-method set_status
1578 (of-object "EmpathyIdle")
1579 (c-name "empathy_idle_set_status")
1580 (return-type "none")
1582 '("const-gchar*" "status")
1586 (define-method get_flash_state
1587 (of-object "EmpathyIdle")
1588 (c-name "empathy_idle_get_flash_state")
1589 (return-type "TpConnectionPresenceType")
1592 (define-method set_flash_state
1593 (of-object "EmpathyIdle")
1594 (c-name "empathy_idle_set_flash_state")
1595 (return-type "none")
1597 '("TpConnectionPresenceType" "state")
1601 (define-method set_presence
1602 (of-object "EmpathyIdle")
1603 (c-name "empathy_idle_set_presence")
1604 (return-type "none")
1606 '("TpConnectionPresenceType" "state")
1607 '("const-gchar*" "status")
1611 (define-method get_auto_away
1612 (of-object "EmpathyIdle")
1613 (c-name "empathy_idle_get_auto_away")
1614 (return-type "gboolean")
1617 (define-method set_auto_away
1618 (of-object "EmpathyIdle")
1619 (c-name "empathy_idle_set_auto_away")
1620 (return-type "none")
1622 '("gboolean" "auto_away")
1626 (define-method get_use_nm
1627 (of-object "EmpathyIdle")
1628 (c-name "empathy_idle_get_use_nm")
1629 (return-type "gboolean")
1632 (define-method set_use_nm
1633 (of-object "EmpathyIdle")
1634 (c-name "empathy_idle_set_use_nm")
1635 (return-type "none")
1637 '("gboolean" "use_nm")
1643 ;; From empathy-irc-network.h
1645 (define-function irc_network_get_type
1646 (c-name "empathy_irc_network_get_type")
1647 (return-type "GType")
1650 (define-function irc_network_new
1651 (c-name "empathy_irc_network_new")
1652 (is-constructor-of "EmpathyIrcNetwork")
1653 (return-type "EmpathyIrcNetwork*")
1655 '("const-gchar*" "name")
1659 (define-method get_servers
1660 (of-object "EmpathyIrcNetwork")
1661 (c-name "empathy_irc_network_get_servers")
1662 (return-type "GSList*")
1665 (define-method append_server
1666 (of-object "EmpathyIrcNetwork")
1667 (c-name "empathy_irc_network_append_server")
1668 (return-type "none")
1670 '("EmpathyIrcServer*" "server")
1674 (define-method remove_server
1675 (of-object "EmpathyIrcNetwork")
1676 (c-name "empathy_irc_network_remove_server")
1677 (return-type "none")
1679 '("EmpathyIrcServer*" "server")
1683 (define-method set_server_position
1684 (of-object "EmpathyIrcNetwork")
1685 (c-name "empathy_irc_network_set_server_position")
1686 (return-type "none")
1688 '("EmpathyIrcServer*" "server")
1695 ;; From empathy-irc-network-manager.h
1697 (define-function irc_network_manager_get_type
1698 (c-name "empathy_irc_network_manager_get_type")
1699 (return-type "GType")
1702 (define-function irc_network_manager_new
1703 (c-name "empathy_irc_network_manager_new")
1704 (is-constructor-of "EmpathyIrcNetworkManager")
1705 (return-type "EmpathyIrcNetworkManager*")
1707 '("const-gchar*" "global_file")
1708 '("const-gchar*" "user_file")
1713 (of-object "EmpathyIrcNetworkManager")
1714 (c-name "empathy_irc_network_manager_add")
1715 (return-type "none")
1717 '("EmpathyIrcNetwork*" "network")
1721 (define-method remove
1722 (of-object "EmpathyIrcNetworkManager")
1723 (c-name "empathy_irc_network_manager_remove")
1724 (return-type "none")
1726 '("EmpathyIrcNetwork*" "network")
1730 (define-method get_networks
1731 (of-object "EmpathyIrcNetworkManager")
1732 (c-name "empathy_irc_network_manager_get_networks")
1733 (return-type "GSList*")
1736 (define-method find_network_by_address
1737 (of-object "EmpathyIrcNetworkManager")
1738 (c-name "empathy_irc_network_manager_find_network_by_address")
1739 (return-type "EmpathyIrcNetwork*")
1741 '("const-gchar*" "address")
1747 ;; From empathy-irc-server.h
1749 (define-function irc_server_get_type
1750 (c-name "empathy_irc_server_get_type")
1751 (return-type "GType")
1754 (define-function irc_server_new
1755 (c-name "empathy_irc_server_new")
1756 (is-constructor-of "EmpathyIrcServer")
1757 (return-type "EmpathyIrcServer*")
1759 '("const-gchar*" "address")
1767 ;; From empathy-log-manager.h
1769 (define-function log_manager_get_type
1770 (c-name "empathy_log_manager_get_type")
1771 (return-type "GType")
1774 (define-function log_manager_dup_singleton
1775 (c-name "empathy_log_manager_dup_singleton")
1776 (return-type "EmpathyLogManager*")
1779 (define-method add_message
1780 (of-object "EmpathyLogManager")
1781 (c-name "empathy_log_manager_add_message")
1782 (return-type "gboolean")
1784 '("const-gchar*" "chat_id")
1785 '("gboolean" "chatroom")
1786 '("EmpathyMessage*" "message")
1787 '("GError**" "error")
1791 (define-method exists
1792 (of-object "EmpathyLogManager")
1793 (c-name "empathy_log_manager_exists")
1794 (return-type "gboolean")
1796 '("McAccount*" "account")
1797 '("const-gchar*" "chat_id")
1798 '("gboolean" "chatroom")
1802 (define-method get_dates
1803 (of-object "EmpathyLogManager")
1804 (c-name "empathy_log_manager_get_dates")
1805 (return-type "GList*")
1807 '("McAccount*" "account")
1808 '("const-gchar*" "chat_id")
1809 '("gboolean" "chatroom")
1813 (define-method get_messages_for_date
1814 (of-object "EmpathyLogManager")
1815 (c-name "empathy_log_manager_get_messages_for_date")
1816 (return-type "GList*")
1818 '("McAccount*" "account")
1819 '("const-gchar*" "chat_id")
1820 '("gboolean" "chatroom")
1821 '("const-gchar*" "date")
1825 (define-method get_filtered_messages
1826 (of-object "EmpathyLogManager")
1827 (c-name "empathy_log_manager_get_filtered_messages")
1828 (return-type "GList*")
1830 '("McAccount*" "account")
1831 '("const-gchar*" "chat_id")
1832 '("gboolean" "chatroom")
1833 '("guint" "num_messages")
1834 '("EmpathyLogMessageFilter" "filter")
1835 '("gpointer" "user_data")
1839 (define-method get_chats
1840 (of-object "EmpathyLogManager")
1841 (c-name "empathy_log_manager_get_chats")
1842 (return-type "GList*")
1844 '("McAccount*" "account")
1848 (define-method search_new
1849 (of-object "EmpathyLogManager")
1850 (c-name "empathy_log_manager_search_new")
1851 (return-type "GList*")
1853 '("const-gchar*" "text")
1857 (define-function log_manager_search_free
1858 (c-name "empathy_log_manager_search_free")
1859 (return-type "none")
1865 (define-function log_manager_get_date_readable
1866 (c-name "empathy_log_manager_get_date_readable")
1867 (return-type "gchar*")
1869 '("const-gchar*" "date")
1873 (define-function log_manager_search_hit_free
1874 (c-name "empathy_log_manager_search_hit_free")
1875 (return-type "none")
1877 '("EmpathyLogSearchHit*" "hit")
1881 (define-method observe
1882 (of-object "EmpathyLogManager")
1883 (c-name "empathy_log_manager_observe")
1884 (return-type "none")
1886 '("EmpathyDispatcher*" "dispatcher")
1892 ;; From empathy-log-store.h
1894 (define-function log_store_get_type
1895 (c-name "empathy_log_store_get_type")
1896 (return-type "GType")
1899 (define-method get_name
1900 (of-object "EmpathyLogStore")
1901 (c-name "empathy_log_store_get_name")
1902 (return-type "const-gchar*")
1905 (define-method exists
1906 (of-object "EmpathyLogStore")
1907 (c-name "empathy_log_store_exists")
1908 (return-type "gboolean")
1910 '("McAccount*" "account")
1911 '("const-gchar*" "chat_id")
1912 '("gboolean" "chatroom")
1916 (define-method add_message
1917 (of-object "EmpathyLogStore")
1918 (c-name "empathy_log_store_add_message")
1919 (return-type "gboolean")
1921 '("const-gchar*" "chat_id")
1922 '("gboolean" "chatroom")
1923 '("EmpathyMessage*" "message")
1924 '("GError**" "error")
1928 (define-method get_dates
1929 (of-object "EmpathyLogStore")
1930 (c-name "empathy_log_store_get_dates")
1931 (return-type "GList*")
1933 '("McAccount*" "account")
1934 '("const-gchar*" "chat_id")
1935 '("gboolean" "chatroom")
1939 (define-method get_messages_for_date
1940 (of-object "EmpathyLogStore")
1941 (c-name "empathy_log_store_get_messages_for_date")
1942 (return-type "GList*")
1944 '("McAccount*" "account")
1945 '("const-gchar*" "chat_id")
1946 '("gboolean" "chatroom")
1947 '("const-gchar*" "date")
1951 (define-method get_last_messages
1952 (of-object "EmpathyLogStore")
1953 (c-name "empathy_log_store_get_last_messages")
1954 (return-type "GList*")
1956 '("McAccount*" "account")
1957 '("const-gchar*" "chat_id")
1958 '("gboolean" "chatroom")
1962 (define-method get_chats
1963 (of-object "EmpathyLogStore")
1964 (c-name "empathy_log_store_get_chats")
1965 (return-type "GList*")
1967 '("McAccount*" "account")
1971 (define-method search_new
1972 (of-object "EmpathyLogStore")
1973 (c-name "empathy_log_store_search_new")
1974 (return-type "GList*")
1976 '("const-gchar*" "text")
1980 (define-method ack_message
1981 (of-object "EmpathyLogStore")
1982 (c-name "empathy_log_store_ack_message")
1983 (return-type "none")
1985 '("const-gchar*" "chat_id")
1986 '("gboolean" "chatroom")
1987 '("EmpathyMessage*" "message")
1991 (define-method get_filtered_messages
1992 (of-object "EmpathyLogStore")
1993 (c-name "empathy_log_store_get_filtered_messages")
1994 (return-type "GList*")
1996 '("McAccount*" "account")
1997 '("const-gchar*" "chat_id")
1998 '("gboolean" "chatroom")
1999 '("guint" "num_messages")
2000 '("EmpathyLogMessageFilter" "filter")
2001 '("gpointer" "user_data")
2007 ;; From empathy-log-store-empathy.h
2009 (define-function log_store_empathy_get_type
2010 (c-name "empathy_log_store_empathy_get_type")
2011 (return-type "GType")
2016 ;; From empathy-message.h
2018 (define-function message_get_type
2019 (c-name "empathy_message_get_type")
2020 (return-type "GType")
2023 (define-function message_new
2024 (c-name "empathy_message_new")
2025 (is-constructor-of "EmpathyMessage")
2026 (return-type "EmpathyMessage*")
2028 '("const-gchar*" "body")
2032 (define-method get_tptype
2033 (of-object "EmpathyMessage")
2034 (c-name "empathy_message_get_tptype")
2035 (return-type "TpChannelTextMessageType")
2038 (define-method set_tptype
2039 (of-object "EmpathyMessage")
2040 (c-name "empathy_message_set_tptype")
2041 (return-type "none")
2043 '("TpChannelTextMessageType" "type")
2047 (define-method get_sender
2048 (of-object "EmpathyMessage")
2049 (c-name "empathy_message_get_sender")
2050 (return-type "EmpathyContact*")
2053 (define-method set_sender
2054 (of-object "EmpathyMessage")
2055 (c-name "empathy_message_set_sender")
2056 (return-type "none")
2058 '("EmpathyContact*" "contact")
2062 (define-method get_receiver
2063 (of-object "EmpathyMessage")
2064 (c-name "empathy_message_get_receiver")
2065 (return-type "EmpathyContact*")
2068 (define-method set_receiver
2069 (of-object "EmpathyMessage")
2070 (c-name "empathy_message_set_receiver")
2071 (return-type "none")
2073 '("EmpathyContact*" "contact")
2077 (define-method get_body
2078 (of-object "EmpathyMessage")
2079 (c-name "empathy_message_get_body")
2080 (return-type "const-gchar*")
2083 (define-method set_body
2084 (of-object "EmpathyMessage")
2085 (c-name "empathy_message_set_body")
2086 (return-type "none")
2088 '("const-gchar*" "body")
2092 (define-method get_timestamp
2093 (of-object "EmpathyMessage")
2094 (c-name "empathy_message_get_timestamp")
2095 (return-type "time_t")
2098 (define-method set_timestamp
2099 (of-object "EmpathyMessage")
2100 (c-name "empathy_message_set_timestamp")
2101 (return-type "none")
2103 '("time_t" "timestamp")
2107 (define-method should_highlight
2108 (of-object "EmpathyMessage")
2109 (c-name "empathy_message_should_highlight")
2110 (return-type "gboolean")
2113 (define-function message_type_from_str
2114 (c-name "empathy_message_type_from_str")
2115 (return-type "TpChannelTextMessageType")
2117 '("const-gchar*" "type_str")
2121 (define-function message_type_to_str
2122 (c-name "empathy_message_type_to_str")
2123 (return-type "const-gchar*")
2125 '("TpChannelTextMessageType" "type")
2129 (define-method get_id
2130 (of-object "EmpathyMessage")
2131 (c-name "empathy_message_get_id")
2132 (return-type "guint")
2135 (define-method set_id
2136 (of-object "EmpathyMessage")
2137 (c-name "empathy_message_set_id")
2138 (return-type "none")
2144 (define-method equal
2145 (of-object "EmpathyMessage")
2146 (c-name "empathy_message_equal")
2147 (return-type "gboolean")
2149 '("EmpathyMessage*" "message2")
2155 ;; From empathy-status-presets.h
2157 (define-function status_presets_get_all
2158 (c-name "empathy_status_presets_get_all")
2159 (return-type "none")
2162 (define-function status_presets_get
2163 (c-name "empathy_status_presets_get")
2164 (return-type "GList*")
2166 '("TpConnectionPresenceType" "state")
2167 '("gint" "max_number")
2171 (define-function status_presets_set_last
2172 (c-name "empathy_status_presets_set_last")
2173 (return-type "none")
2175 '("TpConnectionPresenceType" "state")
2176 '("const-gchar*" "status")
2180 (define-function status_presets_remove
2181 (c-name "empathy_status_presets_remove")
2182 (return-type "none")
2184 '("TpConnectionPresenceType" "state")
2185 '("const-gchar*" "status")
2189 (define-function status_presets_reset
2190 (c-name "empathy_status_presets_reset")
2191 (return-type "none")
2194 (define-function status_presets_get_default_state
2195 (c-name "empathy_status_presets_get_default_state")
2196 (return-type "TpConnectionPresenceType")
2199 (define-function status_presets_get_default_status
2200 (c-name "empathy_status_presets_get_default_status")
2201 (return-type "const-gchar*")
2204 (define-function status_presets_set_default
2205 (c-name "empathy_status_presets_set_default")
2206 (return-type "none")
2208 '("TpConnectionPresenceType" "state")
2209 '("const-gchar*" "status")
2213 (define-function status_presets_clear_default
2214 (c-name "empathy_status_presets_clear_default")
2215 (return-type "none")
2220 ;; From empathy-time.h
2222 (define-function time_get_current
2223 (c-name "empathy_time_get_current")
2224 (return-type "time_t")
2227 (define-function time_get_local_time
2228 (c-name "empathy_time_get_local_time")
2229 (return-type "time_t")
2231 '("struct-tm*" "tm")
2235 (define-function time_parse
2236 (c-name "empathy_time_parse")
2237 (return-type "time_t")
2239 '("const-gchar*" "str")
2243 (define-function time_to_string_utc
2244 (c-name "empathy_time_to_string_utc")
2245 (return-type "gchar*")
2248 '("const-gchar*" "format")
2252 (define-function time_to_string_local
2253 (c-name "empathy_time_to_string_local")
2254 (return-type "gchar*")
2257 '("const-gchar*" "format")
2261 (define-function time_to_string_relative
2262 (c-name "empathy_time_to_string_relative")
2263 (return-type "gchar*")
2271 ;; From empathy-tp-call.h
2273 (define-function tp_call_get_type
2274 (c-name "empathy_tp_call_get_type")
2275 (return-type "GType")
2278 (define-function tp_call_new
2279 (c-name "empathy_tp_call_new")
2280 (is-constructor-of "EmpathyTpCall")
2281 (return-type "EmpathyTpCall*")
2283 '("TpChannel*" "channel")
2287 (define-method close
2288 (of-object "EmpathyTpCall")
2289 (c-name "empathy_tp_call_close")
2290 (return-type "none")
2294 (of-object "EmpathyTpCall")
2295 (c-name "empathy_tp_call_to")
2296 (return-type "none")
2298 '("EmpathyContact*" "contact")
2299 '("gboolean" "audio")
2300 '("gboolean" "video")
2304 (define-method accept_incoming_call
2305 (of-object "EmpathyTpCall")
2306 (c-name "empathy_tp_call_accept_incoming_call")
2307 (return-type "none")
2310 (define-method request_video_stream_direction
2311 (of-object "EmpathyTpCall")
2312 (c-name "empathy_tp_call_request_video_stream_direction")
2313 (return-type "none")
2315 '("gboolean" "is_sending")
2319 (define-method start_tone
2320 (of-object "EmpathyTpCall")
2321 (c-name "empathy_tp_call_start_tone")
2322 (return-type "none")
2324 '("TpDTMFEvent" "event")
2328 (define-method stop_tone
2329 (of-object "EmpathyTpCall")
2330 (c-name "empathy_tp_call_stop_tone")
2331 (return-type "none")
2334 (define-method has_dtmf
2335 (of-object "EmpathyTpCall")
2336 (c-name "empathy_tp_call_has_dtmf")
2337 (return-type "gboolean")
2342 ;; From empathy-tp-chat.h
2344 (define-function tp_chat_get_type
2345 (c-name "empathy_tp_chat_get_type")
2346 (return-type "GType")
2349 (define-function tp_chat_new
2350 (c-name "empathy_tp_chat_new")
2351 (is-constructor-of "EmpathyTpChat")
2352 (return-type "EmpathyTpChat*")
2354 '("TpChannel*" "channel")
2358 (define-method close
2359 (of-object "EmpathyTpChat")
2360 (c-name "empathy_tp_chat_close")
2361 (return-type "none")
2364 (define-method get_id
2365 (of-object "EmpathyTpChat")
2366 (c-name "empathy_tp_chat_get_id")
2367 (return-type "const-gchar*")
2370 (define-method get_remote_contact
2371 (of-object "EmpathyTpChat")
2372 (c-name "empathy_tp_chat_get_remote_contact")
2373 (return-type "EmpathyContact*")
2376 (define-method get_channel
2377 (of-object "EmpathyTpChat")
2378 (c-name "empathy_tp_chat_get_channel")
2379 (return-type "TpChannel*")
2382 (define-method get_connection
2383 (of-object "EmpathyTpChat")
2384 (c-name "empathy_tp_chat_get_connection")
2385 (return-type "TpConnection*")
2388 (define-method is_ready
2389 (of-object "EmpathyTpChat")
2390 (c-name "empathy_tp_chat_is_ready")
2391 (return-type "gboolean")
2395 (of-object "EmpathyTpChat")
2396 (c-name "empathy_tp_chat_send")
2397 (return-type "none")
2399 '("EmpathyMessage*" "message")
2403 (define-method set_state
2404 (of-object "EmpathyTpChat")
2405 (c-name "empathy_tp_chat_set_state")
2406 (return-type "none")
2408 '("TpChannelChatState" "state")
2412 (define-method set_property
2413 (of-object "EmpathyTpChat")
2414 (c-name "empathy_tp_chat_set_property")
2415 (return-type "none")
2417 '("const-gchar*" "name")
2418 '("const-GValue*" "value")
2422 (define-method get_pending_messages
2423 (of-object "EmpathyTpChat")
2424 (c-name "empathy_tp_chat_get_pending_messages")
2425 (return-type "const-GList*")
2428 (define-method acknowledge_message
2429 (of-object "EmpathyTpChat")
2430 (c-name "empathy_tp_chat_acknowledge_message")
2431 (return-type "none")
2433 '("EmpathyMessage*" "message")
2437 (define-method acknowledge_messages
2438 (of-object "EmpathyTpChat")
2439 (c-name "empathy_tp_chat_acknowledge_messages")
2440 (return-type "none")
2442 '("const-GList*" "messages")
2448 ;; From empathy-tp-contact-factory.h
2450 (define-function tp_contact_factory_get_type
2451 (c-name "empathy_tp_contact_factory_get_type")
2452 (return-type "GType")
2455 (define-function tp_contact_factory_dup_singleton
2456 (c-name "empathy_tp_contact_factory_dup_singleton")
2457 (return-type "EmpathyTpContactFactory*")
2459 '("TpConnection*" "connection")
2463 (define-method get_from_ids
2464 (of-object "EmpathyTpContactFactory")
2465 (c-name "empathy_tp_contact_factory_get_from_ids")
2466 (return-type "none")
2469 '("const-gchar*-const*" "ids")
2470 '("EmpathyTpContactFactoryContactsByIdCb" "callback")
2471 '("gpointer" "user_data")
2472 '("GDestroyNotify" "destroy")
2473 '("GObject*" "weak_object")
2477 (define-method get_from_handles
2478 (of-object "EmpathyTpContactFactory")
2479 (c-name "empathy_tp_contact_factory_get_from_handles")
2480 (return-type "none")
2482 '("guint" "n_handles")
2483 '("const-TpHandle*" "handles")
2484 '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
2485 '("gpointer" "user_data")
2486 '("GDestroyNotify" "destroy")
2487 '("GObject*" "weak_object")
2491 (define-method get_from_id
2492 (of-object "EmpathyTpContactFactory")
2493 (c-name "empathy_tp_contact_factory_get_from_id")
2494 (return-type "none")
2496 '("const-gchar*" "id")
2497 '("EmpathyTpContactFactoryContactCb" "callback")
2498 '("gpointer" "user_data")
2499 '("GDestroyNotify" "destroy")
2500 '("GObject*" "weak_object")
2504 (define-method get_from_handle
2505 (of-object "EmpathyTpContactFactory")
2506 (c-name "empathy_tp_contact_factory_get_from_handle")
2507 (return-type "none")
2509 '("TpHandle" "handle")
2510 '("EmpathyTpContactFactoryContactCb" "callback")
2511 '("gpointer" "user_data")
2512 '("GDestroyNotify" "destroy")
2513 '("GObject*" "weak_object")
2517 (define-method set_alias
2518 (of-object "EmpathyTpContactFactory")
2519 (c-name "empathy_tp_contact_factory_set_alias")
2520 (return-type "none")
2522 '("EmpathyContact*" "contact")
2523 '("const-gchar*" "alias")
2527 (define-method set_avatar
2528 (of-object "EmpathyTpContactFactory")
2529 (c-name "empathy_tp_contact_factory_set_avatar")
2530 (return-type "none")
2532 '("const-gchar*" "data")
2534 '("const-gchar*" "mime_type")
2538 (define-method set_location
2539 (of-object "EmpathyTpContactFactory")
2540 (c-name "empathy_tp_contact_factory_set_location")
2541 (return-type "none")
2543 '("GHashTable*" "location")
2549 ;; From empathy-tp-contact-list.h
2551 (define-function tp_contact_list_get_type
2552 (c-name "empathy_tp_contact_list_get_type")
2553 (return-type "GType")
2556 (define-function tp_contact_list_new
2557 (c-name "empathy_tp_contact_list_new")
2558 (is-constructor-of "EmpathyTpContactList")
2559 (return-type "EmpathyTpContactList*")
2561 '("TpConnection*" "connection")
2565 (define-method get_connection
2566 (of-object "EmpathyTpContactList")
2567 (c-name "empathy_tp_contact_list_get_connection")
2568 (return-type "TpConnection*")
2571 (define-method can_add
2572 (of-object "EmpathyTpContactList")
2573 (c-name "empathy_tp_contact_list_can_add")
2574 (return-type "gboolean")
2577 (define-method remove_all
2578 (of-object "EmpathyTpContactList")
2579 (c-name "empathy_tp_contact_list_remove_all")
2580 (return-type "none")
2585 ;; From empathy-tp-file.h
2587 (define-function tp_file_get_type
2588 (c-name "empathy_tp_file_get_type")
2589 (return-type "GType")
2592 (define-function tp_file_new
2593 (c-name "empathy_tp_file_new")
2594 (is-constructor-of "EmpathyTpFile")
2595 (return-type "EmpathyTpFile*")
2597 '("TpChannel*" "channel")
2598 '("gboolean" "incoming")
2602 (define-method accept
2603 (of-object "EmpathyTpFile")
2604 (c-name "empathy_tp_file_accept")
2605 (return-type "none")
2607 '("guint64" "offset")
2609 '("GCancellable*" "cancellable")
2610 '("EmpathyTpFileProgressCallback" "progress_callback")
2611 '("gpointer" "progress_user_data")
2612 '("EmpathyTpFileOperationCallback" "op_callback")
2613 '("gpointer" "op_user_data")
2617 (define-method offer
2618 (of-object "EmpathyTpFile")
2619 (c-name "empathy_tp_file_offer")
2620 (return-type "none")
2623 '("GCancellable*" "cancellable")
2624 '("EmpathyTpFileProgressCallback" "progress_callback")
2625 '("gpointer" "progress_user_data")
2626 '("EmpathyTpFileOperationCallback" "op_callback")
2627 '("gpointer" "op_user_data")
2631 (define-method cancel
2632 (of-object "EmpathyTpFile")
2633 (c-name "empathy_tp_file_cancel")
2634 (return-type "none")
2637 (define-method close
2638 (of-object "EmpathyTpFile")
2639 (c-name "empathy_tp_file_close")
2640 (return-type "none")
2643 (define-method is_incoming
2644 (of-object "EmpathyTpFile")
2645 (c-name "empathy_tp_file_is_incoming")
2646 (return-type "gboolean")
2651 ;; From empathy-tp-roomlist.h
2653 (define-function tp_roomlist_get_type
2654 (c-name "empathy_tp_roomlist_get_type")
2655 (return-type "GType")
2658 (define-function tp_roomlist_new
2659 (c-name "empathy_tp_roomlist_new")
2660 (is-constructor-of "EmpathyTpRoomlist")
2661 (return-type "EmpathyTpRoomlist*")
2663 '("McAccount*" "account")
2667 (define-method is_listing
2668 (of-object "EmpathyTpRoomlist")
2669 (c-name "empathy_tp_roomlist_is_listing")
2670 (return-type "gboolean")
2673 (define-method start
2674 (of-object "EmpathyTpRoomlist")
2675 (c-name "empathy_tp_roomlist_start")
2676 (return-type "none")
2680 (of-object "EmpathyTpRoomlist")
2681 (c-name "empathy_tp_roomlist_stop")
2682 (return-type "none")
2687 ;; From empathy-tube-handler.h
2689 (define-function tube_handler_get_type
2690 (c-name "empathy_tube_handler_get_type")
2691 (return-type "GType")
2694 (define-function tube_handler_new
2695 (c-name "empathy_tube_handler_new")
2696 (is-constructor-of "EmpathyTubeHandler")
2697 (return-type "EmpathyTubeHandler*")
2699 '("TpTubeType" "type")
2700 '("const-gchar*" "service")
2704 (define-function tube_handler_build_bus_name
2705 (c-name "empathy_tube_handler_build_bus_name")
2706 (return-type "gchar*")
2708 '("TpTubeType" "type")
2709 '("const-gchar*" "service")
2713 (define-function tube_handler_build_object_path
2714 (c-name "empathy_tube_handler_build_object_path")
2715 (return-type "gchar*")
2717 '("TpTubeType" "type")
2718 '("const-gchar*" "service")
2724 ;; From empathy-types.h
2728 ;; From empathy-utils.h
2730 (define-function init
2731 (c-name "empathy_init")
2732 (return-type "none")
2735 (define-function substring
2736 (c-name "empathy_substring")
2737 (return-type "gchar*")
2739 '("const-gchar*" "str")
2745 (define-function strcasecmp
2746 (c-name "empathy_strcasecmp")
2747 (return-type "gint")
2749 '("const-gchar*" "s1")
2750 '("const-gchar*" "s2")
2754 (define-function strncasecmp
2755 (c-name "empathy_strncasecmp")
2756 (return-type "gint")
2758 '("const-gchar*" "s1")
2759 '("const-gchar*" "s2")
2764 (define-function xml_validate
2765 (c-name "empathy_xml_validate")
2766 (return-type "gboolean")
2769 '("const-gchar*" "dtd_filename")
2773 (define-function xml_node_get_child
2774 (c-name "empathy_xml_node_get_child")
2775 (return-type "xmlNodePtr")
2777 '("xmlNodePtr" "node")
2778 '("const-gchar*" "child_name")
2782 (define-function xml_node_get_child_content
2783 (c-name "empathy_xml_node_get_child_content")
2784 (return-type "xmlChar*")
2786 '("xmlNodePtr" "node")
2787 '("const-gchar*" "child_name")
2791 (define-function xml_node_find_child_prop_value
2792 (c-name "empathy_xml_node_find_child_prop_value")
2793 (return-type "xmlNodePtr")
2795 '("xmlNodePtr" "node")
2796 '("const-gchar*" "prop_name")
2797 '("const-gchar*" "prop_value")
2801 (define-function account_hash
2802 (c-name "empathy_account_hash")
2803 (return-type "guint")
2805 '("gconstpointer" "key")
2809 (define-function account_equal
2810 (c-name "empathy_account_equal")
2811 (return-type "gboolean")
2813 '("gconstpointer" "a")
2814 '("gconstpointer" "b")
2818 (define-function mission_control_dup_singleton
2819 (c-name "empathy_mission_control_dup_singleton")
2820 (return-type "MissionControl*")
2823 (define-function presence_get_default_message
2824 (c-name "empathy_presence_get_default_message")
2825 (return-type "const-gchar*")
2827 '("TpConnectionPresenceType" "presence")
2831 (define-function presence_to_str
2832 (c-name "empathy_presence_to_str")
2833 (return-type "const-gchar*")
2835 '("TpConnectionPresenceType" "presence")
2839 (define-function presence_from_str
2840 (c-name "empathy_presence_from_str")
2841 (return-type "TpConnectionPresenceType")
2843 '("const-gchar*" "str")
2847 (define-function file_lookup
2848 (c-name "empathy_file_lookup")
2849 (return-type "gchar*")
2851 '("const-gchar*" "filename")
2852 '("const-gchar*" "subdir")
2856 (define-function proxy_equal
2857 (c-name "empathy_proxy_equal")
2858 (return-type "gboolean")
2860 '("gconstpointer" "a")
2861 '("gconstpointer" "b")
2865 (define-function proxy_hash
2866 (c-name "empathy_proxy_hash")
2867 (return-type "guint")
2869 '("gconstpointer" "key")
2873 (define-function check_available_state
2874 (c-name "empathy_check_available_state")
2875 (return-type "gboolean")
2878 (define-function uint_compare
2879 (c-name "empathy_uint_compare")
2880 (return-type "gint")
2882 '("gconstpointer" "a")
2883 '("gconstpointer" "b")