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 ContactListFlags
210 (in-module "Empathy")
211 (c-name "EmpathyContactListFlags")
212 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FLAGS")
214 '("add" "EMPATHY_CONTACT_LIST_CAN_ADD")
215 '("remove" "EMPATHY_CONTACT_LIST_CAN_REMOVE")
216 '("alias" "EMPATHY_CONTACT_LIST_CAN_ALIAS")
217 '("group" "EMPATHY_CONTACT_LIST_CAN_GROUP")
221 (define-flags DebugFlags
222 (in-module "Empathy")
223 (c-name "EmpathyDebugFlags")
224 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
226 '("tp" "EMPATHY_DEBUG_TP")
227 '("chat" "EMPATHY_DEBUG_CHAT")
228 '("contact" "EMPATHY_DEBUG_CONTACT")
229 '("account" "EMPATHY_DEBUG_ACCOUNT")
230 '("irc" "EMPATHY_DEBUG_IRC")
231 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
232 '("ft" "EMPATHY_DEBUG_FT")
233 '("location" "EMPATHY_DEBUG_LOCATION")
234 '("other" "EMPATHY_DEBUG_OTHER")
235 '("share-desktop" "EMPATHY_DEBUG_SHARE_DESKTOP")
236 '("connectivity" "EMPATHY_DEBUG_CONNECTIVITY")
240 (define-enum DispatchOperationState
241 (in-module "Empathy")
242 (c-name "EmpathyDispatchOperationState")
243 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
245 '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
246 '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
247 '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
248 '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
249 '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
250 '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
254 (define-enum TpCallStatus
255 (in-module "Empathy")
256 (c-name "EmpathyTpCallStatus")
257 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
259 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
260 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
261 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
262 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
266 (define-enum FTErrorEnum
267 (in-module "Empathy")
268 (c-name "EmpathyFTErrorEnum")
269 (gtype-id "EMPATHY_TYPE_FT_ERROR_ENUM")
271 '("failed" "EMPATHY_FT_ERROR_FAILED")
272 '("hash-mismatch" "EMPATHY_FT_ERROR_HASH_MISMATCH")
273 '("tp-error" "EMPATHY_FT_ERROR_TP_ERROR")
274 '("socket" "EMPATHY_FT_ERROR_SOCKET")
275 '("not-supported" "EMPATHY_FT_ERROR_NOT_SUPPORTED")
276 '("invalid-source-file" "EMPATHY_FT_ERROR_INVALID_SOURCE_FILE")
277 '("empty-source-file" "EMPATHY_FT_ERROR_EMPTY_SOURCE_FILE")
282 ;; From empathy-account-manager.h
284 (define-function account_manager_get_type
285 (c-name "empathy_account_manager_get_type")
286 (return-type "GType")
289 (define-function account_manager_dup_singleton
290 (c-name "empathy_account_manager_dup_singleton")
291 (return-type "EmpathyAccountManager*")
294 (define-method create
295 (of-object "EmpathyAccountManager")
296 (c-name "empathy_account_manager_create")
297 (return-type "EmpathyAccount*")
299 '("McProfile*" "profile")
303 (define-method get_connected_accounts
304 (of-object "EmpathyAccountManager")
305 (c-name "empathy_account_manager_get_connected_accounts")
309 (define-method get_connecting_accounts
310 (of-object "EmpathyAccountManager")
311 (c-name "empathy_account_manager_get_connecting_accounts")
315 (define-method get_count
316 (of-object "EmpathyAccountManager")
317 (c-name "empathy_account_manager_get_count")
321 (define-method get_account
322 (of-object "EmpathyAccountManager")
323 (c-name "empathy_account_manager_get_account")
324 (return-type "EmpathyAccount*")
326 '("TpConnection*" "connection")
330 (define-method lookup
331 (of-object "EmpathyAccountManager")
332 (c-name "empathy_account_manager_lookup")
333 (return-type "EmpathyAccount*")
335 '("const-gchar*" "unique_name")
339 (define-method dup_accounts
340 (of-object "EmpathyAccountManager")
341 (c-name "empathy_account_manager_dup_accounts")
342 (return-type "GList*")
345 (define-method dup_connections
346 (of-object "EmpathyAccountManager")
347 (c-name "empathy_account_manager_dup_connections")
348 (return-type "GList*")
351 (define-method remove
352 (of-object "EmpathyAccountManager")
353 (c-name "empathy_account_manager_remove")
356 '("EmpathyAccount*" "account")
362 ;; From empathy-chatroom.h
364 (define-function chatroom_get_type
365 (c-name "empathy_chatroom_get_type")
366 (return-type "GType")
369 (define-function chatroom_new
370 (c-name "empathy_chatroom_new")
371 (is-constructor-of "EmpathyChatroom")
372 (return-type "EmpathyChatroom*")
374 '("EmpathyAccount*" "account")
378 (define-function chatroom_new_full
379 (c-name "empathy_chatroom_new_full")
380 (return-type "EmpathyChatroom*")
382 '("EmpathyAccount*" "account")
383 '("const-gchar*" "room")
384 '("const-gchar*" "name")
385 '("gboolean" "auto_connect")
389 (define-method get_account
390 (of-object "EmpathyChatroom")
391 (c-name "empathy_chatroom_get_account")
392 (return-type "EmpathyAccount*")
395 (define-method set_account
396 (of-object "EmpathyChatroom")
397 (c-name "empathy_chatroom_set_account")
400 '("EmpathyAccount*" "account")
404 (define-method get_room
405 (of-object "EmpathyChatroom")
406 (c-name "empathy_chatroom_get_room")
407 (return-type "const-gchar*")
410 (define-method set_room
411 (of-object "EmpathyChatroom")
412 (c-name "empathy_chatroom_set_room")
415 '("const-gchar*" "room")
419 (define-method get_name
420 (of-object "EmpathyChatroom")
421 (c-name "empathy_chatroom_get_name")
422 (return-type "const-gchar*")
425 (define-method set_name
426 (of-object "EmpathyChatroom")
427 (c-name "empathy_chatroom_set_name")
430 '("const-gchar*" "name")
434 (define-method get_auto_connect
435 (of-object "EmpathyChatroom")
436 (c-name "empathy_chatroom_get_auto_connect")
437 (return-type "gboolean")
440 (define-method set_auto_connect
441 (of-object "EmpathyChatroom")
442 (c-name "empathy_chatroom_set_auto_connect")
445 '("gboolean" "auto_connect")
449 (define-method get_subject
450 (of-object "EmpathyChatroom")
451 (c-name "empathy_chatroom_get_subject")
452 (return-type "const-gchar*")
455 (define-method set_subject
456 (of-object "EmpathyChatroom")
457 (c-name "empathy_chatroom_set_subject")
460 '("const-gchar*" "subject")
464 (define-method get_members_count
465 (of-object "EmpathyChatroom")
466 (c-name "empathy_chatroom_get_members_count")
467 (return-type "guint")
470 (define-method set_members_count
471 (of-object "EmpathyChatroom")
472 (c-name "empathy_chatroom_set_members_count")
479 (define-method get_need_password
480 (of-object "EmpathyChatroom")
481 (c-name "empathy_chatroom_get_need_password")
482 (return-type "gboolean")
485 (define-method set_need_password
486 (of-object "EmpathyChatroom")
487 (c-name "empathy_chatroom_set_need_password")
490 '("gboolean" "need_password")
494 (define-method get_invite_only
495 (of-object "EmpathyChatroom")
496 (c-name "empathy_chatroom_get_invite_only")
497 (return-type "gboolean")
500 (define-method set_invite_only
501 (of-object "EmpathyChatroom")
502 (c-name "empathy_chatroom_set_invite_only")
505 '("gboolean" "invite_only")
509 (define-function chatroom_equal
510 (c-name "empathy_chatroom_equal")
511 (return-type "gboolean")
513 '("gconstpointer" "v1")
514 '("gconstpointer" "v2")
518 (define-method get_tp_chat
519 (of-object "EmpathyChatroom")
520 (c-name "empathy_chatroom_get_tp_chat")
521 (return-type "EmpathyTpChat*")
524 (define-method set_tp_chat
525 (of-object "EmpathyChatroom")
526 (c-name "empathy_chatroom_set_tp_chat")
529 '("EmpathyTpChat*" "tp_chat")
533 (define-method is_favorite
534 (of-object "EmpathyChatroom")
535 (c-name "empathy_chatroom_is_favorite")
536 (return-type "gboolean")
539 (define-method set_favorite
540 (of-object "EmpathyChatroom")
541 (c-name "empathy_chatroom_set_favorite")
544 '("gboolean" "favorite")
550 ;; From empathy-chatroom-manager.h
552 (define-function chatroom_manager_get_type
553 (c-name "empathy_chatroom_manager_get_type")
554 (return-type "GType")
557 (define-function chatroom_manager_dup_singleton
558 (c-name "empathy_chatroom_manager_dup_singleton")
559 (return-type "EmpathyChatroomManager*")
561 '("const-gchar*" "file")
566 (of-object "EmpathyChatroomManager")
567 (c-name "empathy_chatroom_manager_add")
568 (return-type "gboolean")
570 '("EmpathyChatroom*" "chatroom")
574 (define-method remove
575 (of-object "EmpathyChatroomManager")
576 (c-name "empathy_chatroom_manager_remove")
579 '("EmpathyChatroom*" "chatroom")
584 (of-object "EmpathyChatroomManager")
585 (c-name "empathy_chatroom_manager_find")
586 (return-type "EmpathyChatroom*")
588 '("EmpathyAccount*" "account")
589 '("const-gchar*" "room")
593 (define-method get_chatrooms
594 (of-object "EmpathyChatroomManager")
595 (c-name "empathy_chatroom_manager_get_chatrooms")
596 (return-type "GList*")
598 '("EmpathyAccount*" "account")
602 (define-method get_count
603 (of-object "EmpathyChatroomManager")
604 (c-name "empathy_chatroom_manager_get_count")
605 (return-type "guint")
607 '("EmpathyAccount*" "account")
611 (define-method observe
612 (of-object "EmpathyChatroomManager")
613 (c-name "empathy_chatroom_manager_observe")
616 '("EmpathyDispatcher*" "dispatcher")
622 ;; From empathy-call-factory.h
624 (define-function call_factory_get_type
625 (c-name "empathy_call_factory_get_type")
626 (return-type "GType")
629 (define-function call_factory_initialise
630 (c-name "empathy_call_factory_initialise")
631 (return-type "EmpathyCallFactory*")
634 (define-function call_factory_get
635 (c-name "empathy_call_factory_get")
636 (return-type "EmpathyCallFactory*")
639 (define-method new_call
640 (of-object "EmpathyCallFactory")
641 (c-name "empathy_call_factory_new_call")
644 '("EmpathyContact*" "contact")
648 (define-method new_call_with_streams
649 (of-object "EmpathyCallFactory")
650 (c-name "empathy_call_factory_new_call_with_streams")
653 '("EmpathyContact*" "contact")
654 '("gboolean" "initial_audio")
655 '("gboolean" "initial_video")
659 (define-method claim_channel
660 (of-object "EmpathyCallFactory")
661 (c-name "empathy_call_factory_claim_channel")
664 '("EmpathyDispatchOperation*" "operation")
670 ;; From empathy-call-handler.h
672 (define-function call_handler_get_type
673 (c-name "empathy_call_handler_get_type")
674 (return-type "GType")
677 (define-function call_handler_new_for_contact
678 (c-name "empathy_call_handler_new_for_contact")
679 (return-type "EmpathyCallHandler*")
681 '("EmpathyContact*" "contact")
685 (define-function call_handler_new_for_contact_with_streams
686 (c-name "empathy_call_handler_new_for_contact_with_streams")
687 (return-type "EmpathyCallHandler*")
689 '("EmpathyContact*" "contact")
690 '("gboolean" "audio")
691 '("gboolean" "video")
695 (define-function call_handler_new_for_channel
696 (c-name "empathy_call_handler_new_for_channel")
697 (return-type "EmpathyCallHandler*")
699 '("EmpathyTpCall*" "call")
703 (define-method start_call
704 (of-object "EmpathyCallHandler")
705 (c-name "empathy_call_handler_start_call")
709 (define-method stop_call
710 (of-object "EmpathyCallHandler")
711 (c-name "empathy_call_handler_stop_call")
715 (define-method has_initial_video
716 (of-object "EmpathyCallHandler")
717 (c-name "empathy_call_handler_has_initial_video")
718 (return-type "gboolean")
721 (define-method bus_message
722 (of-object "EmpathyCallHandler")
723 (c-name "empathy_call_handler_bus_message")
727 '("GstMessage*" "message")
733 ;; From empathy-contact.h
735 (define-function contact_get_type
736 (c-name "empathy_contact_get_type")
737 (return-type "GType")
740 (define-function contact_new
741 (c-name "empathy_contact_new")
742 (is-constructor-of "EmpathyContact")
743 (return-type "EmpathyContact*")
745 '("TpContact*" "tp_contact")
749 (define-function contact_new_for_log
750 (c-name "empathy_contact_new_for_log")
751 (return-type "EmpathyContact*")
753 '("EmpathyAccount*" "account")
754 '("const-gchar*" "id")
755 '("const-gchar*" "name")
756 '("gboolean" "is_user")
760 (define-method get_tp_contact
761 (of-object "EmpathyContact")
762 (c-name "empathy_contact_get_tp_contact")
763 (return-type "TpContact*")
766 (define-method get_id
767 (of-object "EmpathyContact")
768 (c-name "empathy_contact_get_id")
769 (return-type "const-gchar*")
772 (define-method set_id
773 (of-object "EmpathyContact")
774 (c-name "empathy_contact_set_id")
777 '("const-gchar*" "id")
781 (define-method get_name
782 (of-object "EmpathyContact")
783 (c-name "empathy_contact_get_name")
784 (return-type "const-gchar*")
787 (define-method set_name
788 (of-object "EmpathyContact")
789 (c-name "empathy_contact_set_name")
792 '("const-gchar*" "name")
796 (define-method get_avatar
797 (of-object "EmpathyContact")
798 (c-name "empathy_contact_get_avatar")
799 (return-type "EmpathyAvatar*")
802 (define-method set_avatar
803 (of-object "EmpathyContact")
804 (c-name "empathy_contact_set_avatar")
807 '("EmpathyAvatar*" "avatar")
811 (define-method get_account
812 (of-object "EmpathyContact")
813 (c-name "empathy_contact_get_account")
814 (return-type "EmpathyAccount*")
817 (define-method get_connection
818 (of-object "EmpathyContact")
819 (c-name "empathy_contact_get_connection")
820 (return-type "TpConnection*")
823 (define-method get_presence
824 (of-object "EmpathyContact")
825 (c-name "empathy_contact_get_presence")
826 (return-type "TpConnectionPresenceType")
829 (define-method set_presence
830 (of-object "EmpathyContact")
831 (c-name "empathy_contact_set_presence")
834 '("TpConnectionPresenceType" "presence")
838 (define-method get_presence_message
839 (of-object "EmpathyContact")
840 (c-name "empathy_contact_get_presence_message")
841 (return-type "const-gchar*")
844 (define-method set_presence_message
845 (of-object "EmpathyContact")
846 (c-name "empathy_contact_set_presence_message")
849 '("const-gchar*" "message")
853 (define-method get_handle
854 (of-object "EmpathyContact")
855 (c-name "empathy_contact_get_handle")
856 (return-type "guint")
859 (define-method set_handle
860 (of-object "EmpathyContact")
861 (c-name "empathy_contact_set_handle")
868 (define-method get_capabilities
869 (of-object "EmpathyContact")
870 (c-name "empathy_contact_get_capabilities")
871 (return-type "EmpathyCapabilities")
874 (define-method set_capabilities
875 (of-object "EmpathyContact")
876 (c-name "empathy_contact_set_capabilities")
879 '("EmpathyCapabilities" "capabilities")
883 (define-method is_user
884 (of-object "EmpathyContact")
885 (c-name "empathy_contact_is_user")
886 (return-type "gboolean")
889 (define-method set_is_user
890 (of-object "EmpathyContact")
891 (c-name "empathy_contact_set_is_user")
894 '("gboolean" "is_user")
898 (define-method is_online
899 (of-object "EmpathyContact")
900 (c-name "empathy_contact_is_online")
901 (return-type "gboolean")
904 (define-method get_status
905 (of-object "EmpathyContact")
906 (c-name "empathy_contact_get_status")
907 (return-type "const-gchar*")
910 (define-method can_voip
911 (of-object "EmpathyContact")
912 (c-name "empathy_contact_can_voip")
913 (return-type "gboolean")
916 (define-method can_voip_audio
917 (of-object "EmpathyContact")
918 (c-name "empathy_contact_can_voip_audio")
919 (return-type "gboolean")
922 (define-method can_voip_video
923 (of-object "EmpathyContact")
924 (c-name "empathy_contact_can_voip_video")
925 (return-type "gboolean")
928 (define-method can_send_files
929 (of-object "EmpathyContact")
930 (c-name "empathy_contact_can_send_files")
931 (return-type "gboolean")
934 (define-method can_use_stream_tube
935 (of-object "EmpathyContact")
936 (c-name "empathy_contact_can_use_stream_tube")
937 (return-type "gboolean")
940 (define-function contact_hash
941 (c-name "empathy_contact_hash")
942 (return-type "guint")
944 '("gconstpointer" "key")
948 (define-method load_avatar_data
949 (of-object "EmpathyContact")
950 (c-name "empathy_contact_load_avatar_data")
953 '("const-guchar*" "data")
954 '("const-gsize" "len")
955 '("const-gchar*" "format")
956 '("const-gchar*" "token")
960 (define-method load_avatar_cache
961 (of-object "EmpathyContact")
962 (c-name "empathy_contact_load_avatar_cache")
963 (return-type "gboolean")
965 '("const-gchar*" "token")
969 (define-function avatar_get_type
970 (c-name "empathy_avatar_get_type")
971 (return-type "GType")
974 (define-function avatar_new
975 (c-name "empathy_avatar_new")
976 (is-constructor-of "EmpathyAvatar")
977 (return-type "EmpathyAvatar*")
983 '("gchar*" "filename")
988 (of-object "EmpathyAvatar")
989 (c-name "empathy_avatar_ref")
990 (return-type "EmpathyAvatar*")
994 (of-object "EmpathyAvatar")
995 (c-name "empathy_avatar_unref")
999 (define-method save_to_file
1000 (of-object "EmpathyAvatar")
1001 (c-name "empathy_avatar_save_to_file")
1002 (return-type "gboolean")
1004 '("const-gchar*" "filename")
1005 '("GError**" "error")
1009 (define-method get_location
1010 (of-object "EmpathyContact")
1011 (c-name "empathy_contact_get_location")
1012 (return-type "GHashTable*")
1015 (define-method set_location
1016 (of-object "EmpathyContact")
1017 (c-name "empathy_contact_set_location")
1018 (return-type "none")
1020 '("GHashTable*" "location")
1024 (define-function contact_equal
1025 (c-name "empathy_contact_equal")
1026 (return-type "gboolean")
1028 '("gconstpointer" "contact1")
1029 '("gconstpointer" "contact2")
1035 ;; From empathy-contact-groups.h
1037 (define-function contact_groups_get_all
1038 (c-name "empathy_contact_groups_get_all")
1039 (return-type "none")
1042 (define-function contact_group_get_expanded
1043 (c-name "empathy_contact_group_get_expanded")
1044 (return-type "gboolean")
1046 '("const-gchar*" "group")
1050 (define-function contact_group_set_expanded
1051 (c-name "empathy_contact_group_set_expanded")
1052 (return-type "none")
1054 '("const-gchar*" "group")
1055 '("gboolean" "expanded")
1061 ;; From empathy-contact-list.h
1063 (define-function contact_list_get_type
1064 (c-name "empathy_contact_list_get_type")
1065 (return-type "GType")
1069 (of-object "EmpathyContactList")
1070 (c-name "empathy_contact_list_add")
1071 (return-type "none")
1073 '("EmpathyContact*" "contact")
1074 '("const-gchar*" "message")
1078 (define-method remove
1079 (of-object "EmpathyContactList")
1080 (c-name "empathy_contact_list_remove")
1081 (return-type "none")
1083 '("EmpathyContact*" "contact")
1084 '("const-gchar*" "message")
1088 (define-method get_members
1089 (of-object "EmpathyContactList")
1090 (c-name "empathy_contact_list_get_members")
1091 (return-type "GList*")
1094 (define-method get_pendings
1095 (of-object "EmpathyContactList")
1096 (c-name "empathy_contact_list_get_pendings")
1097 (return-type "GList*")
1100 (define-method get_all_groups
1101 (of-object "EmpathyContactList")
1102 (c-name "empathy_contact_list_get_all_groups")
1103 (return-type "GList*")
1106 (define-method get_groups
1107 (of-object "EmpathyContactList")
1108 (c-name "empathy_contact_list_get_groups")
1109 (return-type "GList*")
1111 '("EmpathyContact*" "contact")
1115 (define-method add_to_group
1116 (of-object "EmpathyContactList")
1117 (c-name "empathy_contact_list_add_to_group")
1118 (return-type "none")
1120 '("EmpathyContact*" "contact")
1121 '("const-gchar*" "group")
1125 (define-method remove_from_group
1126 (of-object "EmpathyContactList")
1127 (c-name "empathy_contact_list_remove_from_group")
1128 (return-type "none")
1130 '("EmpathyContact*" "contact")
1131 '("const-gchar*" "group")
1135 (define-method rename_group
1136 (of-object "EmpathyContactList")
1137 (c-name "empathy_contact_list_rename_group")
1138 (return-type "none")
1140 '("const-gchar*" "old_group")
1141 '("const-gchar*" "new_group")
1145 (define-method remove_group
1146 (of-object "EmpathyContactList")
1147 (c-name "empathy_contact_list_remove_group")
1148 (return-type "none")
1150 '("const-gchar*" "group")
1154 (define-method get_monitor
1155 (of-object "EmpathyContactList")
1156 (c-name "empathy_contact_list_get_monitor")
1157 (return-type "EmpathyContactMonitor*")
1160 (define-method get_flags
1161 (of-object "EmpathyContactList")
1162 (c-name "empathy_contact_list_get_flags")
1163 (return-type "EmpathyContactListFlags")
1168 ;; From empathy-contact-manager.h
1170 (define-function contact_manager_get_type
1171 (c-name "empathy_contact_manager_get_type")
1172 (return-type "GType")
1175 (define-function contact_manager_initialized
1176 (c-name "empathy_contact_manager_initialized")
1177 (return-type "gboolean")
1180 (define-function contact_manager_dup_singleton
1181 (c-name "empathy_contact_manager_dup_singleton")
1182 (return-type "EmpathyContactManager*")
1185 (define-method get_list
1186 (of-object "EmpathyContactManager")
1187 (c-name "empathy_contact_manager_get_list")
1188 (return-type "EmpathyTpContactList*")
1190 '("TpConnection*" "connection")
1194 (define-method get_flags_for_connection
1195 (of-object "EmpathyContactManager")
1196 (c-name "empathy_contact_manager_get_flags_for_connection")
1197 (return-type "EmpathyContactListFlags")
1199 '("TpConnection*" "connection")
1205 ;; From empathy-contact-monitor.h
1207 (define-function contact_monitor_get_type
1208 (c-name "empathy_contact_monitor_get_type")
1209 (return-type "GType")
1212 (define-method set_iface
1213 (of-object "EmpathyContactMonitor")
1214 (c-name "empathy_contact_monitor_set_iface")
1215 (return-type "none")
1217 '("EmpathyContactList*" "iface")
1221 (define-function contact_monitor_new_for_iface
1222 (c-name "empathy_contact_monitor_new_for_iface")
1223 (return-type "EmpathyContactMonitor*")
1225 '("EmpathyContactList*" "iface")
1231 ;; From empathy-debug.h
1233 (define-function debug_flag_is_set
1234 (c-name "empathy_debug_flag_is_set")
1235 (return-type "gboolean")
1237 '("EmpathyDebugFlags" "flag")
1241 (define-function debug
1242 (c-name "empathy_debug")
1243 (return-type "none")
1245 '("EmpathyDebugFlags" "flag")
1246 '("const-gchar*" "format")
1251 (define-function debug_free
1252 (c-name "empathy_debug_free")
1253 (return-type "none")
1256 (define-function debug_set_flags
1257 (c-name "empathy_debug_set_flags")
1258 (return-type "none")
1260 '("const-gchar*" "flags_string")
1266 ;; From empathy-dispatcher.h
1268 (define-function dispatcher_get_type
1269 (c-name "empathy_dispatcher_get_type")
1270 (return-type "GType")
1273 (define-method create_channel
1274 (of-object "EmpathyDispatcher")
1275 (c-name "empathy_dispatcher_create_channel")
1276 (return-type "none")
1278 '("TpConnection*" "connection")
1279 '("GHashTable*" "request")
1280 '("EmpathyDispatcherRequestCb*" "callback")
1281 '("gpointer" "user_data")
1285 (define-function dispatcher_chat_with_contact_id
1286 (c-name "empathy_dispatcher_chat_with_contact_id")
1287 (return-type "none")
1289 '("TpConnection*" "connection")
1290 '("const-gchar*" "contact_id")
1291 '("EmpathyDispatcherRequestCb*" "callback")
1292 '("gpointer" "user_data")
1296 (define-function dispatcher_chat_with_contact
1297 (c-name "empathy_dispatcher_chat_with_contact")
1298 (return-type "none")
1300 '("EmpathyContact*" "contact")
1301 '("EmpathyDispatcherRequestCb*" "callback")
1302 '("gpointer" "user_data")
1306 (define-function dispatcher_send_file_to_contact
1307 (c-name "empathy_dispatcher_send_file_to_contact")
1308 (return-type "none")
1310 '("EmpathyContact*" "contact")
1311 '("const-gchar*" "filename")
1314 '("const-gchar*" "content_type")
1315 '("EmpathyDispatcherRequestCb*" "callback")
1316 '("gpointer" "user_data")
1320 (define-function dispatcher_join_muc
1321 (c-name "empathy_dispatcher_join_muc")
1322 (return-type "none")
1324 '("TpConnection*" "connection")
1325 '("const-gchar*" "roomname")
1326 '("EmpathyDispatcherRequestCb*" "callback")
1327 '("gpointer" "user_data")
1331 (define-method find_requestable_channel_classes_async
1332 (of-object "EmpathyDispatcher")
1333 (c-name "empathy_dispatcher_find_requestable_channel_classes_async")
1334 (return-type "none")
1336 '("TpConnection*" "connection")
1337 '("const-gchar*" "channel_type")
1338 '("guint" "handle_type")
1339 '("EmpathyDispatcherFindChannelClassCb" "callback")
1340 '("gpointer" "user_data")
1341 '("const-char*" "first_property_name")
1346 (define-method find_requestable_channel_classes
1347 (of-object "EmpathyDispatcher")
1348 (c-name "empathy_dispatcher_find_requestable_channel_classes")
1349 (return-type "GList*")
1351 '("TpConnection*" "connection")
1352 '("const-gchar*" "channel_type")
1353 '("guint" "handle_type")
1354 '("const-char*" "first_property_name")
1359 (define-function dispatcher_dup_singleton
1360 (c-name "empathy_dispatcher_dup_singleton")
1361 (return-type "EmpathyDispatcher*")
1366 ;; From empathy-dispatch-operation.h
1368 (define-function dispatch_operation_get_type
1369 (c-name "empathy_dispatch_operation_get_type")
1370 (return-type "GType")
1373 (define-function dispatch_operation_new
1374 (c-name "empathy_dispatch_operation_new")
1375 (is-constructor-of "EmpathyDispatchOperation")
1376 (return-type "EmpathyDispatchOperation*")
1378 '("TpConnection*" "connection")
1379 '("TpChannel*" "channel")
1380 '("EmpathyContact*" "contact")
1381 '("gboolean" "incoming")
1385 (define-function dispatch_operation_new_with_wrapper
1386 (c-name "empathy_dispatch_operation_new_with_wrapper")
1387 (return-type "EmpathyDispatchOperation*")
1389 '("TpConnection*" "connection")
1390 '("TpChannel*" "channel")
1391 '("EmpathyContact*" "contact")
1392 '("gboolean" "incoming")
1393 '("GObject*" "channel_wrapper")
1397 (define-method start
1398 (of-object "EmpathyDispatchOperation")
1399 (c-name "empathy_dispatch_operation_start")
1400 (return-type "none")
1403 (define-method approve
1404 (of-object "EmpathyDispatchOperation")
1405 (c-name "empathy_dispatch_operation_approve")
1406 (return-type "none")
1409 (define-method claim
1410 (of-object "EmpathyDispatchOperation")
1411 (c-name "empathy_dispatch_operation_claim")
1412 (return-type "gboolean")
1415 (define-method get_channel
1416 (of-object "EmpathyDispatchOperation")
1417 (c-name "empathy_dispatch_operation_get_channel")
1418 (return-type "TpChannel*")
1421 (define-method get_channel_wrapper
1422 (of-object "EmpathyDispatchOperation")
1423 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1424 (return-type "GObject*")
1427 (define-method get_tp_connection
1428 (of-object "EmpathyDispatchOperation")
1429 (c-name "empathy_dispatch_operation_get_tp_connection")
1430 (return-type "TpConnection*")
1433 (define-method get_channel_type
1434 (of-object "EmpathyDispatchOperation")
1435 (c-name "empathy_dispatch_operation_get_channel_type")
1436 (return-type "const-gchar*")
1439 (define-method get_channel_type_id
1440 (of-object "EmpathyDispatchOperation")
1441 (c-name "empathy_dispatch_operation_get_channel_type_id")
1442 (return-type "GQuark")
1445 (define-method get_object_path
1446 (of-object "EmpathyDispatchOperation")
1447 (c-name "empathy_dispatch_operation_get_object_path")
1448 (return-type "const-gchar*")
1451 (define-method get_status
1452 (of-object "EmpathyDispatchOperation")
1453 (c-name "empathy_dispatch_operation_get_status")
1454 (return-type "EmpathyDispatchOperationState")
1457 (define-method is_incoming
1458 (of-object "EmpathyDispatchOperation")
1459 (c-name "empathy_dispatch_operation_is_incoming")
1460 (return-type "gboolean")
1465 ;; From empathy-ft-factory.h
1467 (define-function ft_factory_get_type
1468 (c-name "empathy_ft_factory_get_type")
1469 (return-type "GType")
1472 (define-function ft_factory_dup_singleton
1473 (c-name "empathy_ft_factory_dup_singleton")
1474 (return-type "EmpathyFTFactory*")
1477 (define-method new_transfer_outgoing
1478 (of-object "EmpathyFTFactory")
1479 (c-name "empathy_ft_factory_new_transfer_outgoing")
1480 (return-type "none")
1482 '("EmpathyContact*" "contact")
1483 '("GFile*" "source")
1487 (define-method claim_channel
1488 (of-object "EmpathyFTFactory")
1489 (c-name "empathy_ft_factory_claim_channel")
1490 (return-type "none")
1492 '("EmpathyDispatchOperation*" "operation")
1496 (define-method set_destination_for_incoming_handler
1497 (of-object "EmpathyFTFactory")
1498 (c-name "empathy_ft_factory_set_destination_for_incoming_handler")
1499 (return-type "none")
1501 '("EmpathyFTHandler*" "handler")
1502 '("GFile*" "destination")
1508 ;; From empathy-ft-handler.h
1510 (define-function ft_handler_get_type
1511 (c-name "empathy_ft_handler_get_type")
1512 (return-type "GType")
1515 (define-function ft_handler_new_outgoing
1516 (c-name "empathy_ft_handler_new_outgoing")
1517 (return-type "none")
1519 '("EmpathyContact*" "contact")
1520 '("GFile*" "source")
1521 '("EmpathyFTHandlerReadyCallback" "callback")
1522 '("gpointer" "user_data")
1526 (define-function ft_handler_new_incoming
1527 (c-name "empathy_ft_handler_new_incoming")
1528 (return-type "none")
1530 '("EmpathyTpFile*" "tp_file")
1531 '("EmpathyFTHandlerReadyCallback" "callback")
1532 '("gpointer" "user_data")
1536 (define-method incoming_set_destination
1537 (of-object "EmpathyFTHandler")
1538 (c-name "empathy_ft_handler_incoming_set_destination")
1539 (return-type "none")
1541 '("GFile*" "destination")
1545 (define-method start_transfer
1546 (of-object "EmpathyFTHandler")
1547 (c-name "empathy_ft_handler_start_transfer")
1548 (return-type "none")
1551 (define-method cancel_transfer
1552 (of-object "EmpathyFTHandler")
1553 (c-name "empathy_ft_handler_cancel_transfer")
1554 (return-type "none")
1557 (define-method get_filename
1558 (of-object "EmpathyFTHandler")
1559 (c-name "empathy_ft_handler_get_filename")
1560 (return-type "const-char*")
1563 (define-method get_content_type
1564 (of-object "EmpathyFTHandler")
1565 (c-name "empathy_ft_handler_get_content_type")
1566 (return-type "const-char*")
1569 (define-method get_contact
1570 (of-object "EmpathyFTHandler")
1571 (c-name "empathy_ft_handler_get_contact")
1572 (return-type "EmpathyContact*")
1575 (define-method get_gfile
1576 (of-object "EmpathyFTHandler")
1577 (c-name "empathy_ft_handler_get_gfile")
1578 (return-type "GFile*")
1581 (define-method get_use_hash
1582 (of-object "EmpathyFTHandler")
1583 (c-name "empathy_ft_handler_get_use_hash")
1584 (return-type "gboolean")
1587 (define-method is_incoming
1588 (of-object "EmpathyFTHandler")
1589 (c-name "empathy_ft_handler_is_incoming")
1590 (return-type "gboolean")
1593 (define-method get_transferred_bytes
1594 (of-object "EmpathyFTHandler")
1595 (c-name "empathy_ft_handler_get_transferred_bytes")
1596 (return-type "guint64")
1599 (define-method get_total_bytes
1600 (of-object "EmpathyFTHandler")
1601 (c-name "empathy_ft_handler_get_total_bytes")
1602 (return-type "guint64")
1605 (define-method is_completed
1606 (of-object "EmpathyFTHandler")
1607 (c-name "empathy_ft_handler_is_completed")
1608 (return-type "gboolean")
1611 (define-method is_cancelled
1612 (of-object "EmpathyFTHandler")
1613 (c-name "empathy_ft_handler_is_cancelled")
1614 (return-type "gboolean")
1619 ;; From empathy-idle.h
1621 (define-function idle_get_type
1622 (c-name "empathy_idle_get_type")
1623 (return-type "GType")
1626 (define-function idle_dup_singleton
1627 (c-name "empathy_idle_dup_singleton")
1628 (return-type "EmpathyIdle*")
1631 (define-method get_state
1632 (of-object "EmpathyIdle")
1633 (c-name "empathy_idle_get_state")
1634 (return-type "TpConnectionPresenceType")
1637 (define-method set_state
1638 (of-object "EmpathyIdle")
1639 (c-name "empathy_idle_set_state")
1640 (return-type "none")
1642 '("TpConnectionPresenceType" "state")
1646 (define-method get_status
1647 (of-object "EmpathyIdle")
1648 (c-name "empathy_idle_get_status")
1649 (return-type "const-gchar*")
1652 (define-method set_status
1653 (of-object "EmpathyIdle")
1654 (c-name "empathy_idle_set_status")
1655 (return-type "none")
1657 '("const-gchar*" "status")
1661 (define-method get_flash_state
1662 (of-object "EmpathyIdle")
1663 (c-name "empathy_idle_get_flash_state")
1664 (return-type "TpConnectionPresenceType")
1667 (define-method set_flash_state
1668 (of-object "EmpathyIdle")
1669 (c-name "empathy_idle_set_flash_state")
1670 (return-type "none")
1672 '("TpConnectionPresenceType" "state")
1676 (define-method set_presence
1677 (of-object "EmpathyIdle")
1678 (c-name "empathy_idle_set_presence")
1679 (return-type "none")
1681 '("TpConnectionPresenceType" "state")
1682 '("const-gchar*" "status")
1686 (define-method get_auto_away
1687 (of-object "EmpathyIdle")
1688 (c-name "empathy_idle_get_auto_away")
1689 (return-type "gboolean")
1692 (define-method set_auto_away
1693 (of-object "EmpathyIdle")
1694 (c-name "empathy_idle_set_auto_away")
1695 (return-type "none")
1697 '("gboolean" "auto_away")
1703 ;; From empathy-irc-network.h
1705 (define-function irc_network_get_type
1706 (c-name "empathy_irc_network_get_type")
1707 (return-type "GType")
1710 (define-function irc_network_new
1711 (c-name "empathy_irc_network_new")
1712 (is-constructor-of "EmpathyIrcNetwork")
1713 (return-type "EmpathyIrcNetwork*")
1715 '("const-gchar*" "name")
1719 (define-method get_servers
1720 (of-object "EmpathyIrcNetwork")
1721 (c-name "empathy_irc_network_get_servers")
1722 (return-type "GSList*")
1725 (define-method append_server
1726 (of-object "EmpathyIrcNetwork")
1727 (c-name "empathy_irc_network_append_server")
1728 (return-type "none")
1730 '("EmpathyIrcServer*" "server")
1734 (define-method remove_server
1735 (of-object "EmpathyIrcNetwork")
1736 (c-name "empathy_irc_network_remove_server")
1737 (return-type "none")
1739 '("EmpathyIrcServer*" "server")
1743 (define-method set_server_position
1744 (of-object "EmpathyIrcNetwork")
1745 (c-name "empathy_irc_network_set_server_position")
1746 (return-type "none")
1748 '("EmpathyIrcServer*" "server")
1755 ;; From empathy-irc-network-manager.h
1757 (define-function irc_network_manager_get_type
1758 (c-name "empathy_irc_network_manager_get_type")
1759 (return-type "GType")
1762 (define-function irc_network_manager_new
1763 (c-name "empathy_irc_network_manager_new")
1764 (is-constructor-of "EmpathyIrcNetworkManager")
1765 (return-type "EmpathyIrcNetworkManager*")
1767 '("const-gchar*" "global_file")
1768 '("const-gchar*" "user_file")
1773 (of-object "EmpathyIrcNetworkManager")
1774 (c-name "empathy_irc_network_manager_add")
1775 (return-type "none")
1777 '("EmpathyIrcNetwork*" "network")
1781 (define-method remove
1782 (of-object "EmpathyIrcNetworkManager")
1783 (c-name "empathy_irc_network_manager_remove")
1784 (return-type "none")
1786 '("EmpathyIrcNetwork*" "network")
1790 (define-method get_networks
1791 (of-object "EmpathyIrcNetworkManager")
1792 (c-name "empathy_irc_network_manager_get_networks")
1793 (return-type "GSList*")
1796 (define-method find_network_by_address
1797 (of-object "EmpathyIrcNetworkManager")
1798 (c-name "empathy_irc_network_manager_find_network_by_address")
1799 (return-type "EmpathyIrcNetwork*")
1801 '("const-gchar*" "address")
1807 ;; From empathy-irc-server.h
1809 (define-function irc_server_get_type
1810 (c-name "empathy_irc_server_get_type")
1811 (return-type "GType")
1814 (define-function irc_server_new
1815 (c-name "empathy_irc_server_new")
1816 (is-constructor-of "EmpathyIrcServer")
1817 (return-type "EmpathyIrcServer*")
1819 '("const-gchar*" "address")
1827 ;; From empathy-log-manager.h
1829 (define-function log_manager_get_type
1830 (c-name "empathy_log_manager_get_type")
1831 (return-type "GType")
1834 (define-function log_manager_dup_singleton
1835 (c-name "empathy_log_manager_dup_singleton")
1836 (return-type "EmpathyLogManager*")
1839 (define-method add_message
1840 (of-object "EmpathyLogManager")
1841 (c-name "empathy_log_manager_add_message")
1842 (return-type "gboolean")
1844 '("const-gchar*" "chat_id")
1845 '("gboolean" "chatroom")
1846 '("EmpathyMessage*" "message")
1847 '("GError**" "error")
1851 (define-method exists
1852 (of-object "EmpathyLogManager")
1853 (c-name "empathy_log_manager_exists")
1854 (return-type "gboolean")
1856 '("EmpathyAccount*" "account")
1857 '("const-gchar*" "chat_id")
1858 '("gboolean" "chatroom")
1862 (define-method get_dates
1863 (of-object "EmpathyLogManager")
1864 (c-name "empathy_log_manager_get_dates")
1865 (return-type "GList*")
1867 '("EmpathyAccount*" "account")
1868 '("const-gchar*" "chat_id")
1869 '("gboolean" "chatroom")
1873 (define-method get_messages_for_date
1874 (of-object "EmpathyLogManager")
1875 (c-name "empathy_log_manager_get_messages_for_date")
1876 (return-type "GList*")
1878 '("EmpathyAccount*" "account")
1879 '("const-gchar*" "chat_id")
1880 '("gboolean" "chatroom")
1881 '("const-gchar*" "date")
1885 (define-method get_filtered_messages
1886 (of-object "EmpathyLogManager")
1887 (c-name "empathy_log_manager_get_filtered_messages")
1888 (return-type "GList*")
1890 '("EmpathyAccount*" "account")
1891 '("const-gchar*" "chat_id")
1892 '("gboolean" "chatroom")
1893 '("guint" "num_messages")
1894 '("EmpathyLogMessageFilter" "filter")
1895 '("gpointer" "user_data")
1899 (define-method get_chats
1900 (of-object "EmpathyLogManager")
1901 (c-name "empathy_log_manager_get_chats")
1902 (return-type "GList*")
1904 '("EmpathyAccount*" "account")
1908 (define-method search_new
1909 (of-object "EmpathyLogManager")
1910 (c-name "empathy_log_manager_search_new")
1911 (return-type "GList*")
1913 '("const-gchar*" "text")
1917 (define-function log_manager_search_free
1918 (c-name "empathy_log_manager_search_free")
1919 (return-type "none")
1925 (define-function log_manager_get_date_readable
1926 (c-name "empathy_log_manager_get_date_readable")
1927 (return-type "gchar*")
1929 '("const-gchar*" "date")
1933 (define-function log_manager_search_hit_free
1934 (c-name "empathy_log_manager_search_hit_free")
1935 (return-type "none")
1937 '("EmpathyLogSearchHit*" "hit")
1941 (define-method observe
1942 (of-object "EmpathyLogManager")
1943 (c-name "empathy_log_manager_observe")
1944 (return-type "none")
1946 '("EmpathyDispatcher*" "dispatcher")
1952 ;; From empathy-log-store.h
1954 (define-function log_store_get_type
1955 (c-name "empathy_log_store_get_type")
1956 (return-type "GType")
1959 (define-method get_name
1960 (of-object "EmpathyLogStore")
1961 (c-name "empathy_log_store_get_name")
1962 (return-type "const-gchar*")
1965 (define-method exists
1966 (of-object "EmpathyLogStore")
1967 (c-name "empathy_log_store_exists")
1968 (return-type "gboolean")
1970 '("EmpathyAccount*" "account")
1971 '("const-gchar*" "chat_id")
1972 '("gboolean" "chatroom")
1976 (define-method add_message
1977 (of-object "EmpathyLogStore")
1978 (c-name "empathy_log_store_add_message")
1979 (return-type "gboolean")
1981 '("const-gchar*" "chat_id")
1982 '("gboolean" "chatroom")
1983 '("EmpathyMessage*" "message")
1984 '("GError**" "error")
1988 (define-method get_dates
1989 (of-object "EmpathyLogStore")
1990 (c-name "empathy_log_store_get_dates")
1991 (return-type "GList*")
1993 '("EmpathyAccount*" "account")
1994 '("const-gchar*" "chat_id")
1995 '("gboolean" "chatroom")
1999 (define-method get_messages_for_date
2000 (of-object "EmpathyLogStore")
2001 (c-name "empathy_log_store_get_messages_for_date")
2002 (return-type "GList*")
2004 '("EmpathyAccount*" "account")
2005 '("const-gchar*" "chat_id")
2006 '("gboolean" "chatroom")
2007 '("const-gchar*" "date")
2011 (define-method get_last_messages
2012 (of-object "EmpathyLogStore")
2013 (c-name "empathy_log_store_get_last_messages")
2014 (return-type "GList*")
2016 '("EmpathyAccount*" "account")
2017 '("const-gchar*" "chat_id")
2018 '("gboolean" "chatroom")
2022 (define-method get_chats
2023 (of-object "EmpathyLogStore")
2024 (c-name "empathy_log_store_get_chats")
2025 (return-type "GList*")
2027 '("EmpathyAccount*" "account")
2031 (define-method search_new
2032 (of-object "EmpathyLogStore")
2033 (c-name "empathy_log_store_search_new")
2034 (return-type "GList*")
2036 '("const-gchar*" "text")
2040 (define-method ack_message
2041 (of-object "EmpathyLogStore")
2042 (c-name "empathy_log_store_ack_message")
2043 (return-type "none")
2045 '("const-gchar*" "chat_id")
2046 '("gboolean" "chatroom")
2047 '("EmpathyMessage*" "message")
2051 (define-method get_filtered_messages
2052 (of-object "EmpathyLogStore")
2053 (c-name "empathy_log_store_get_filtered_messages")
2054 (return-type "GList*")
2056 '("EmpathyAccount*" "account")
2057 '("const-gchar*" "chat_id")
2058 '("gboolean" "chatroom")
2059 '("guint" "num_messages")
2060 '("EmpathyLogMessageFilter" "filter")
2061 '("gpointer" "user_data")
2067 ;; From empathy-log-store-empathy.h
2069 (define-function log_store_empathy_get_type
2070 (c-name "empathy_log_store_empathy_get_type")
2071 (return-type "GType")
2076 ;; From empathy-message.h
2078 (define-function message_get_type
2079 (c-name "empathy_message_get_type")
2080 (return-type "GType")
2083 (define-function message_new
2084 (c-name "empathy_message_new")
2085 (is-constructor-of "EmpathyMessage")
2086 (return-type "EmpathyMessage*")
2088 '("const-gchar*" "body")
2092 (define-method get_tptype
2093 (of-object "EmpathyMessage")
2094 (c-name "empathy_message_get_tptype")
2095 (return-type "TpChannelTextMessageType")
2098 (define-method set_tptype
2099 (of-object "EmpathyMessage")
2100 (c-name "empathy_message_set_tptype")
2101 (return-type "none")
2103 '("TpChannelTextMessageType" "type")
2107 (define-method get_sender
2108 (of-object "EmpathyMessage")
2109 (c-name "empathy_message_get_sender")
2110 (return-type "EmpathyContact*")
2113 (define-method set_sender
2114 (of-object "EmpathyMessage")
2115 (c-name "empathy_message_set_sender")
2116 (return-type "none")
2118 '("EmpathyContact*" "contact")
2122 (define-method get_receiver
2123 (of-object "EmpathyMessage")
2124 (c-name "empathy_message_get_receiver")
2125 (return-type "EmpathyContact*")
2128 (define-method set_receiver
2129 (of-object "EmpathyMessage")
2130 (c-name "empathy_message_set_receiver")
2131 (return-type "none")
2133 '("EmpathyContact*" "contact")
2137 (define-method get_body
2138 (of-object "EmpathyMessage")
2139 (c-name "empathy_message_get_body")
2140 (return-type "const-gchar*")
2143 (define-method set_body
2144 (of-object "EmpathyMessage")
2145 (c-name "empathy_message_set_body")
2146 (return-type "none")
2148 '("const-gchar*" "body")
2152 (define-method get_timestamp
2153 (of-object "EmpathyMessage")
2154 (c-name "empathy_message_get_timestamp")
2155 (return-type "time_t")
2158 (define-method set_timestamp
2159 (of-object "EmpathyMessage")
2160 (c-name "empathy_message_set_timestamp")
2161 (return-type "none")
2163 '("time_t" "timestamp")
2167 (define-method is_backlog
2168 (of-object "EmpathyMessage")
2169 (c-name "empathy_message_is_backlog")
2170 (return-type "gboolean")
2173 (define-method set_is_backlog
2174 (of-object "EmpathyMessage")
2175 (c-name "empathy_message_set_is_backlog")
2176 (return-type "none")
2178 '("gboolean" "is_backlog")
2182 (define-method should_highlight
2183 (of-object "EmpathyMessage")
2184 (c-name "empathy_message_should_highlight")
2185 (return-type "gboolean")
2188 (define-function message_type_from_str
2189 (c-name "empathy_message_type_from_str")
2190 (return-type "TpChannelTextMessageType")
2192 '("const-gchar*" "type_str")
2196 (define-function message_type_to_str
2197 (c-name "empathy_message_type_to_str")
2198 (return-type "const-gchar*")
2200 '("TpChannelTextMessageType" "type")
2204 (define-method get_id
2205 (of-object "EmpathyMessage")
2206 (c-name "empathy_message_get_id")
2207 (return-type "guint")
2210 (define-method set_id
2211 (of-object "EmpathyMessage")
2212 (c-name "empathy_message_set_id")
2213 (return-type "none")
2219 (define-method equal
2220 (of-object "EmpathyMessage")
2221 (c-name "empathy_message_equal")
2222 (return-type "gboolean")
2224 '("EmpathyMessage*" "message2")
2230 ;; From empathy-status-presets.h
2232 (define-function status_presets_get_all
2233 (c-name "empathy_status_presets_get_all")
2234 (return-type "none")
2237 (define-function status_presets_get
2238 (c-name "empathy_status_presets_get")
2239 (return-type "GList*")
2241 '("TpConnectionPresenceType" "state")
2242 '("gint" "max_number")
2246 (define-function status_presets_set_last
2247 (c-name "empathy_status_presets_set_last")
2248 (return-type "none")
2250 '("TpConnectionPresenceType" "state")
2251 '("const-gchar*" "status")
2255 (define-function status_presets_remove
2256 (c-name "empathy_status_presets_remove")
2257 (return-type "none")
2259 '("TpConnectionPresenceType" "state")
2260 '("const-gchar*" "status")
2264 (define-function status_presets_reset
2265 (c-name "empathy_status_presets_reset")
2266 (return-type "none")
2269 (define-function status_presets_get_default_state
2270 (c-name "empathy_status_presets_get_default_state")
2271 (return-type "TpConnectionPresenceType")
2274 (define-function status_presets_get_default_status
2275 (c-name "empathy_status_presets_get_default_status")
2276 (return-type "const-gchar*")
2279 (define-function status_presets_set_default
2280 (c-name "empathy_status_presets_set_default")
2281 (return-type "none")
2283 '("TpConnectionPresenceType" "state")
2284 '("const-gchar*" "status")
2288 (define-function status_presets_clear_default
2289 (c-name "empathy_status_presets_clear_default")
2290 (return-type "none")
2293 (define-function status_presets_is_valid
2294 (c-name "empathy_status_presets_is_valid")
2295 (return-type "gboolean")
2297 '("TpConnectionPresenceType" "state")
2303 ;; From empathy-time.h
2305 (define-function time_get_current
2306 (c-name "empathy_time_get_current")
2307 (return-type "time_t")
2310 (define-function time_get_local_time
2311 (c-name "empathy_time_get_local_time")
2312 (return-type "time_t")
2314 '("struct-tm*" "tm")
2318 (define-function time_parse
2319 (c-name "empathy_time_parse")
2320 (return-type "time_t")
2322 '("const-gchar*" "str")
2326 (define-function time_to_string_utc
2327 (c-name "empathy_time_to_string_utc")
2328 (return-type "gchar*")
2331 '("const-gchar*" "format")
2335 (define-function time_to_string_local
2336 (c-name "empathy_time_to_string_local")
2337 (return-type "gchar*")
2340 '("const-gchar*" "format")
2344 (define-function time_to_string_relative
2345 (c-name "empathy_time_to_string_relative")
2346 (return-type "gchar*")
2354 ;; From empathy-tp-call.h
2356 (define-function tp_call_get_type
2357 (c-name "empathy_tp_call_get_type")
2358 (return-type "GType")
2361 (define-function tp_call_new
2362 (c-name "empathy_tp_call_new")
2363 (is-constructor-of "EmpathyTpCall")
2364 (return-type "EmpathyTpCall*")
2366 '("TpChannel*" "channel")
2370 (define-method close
2371 (of-object "EmpathyTpCall")
2372 (c-name "empathy_tp_call_close")
2373 (return-type "none")
2377 (of-object "EmpathyTpCall")
2378 (c-name "empathy_tp_call_to")
2379 (return-type "none")
2381 '("EmpathyContact*" "contact")
2382 '("gboolean" "audio")
2383 '("gboolean" "video")
2387 (define-method accept_incoming_call
2388 (of-object "EmpathyTpCall")
2389 (c-name "empathy_tp_call_accept_incoming_call")
2390 (return-type "none")
2393 (define-method request_video_stream_direction
2394 (of-object "EmpathyTpCall")
2395 (c-name "empathy_tp_call_request_video_stream_direction")
2396 (return-type "none")
2398 '("gboolean" "is_sending")
2402 (define-method start_tone
2403 (of-object "EmpathyTpCall")
2404 (c-name "empathy_tp_call_start_tone")
2405 (return-type "none")
2407 '("TpDTMFEvent" "event")
2411 (define-method stop_tone
2412 (of-object "EmpathyTpCall")
2413 (c-name "empathy_tp_call_stop_tone")
2414 (return-type "none")
2417 (define-method has_dtmf
2418 (of-object "EmpathyTpCall")
2419 (c-name "empathy_tp_call_has_dtmf")
2420 (return-type "gboolean")
2423 (define-method is_receiving_video
2424 (of-object "EmpathyTpCall")
2425 (c-name "empathy_tp_call_is_receiving_video")
2426 (return-type "gboolean")
2429 (define-method is_sending_video
2430 (of-object "EmpathyTpCall")
2431 (c-name "empathy_tp_call_is_sending_video")
2432 (return-type "gboolean")
2437 ;; From empathy-tp-chat.h
2439 (define-function tp_chat_get_type
2440 (c-name "empathy_tp_chat_get_type")
2441 (return-type "GType")
2444 (define-function tp_chat_new
2445 (c-name "empathy_tp_chat_new")
2446 (is-constructor-of "EmpathyTpChat")
2447 (return-type "EmpathyTpChat*")
2449 '("TpChannel*" "channel")
2453 (define-method close
2454 (of-object "EmpathyTpChat")
2455 (c-name "empathy_tp_chat_close")
2456 (return-type "none")
2459 (define-method get_id
2460 (of-object "EmpathyTpChat")
2461 (c-name "empathy_tp_chat_get_id")
2462 (return-type "const-gchar*")
2465 (define-method get_remote_contact
2466 (of-object "EmpathyTpChat")
2467 (c-name "empathy_tp_chat_get_remote_contact")
2468 (return-type "EmpathyContact*")
2471 (define-method get_channel
2472 (of-object "EmpathyTpChat")
2473 (c-name "empathy_tp_chat_get_channel")
2474 (return-type "TpChannel*")
2477 (define-method get_connection
2478 (of-object "EmpathyTpChat")
2479 (c-name "empathy_tp_chat_get_connection")
2480 (return-type "TpConnection*")
2483 (define-method is_ready
2484 (of-object "EmpathyTpChat")
2485 (c-name "empathy_tp_chat_is_ready")
2486 (return-type "gboolean")
2490 (of-object "EmpathyTpChat")
2491 (c-name "empathy_tp_chat_send")
2492 (return-type "none")
2494 '("EmpathyMessage*" "message")
2498 (define-method set_state
2499 (of-object "EmpathyTpChat")
2500 (c-name "empathy_tp_chat_set_state")
2501 (return-type "none")
2503 '("TpChannelChatState" "state")
2507 (define-method set_property
2508 (of-object "EmpathyTpChat")
2509 (c-name "empathy_tp_chat_set_property")
2510 (return-type "none")
2512 '("const-gchar*" "name")
2513 '("const-GValue*" "value")
2517 (define-method get_pending_messages
2518 (of-object "EmpathyTpChat")
2519 (c-name "empathy_tp_chat_get_pending_messages")
2520 (return-type "const-GList*")
2523 (define-method acknowledge_message
2524 (of-object "EmpathyTpChat")
2525 (c-name "empathy_tp_chat_acknowledge_message")
2526 (return-type "none")
2528 '("EmpathyMessage*" "message")
2532 (define-method acknowledge_messages
2533 (of-object "EmpathyTpChat")
2534 (c-name "empathy_tp_chat_acknowledge_messages")
2535 (return-type "none")
2537 '("const-GList*" "messages")
2543 ;; From empathy-tp-contact-factory.h
2545 (define-function tp_contact_factory_get_type
2546 (c-name "empathy_tp_contact_factory_get_type")
2547 (return-type "GType")
2550 (define-function tp_contact_factory_dup_singleton
2551 (c-name "empathy_tp_contact_factory_dup_singleton")
2552 (return-type "EmpathyTpContactFactory*")
2554 '("TpConnection*" "connection")
2558 (define-method get_from_ids
2559 (of-object "EmpathyTpContactFactory")
2560 (c-name "empathy_tp_contact_factory_get_from_ids")
2561 (return-type "none")
2564 '("const-gchar*-const*" "ids")
2565 '("EmpathyTpContactFactoryContactsByIdCb" "callback")
2566 '("gpointer" "user_data")
2567 '("GDestroyNotify" "destroy")
2568 '("GObject*" "weak_object")
2572 (define-method get_from_handles
2573 (of-object "EmpathyTpContactFactory")
2574 (c-name "empathy_tp_contact_factory_get_from_handles")
2575 (return-type "none")
2577 '("guint" "n_handles")
2578 '("const-TpHandle*" "handles")
2579 '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
2580 '("gpointer" "user_data")
2581 '("GDestroyNotify" "destroy")
2582 '("GObject*" "weak_object")
2586 (define-method get_from_id
2587 (of-object "EmpathyTpContactFactory")
2588 (c-name "empathy_tp_contact_factory_get_from_id")
2589 (return-type "none")
2591 '("const-gchar*" "id")
2592 '("EmpathyTpContactFactoryContactCb" "callback")
2593 '("gpointer" "user_data")
2594 '("GDestroyNotify" "destroy")
2595 '("GObject*" "weak_object")
2599 (define-method get_from_handle
2600 (of-object "EmpathyTpContactFactory")
2601 (c-name "empathy_tp_contact_factory_get_from_handle")
2602 (return-type "none")
2604 '("TpHandle" "handle")
2605 '("EmpathyTpContactFactoryContactCb" "callback")
2606 '("gpointer" "user_data")
2607 '("GDestroyNotify" "destroy")
2608 '("GObject*" "weak_object")
2612 (define-method set_alias
2613 (of-object "EmpathyTpContactFactory")
2614 (c-name "empathy_tp_contact_factory_set_alias")
2615 (return-type "none")
2617 '("EmpathyContact*" "contact")
2618 '("const-gchar*" "alias")
2622 (define-method set_avatar
2623 (of-object "EmpathyTpContactFactory")
2624 (c-name "empathy_tp_contact_factory_set_avatar")
2625 (return-type "none")
2627 '("const-gchar*" "data")
2629 '("const-gchar*" "mime_type")
2633 (define-method set_location
2634 (of-object "EmpathyTpContactFactory")
2635 (c-name "empathy_tp_contact_factory_set_location")
2636 (return-type "none")
2638 '("GHashTable*" "location")
2644 ;; From empathy-tp-contact-list.h
2646 (define-function tp_contact_list_get_type
2647 (c-name "empathy_tp_contact_list_get_type")
2648 (return-type "GType")
2651 (define-function tp_contact_list_new
2652 (c-name "empathy_tp_contact_list_new")
2653 (is-constructor-of "EmpathyTpContactList")
2654 (return-type "EmpathyTpContactList*")
2656 '("TpConnection*" "connection")
2660 (define-method get_connection
2661 (of-object "EmpathyTpContactList")
2662 (c-name "empathy_tp_contact_list_get_connection")
2663 (return-type "TpConnection*")
2666 (define-method can_add
2667 (of-object "EmpathyTpContactList")
2668 (c-name "empathy_tp_contact_list_can_add")
2669 (return-type "gboolean")
2672 (define-method remove_all
2673 (of-object "EmpathyTpContactList")
2674 (c-name "empathy_tp_contact_list_remove_all")
2675 (return-type "none")
2680 ;; From empathy-tp-file.h
2682 (define-function tp_file_get_type
2683 (c-name "empathy_tp_file_get_type")
2684 (return-type "GType")
2687 (define-function tp_file_new
2688 (c-name "empathy_tp_file_new")
2689 (is-constructor-of "EmpathyTpFile")
2690 (return-type "EmpathyTpFile*")
2692 '("TpChannel*" "channel")
2693 '("gboolean" "incoming")
2697 (define-method accept
2698 (of-object "EmpathyTpFile")
2699 (c-name "empathy_tp_file_accept")
2700 (return-type "none")
2702 '("guint64" "offset")
2704 '("GCancellable*" "cancellable")
2705 '("EmpathyTpFileProgressCallback" "progress_callback")
2706 '("gpointer" "progress_user_data")
2707 '("EmpathyTpFileOperationCallback" "op_callback")
2708 '("gpointer" "op_user_data")
2712 (define-method offer
2713 (of-object "EmpathyTpFile")
2714 (c-name "empathy_tp_file_offer")
2715 (return-type "none")
2718 '("GCancellable*" "cancellable")
2719 '("EmpathyTpFileProgressCallback" "progress_callback")
2720 '("gpointer" "progress_user_data")
2721 '("EmpathyTpFileOperationCallback" "op_callback")
2722 '("gpointer" "op_user_data")
2726 (define-method cancel
2727 (of-object "EmpathyTpFile")
2728 (c-name "empathy_tp_file_cancel")
2729 (return-type "none")
2732 (define-method close
2733 (of-object "EmpathyTpFile")
2734 (c-name "empathy_tp_file_close")
2735 (return-type "none")
2738 (define-method is_incoming
2739 (of-object "EmpathyTpFile")
2740 (c-name "empathy_tp_file_is_incoming")
2741 (return-type "gboolean")
2746 ;; From empathy-tp-roomlist.h
2748 (define-function tp_roomlist_get_type
2749 (c-name "empathy_tp_roomlist_get_type")
2750 (return-type "GType")
2753 (define-function tp_roomlist_new
2754 (c-name "empathy_tp_roomlist_new")
2755 (is-constructor-of "EmpathyTpRoomlist")
2756 (return-type "EmpathyTpRoomlist*")
2758 '("EmpathyAccount*" "account")
2762 (define-method is_listing
2763 (of-object "EmpathyTpRoomlist")
2764 (c-name "empathy_tp_roomlist_is_listing")
2765 (return-type "gboolean")
2768 (define-method start
2769 (of-object "EmpathyTpRoomlist")
2770 (c-name "empathy_tp_roomlist_start")
2771 (return-type "none")
2775 (of-object "EmpathyTpRoomlist")
2776 (c-name "empathy_tp_roomlist_stop")
2777 (return-type "none")
2782 ;; From empathy-tube-handler.h
2784 (define-function tube_handler_get_type
2785 (c-name "empathy_tube_handler_get_type")
2786 (return-type "GType")
2789 (define-function tube_handler_new
2790 (c-name "empathy_tube_handler_new")
2791 (is-constructor-of "EmpathyTubeHandler")
2792 (return-type "EmpathyTubeHandler*")
2794 '("TpTubeType" "type")
2795 '("const-gchar*" "service")
2799 (define-function tube_handler_build_bus_name
2800 (c-name "empathy_tube_handler_build_bus_name")
2801 (return-type "gchar*")
2803 '("TpTubeType" "type")
2804 '("const-gchar*" "service")
2808 (define-function tube_handler_build_object_path
2809 (c-name "empathy_tube_handler_build_object_path")
2810 (return-type "gchar*")
2812 '("TpTubeType" "type")
2813 '("const-gchar*" "service")
2819 ;; From empathy-types.h
2823 ;; From empathy-utils.h
2825 (define-function init
2826 (c-name "empathy_init")
2827 (return-type "none")
2830 (define-function substring
2831 (c-name "empathy_substring")
2832 (return-type "gchar*")
2834 '("const-gchar*" "str")
2840 (define-function strcasecmp
2841 (c-name "empathy_strcasecmp")
2842 (return-type "gint")
2844 '("const-gchar*" "s1")
2845 '("const-gchar*" "s2")
2849 (define-function strncasecmp
2850 (c-name "empathy_strncasecmp")
2851 (return-type "gint")
2853 '("const-gchar*" "s1")
2854 '("const-gchar*" "s2")
2859 (define-function xml_validate
2860 (c-name "empathy_xml_validate")
2861 (return-type "gboolean")
2864 '("const-gchar*" "dtd_filename")
2868 (define-function xml_node_get_child
2869 (c-name "empathy_xml_node_get_child")
2870 (return-type "xmlNodePtr")
2872 '("xmlNodePtr" "node")
2873 '("const-gchar*" "child_name")
2877 (define-function xml_node_get_child_content
2878 (c-name "empathy_xml_node_get_child_content")
2879 (return-type "xmlChar*")
2881 '("xmlNodePtr" "node")
2882 '("const-gchar*" "child_name")
2886 (define-function xml_node_find_child_prop_value
2887 (c-name "empathy_xml_node_find_child_prop_value")
2888 (return-type "xmlNodePtr")
2890 '("xmlNodePtr" "node")
2891 '("const-gchar*" "prop_name")
2892 '("const-gchar*" "prop_value")
2896 (define-function account_hash
2897 (c-name "empathy_account_hash")
2898 (return-type "guint")
2900 '("gconstpointer" "key")
2904 (define-function account_equal
2905 (c-name "empathy_account_equal")
2906 (return-type "gboolean")
2908 '("gconstpointer" "a")
2909 '("gconstpointer" "b")
2913 (define-function mission_control_dup_singleton
2914 (c-name "empathy_mission_control_dup_singleton")
2915 (return-type "MissionControl*")
2918 (define-function presence_get_default_message
2919 (c-name "empathy_presence_get_default_message")
2920 (return-type "const-gchar*")
2922 '("TpConnectionPresenceType" "presence")
2926 (define-function presence_to_str
2927 (c-name "empathy_presence_to_str")
2928 (return-type "const-gchar*")
2930 '("TpConnectionPresenceType" "presence")
2934 (define-function presence_from_str
2935 (c-name "empathy_presence_from_str")
2936 (return-type "TpConnectionPresenceType")
2938 '("const-gchar*" "str")
2942 (define-function file_lookup
2943 (c-name "empathy_file_lookup")
2944 (return-type "gchar*")
2946 '("const-gchar*" "filename")
2947 '("const-gchar*" "subdir")
2951 (define-function proxy_equal
2952 (c-name "empathy_proxy_equal")
2953 (return-type "gboolean")
2955 '("gconstpointer" "a")
2956 '("gconstpointer" "b")
2960 (define-function proxy_hash
2961 (c-name "empathy_proxy_hash")
2962 (return-type "guint")
2964 '("gconstpointer" "key")
2968 (define-function check_available_state
2969 (c-name "empathy_check_available_state")
2970 (return-type "gboolean")
2973 (define-function uint_compare
2974 (c-name "empathy_uint_compare")
2975 (return-type "gint")
2977 '("gconstpointer" "a")
2978 '("gconstpointer" "b")