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 TpTube
187 (in-module "Empathy")
189 (c-name "EmpathyTpTube")
190 (gtype-id "EMPATHY_TYPE_TP_TUBE")
193 (define-object TubeHandler
194 (in-module "Empathy")
196 (c-name "EmpathyTubeHandler")
197 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
200 ;; Enumerations and flags ...
202 (define-flags Capabilities
203 (in-module "Empathy")
204 (c-name "EmpathyCapabilities")
205 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
207 '("none" "EMPATHY_CAPABILITIES_NONE")
208 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
209 '("video" "EMPATHY_CAPABILITIES_VIDEO")
210 '("ft" "EMPATHY_CAPABILITIES_FT")
211 '("stream-tube" "EMPATHY_CAPABILITIES_STREAM_TUBE")
212 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
216 (define-flags DebugFlags
217 (in-module "Empathy")
218 (c-name "EmpathyDebugFlags")
219 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
221 '("tp" "EMPATHY_DEBUG_TP")
222 '("chat" "EMPATHY_DEBUG_CHAT")
223 '("contact" "EMPATHY_DEBUG_CONTACT")
224 '("account" "EMPATHY_DEBUG_ACCOUNT")
225 '("irc" "EMPATHY_DEBUG_IRC")
226 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
227 '("ft" "EMPATHY_DEBUG_FT")
228 '("location" "EMPATHY_DEBUG_LOCATION")
229 '("other" "EMPATHY_DEBUG_OTHER")
233 (define-enum DispatchOperationState
234 (in-module "Empathy")
235 (c-name "EmpathyDispatchOperationState")
236 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
238 '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
239 '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
240 '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
241 '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
242 '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
243 '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
247 (define-enum TpCallStatus
248 (in-module "Empathy")
249 (c-name "EmpathyTpCallStatus")
250 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
252 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
253 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
254 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
255 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
259 (define-enum FTErrorEnum
260 (in-module "Empathy")
261 (c-name "EmpathyFTErrorEnum")
262 (gtype-id "EMPATHY_TYPE_FT_ERROR_ENUM")
264 '("failed" "EMPATHY_FT_ERROR_FAILED")
265 '("hash-mismatch" "EMPATHY_FT_ERROR_HASH_MISMATCH")
266 '("tp-error" "EMPATHY_FT_ERROR_TP_ERROR")
267 '("socket" "EMPATHY_FT_ERROR_SOCKET")
268 '("not-supported" "EMPATHY_FT_ERROR_NOT_SUPPORTED")
273 ;; From empathy-account-manager.h
275 (define-function account_manager_get_type
276 (c-name "empathy_account_manager_get_type")
277 (return-type "GType")
280 (define-function account_manager_dup_singleton
281 (c-name "empathy_account_manager_dup_singleton")
282 (return-type "EmpathyAccountManager*")
285 (define-method get_connected_accounts
286 (of-object "EmpathyAccountManager")
287 (c-name "empathy_account_manager_get_connected_accounts")
291 (define-method get_connecting_accounts
292 (of-object "EmpathyAccountManager")
293 (c-name "empathy_account_manager_get_connecting_accounts")
297 (define-method is_account_just_connected
298 (of-object "EmpathyAccountManager")
299 (c-name "empathy_account_manager_is_account_just_connected")
300 (return-type "gboolean")
302 '("McAccount*" "account")
306 (define-method get_count
307 (of-object "EmpathyAccountManager")
308 (c-name "empathy_account_manager_get_count")
312 (define-method get_account
313 (of-object "EmpathyAccountManager")
314 (c-name "empathy_account_manager_get_account")
315 (return-type "McAccount*")
317 '("TpConnection*" "connection")
321 (define-method dup_accounts
322 (of-object "EmpathyAccountManager")
323 (c-name "empathy_account_manager_dup_accounts")
324 (return-type "GList*")
327 (define-method get_connection
328 (of-object "EmpathyAccountManager")
329 (c-name "empathy_account_manager_get_connection")
330 (return-type "TpConnection*")
332 '("McAccount*" "account")
336 (define-method dup_connections
337 (of-object "EmpathyAccountManager")
338 (c-name "empathy_account_manager_dup_connections")
339 (return-type "GList*")
344 ;; From empathy-chatroom.h
346 (define-function chatroom_get_type
347 (c-name "empathy_chatroom_get_type")
348 (return-type "GType")
351 (define-function chatroom_new
352 (c-name "empathy_chatroom_new")
353 (is-constructor-of "EmpathyChatroom")
354 (return-type "EmpathyChatroom*")
356 '("McAccount*" "account")
360 (define-function chatroom_new_full
361 (c-name "empathy_chatroom_new_full")
362 (return-type "EmpathyChatroom*")
364 '("McAccount*" "account")
365 '("const-gchar*" "room")
366 '("const-gchar*" "name")
367 '("gboolean" "auto_connect")
371 (define-method get_account
372 (of-object "EmpathyChatroom")
373 (c-name "empathy_chatroom_get_account")
374 (return-type "McAccount*")
377 (define-method set_account
378 (of-object "EmpathyChatroom")
379 (c-name "empathy_chatroom_set_account")
382 '("McAccount*" "account")
386 (define-method get_room
387 (of-object "EmpathyChatroom")
388 (c-name "empathy_chatroom_get_room")
389 (return-type "const-gchar*")
392 (define-method set_room
393 (of-object "EmpathyChatroom")
394 (c-name "empathy_chatroom_set_room")
397 '("const-gchar*" "room")
401 (define-method get_name
402 (of-object "EmpathyChatroom")
403 (c-name "empathy_chatroom_get_name")
404 (return-type "const-gchar*")
407 (define-method set_name
408 (of-object "EmpathyChatroom")
409 (c-name "empathy_chatroom_set_name")
412 '("const-gchar*" "name")
416 (define-method get_auto_connect
417 (of-object "EmpathyChatroom")
418 (c-name "empathy_chatroom_get_auto_connect")
419 (return-type "gboolean")
422 (define-method set_auto_connect
423 (of-object "EmpathyChatroom")
424 (c-name "empathy_chatroom_set_auto_connect")
427 '("gboolean" "auto_connect")
431 (define-method get_subject
432 (of-object "EmpathyChatroom")
433 (c-name "empathy_chatroom_get_subject")
434 (return-type "const-gchar*")
437 (define-method set_subject
438 (of-object "EmpathyChatroom")
439 (c-name "empathy_chatroom_set_subject")
442 '("const-gchar*" "subject")
446 (define-method get_members_count
447 (of-object "EmpathyChatroom")
448 (c-name "empathy_chatroom_get_members_count")
449 (return-type "guint")
452 (define-method set_members_count
453 (of-object "EmpathyChatroom")
454 (c-name "empathy_chatroom_set_members_count")
461 (define-method get_need_password
462 (of-object "EmpathyChatroom")
463 (c-name "empathy_chatroom_get_need_password")
464 (return-type "gboolean")
467 (define-method set_need_password
468 (of-object "EmpathyChatroom")
469 (c-name "empathy_chatroom_set_need_password")
472 '("gboolean" "need_password")
476 (define-method get_invite_only
477 (of-object "EmpathyChatroom")
478 (c-name "empathy_chatroom_get_invite_only")
479 (return-type "gboolean")
482 (define-method set_invite_only
483 (of-object "EmpathyChatroom")
484 (c-name "empathy_chatroom_set_invite_only")
487 '("gboolean" "invite_only")
491 (define-function chatroom_equal
492 (c-name "empathy_chatroom_equal")
493 (return-type "gboolean")
495 '("gconstpointer" "v1")
496 '("gconstpointer" "v2")
500 (define-method get_tp_chat
501 (of-object "EmpathyChatroom")
502 (c-name "empathy_chatroom_get_tp_chat")
503 (return-type "EmpathyTpChat*")
506 (define-method set_tp_chat
507 (of-object "EmpathyChatroom")
508 (c-name "empathy_chatroom_set_tp_chat")
511 '("EmpathyTpChat*" "tp_chat")
515 (define-method is_favorite
516 (of-object "EmpathyChatroom")
517 (c-name "empathy_chatroom_is_favorite")
518 (return-type "gboolean")
521 (define-method set_favorite
522 (of-object "EmpathyChatroom")
523 (c-name "empathy_chatroom_set_favorite")
526 '("gboolean" "favorite")
532 ;; From empathy-chatroom-manager.h
534 (define-function chatroom_manager_get_type
535 (c-name "empathy_chatroom_manager_get_type")
536 (return-type "GType")
539 (define-function chatroom_manager_dup_singleton
540 (c-name "empathy_chatroom_manager_dup_singleton")
541 (return-type "EmpathyChatroomManager*")
543 '("const-gchar*" "file")
548 (of-object "EmpathyChatroomManager")
549 (c-name "empathy_chatroom_manager_add")
550 (return-type "gboolean")
552 '("EmpathyChatroom*" "chatroom")
556 (define-method remove
557 (of-object "EmpathyChatroomManager")
558 (c-name "empathy_chatroom_manager_remove")
561 '("EmpathyChatroom*" "chatroom")
566 (of-object "EmpathyChatroomManager")
567 (c-name "empathy_chatroom_manager_find")
568 (return-type "EmpathyChatroom*")
570 '("McAccount*" "account")
571 '("const-gchar*" "room")
575 (define-method get_chatrooms
576 (of-object "EmpathyChatroomManager")
577 (c-name "empathy_chatroom_manager_get_chatrooms")
578 (return-type "GList*")
580 '("McAccount*" "account")
584 (define-method get_count
585 (of-object "EmpathyChatroomManager")
586 (c-name "empathy_chatroom_manager_get_count")
587 (return-type "guint")
589 '("McAccount*" "account")
593 (define-method observe
594 (of-object "EmpathyChatroomManager")
595 (c-name "empathy_chatroom_manager_observe")
598 '("EmpathyDispatcher*" "dispatcher")
604 ;; From empathy-call-factory.h
606 (define-function call_factory_get_type
607 (c-name "empathy_call_factory_get_type")
608 (return-type "GType")
611 (define-function call_factory_initialise
612 (c-name "empathy_call_factory_initialise")
613 (return-type "EmpathyCallFactory*")
616 (define-function call_factory_get
617 (c-name "empathy_call_factory_get")
618 (return-type "EmpathyCallFactory*")
621 (define-method new_call
622 (of-object "EmpathyCallFactory")
623 (c-name "empathy_call_factory_new_call")
626 '("EmpathyContact*" "contact")
630 (define-method new_call_with_streams
631 (of-object "EmpathyCallFactory")
632 (c-name "empathy_call_factory_new_call_with_streams")
635 '("EmpathyContact*" "contact")
636 '("gboolean" "initial_audio")
637 '("gboolean" "initial_video")
641 (define-method claim_channel
642 (of-object "EmpathyCallFactory")
643 (c-name "empathy_call_factory_claim_channel")
646 '("EmpathyDispatchOperation*" "operation")
652 ;; From empathy-call-handler.h
654 (define-function call_handler_get_type
655 (c-name "empathy_call_handler_get_type")
656 (return-type "GType")
659 (define-function call_handler_new_for_contact
660 (c-name "empathy_call_handler_new_for_contact")
661 (return-type "EmpathyCallHandler*")
663 '("EmpathyContact*" "contact")
667 (define-function call_handler_new_for_contact_with_streams
668 (c-name "empathy_call_handler_new_for_contact_with_streams")
669 (return-type "EmpathyCallHandler*")
671 '("EmpathyContact*" "contact")
672 '("gboolean" "audio")
673 '("gboolean" "video")
677 (define-function call_handler_new_for_channel
678 (c-name "empathy_call_handler_new_for_channel")
679 (return-type "EmpathyCallHandler*")
681 '("EmpathyTpCall*" "call")
685 (define-method start_call
686 (of-object "EmpathyCallHandler")
687 (c-name "empathy_call_handler_start_call")
691 (define-method bus_message
692 (of-object "EmpathyCallHandler")
693 (c-name "empathy_call_handler_bus_message")
697 '("GstMessage*" "message")
703 ;; From empathy-contact.h
705 (define-function contact_get_type
706 (c-name "empathy_contact_get_type")
707 (return-type "GType")
710 (define-function contact_new
711 (c-name "empathy_contact_new")
712 (is-constructor-of "EmpathyContact")
713 (return-type "EmpathyContact*")
715 '("TpContact*" "tp_contact")
719 (define-function contact_new_for_log
720 (c-name "empathy_contact_new_for_log")
721 (return-type "EmpathyContact*")
723 '("McAccount*" "account")
724 '("const-gchar*" "id")
725 '("const-gchar*" "name")
726 '("gboolean" "is_user")
730 (define-method get_tp_contact
731 (of-object "EmpathyContact")
732 (c-name "empathy_contact_get_tp_contact")
733 (return-type "TpContact*")
736 (define-method get_id
737 (of-object "EmpathyContact")
738 (c-name "empathy_contact_get_id")
739 (return-type "const-gchar*")
742 (define-method set_id
743 (of-object "EmpathyContact")
744 (c-name "empathy_contact_set_id")
747 '("const-gchar*" "id")
751 (define-method get_name
752 (of-object "EmpathyContact")
753 (c-name "empathy_contact_get_name")
754 (return-type "const-gchar*")
757 (define-method set_name
758 (of-object "EmpathyContact")
759 (c-name "empathy_contact_set_name")
762 '("const-gchar*" "name")
766 (define-method get_avatar
767 (of-object "EmpathyContact")
768 (c-name "empathy_contact_get_avatar")
769 (return-type "EmpathyAvatar*")
772 (define-method set_avatar
773 (of-object "EmpathyContact")
774 (c-name "empathy_contact_set_avatar")
777 '("EmpathyAvatar*" "avatar")
781 (define-method get_account
782 (of-object "EmpathyContact")
783 (c-name "empathy_contact_get_account")
784 (return-type "McAccount*")
787 (define-method get_connection
788 (of-object "EmpathyContact")
789 (c-name "empathy_contact_get_connection")
790 (return-type "TpConnection*")
793 (define-method get_presence
794 (of-object "EmpathyContact")
795 (c-name "empathy_contact_get_presence")
796 (return-type "TpConnectionPresenceType")
799 (define-method set_presence
800 (of-object "EmpathyContact")
801 (c-name "empathy_contact_set_presence")
804 '("TpConnectionPresenceType" "presence")
808 (define-method get_presence_message
809 (of-object "EmpathyContact")
810 (c-name "empathy_contact_get_presence_message")
811 (return-type "const-gchar*")
814 (define-method set_presence_message
815 (of-object "EmpathyContact")
816 (c-name "empathy_contact_set_presence_message")
819 '("const-gchar*" "message")
823 (define-method get_handle
824 (of-object "EmpathyContact")
825 (c-name "empathy_contact_get_handle")
826 (return-type "guint")
829 (define-method set_handle
830 (of-object "EmpathyContact")
831 (c-name "empathy_contact_set_handle")
838 (define-method get_capabilities
839 (of-object "EmpathyContact")
840 (c-name "empathy_contact_get_capabilities")
841 (return-type "EmpathyCapabilities")
844 (define-method set_capabilities
845 (of-object "EmpathyContact")
846 (c-name "empathy_contact_set_capabilities")
849 '("EmpathyCapabilities" "capabilities")
853 (define-method is_user
854 (of-object "EmpathyContact")
855 (c-name "empathy_contact_is_user")
856 (return-type "gboolean")
859 (define-method set_is_user
860 (of-object "EmpathyContact")
861 (c-name "empathy_contact_set_is_user")
864 '("gboolean" "is_user")
868 (define-method is_online
869 (of-object "EmpathyContact")
870 (c-name "empathy_contact_is_online")
871 (return-type "gboolean")
874 (define-method get_status
875 (of-object "EmpathyContact")
876 (c-name "empathy_contact_get_status")
877 (return-type "const-gchar*")
880 (define-method can_voip
881 (of-object "EmpathyContact")
882 (c-name "empathy_contact_can_voip")
883 (return-type "gboolean")
886 (define-method can_send_files
887 (of-object "EmpathyContact")
888 (c-name "empathy_contact_can_send_files")
889 (return-type "gboolean")
892 (define-method can_use_stream_tube
893 (of-object "EmpathyContact")
894 (c-name "empathy_contact_can_use_stream_tube")
895 (return-type "gboolean")
898 (define-function contact_hash
899 (c-name "empathy_contact_hash")
900 (return-type "guint")
902 '("gconstpointer" "key")
906 (define-method load_avatar_data
907 (of-object "EmpathyContact")
908 (c-name "empathy_contact_load_avatar_data")
911 '("const-guchar*" "data")
912 '("const-gsize" "len")
913 '("const-gchar*" "format")
914 '("const-gchar*" "token")
918 (define-method load_avatar_cache
919 (of-object "EmpathyContact")
920 (c-name "empathy_contact_load_avatar_cache")
921 (return-type "gboolean")
923 '("const-gchar*" "token")
927 (define-function avatar_get_type
928 (c-name "empathy_avatar_get_type")
929 (return-type "GType")
932 (define-function avatar_new
933 (c-name "empathy_avatar_new")
934 (is-constructor-of "EmpathyAvatar")
935 (return-type "EmpathyAvatar*")
945 (of-object "EmpathyAvatar")
946 (c-name "empathy_avatar_ref")
947 (return-type "EmpathyAvatar*")
951 (of-object "EmpathyAvatar")
952 (c-name "empathy_avatar_unref")
956 (define-method save_to_file
957 (of-object "EmpathyAvatar")
958 (c-name "empathy_avatar_save_to_file")
959 (return-type "gboolean")
961 '("const-gchar*" "filename")
962 '("GError**" "error")
966 (define-method get_location
967 (of-object "EmpathyContact")
968 (c-name "empathy_contact_get_location")
969 (return-type "GHashTable*")
972 (define-method set_location
973 (of-object "EmpathyContact")
974 (c-name "empathy_contact_set_location")
977 '("GHashTable*" "location")
983 ;; From empathy-contact-groups.h
985 (define-function contact_groups_get_all
986 (c-name "empathy_contact_groups_get_all")
990 (define-function contact_group_get_expanded
991 (c-name "empathy_contact_group_get_expanded")
992 (return-type "gboolean")
994 '("const-gchar*" "group")
998 (define-function contact_group_set_expanded
999 (c-name "empathy_contact_group_set_expanded")
1000 (return-type "none")
1002 '("const-gchar*" "group")
1003 '("gboolean" "expanded")
1009 ;; From empathy-contact-list.h
1011 (define-function contact_list_get_type
1012 (c-name "empathy_contact_list_get_type")
1013 (return-type "GType")
1017 (of-object "EmpathyContactList")
1018 (c-name "empathy_contact_list_add")
1019 (return-type "none")
1021 '("EmpathyContact*" "contact")
1022 '("const-gchar*" "message")
1026 (define-method remove
1027 (of-object "EmpathyContactList")
1028 (c-name "empathy_contact_list_remove")
1029 (return-type "none")
1031 '("EmpathyContact*" "contact")
1032 '("const-gchar*" "message")
1036 (define-method get_members
1037 (of-object "EmpathyContactList")
1038 (c-name "empathy_contact_list_get_members")
1039 (return-type "GList*")
1042 (define-method get_pendings
1043 (of-object "EmpathyContactList")
1044 (c-name "empathy_contact_list_get_pendings")
1045 (return-type "GList*")
1048 (define-method get_all_groups
1049 (of-object "EmpathyContactList")
1050 (c-name "empathy_contact_list_get_all_groups")
1051 (return-type "GList*")
1054 (define-method get_groups
1055 (of-object "EmpathyContactList")
1056 (c-name "empathy_contact_list_get_groups")
1057 (return-type "GList*")
1059 '("EmpathyContact*" "contact")
1063 (define-method add_to_group
1064 (of-object "EmpathyContactList")
1065 (c-name "empathy_contact_list_add_to_group")
1066 (return-type "none")
1068 '("EmpathyContact*" "contact")
1069 '("const-gchar*" "group")
1073 (define-method remove_from_group
1074 (of-object "EmpathyContactList")
1075 (c-name "empathy_contact_list_remove_from_group")
1076 (return-type "none")
1078 '("EmpathyContact*" "contact")
1079 '("const-gchar*" "group")
1083 (define-method rename_group
1084 (of-object "EmpathyContactList")
1085 (c-name "empathy_contact_list_rename_group")
1086 (return-type "none")
1088 '("const-gchar*" "old_group")
1089 '("const-gchar*" "new_group")
1093 (define-method remove_group
1094 (of-object "EmpathyContactList")
1095 (c-name "empathy_contact_list_remove_group")
1096 (return-type "none")
1098 '("const-gchar*" "group")
1102 (define-method get_monitor
1103 (of-object "EmpathyContactList")
1104 (c-name "empathy_contact_list_get_monitor")
1105 (return-type "EmpathyContactMonitor*")
1110 ;; From empathy-contact-manager.h
1112 (define-function contact_manager_get_type
1113 (c-name "empathy_contact_manager_get_type")
1114 (return-type "GType")
1117 (define-function contact_manager_dup_singleton
1118 (c-name "empathy_contact_manager_dup_singleton")
1119 (return-type "EmpathyContactManager*")
1122 (define-method get_list
1123 (of-object "EmpathyContactManager")
1124 (c-name "empathy_contact_manager_get_list")
1125 (return-type "EmpathyTpContactList*")
1127 '("TpConnection*" "connection")
1131 (define-method can_add
1132 (of-object "EmpathyContactManager")
1133 (c-name "empathy_contact_manager_can_add")
1134 (return-type "gboolean")
1136 '("TpConnection*" "connection")
1142 ;; From empathy-contact-monitor.h
1144 (define-function contact_monitor_get_type
1145 (c-name "empathy_contact_monitor_get_type")
1146 (return-type "GType")
1149 (define-method set_iface
1150 (of-object "EmpathyContactMonitor")
1151 (c-name "empathy_contact_monitor_set_iface")
1152 (return-type "none")
1154 '("EmpathyContactList*" "iface")
1158 (define-function contact_monitor_new_for_iface
1159 (c-name "empathy_contact_monitor_new_for_iface")
1160 (return-type "EmpathyContactMonitor*")
1162 '("EmpathyContactList*" "iface")
1168 ;; From empathy-debug.h
1170 (define-function debug_flag_is_set
1171 (c-name "empathy_debug_flag_is_set")
1172 (return-type "gboolean")
1174 '("EmpathyDebugFlags" "flag")
1178 (define-function debug
1179 (c-name "empathy_debug")
1180 (return-type "none")
1182 '("EmpathyDebugFlags" "flag")
1183 '("const-gchar*" "format")
1188 (define-function debug_set_flags
1189 (c-name "empathy_debug_set_flags")
1190 (return-type "none")
1192 '("const-gchar*" "flags_string")
1198 ;; From empathy-dispatcher.h
1200 (define-function dispatcher_get_type
1201 (c-name "empathy_dispatcher_get_type")
1202 (return-type "GType")
1205 (define-method create_channel
1206 (of-object "EmpathyDispatcher")
1207 (c-name "empathy_dispatcher_create_channel")
1208 (return-type "none")
1210 '("TpConnection*" "connection")
1211 '("GHashTable*" "request")
1212 '("EmpathyDispatcherRequestCb*" "callback")
1213 '("gpointer" "user_data")
1217 (define-function dispatcher_chat_with_contact_id
1218 (c-name "empathy_dispatcher_chat_with_contact_id")
1219 (return-type "none")
1221 '("TpConnection*" "connection")
1222 '("const-gchar*" "contact_id")
1223 '("EmpathyDispatcherRequestCb*" "callback")
1224 '("gpointer" "user_data")
1228 (define-function dispatcher_chat_with_contact
1229 (c-name "empathy_dispatcher_chat_with_contact")
1230 (return-type "none")
1232 '("EmpathyContact*" "contact")
1233 '("EmpathyDispatcherRequestCb*" "callback")
1234 '("gpointer" "user_data")
1238 (define-function dispatcher_send_file_to_contact
1239 (c-name "empathy_dispatcher_send_file_to_contact")
1240 (return-type "none")
1242 '("EmpathyContact*" "contact")
1243 '("const-gchar*" "filename")
1246 '("const-gchar*" "content_type")
1247 '("EmpathyDispatcherRequestCb*" "callback")
1248 '("gpointer" "user_data")
1252 (define-function dispatcher_join_muc
1253 (c-name "empathy_dispatcher_join_muc")
1254 (return-type "none")
1256 '("TpConnection*" "connection")
1257 '("const-gchar*" "roomname")
1258 '("EmpathyDispatcherRequestCb*" "callback")
1259 '("gpointer" "user_data")
1263 (define-method find_requestable_channel_classes_async
1264 (of-object "EmpathyDispatcher")
1265 (c-name "empathy_dispatcher_find_requestable_channel_classes_async")
1266 (return-type "none")
1268 '("TpConnection*" "connection")
1269 '("const-gchar*" "channel_type")
1270 '("guint" "handle_type")
1271 '("EmpathyDispatcherFindChannelClassCb" "callback")
1272 '("gpointer" "user_data")
1273 '("const-char*" "first_property_name")
1278 (define-method find_requestable_channel_classes
1279 (of-object "EmpathyDispatcher")
1280 (c-name "empathy_dispatcher_find_requestable_channel_classes")
1281 (return-type "GList*")
1283 '("TpConnection*" "connection")
1284 '("const-gchar*" "channel_type")
1285 '("guint" "handle_type")
1286 '("const-char*" "first_property_name")
1291 (define-function dispatcher_dup_singleton
1292 (c-name "empathy_dispatcher_dup_singleton")
1293 (return-type "EmpathyDispatcher*")
1298 ;; From empathy-dispatch-operation.h
1300 (define-function dispatch_operation_get_type
1301 (c-name "empathy_dispatch_operation_get_type")
1302 (return-type "GType")
1305 (define-function dispatch_operation_new
1306 (c-name "empathy_dispatch_operation_new")
1307 (is-constructor-of "EmpathyDispatchOperation")
1308 (return-type "EmpathyDispatchOperation*")
1310 '("TpConnection*" "connection")
1311 '("TpChannel*" "channel")
1312 '("EmpathyContact*" "contact")
1313 '("gboolean" "incoming")
1317 (define-function dispatch_operation_new_with_wrapper
1318 (c-name "empathy_dispatch_operation_new_with_wrapper")
1319 (return-type "EmpathyDispatchOperation*")
1321 '("TpConnection*" "connection")
1322 '("TpChannel*" "channel")
1323 '("EmpathyContact*" "contact")
1324 '("gboolean" "incoming")
1325 '("GObject*" "channel_wrapper")
1329 (define-method start
1330 (of-object "EmpathyDispatchOperation")
1331 (c-name "empathy_dispatch_operation_start")
1332 (return-type "none")
1335 (define-method approve
1336 (of-object "EmpathyDispatchOperation")
1337 (c-name "empathy_dispatch_operation_approve")
1338 (return-type "none")
1341 (define-method claim
1342 (of-object "EmpathyDispatchOperation")
1343 (c-name "empathy_dispatch_operation_claim")
1344 (return-type "gboolean")
1347 (define-method get_channel
1348 (of-object "EmpathyDispatchOperation")
1349 (c-name "empathy_dispatch_operation_get_channel")
1350 (return-type "TpChannel*")
1353 (define-method get_channel_wrapper
1354 (of-object "EmpathyDispatchOperation")
1355 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1356 (return-type "GObject*")
1359 (define-method get_tp_connection
1360 (of-object "EmpathyDispatchOperation")
1361 (c-name "empathy_dispatch_operation_get_tp_connection")
1362 (return-type "TpConnection*")
1365 (define-method get_channel_type
1366 (of-object "EmpathyDispatchOperation")
1367 (c-name "empathy_dispatch_operation_get_channel_type")
1368 (return-type "const-gchar*")
1371 (define-method get_channel_type_id
1372 (of-object "EmpathyDispatchOperation")
1373 (c-name "empathy_dispatch_operation_get_channel_type_id")
1374 (return-type "GQuark")
1377 (define-method get_object_path
1378 (of-object "EmpathyDispatchOperation")
1379 (c-name "empathy_dispatch_operation_get_object_path")
1380 (return-type "const-gchar*")
1383 (define-method get_status
1384 (of-object "EmpathyDispatchOperation")
1385 (c-name "empathy_dispatch_operation_get_status")
1386 (return-type "EmpathyDispatchOperationState")
1389 (define-method is_incoming
1390 (of-object "EmpathyDispatchOperation")
1391 (c-name "empathy_dispatch_operation_is_incoming")
1392 (return-type "gboolean")
1397 ;; From empathy-ft-factory.h
1399 (define-function ft_factory_get_type
1400 (c-name "empathy_ft_factory_get_type")
1401 (return-type "GType")
1404 (define-function ft_factory_dup_singleton
1405 (c-name "empathy_ft_factory_dup_singleton")
1406 (return-type "EmpathyFTFactory*")
1409 (define-method new_transfer_outgoing
1410 (of-object "EmpathyFTFactory")
1411 (c-name "empathy_ft_factory_new_transfer_outgoing")
1412 (return-type "none")
1414 '("EmpathyContact*" "contact")
1415 '("GFile*" "source")
1419 (define-method claim_channel
1420 (of-object "EmpathyFTFactory")
1421 (c-name "empathy_ft_factory_claim_channel")
1422 (return-type "none")
1424 '("EmpathyDispatchOperation*" "operation")
1428 (define-method set_destination_for_incoming_handler
1429 (of-object "EmpathyFTFactory")
1430 (c-name "empathy_ft_factory_set_destination_for_incoming_handler")
1431 (return-type "none")
1433 '("EmpathyFTHandler*" "handler")
1434 '("GFile*" "destination")
1440 ;; From empathy-ft-handler.h
1442 (define-function ft_handler_get_type
1443 (c-name "empathy_ft_handler_get_type")
1444 (return-type "GType")
1447 (define-function ft_handler_new_outgoing
1448 (c-name "empathy_ft_handler_new_outgoing")
1449 (return-type "none")
1451 '("EmpathyContact*" "contact")
1452 '("GFile*" "source")
1453 '("EmpathyFTHandlerReadyCallback" "callback")
1454 '("gpointer" "user_data")
1458 (define-function ft_handler_new_incoming
1459 (c-name "empathy_ft_handler_new_incoming")
1460 (return-type "none")
1462 '("EmpathyTpFile*" "tp_file")
1463 '("EmpathyFTHandlerReadyCallback" "callback")
1464 '("gpointer" "user_data")
1468 (define-method incoming_set_destination
1469 (of-object "EmpathyFTHandler")
1470 (c-name "empathy_ft_handler_incoming_set_destination")
1471 (return-type "none")
1473 '("GFile*" "destination")
1477 (define-method start_transfer
1478 (of-object "EmpathyFTHandler")
1479 (c-name "empathy_ft_handler_start_transfer")
1480 (return-type "none")
1483 (define-method cancel_transfer
1484 (of-object "EmpathyFTHandler")
1485 (c-name "empathy_ft_handler_cancel_transfer")
1486 (return-type "none")
1489 (define-method get_filename
1490 (of-object "EmpathyFTHandler")
1491 (c-name "empathy_ft_handler_get_filename")
1492 (return-type "const-char*")
1495 (define-method get_content_type
1496 (of-object "EmpathyFTHandler")
1497 (c-name "empathy_ft_handler_get_content_type")
1498 (return-type "const-char*")
1501 (define-method get_contact
1502 (of-object "EmpathyFTHandler")
1503 (c-name "empathy_ft_handler_get_contact")
1504 (return-type "EmpathyContact*")
1507 (define-method get_gfile
1508 (of-object "EmpathyFTHandler")
1509 (c-name "empathy_ft_handler_get_gfile")
1510 (return-type "GFile*")
1513 (define-method get_use_hash
1514 (of-object "EmpathyFTHandler")
1515 (c-name "empathy_ft_handler_get_use_hash")
1516 (return-type "gboolean")
1519 (define-method is_incoming
1520 (of-object "EmpathyFTHandler")
1521 (c-name "empathy_ft_handler_is_incoming")
1522 (return-type "gboolean")
1525 (define-method get_transferred_bytes
1526 (of-object "EmpathyFTHandler")
1527 (c-name "empathy_ft_handler_get_transferred_bytes")
1528 (return-type "guint64")
1531 (define-method get_total_bytes
1532 (of-object "EmpathyFTHandler")
1533 (c-name "empathy_ft_handler_get_total_bytes")
1534 (return-type "guint64")
1537 (define-method is_completed
1538 (of-object "EmpathyFTHandler")
1539 (c-name "empathy_ft_handler_is_completed")
1540 (return-type "gboolean")
1543 (define-method is_cancelled
1544 (of-object "EmpathyFTHandler")
1545 (c-name "empathy_ft_handler_is_cancelled")
1546 (return-type "gboolean")
1551 ;; From empathy-idle.h
1553 (define-function idle_get_type
1554 (c-name "empathy_idle_get_type")
1555 (return-type "GType")
1558 (define-function idle_dup_singleton
1559 (c-name "empathy_idle_dup_singleton")
1560 (return-type "EmpathyIdle*")
1563 (define-method get_state
1564 (of-object "EmpathyIdle")
1565 (c-name "empathy_idle_get_state")
1566 (return-type "TpConnectionPresenceType")
1569 (define-method set_state
1570 (of-object "EmpathyIdle")
1571 (c-name "empathy_idle_set_state")
1572 (return-type "none")
1574 '("TpConnectionPresenceType" "state")
1578 (define-method get_status
1579 (of-object "EmpathyIdle")
1580 (c-name "empathy_idle_get_status")
1581 (return-type "const-gchar*")
1584 (define-method set_status
1585 (of-object "EmpathyIdle")
1586 (c-name "empathy_idle_set_status")
1587 (return-type "none")
1589 '("const-gchar*" "status")
1593 (define-method get_flash_state
1594 (of-object "EmpathyIdle")
1595 (c-name "empathy_idle_get_flash_state")
1596 (return-type "TpConnectionPresenceType")
1599 (define-method set_flash_state
1600 (of-object "EmpathyIdle")
1601 (c-name "empathy_idle_set_flash_state")
1602 (return-type "none")
1604 '("TpConnectionPresenceType" "state")
1608 (define-method set_presence
1609 (of-object "EmpathyIdle")
1610 (c-name "empathy_idle_set_presence")
1611 (return-type "none")
1613 '("TpConnectionPresenceType" "state")
1614 '("const-gchar*" "status")
1618 (define-method get_auto_away
1619 (of-object "EmpathyIdle")
1620 (c-name "empathy_idle_get_auto_away")
1621 (return-type "gboolean")
1624 (define-method set_auto_away
1625 (of-object "EmpathyIdle")
1626 (c-name "empathy_idle_set_auto_away")
1627 (return-type "none")
1629 '("gboolean" "auto_away")
1633 (define-method get_use_nm
1634 (of-object "EmpathyIdle")
1635 (c-name "empathy_idle_get_use_nm")
1636 (return-type "gboolean")
1639 (define-method set_use_nm
1640 (of-object "EmpathyIdle")
1641 (c-name "empathy_idle_set_use_nm")
1642 (return-type "none")
1644 '("gboolean" "use_nm")
1650 ;; From empathy-irc-network.h
1652 (define-function irc_network_get_type
1653 (c-name "empathy_irc_network_get_type")
1654 (return-type "GType")
1657 (define-function irc_network_new
1658 (c-name "empathy_irc_network_new")
1659 (is-constructor-of "EmpathyIrcNetwork")
1660 (return-type "EmpathyIrcNetwork*")
1662 '("const-gchar*" "name")
1666 (define-method get_servers
1667 (of-object "EmpathyIrcNetwork")
1668 (c-name "empathy_irc_network_get_servers")
1669 (return-type "GSList*")
1672 (define-method append_server
1673 (of-object "EmpathyIrcNetwork")
1674 (c-name "empathy_irc_network_append_server")
1675 (return-type "none")
1677 '("EmpathyIrcServer*" "server")
1681 (define-method remove_server
1682 (of-object "EmpathyIrcNetwork")
1683 (c-name "empathy_irc_network_remove_server")
1684 (return-type "none")
1686 '("EmpathyIrcServer*" "server")
1690 (define-method set_server_position
1691 (of-object "EmpathyIrcNetwork")
1692 (c-name "empathy_irc_network_set_server_position")
1693 (return-type "none")
1695 '("EmpathyIrcServer*" "server")
1702 ;; From empathy-irc-network-manager.h
1704 (define-function irc_network_manager_get_type
1705 (c-name "empathy_irc_network_manager_get_type")
1706 (return-type "GType")
1709 (define-function irc_network_manager_new
1710 (c-name "empathy_irc_network_manager_new")
1711 (is-constructor-of "EmpathyIrcNetworkManager")
1712 (return-type "EmpathyIrcNetworkManager*")
1714 '("const-gchar*" "global_file")
1715 '("const-gchar*" "user_file")
1720 (of-object "EmpathyIrcNetworkManager")
1721 (c-name "empathy_irc_network_manager_add")
1722 (return-type "none")
1724 '("EmpathyIrcNetwork*" "network")
1728 (define-method remove
1729 (of-object "EmpathyIrcNetworkManager")
1730 (c-name "empathy_irc_network_manager_remove")
1731 (return-type "none")
1733 '("EmpathyIrcNetwork*" "network")
1737 (define-method get_networks
1738 (of-object "EmpathyIrcNetworkManager")
1739 (c-name "empathy_irc_network_manager_get_networks")
1740 (return-type "GSList*")
1743 (define-method find_network_by_address
1744 (of-object "EmpathyIrcNetworkManager")
1745 (c-name "empathy_irc_network_manager_find_network_by_address")
1746 (return-type "EmpathyIrcNetwork*")
1748 '("const-gchar*" "address")
1754 ;; From empathy-irc-server.h
1756 (define-function irc_server_get_type
1757 (c-name "empathy_irc_server_get_type")
1758 (return-type "GType")
1761 (define-function irc_server_new
1762 (c-name "empathy_irc_server_new")
1763 (is-constructor-of "EmpathyIrcServer")
1764 (return-type "EmpathyIrcServer*")
1766 '("const-gchar*" "address")
1774 ;; From empathy-log-manager.h
1776 (define-function log_manager_get_type
1777 (c-name "empathy_log_manager_get_type")
1778 (return-type "GType")
1781 (define-function log_manager_dup_singleton
1782 (c-name "empathy_log_manager_dup_singleton")
1783 (return-type "EmpathyLogManager*")
1786 (define-method add_message
1787 (of-object "EmpathyLogManager")
1788 (c-name "empathy_log_manager_add_message")
1789 (return-type "gboolean")
1791 '("const-gchar*" "chat_id")
1792 '("gboolean" "chatroom")
1793 '("EmpathyMessage*" "message")
1794 '("GError**" "error")
1798 (define-method exists
1799 (of-object "EmpathyLogManager")
1800 (c-name "empathy_log_manager_exists")
1801 (return-type "gboolean")
1803 '("McAccount*" "account")
1804 '("const-gchar*" "chat_id")
1805 '("gboolean" "chatroom")
1809 (define-method get_dates
1810 (of-object "EmpathyLogManager")
1811 (c-name "empathy_log_manager_get_dates")
1812 (return-type "GList*")
1814 '("McAccount*" "account")
1815 '("const-gchar*" "chat_id")
1816 '("gboolean" "chatroom")
1820 (define-method get_messages_for_date
1821 (of-object "EmpathyLogManager")
1822 (c-name "empathy_log_manager_get_messages_for_date")
1823 (return-type "GList*")
1825 '("McAccount*" "account")
1826 '("const-gchar*" "chat_id")
1827 '("gboolean" "chatroom")
1828 '("const-gchar*" "date")
1832 (define-method get_filtered_messages
1833 (of-object "EmpathyLogManager")
1834 (c-name "empathy_log_manager_get_filtered_messages")
1835 (return-type "GList*")
1837 '("McAccount*" "account")
1838 '("const-gchar*" "chat_id")
1839 '("gboolean" "chatroom")
1840 '("guint" "num_messages")
1841 '("EmpathyLogMessageFilter" "filter")
1842 '("gpointer" "user_data")
1846 (define-method get_chats
1847 (of-object "EmpathyLogManager")
1848 (c-name "empathy_log_manager_get_chats")
1849 (return-type "GList*")
1851 '("McAccount*" "account")
1855 (define-method search_new
1856 (of-object "EmpathyLogManager")
1857 (c-name "empathy_log_manager_search_new")
1858 (return-type "GList*")
1860 '("const-gchar*" "text")
1864 (define-function log_manager_search_free
1865 (c-name "empathy_log_manager_search_free")
1866 (return-type "none")
1872 (define-function log_manager_get_date_readable
1873 (c-name "empathy_log_manager_get_date_readable")
1874 (return-type "gchar*")
1876 '("const-gchar*" "date")
1880 (define-function log_manager_search_hit_free
1881 (c-name "empathy_log_manager_search_hit_free")
1882 (return-type "none")
1884 '("EmpathyLogSearchHit*" "hit")
1888 (define-method observe
1889 (of-object "EmpathyLogManager")
1890 (c-name "empathy_log_manager_observe")
1891 (return-type "none")
1893 '("EmpathyDispatcher*" "dispatcher")
1899 ;; From empathy-log-store.h
1901 (define-function log_store_get_type
1902 (c-name "empathy_log_store_get_type")
1903 (return-type "GType")
1906 (define-method get_name
1907 (of-object "EmpathyLogStore")
1908 (c-name "empathy_log_store_get_name")
1909 (return-type "const-gchar*")
1912 (define-method exists
1913 (of-object "EmpathyLogStore")
1914 (c-name "empathy_log_store_exists")
1915 (return-type "gboolean")
1917 '("McAccount*" "account")
1918 '("const-gchar*" "chat_id")
1919 '("gboolean" "chatroom")
1923 (define-method add_message
1924 (of-object "EmpathyLogStore")
1925 (c-name "empathy_log_store_add_message")
1926 (return-type "gboolean")
1928 '("const-gchar*" "chat_id")
1929 '("gboolean" "chatroom")
1930 '("EmpathyMessage*" "message")
1931 '("GError**" "error")
1935 (define-method get_dates
1936 (of-object "EmpathyLogStore")
1937 (c-name "empathy_log_store_get_dates")
1938 (return-type "GList*")
1940 '("McAccount*" "account")
1941 '("const-gchar*" "chat_id")
1942 '("gboolean" "chatroom")
1946 (define-method get_messages_for_date
1947 (of-object "EmpathyLogStore")
1948 (c-name "empathy_log_store_get_messages_for_date")
1949 (return-type "GList*")
1951 '("McAccount*" "account")
1952 '("const-gchar*" "chat_id")
1953 '("gboolean" "chatroom")
1954 '("const-gchar*" "date")
1958 (define-method get_last_messages
1959 (of-object "EmpathyLogStore")
1960 (c-name "empathy_log_store_get_last_messages")
1961 (return-type "GList*")
1963 '("McAccount*" "account")
1964 '("const-gchar*" "chat_id")
1965 '("gboolean" "chatroom")
1969 (define-method get_chats
1970 (of-object "EmpathyLogStore")
1971 (c-name "empathy_log_store_get_chats")
1972 (return-type "GList*")
1974 '("McAccount*" "account")
1978 (define-method search_new
1979 (of-object "EmpathyLogStore")
1980 (c-name "empathy_log_store_search_new")
1981 (return-type "GList*")
1983 '("const-gchar*" "text")
1987 (define-method ack_message
1988 (of-object "EmpathyLogStore")
1989 (c-name "empathy_log_store_ack_message")
1990 (return-type "none")
1992 '("const-gchar*" "chat_id")
1993 '("gboolean" "chatroom")
1994 '("EmpathyMessage*" "message")
1998 (define-method get_filtered_messages
1999 (of-object "EmpathyLogStore")
2000 (c-name "empathy_log_store_get_filtered_messages")
2001 (return-type "GList*")
2003 '("McAccount*" "account")
2004 '("const-gchar*" "chat_id")
2005 '("gboolean" "chatroom")
2006 '("guint" "num_messages")
2007 '("EmpathyLogMessageFilter" "filter")
2008 '("gpointer" "user_data")
2014 ;; From empathy-log-store-empathy.h
2016 (define-function log_store_empathy_get_type
2017 (c-name "empathy_log_store_empathy_get_type")
2018 (return-type "GType")
2023 ;; From empathy-message.h
2025 (define-function message_get_type
2026 (c-name "empathy_message_get_type")
2027 (return-type "GType")
2030 (define-function message_new
2031 (c-name "empathy_message_new")
2032 (is-constructor-of "EmpathyMessage")
2033 (return-type "EmpathyMessage*")
2035 '("const-gchar*" "body")
2039 (define-method get_tptype
2040 (of-object "EmpathyMessage")
2041 (c-name "empathy_message_get_tptype")
2042 (return-type "TpChannelTextMessageType")
2045 (define-method set_tptype
2046 (of-object "EmpathyMessage")
2047 (c-name "empathy_message_set_tptype")
2048 (return-type "none")
2050 '("TpChannelTextMessageType" "type")
2054 (define-method get_sender
2055 (of-object "EmpathyMessage")
2056 (c-name "empathy_message_get_sender")
2057 (return-type "EmpathyContact*")
2060 (define-method set_sender
2061 (of-object "EmpathyMessage")
2062 (c-name "empathy_message_set_sender")
2063 (return-type "none")
2065 '("EmpathyContact*" "contact")
2069 (define-method get_receiver
2070 (of-object "EmpathyMessage")
2071 (c-name "empathy_message_get_receiver")
2072 (return-type "EmpathyContact*")
2075 (define-method set_receiver
2076 (of-object "EmpathyMessage")
2077 (c-name "empathy_message_set_receiver")
2078 (return-type "none")
2080 '("EmpathyContact*" "contact")
2084 (define-method get_body
2085 (of-object "EmpathyMessage")
2086 (c-name "empathy_message_get_body")
2087 (return-type "const-gchar*")
2090 (define-method set_body
2091 (of-object "EmpathyMessage")
2092 (c-name "empathy_message_set_body")
2093 (return-type "none")
2095 '("const-gchar*" "body")
2099 (define-method get_timestamp
2100 (of-object "EmpathyMessage")
2101 (c-name "empathy_message_get_timestamp")
2102 (return-type "time_t")
2105 (define-method set_timestamp
2106 (of-object "EmpathyMessage")
2107 (c-name "empathy_message_set_timestamp")
2108 (return-type "none")
2110 '("time_t" "timestamp")
2114 (define-method should_highlight
2115 (of-object "EmpathyMessage")
2116 (c-name "empathy_message_should_highlight")
2117 (return-type "gboolean")
2120 (define-function message_type_from_str
2121 (c-name "empathy_message_type_from_str")
2122 (return-type "TpChannelTextMessageType")
2124 '("const-gchar*" "type_str")
2128 (define-function message_type_to_str
2129 (c-name "empathy_message_type_to_str")
2130 (return-type "const-gchar*")
2132 '("TpChannelTextMessageType" "type")
2136 (define-method get_id
2137 (of-object "EmpathyMessage")
2138 (c-name "empathy_message_get_id")
2139 (return-type "guint")
2142 (define-method set_id
2143 (of-object "EmpathyMessage")
2144 (c-name "empathy_message_set_id")
2145 (return-type "none")
2151 (define-method equal
2152 (of-object "EmpathyMessage")
2153 (c-name "empathy_message_equal")
2154 (return-type "gboolean")
2156 '("EmpathyMessage*" "message2")
2162 ;; From empathy-status-presets.h
2164 (define-function status_presets_get_all
2165 (c-name "empathy_status_presets_get_all")
2166 (return-type "none")
2169 (define-function status_presets_get
2170 (c-name "empathy_status_presets_get")
2171 (return-type "GList*")
2173 '("TpConnectionPresenceType" "state")
2174 '("gint" "max_number")
2178 (define-function status_presets_set_last
2179 (c-name "empathy_status_presets_set_last")
2180 (return-type "none")
2182 '("TpConnectionPresenceType" "state")
2183 '("const-gchar*" "status")
2187 (define-function status_presets_remove
2188 (c-name "empathy_status_presets_remove")
2189 (return-type "none")
2191 '("TpConnectionPresenceType" "state")
2192 '("const-gchar*" "status")
2196 (define-function status_presets_reset
2197 (c-name "empathy_status_presets_reset")
2198 (return-type "none")
2201 (define-function status_presets_get_default_state
2202 (c-name "empathy_status_presets_get_default_state")
2203 (return-type "TpConnectionPresenceType")
2206 (define-function status_presets_get_default_status
2207 (c-name "empathy_status_presets_get_default_status")
2208 (return-type "const-gchar*")
2211 (define-function status_presets_set_default
2212 (c-name "empathy_status_presets_set_default")
2213 (return-type "none")
2215 '("TpConnectionPresenceType" "state")
2216 '("const-gchar*" "status")
2220 (define-function status_presets_clear_default
2221 (c-name "empathy_status_presets_clear_default")
2222 (return-type "none")
2227 ;; From empathy-time.h
2229 (define-function time_get_current
2230 (c-name "empathy_time_get_current")
2231 (return-type "time_t")
2234 (define-function time_get_local_time
2235 (c-name "empathy_time_get_local_time")
2236 (return-type "time_t")
2238 '("struct-tm*" "tm")
2242 (define-function time_parse
2243 (c-name "empathy_time_parse")
2244 (return-type "time_t")
2246 '("const-gchar*" "str")
2250 (define-function time_to_string_utc
2251 (c-name "empathy_time_to_string_utc")
2252 (return-type "gchar*")
2255 '("const-gchar*" "format")
2259 (define-function time_to_string_local
2260 (c-name "empathy_time_to_string_local")
2261 (return-type "gchar*")
2264 '("const-gchar*" "format")
2268 (define-function time_to_string_relative
2269 (c-name "empathy_time_to_string_relative")
2270 (return-type "gchar*")
2278 ;; From empathy-tp-call.h
2280 (define-function tp_call_get_type
2281 (c-name "empathy_tp_call_get_type")
2282 (return-type "GType")
2285 (define-function tp_call_new
2286 (c-name "empathy_tp_call_new")
2287 (is-constructor-of "EmpathyTpCall")
2288 (return-type "EmpathyTpCall*")
2290 '("TpChannel*" "channel")
2294 (define-method close
2295 (of-object "EmpathyTpCall")
2296 (c-name "empathy_tp_call_close")
2297 (return-type "none")
2301 (of-object "EmpathyTpCall")
2302 (c-name "empathy_tp_call_to")
2303 (return-type "none")
2305 '("EmpathyContact*" "contact")
2306 '("gboolean" "audio")
2307 '("gboolean" "video")
2311 (define-method accept_incoming_call
2312 (of-object "EmpathyTpCall")
2313 (c-name "empathy_tp_call_accept_incoming_call")
2314 (return-type "none")
2317 (define-method request_video_stream_direction
2318 (of-object "EmpathyTpCall")
2319 (c-name "empathy_tp_call_request_video_stream_direction")
2320 (return-type "none")
2322 '("gboolean" "is_sending")
2326 (define-method start_tone
2327 (of-object "EmpathyTpCall")
2328 (c-name "empathy_tp_call_start_tone")
2329 (return-type "none")
2331 '("TpDTMFEvent" "event")
2335 (define-method stop_tone
2336 (of-object "EmpathyTpCall")
2337 (c-name "empathy_tp_call_stop_tone")
2338 (return-type "none")
2341 (define-method has_dtmf
2342 (of-object "EmpathyTpCall")
2343 (c-name "empathy_tp_call_has_dtmf")
2344 (return-type "gboolean")
2349 ;; From empathy-tp-chat.h
2351 (define-function tp_chat_get_type
2352 (c-name "empathy_tp_chat_get_type")
2353 (return-type "GType")
2356 (define-function tp_chat_new
2357 (c-name "empathy_tp_chat_new")
2358 (is-constructor-of "EmpathyTpChat")
2359 (return-type "EmpathyTpChat*")
2361 '("TpChannel*" "channel")
2365 (define-method close
2366 (of-object "EmpathyTpChat")
2367 (c-name "empathy_tp_chat_close")
2368 (return-type "none")
2371 (define-method get_id
2372 (of-object "EmpathyTpChat")
2373 (c-name "empathy_tp_chat_get_id")
2374 (return-type "const-gchar*")
2377 (define-method get_remote_contact
2378 (of-object "EmpathyTpChat")
2379 (c-name "empathy_tp_chat_get_remote_contact")
2380 (return-type "EmpathyContact*")
2383 (define-method get_channel
2384 (of-object "EmpathyTpChat")
2385 (c-name "empathy_tp_chat_get_channel")
2386 (return-type "TpChannel*")
2389 (define-method get_connection
2390 (of-object "EmpathyTpChat")
2391 (c-name "empathy_tp_chat_get_connection")
2392 (return-type "TpConnection*")
2395 (define-method is_ready
2396 (of-object "EmpathyTpChat")
2397 (c-name "empathy_tp_chat_is_ready")
2398 (return-type "gboolean")
2402 (of-object "EmpathyTpChat")
2403 (c-name "empathy_tp_chat_send")
2404 (return-type "none")
2406 '("EmpathyMessage*" "message")
2410 (define-method set_state
2411 (of-object "EmpathyTpChat")
2412 (c-name "empathy_tp_chat_set_state")
2413 (return-type "none")
2415 '("TpChannelChatState" "state")
2419 (define-method set_property
2420 (of-object "EmpathyTpChat")
2421 (c-name "empathy_tp_chat_set_property")
2422 (return-type "none")
2424 '("const-gchar*" "name")
2425 '("const-GValue*" "value")
2429 (define-method get_pending_messages
2430 (of-object "EmpathyTpChat")
2431 (c-name "empathy_tp_chat_get_pending_messages")
2432 (return-type "const-GList*")
2435 (define-method acknowledge_message
2436 (of-object "EmpathyTpChat")
2437 (c-name "empathy_tp_chat_acknowledge_message")
2438 (return-type "none")
2440 '("EmpathyMessage*" "message")
2444 (define-method acknowledge_messages
2445 (of-object "EmpathyTpChat")
2446 (c-name "empathy_tp_chat_acknowledge_messages")
2447 (return-type "none")
2449 '("const-GList*" "messages")
2455 ;; From empathy-tp-contact-factory.h
2457 (define-function tp_contact_factory_get_type
2458 (c-name "empathy_tp_contact_factory_get_type")
2459 (return-type "GType")
2462 (define-function tp_contact_factory_dup_singleton
2463 (c-name "empathy_tp_contact_factory_dup_singleton")
2464 (return-type "EmpathyTpContactFactory*")
2466 '("TpConnection*" "connection")
2470 (define-method get_from_ids
2471 (of-object "EmpathyTpContactFactory")
2472 (c-name "empathy_tp_contact_factory_get_from_ids")
2473 (return-type "none")
2476 '("const-gchar*-const*" "ids")
2477 '("EmpathyTpContactFactoryContactsByIdCb" "callback")
2478 '("gpointer" "user_data")
2479 '("GDestroyNotify" "destroy")
2480 '("GObject*" "weak_object")
2484 (define-method get_from_handles
2485 (of-object "EmpathyTpContactFactory")
2486 (c-name "empathy_tp_contact_factory_get_from_handles")
2487 (return-type "none")
2489 '("guint" "n_handles")
2490 '("const-TpHandle*" "handles")
2491 '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
2492 '("gpointer" "user_data")
2493 '("GDestroyNotify" "destroy")
2494 '("GObject*" "weak_object")
2498 (define-method get_from_id
2499 (of-object "EmpathyTpContactFactory")
2500 (c-name "empathy_tp_contact_factory_get_from_id")
2501 (return-type "none")
2503 '("const-gchar*" "id")
2504 '("EmpathyTpContactFactoryContactCb" "callback")
2505 '("gpointer" "user_data")
2506 '("GDestroyNotify" "destroy")
2507 '("GObject*" "weak_object")
2511 (define-method get_from_handle
2512 (of-object "EmpathyTpContactFactory")
2513 (c-name "empathy_tp_contact_factory_get_from_handle")
2514 (return-type "none")
2516 '("TpHandle" "handle")
2517 '("EmpathyTpContactFactoryContactCb" "callback")
2518 '("gpointer" "user_data")
2519 '("GDestroyNotify" "destroy")
2520 '("GObject*" "weak_object")
2524 (define-method set_alias
2525 (of-object "EmpathyTpContactFactory")
2526 (c-name "empathy_tp_contact_factory_set_alias")
2527 (return-type "none")
2529 '("EmpathyContact*" "contact")
2530 '("const-gchar*" "alias")
2534 (define-method set_avatar
2535 (of-object "EmpathyTpContactFactory")
2536 (c-name "empathy_tp_contact_factory_set_avatar")
2537 (return-type "none")
2539 '("const-gchar*" "data")
2541 '("const-gchar*" "mime_type")
2545 (define-method set_location
2546 (of-object "EmpathyTpContactFactory")
2547 (c-name "empathy_tp_contact_factory_set_location")
2548 (return-type "none")
2550 '("GHashTable*" "location")
2556 ;; From empathy-tp-contact-list.h
2558 (define-function tp_contact_list_get_type
2559 (c-name "empathy_tp_contact_list_get_type")
2560 (return-type "GType")
2563 (define-function tp_contact_list_new
2564 (c-name "empathy_tp_contact_list_new")
2565 (is-constructor-of "EmpathyTpContactList")
2566 (return-type "EmpathyTpContactList*")
2568 '("TpConnection*" "connection")
2572 (define-method get_connection
2573 (of-object "EmpathyTpContactList")
2574 (c-name "empathy_tp_contact_list_get_connection")
2575 (return-type "TpConnection*")
2578 (define-method can_add
2579 (of-object "EmpathyTpContactList")
2580 (c-name "empathy_tp_contact_list_can_add")
2581 (return-type "gboolean")
2584 (define-method remove_all
2585 (of-object "EmpathyTpContactList")
2586 (c-name "empathy_tp_contact_list_remove_all")
2587 (return-type "none")
2592 ;; From empathy-tp-file.h
2594 (define-function tp_file_get_type
2595 (c-name "empathy_tp_file_get_type")
2596 (return-type "GType")
2599 (define-function tp_file_new
2600 (c-name "empathy_tp_file_new")
2601 (is-constructor-of "EmpathyTpFile")
2602 (return-type "EmpathyTpFile*")
2604 '("TpChannel*" "channel")
2605 '("gboolean" "incoming")
2609 (define-method accept
2610 (of-object "EmpathyTpFile")
2611 (c-name "empathy_tp_file_accept")
2612 (return-type "none")
2614 '("guint64" "offset")
2616 '("GCancellable*" "cancellable")
2617 '("EmpathyTpFileProgressCallback" "progress_callback")
2618 '("gpointer" "progress_user_data")
2619 '("EmpathyTpFileOperationCallback" "op_callback")
2620 '("gpointer" "op_user_data")
2624 (define-method offer
2625 (of-object "EmpathyTpFile")
2626 (c-name "empathy_tp_file_offer")
2627 (return-type "none")
2630 '("GCancellable*" "cancellable")
2631 '("EmpathyTpFileProgressCallback" "progress_callback")
2632 '("gpointer" "progress_user_data")
2633 '("EmpathyTpFileOperationCallback" "op_callback")
2634 '("gpointer" "op_user_data")
2638 (define-method cancel
2639 (of-object "EmpathyTpFile")
2640 (c-name "empathy_tp_file_cancel")
2641 (return-type "none")
2644 (define-method close
2645 (of-object "EmpathyTpFile")
2646 (c-name "empathy_tp_file_close")
2647 (return-type "none")
2650 (define-method is_incoming
2651 (of-object "EmpathyTpFile")
2652 (c-name "empathy_tp_file_is_incoming")
2653 (return-type "gboolean")
2658 ;; From empathy-tp-roomlist.h
2660 (define-function tp_roomlist_get_type
2661 (c-name "empathy_tp_roomlist_get_type")
2662 (return-type "GType")
2665 (define-function tp_roomlist_new
2666 (c-name "empathy_tp_roomlist_new")
2667 (is-constructor-of "EmpathyTpRoomlist")
2668 (return-type "EmpathyTpRoomlist*")
2670 '("McAccount*" "account")
2674 (define-method is_listing
2675 (of-object "EmpathyTpRoomlist")
2676 (c-name "empathy_tp_roomlist_is_listing")
2677 (return-type "gboolean")
2680 (define-method start
2681 (of-object "EmpathyTpRoomlist")
2682 (c-name "empathy_tp_roomlist_start")
2683 (return-type "none")
2687 (of-object "EmpathyTpRoomlist")
2688 (c-name "empathy_tp_roomlist_stop")
2689 (return-type "none")
2694 ;; From empathy-tp-tube.h
2696 (define-function tp_tube_get_type
2697 (c-name "empathy_tp_tube_get_type")
2698 (return-type "GType")
2701 (define-function tp_tube_new
2702 (c-name "empathy_tp_tube_new")
2703 (is-constructor-of "EmpathyTpTube")
2704 (return-type "EmpathyTpTube*")
2706 '("TpChannel*" "channel")
2710 (define-function tp_tube_new_stream_tube
2711 (c-name "empathy_tp_tube_new_stream_tube")
2712 (return-type "EmpathyTpTube*")
2714 '("EmpathyContact*" "contact")
2715 '("TpSocketAddressType" "type")
2716 '("const-gchar*" "hostname")
2718 '("const-gchar*" "service")
2719 '("GHashTable*" "parameters")
2723 (define-method accept_stream_tube
2724 (of-object "EmpathyTpTube")
2725 (c-name "empathy_tp_tube_accept_stream_tube")
2726 (return-type "none")
2728 '("TpSocketAddressType" "type")
2729 '("EmpathyTpTubeAcceptStreamTubeCb*" "callback")
2730 '("gpointer" "user_data")
2734 (define-method call_when_ready
2735 (of-object "EmpathyTpTube")
2736 (c-name "empathy_tp_tube_call_when_ready")
2737 (return-type "none")
2739 '("EmpathyTpTubeReadyCb*" "callback")
2740 '("gpointer" "user_data")
2741 '("GDestroyNotify" "destroy")
2742 '("GObject*" "weak_object")
2748 ;; From empathy-tube-handler.h
2750 (define-function tube_handler_get_type
2751 (c-name "empathy_tube_handler_get_type")
2752 (return-type "GType")
2755 (define-function tube_handler_new
2756 (c-name "empathy_tube_handler_new")
2757 (is-constructor-of "EmpathyTubeHandler")
2758 (return-type "EmpathyTubeHandler*")
2760 '("TpTubeType" "type")
2761 '("const-gchar*" "service")
2765 (define-function tube_handler_build_bus_name
2766 (c-name "empathy_tube_handler_build_bus_name")
2767 (return-type "gchar*")
2769 '("TpTubeType" "type")
2770 '("const-gchar*" "service")
2774 (define-function tube_handler_build_object_path
2775 (c-name "empathy_tube_handler_build_object_path")
2776 (return-type "gchar*")
2778 '("TpTubeType" "type")
2779 '("const-gchar*" "service")
2785 ;; From empathy-types.h
2789 ;; From empathy-utils.h
2791 (define-function init
2792 (c-name "empathy_init")
2793 (return-type "none")
2796 (define-function substring
2797 (c-name "empathy_substring")
2798 (return-type "gchar*")
2800 '("const-gchar*" "str")
2806 (define-function strcasecmp
2807 (c-name "empathy_strcasecmp")
2808 (return-type "gint")
2810 '("const-gchar*" "s1")
2811 '("const-gchar*" "s2")
2815 (define-function strncasecmp
2816 (c-name "empathy_strncasecmp")
2817 (return-type "gint")
2819 '("const-gchar*" "s1")
2820 '("const-gchar*" "s2")
2825 (define-function xml_validate
2826 (c-name "empathy_xml_validate")
2827 (return-type "gboolean")
2830 '("const-gchar*" "dtd_filename")
2834 (define-function xml_node_get_child
2835 (c-name "empathy_xml_node_get_child")
2836 (return-type "xmlNodePtr")
2838 '("xmlNodePtr" "node")
2839 '("const-gchar*" "child_name")
2843 (define-function xml_node_get_child_content
2844 (c-name "empathy_xml_node_get_child_content")
2845 (return-type "xmlChar*")
2847 '("xmlNodePtr" "node")
2848 '("const-gchar*" "child_name")
2852 (define-function xml_node_find_child_prop_value
2853 (c-name "empathy_xml_node_find_child_prop_value")
2854 (return-type "xmlNodePtr")
2856 '("xmlNodePtr" "node")
2857 '("const-gchar*" "prop_name")
2858 '("const-gchar*" "prop_value")
2862 (define-function account_hash
2863 (c-name "empathy_account_hash")
2864 (return-type "guint")
2866 '("gconstpointer" "key")
2870 (define-function account_equal
2871 (c-name "empathy_account_equal")
2872 (return-type "gboolean")
2874 '("gconstpointer" "a")
2875 '("gconstpointer" "b")
2879 (define-function mission_control_dup_singleton
2880 (c-name "empathy_mission_control_dup_singleton")
2881 (return-type "MissionControl*")
2884 (define-function presence_get_default_message
2885 (c-name "empathy_presence_get_default_message")
2886 (return-type "const-gchar*")
2888 '("TpConnectionPresenceType" "presence")
2892 (define-function presence_to_str
2893 (c-name "empathy_presence_to_str")
2894 (return-type "const-gchar*")
2896 '("TpConnectionPresenceType" "presence")
2900 (define-function presence_from_str
2901 (c-name "empathy_presence_from_str")
2902 (return-type "TpConnectionPresenceType")
2904 '("const-gchar*" "str")
2908 (define-function file_lookup
2909 (c-name "empathy_file_lookup")
2910 (return-type "gchar*")
2912 '("const-gchar*" "filename")
2913 '("const-gchar*" "subdir")
2917 (define-function proxy_equal
2918 (c-name "empathy_proxy_equal")
2919 (return-type "gboolean")
2921 '("gconstpointer" "a")
2922 '("gconstpointer" "b")
2926 (define-function proxy_hash
2927 (c-name "empathy_proxy_hash")
2928 (return-type "guint")
2930 '("gconstpointer" "key")
2934 (define-function check_available_state
2935 (c-name "empathy_check_available_state")
2936 (return-type "gboolean")
2939 (define-function uint_compare
2940 (c-name "empathy_uint_compare")
2941 (return-type "gint")
2943 '("gconstpointer" "a")
2944 '("gconstpointer" "b")