2 ; object definitions ...
3 (define-object AccountManager
6 (c-name "EmpathyAccountManager")
7 (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
10 (define-object CallFactory
13 (c-name "EmpathyCallFactory")
14 (gtype-id "EMPATHY_TYPE_CALL_FACTORY")
17 (define-object CallHandler
20 (c-name "EmpathyCallHandler")
21 (gtype-id "EMPATHY_TYPE_CALL_HANDLER")
24 (define-object Chatroom
27 (c-name "EmpathyChatroom")
28 (gtype-id "EMPATHY_TYPE_CHATROOM")
31 (define-object ChatroomManager
34 (c-name "EmpathyChatroomManager")
35 (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
38 (define-object Contact
41 (c-name "EmpathyContact")
42 (gtype-id "EMPATHY_TYPE_CONTACT")
45 (define-interface ContactList
47 (c-name "EmpathyContactList")
48 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
51 (define-object ContactManager
54 (implements "EmpathyContactList")
55 (c-name "EmpathyContactManager")
56 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
59 (define-object ContactMonitor
62 (c-name "EmpathyContactMonitor")
63 (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
66 (define-object DispatchOperation
69 (c-name "EmpathyDispatchOperation")
70 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
73 (define-object Dispatcher
76 (c-name "EmpathyDispatcher")
77 (gtype-id "EMPATHY_TYPE_DISPATCHER")
80 (define-object FTFactory
83 (c-name "EmpathyFTFactory")
84 (gtype-id "EMPATHY_TYPE_FT_FACTORY")
87 (define-object FTHandler
90 (c-name "EmpathyFTHandler")
91 (gtype-id "EMPATHY_TYPE_FT_HANDLER")
97 (c-name "EmpathyIdle")
98 (gtype-id "EMPATHY_TYPE_IDLE")
101 (define-object IrcNetwork
102 (in-module "Empathy")
104 (c-name "EmpathyIrcNetwork")
105 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
108 (define-object IrcNetworkManager
109 (in-module "Empathy")
111 (c-name "EmpathyIrcNetworkManager")
112 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
115 (define-object IrcServer
116 (in-module "Empathy")
118 (c-name "EmpathyIrcServer")
119 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
122 (define-object LogManager
123 (in-module "Empathy")
125 (c-name "EmpathyLogManager")
126 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
129 (define-object LogStoreEmpathy
130 (in-module "Empathy")
132 (c-name "EmpathyLogStoreEmpathy")
133 (gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
136 (define-object Message
137 (in-module "Empathy")
139 (c-name "EmpathyMessage")
140 (gtype-id "EMPATHY_TYPE_MESSAGE")
143 (define-object TpCall
144 (in-module "Empathy")
146 (c-name "EmpathyTpCall")
147 (gtype-id "EMPATHY_TYPE_TP_CALL")
150 (define-object TpChat
151 (in-module "Empathy")
153 (c-name "EmpathyTpChat")
154 (gtype-id "EMPATHY_TYPE_TP_CHAT")
157 (define-object TpContactFactory
158 (in-module "Empathy")
160 (c-name "EmpathyTpContactFactory")
161 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
164 (define-object TpContactList
165 (in-module "Empathy")
167 (implements "EmpathyContactList")
168 (c-name "EmpathyTpContactList")
169 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
172 (define-object TpFile
173 (in-module "Empathy")
175 (c-name "EmpathyTpFile")
176 (gtype-id "EMPATHY_TYPE_TP_FILE")
179 (define-object TpRoomlist
180 (in-module "Empathy")
182 (c-name "EmpathyTpRoomlist")
183 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
186 (define-object TubeHandler
187 (in-module "Empathy")
189 (c-name "EmpathyTubeHandler")
190 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
193 ;; Enumerations and flags ...
195 (define-flags Capabilities
196 (in-module "Empathy")
197 (c-name "EmpathyCapabilities")
198 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
200 '("none" "EMPATHY_CAPABILITIES_NONE")
201 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
202 '("video" "EMPATHY_CAPABILITIES_VIDEO")
203 '("ft" "EMPATHY_CAPABILITIES_FT")
204 '("stream-tube" "EMPATHY_CAPABILITIES_STREAM_TUBE")
205 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
209 (define-flags DebugFlags
210 (in-module "Empathy")
211 (c-name "EmpathyDebugFlags")
212 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
214 '("tp" "EMPATHY_DEBUG_TP")
215 '("chat" "EMPATHY_DEBUG_CHAT")
216 '("contact" "EMPATHY_DEBUG_CONTACT")
217 '("account" "EMPATHY_DEBUG_ACCOUNT")
218 '("irc" "EMPATHY_DEBUG_IRC")
219 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
220 '("ft" "EMPATHY_DEBUG_FT")
221 '("location" "EMPATHY_DEBUG_LOCATION")
222 '("other" "EMPATHY_DEBUG_OTHER")
226 (define-enum DispatchOperationState
227 (in-module "Empathy")
228 (c-name "EmpathyDispatchOperationState")
229 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
231 '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
232 '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
233 '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
234 '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
235 '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
236 '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
240 (define-enum TpCallStatus
241 (in-module "Empathy")
242 (c-name "EmpathyTpCallStatus")
243 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
245 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
246 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
247 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
248 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
252 (define-enum FTErrorEnum
253 (in-module "Empathy")
254 (c-name "EmpathyFTErrorEnum")
255 (gtype-id "EMPATHY_TYPE_FT_ERROR_ENUM")
257 '("failed" "EMPATHY_FT_ERROR_FAILED")
258 '("hash-mismatch" "EMPATHY_FT_ERROR_HASH_MISMATCH")
259 '("tp-error" "EMPATHY_FT_ERROR_TP_ERROR")
260 '("socket" "EMPATHY_FT_ERROR_SOCKET")
261 '("not-supported" "EMPATHY_FT_ERROR_NOT_SUPPORTED")
262 '("invalid-source-file" "EMPATHY_FT_ERROR_INVALID_SOURCE_FILE")
263 '("empty-source-file" "EMPATHY_FT_ERROR_EMPTY_SOURCE_FILE")
268 ;; From empathy-account-manager.h
270 (define-function account_manager_get_type
271 (c-name "empathy_account_manager_get_type")
272 (return-type "GType")
275 (define-function account_manager_dup_singleton
276 (c-name "empathy_account_manager_dup_singleton")
277 (return-type "EmpathyAccountManager*")
280 (define-method create
281 (of-object "EmpathyAccountManager")
282 (c-name "empathy_account_manager_create")
283 (return-type "EmpathyAccount*")
285 '("McProfile*" "profile")
289 (define-method get_connected_accounts
290 (of-object "EmpathyAccountManager")
291 (c-name "empathy_account_manager_get_connected_accounts")
295 (define-method get_connecting_accounts
296 (of-object "EmpathyAccountManager")
297 (c-name "empathy_account_manager_get_connecting_accounts")
301 (define-method get_count
302 (of-object "EmpathyAccountManager")
303 (c-name "empathy_account_manager_get_count")
307 (define-method get_account
308 (of-object "EmpathyAccountManager")
309 (c-name "empathy_account_manager_get_account")
310 (return-type "EmpathyAccount*")
312 '("TpConnection*" "connection")
316 (define-method lookup
317 (of-object "EmpathyAccountManager")
318 (c-name "empathy_account_manager_lookup")
319 (return-type "EmpathyAccount*")
321 '("const-gchar*" "unique_name")
325 (define-method dup_accounts
326 (of-object "EmpathyAccountManager")
327 (c-name "empathy_account_manager_dup_accounts")
328 (return-type "GList*")
331 (define-method dup_connections
332 (of-object "EmpathyAccountManager")
333 (c-name "empathy_account_manager_dup_connections")
334 (return-type "GList*")
337 (define-method remove
338 (of-object "EmpathyAccountManager")
339 (c-name "empathy_account_manager_remove")
342 '("EmpathyAccount*" "account")
348 ;; From empathy-chatroom.h
350 (define-function chatroom_get_type
351 (c-name "empathy_chatroom_get_type")
352 (return-type "GType")
355 (define-function chatroom_new
356 (c-name "empathy_chatroom_new")
357 (is-constructor-of "EmpathyChatroom")
358 (return-type "EmpathyChatroom*")
360 '("EmpathyAccount*" "account")
364 (define-function chatroom_new_full
365 (c-name "empathy_chatroom_new_full")
366 (return-type "EmpathyChatroom*")
368 '("EmpathyAccount*" "account")
369 '("const-gchar*" "room")
370 '("const-gchar*" "name")
371 '("gboolean" "auto_connect")
375 (define-method get_account
376 (of-object "EmpathyChatroom")
377 (c-name "empathy_chatroom_get_account")
378 (return-type "EmpathyAccount*")
381 (define-method set_account
382 (of-object "EmpathyChatroom")
383 (c-name "empathy_chatroom_set_account")
386 '("EmpathyAccount*" "account")
390 (define-method get_room
391 (of-object "EmpathyChatroom")
392 (c-name "empathy_chatroom_get_room")
393 (return-type "const-gchar*")
396 (define-method set_room
397 (of-object "EmpathyChatroom")
398 (c-name "empathy_chatroom_set_room")
401 '("const-gchar*" "room")
405 (define-method get_name
406 (of-object "EmpathyChatroom")
407 (c-name "empathy_chatroom_get_name")
408 (return-type "const-gchar*")
411 (define-method set_name
412 (of-object "EmpathyChatroom")
413 (c-name "empathy_chatroom_set_name")
416 '("const-gchar*" "name")
420 (define-method get_auto_connect
421 (of-object "EmpathyChatroom")
422 (c-name "empathy_chatroom_get_auto_connect")
423 (return-type "gboolean")
426 (define-method set_auto_connect
427 (of-object "EmpathyChatroom")
428 (c-name "empathy_chatroom_set_auto_connect")
431 '("gboolean" "auto_connect")
435 (define-method get_subject
436 (of-object "EmpathyChatroom")
437 (c-name "empathy_chatroom_get_subject")
438 (return-type "const-gchar*")
441 (define-method set_subject
442 (of-object "EmpathyChatroom")
443 (c-name "empathy_chatroom_set_subject")
446 '("const-gchar*" "subject")
450 (define-method get_members_count
451 (of-object "EmpathyChatroom")
452 (c-name "empathy_chatroom_get_members_count")
453 (return-type "guint")
456 (define-method set_members_count
457 (of-object "EmpathyChatroom")
458 (c-name "empathy_chatroom_set_members_count")
465 (define-method get_need_password
466 (of-object "EmpathyChatroom")
467 (c-name "empathy_chatroom_get_need_password")
468 (return-type "gboolean")
471 (define-method set_need_password
472 (of-object "EmpathyChatroom")
473 (c-name "empathy_chatroom_set_need_password")
476 '("gboolean" "need_password")
480 (define-method get_invite_only
481 (of-object "EmpathyChatroom")
482 (c-name "empathy_chatroom_get_invite_only")
483 (return-type "gboolean")
486 (define-method set_invite_only
487 (of-object "EmpathyChatroom")
488 (c-name "empathy_chatroom_set_invite_only")
491 '("gboolean" "invite_only")
495 (define-function chatroom_equal
496 (c-name "empathy_chatroom_equal")
497 (return-type "gboolean")
499 '("gconstpointer" "v1")
500 '("gconstpointer" "v2")
504 (define-method get_tp_chat
505 (of-object "EmpathyChatroom")
506 (c-name "empathy_chatroom_get_tp_chat")
507 (return-type "EmpathyTpChat*")
510 (define-method set_tp_chat
511 (of-object "EmpathyChatroom")
512 (c-name "empathy_chatroom_set_tp_chat")
515 '("EmpathyTpChat*" "tp_chat")
519 (define-method is_favorite
520 (of-object "EmpathyChatroom")
521 (c-name "empathy_chatroom_is_favorite")
522 (return-type "gboolean")
525 (define-method set_favorite
526 (of-object "EmpathyChatroom")
527 (c-name "empathy_chatroom_set_favorite")
530 '("gboolean" "favorite")
536 ;; From empathy-chatroom-manager.h
538 (define-function chatroom_manager_get_type
539 (c-name "empathy_chatroom_manager_get_type")
540 (return-type "GType")
543 (define-function chatroom_manager_dup_singleton
544 (c-name "empathy_chatroom_manager_dup_singleton")
545 (return-type "EmpathyChatroomManager*")
547 '("const-gchar*" "file")
552 (of-object "EmpathyChatroomManager")
553 (c-name "empathy_chatroom_manager_add")
554 (return-type "gboolean")
556 '("EmpathyChatroom*" "chatroom")
560 (define-method remove
561 (of-object "EmpathyChatroomManager")
562 (c-name "empathy_chatroom_manager_remove")
565 '("EmpathyChatroom*" "chatroom")
570 (of-object "EmpathyChatroomManager")
571 (c-name "empathy_chatroom_manager_find")
572 (return-type "EmpathyChatroom*")
574 '("EmpathyAccount*" "account")
575 '("const-gchar*" "room")
579 (define-method get_chatrooms
580 (of-object "EmpathyChatroomManager")
581 (c-name "empathy_chatroom_manager_get_chatrooms")
582 (return-type "GList*")
584 '("EmpathyAccount*" "account")
588 (define-method get_count
589 (of-object "EmpathyChatroomManager")
590 (c-name "empathy_chatroom_manager_get_count")
591 (return-type "guint")
593 '("EmpathyAccount*" "account")
597 (define-method observe
598 (of-object "EmpathyChatroomManager")
599 (c-name "empathy_chatroom_manager_observe")
602 '("EmpathyDispatcher*" "dispatcher")
608 ;; From empathy-call-factory.h
610 (define-function call_factory_get_type
611 (c-name "empathy_call_factory_get_type")
612 (return-type "GType")
615 (define-function call_factory_initialise
616 (c-name "empathy_call_factory_initialise")
617 (return-type "EmpathyCallFactory*")
620 (define-function call_factory_get
621 (c-name "empathy_call_factory_get")
622 (return-type "EmpathyCallFactory*")
625 (define-method new_call
626 (of-object "EmpathyCallFactory")
627 (c-name "empathy_call_factory_new_call")
630 '("EmpathyContact*" "contact")
634 (define-method new_call_with_streams
635 (of-object "EmpathyCallFactory")
636 (c-name "empathy_call_factory_new_call_with_streams")
639 '("EmpathyContact*" "contact")
640 '("gboolean" "initial_audio")
641 '("gboolean" "initial_video")
645 (define-method claim_channel
646 (of-object "EmpathyCallFactory")
647 (c-name "empathy_call_factory_claim_channel")
650 '("EmpathyDispatchOperation*" "operation")
656 ;; From empathy-call-handler.h
658 (define-function call_handler_get_type
659 (c-name "empathy_call_handler_get_type")
660 (return-type "GType")
663 (define-function call_handler_new_for_contact
664 (c-name "empathy_call_handler_new_for_contact")
665 (return-type "EmpathyCallHandler*")
667 '("EmpathyContact*" "contact")
671 (define-function call_handler_new_for_contact_with_streams
672 (c-name "empathy_call_handler_new_for_contact_with_streams")
673 (return-type "EmpathyCallHandler*")
675 '("EmpathyContact*" "contact")
676 '("gboolean" "audio")
677 '("gboolean" "video")
681 (define-function call_handler_new_for_channel
682 (c-name "empathy_call_handler_new_for_channel")
683 (return-type "EmpathyCallHandler*")
685 '("EmpathyTpCall*" "call")
689 (define-method start_call
690 (of-object "EmpathyCallHandler")
691 (c-name "empathy_call_handler_start_call")
695 (define-method stop_call
696 (of-object "EmpathyCallHandler")
697 (c-name "empathy_call_handler_stop_call")
701 (define-method has_initial_video
702 (of-object "EmpathyCallHandler")
703 (c-name "empathy_call_handler_has_initial_video")
704 (return-type "gboolean")
707 (define-method bus_message
708 (of-object "EmpathyCallHandler")
709 (c-name "empathy_call_handler_bus_message")
713 '("GstMessage*" "message")
719 ;; From empathy-contact.h
721 (define-function contact_get_type
722 (c-name "empathy_contact_get_type")
723 (return-type "GType")
726 (define-function contact_new
727 (c-name "empathy_contact_new")
728 (is-constructor-of "EmpathyContact")
729 (return-type "EmpathyContact*")
731 '("TpContact*" "tp_contact")
735 (define-function contact_new_for_log
736 (c-name "empathy_contact_new_for_log")
737 (return-type "EmpathyContact*")
739 '("EmpathyAccount*" "account")
740 '("const-gchar*" "id")
741 '("const-gchar*" "name")
742 '("gboolean" "is_user")
746 (define-method get_tp_contact
747 (of-object "EmpathyContact")
748 (c-name "empathy_contact_get_tp_contact")
749 (return-type "TpContact*")
752 (define-method get_id
753 (of-object "EmpathyContact")
754 (c-name "empathy_contact_get_id")
755 (return-type "const-gchar*")
758 (define-method set_id
759 (of-object "EmpathyContact")
760 (c-name "empathy_contact_set_id")
763 '("const-gchar*" "id")
767 (define-method get_name
768 (of-object "EmpathyContact")
769 (c-name "empathy_contact_get_name")
770 (return-type "const-gchar*")
773 (define-method set_name
774 (of-object "EmpathyContact")
775 (c-name "empathy_contact_set_name")
778 '("const-gchar*" "name")
782 (define-method get_avatar
783 (of-object "EmpathyContact")
784 (c-name "empathy_contact_get_avatar")
785 (return-type "EmpathyAvatar*")
788 (define-method set_avatar
789 (of-object "EmpathyContact")
790 (c-name "empathy_contact_set_avatar")
793 '("EmpathyAvatar*" "avatar")
797 (define-method get_account
798 (of-object "EmpathyContact")
799 (c-name "empathy_contact_get_account")
800 (return-type "EmpathyAccount*")
803 (define-method get_connection
804 (of-object "EmpathyContact")
805 (c-name "empathy_contact_get_connection")
806 (return-type "TpConnection*")
809 (define-method get_presence
810 (of-object "EmpathyContact")
811 (c-name "empathy_contact_get_presence")
812 (return-type "TpConnectionPresenceType")
815 (define-method set_presence
816 (of-object "EmpathyContact")
817 (c-name "empathy_contact_set_presence")
820 '("TpConnectionPresenceType" "presence")
824 (define-method get_presence_message
825 (of-object "EmpathyContact")
826 (c-name "empathy_contact_get_presence_message")
827 (return-type "const-gchar*")
830 (define-method set_presence_message
831 (of-object "EmpathyContact")
832 (c-name "empathy_contact_set_presence_message")
835 '("const-gchar*" "message")
839 (define-method get_handle
840 (of-object "EmpathyContact")
841 (c-name "empathy_contact_get_handle")
842 (return-type "guint")
845 (define-method set_handle
846 (of-object "EmpathyContact")
847 (c-name "empathy_contact_set_handle")
854 (define-method get_capabilities
855 (of-object "EmpathyContact")
856 (c-name "empathy_contact_get_capabilities")
857 (return-type "EmpathyCapabilities")
860 (define-method set_capabilities
861 (of-object "EmpathyContact")
862 (c-name "empathy_contact_set_capabilities")
865 '("EmpathyCapabilities" "capabilities")
869 (define-method is_user
870 (of-object "EmpathyContact")
871 (c-name "empathy_contact_is_user")
872 (return-type "gboolean")
875 (define-method set_is_user
876 (of-object "EmpathyContact")
877 (c-name "empathy_contact_set_is_user")
880 '("gboolean" "is_user")
884 (define-method is_online
885 (of-object "EmpathyContact")
886 (c-name "empathy_contact_is_online")
887 (return-type "gboolean")
890 (define-method get_status
891 (of-object "EmpathyContact")
892 (c-name "empathy_contact_get_status")
893 (return-type "const-gchar*")
896 (define-method can_voip
897 (of-object "EmpathyContact")
898 (c-name "empathy_contact_can_voip")
899 (return-type "gboolean")
902 (define-method can_send_files
903 (of-object "EmpathyContact")
904 (c-name "empathy_contact_can_send_files")
905 (return-type "gboolean")
908 (define-method can_use_stream_tube
909 (of-object "EmpathyContact")
910 (c-name "empathy_contact_can_use_stream_tube")
911 (return-type "gboolean")
914 (define-function contact_hash
915 (c-name "empathy_contact_hash")
916 (return-type "guint")
918 '("gconstpointer" "key")
922 (define-method load_avatar_data
923 (of-object "EmpathyContact")
924 (c-name "empathy_contact_load_avatar_data")
927 '("const-guchar*" "data")
928 '("const-gsize" "len")
929 '("const-gchar*" "format")
930 '("const-gchar*" "token")
934 (define-method load_avatar_cache
935 (of-object "EmpathyContact")
936 (c-name "empathy_contact_load_avatar_cache")
937 (return-type "gboolean")
939 '("const-gchar*" "token")
943 (define-function avatar_get_type
944 (c-name "empathy_avatar_get_type")
945 (return-type "GType")
948 (define-function avatar_new
949 (c-name "empathy_avatar_new")
950 (is-constructor-of "EmpathyAvatar")
951 (return-type "EmpathyAvatar*")
957 '("gchar*" "filename")
962 (of-object "EmpathyAvatar")
963 (c-name "empathy_avatar_ref")
964 (return-type "EmpathyAvatar*")
968 (of-object "EmpathyAvatar")
969 (c-name "empathy_avatar_unref")
973 (define-method save_to_file
974 (of-object "EmpathyAvatar")
975 (c-name "empathy_avatar_save_to_file")
976 (return-type "gboolean")
978 '("const-gchar*" "filename")
979 '("GError**" "error")
983 (define-method get_location
984 (of-object "EmpathyContact")
985 (c-name "empathy_contact_get_location")
986 (return-type "GHashTable*")
989 (define-method set_location
990 (of-object "EmpathyContact")
991 (c-name "empathy_contact_set_location")
994 '("GHashTable*" "location")
998 (define-function contact_equal
999 (c-name "empathy_contact_equal")
1000 (return-type "gboolean")
1002 '("gconstpointer" "contact1")
1003 '("gconstpointer" "contact2")
1009 ;; From empathy-contact-groups.h
1011 (define-function contact_groups_get_all
1012 (c-name "empathy_contact_groups_get_all")
1013 (return-type "none")
1016 (define-function contact_group_get_expanded
1017 (c-name "empathy_contact_group_get_expanded")
1018 (return-type "gboolean")
1020 '("const-gchar*" "group")
1024 (define-function contact_group_set_expanded
1025 (c-name "empathy_contact_group_set_expanded")
1026 (return-type "none")
1028 '("const-gchar*" "group")
1029 '("gboolean" "expanded")
1035 ;; From empathy-contact-list.h
1037 (define-function contact_list_get_type
1038 (c-name "empathy_contact_list_get_type")
1039 (return-type "GType")
1043 (of-object "EmpathyContactList")
1044 (c-name "empathy_contact_list_add")
1045 (return-type "none")
1047 '("EmpathyContact*" "contact")
1048 '("const-gchar*" "message")
1052 (define-method remove
1053 (of-object "EmpathyContactList")
1054 (c-name "empathy_contact_list_remove")
1055 (return-type "none")
1057 '("EmpathyContact*" "contact")
1058 '("const-gchar*" "message")
1062 (define-method get_members
1063 (of-object "EmpathyContactList")
1064 (c-name "empathy_contact_list_get_members")
1065 (return-type "GList*")
1068 (define-method get_pendings
1069 (of-object "EmpathyContactList")
1070 (c-name "empathy_contact_list_get_pendings")
1071 (return-type "GList*")
1074 (define-method get_all_groups
1075 (of-object "EmpathyContactList")
1076 (c-name "empathy_contact_list_get_all_groups")
1077 (return-type "GList*")
1080 (define-method get_groups
1081 (of-object "EmpathyContactList")
1082 (c-name "empathy_contact_list_get_groups")
1083 (return-type "GList*")
1085 '("EmpathyContact*" "contact")
1089 (define-method add_to_group
1090 (of-object "EmpathyContactList")
1091 (c-name "empathy_contact_list_add_to_group")
1092 (return-type "none")
1094 '("EmpathyContact*" "contact")
1095 '("const-gchar*" "group")
1099 (define-method remove_from_group
1100 (of-object "EmpathyContactList")
1101 (c-name "empathy_contact_list_remove_from_group")
1102 (return-type "none")
1104 '("EmpathyContact*" "contact")
1105 '("const-gchar*" "group")
1109 (define-method rename_group
1110 (of-object "EmpathyContactList")
1111 (c-name "empathy_contact_list_rename_group")
1112 (return-type "none")
1114 '("const-gchar*" "old_group")
1115 '("const-gchar*" "new_group")
1119 (define-method remove_group
1120 (of-object "EmpathyContactList")
1121 (c-name "empathy_contact_list_remove_group")
1122 (return-type "none")
1124 '("const-gchar*" "group")
1128 (define-method get_monitor
1129 (of-object "EmpathyContactList")
1130 (c-name "empathy_contact_list_get_monitor")
1131 (return-type "EmpathyContactMonitor*")
1136 ;; From empathy-contact-manager.h
1138 (define-function contact_manager_get_type
1139 (c-name "empathy_contact_manager_get_type")
1140 (return-type "GType")
1143 (define-function contact_manager_dup_singleton
1144 (c-name "empathy_contact_manager_dup_singleton")
1145 (return-type "EmpathyContactManager*")
1148 (define-method get_list
1149 (of-object "EmpathyContactManager")
1150 (c-name "empathy_contact_manager_get_list")
1151 (return-type "EmpathyTpContactList*")
1153 '("TpConnection*" "connection")
1157 (define-method can_add
1158 (of-object "EmpathyContactManager")
1159 (c-name "empathy_contact_manager_can_add")
1160 (return-type "gboolean")
1162 '("TpConnection*" "connection")
1168 ;; From empathy-contact-monitor.h
1170 (define-function contact_monitor_get_type
1171 (c-name "empathy_contact_monitor_get_type")
1172 (return-type "GType")
1175 (define-method set_iface
1176 (of-object "EmpathyContactMonitor")
1177 (c-name "empathy_contact_monitor_set_iface")
1178 (return-type "none")
1180 '("EmpathyContactList*" "iface")
1184 (define-function contact_monitor_new_for_iface
1185 (c-name "empathy_contact_monitor_new_for_iface")
1186 (return-type "EmpathyContactMonitor*")
1188 '("EmpathyContactList*" "iface")
1194 ;; From empathy-debug.h
1196 (define-function debug_flag_is_set
1197 (c-name "empathy_debug_flag_is_set")
1198 (return-type "gboolean")
1200 '("EmpathyDebugFlags" "flag")
1204 (define-function debug
1205 (c-name "empathy_debug")
1206 (return-type "none")
1208 '("EmpathyDebugFlags" "flag")
1209 '("const-gchar*" "format")
1214 (define-function debug_free
1215 (c-name "empathy_debug_free")
1216 (return-type "none")
1219 (define-function debug_set_flags
1220 (c-name "empathy_debug_set_flags")
1221 (return-type "none")
1223 '("const-gchar*" "flags_string")
1229 ;; From empathy-dispatcher.h
1231 (define-function dispatcher_get_type
1232 (c-name "empathy_dispatcher_get_type")
1233 (return-type "GType")
1236 (define-method create_channel
1237 (of-object "EmpathyDispatcher")
1238 (c-name "empathy_dispatcher_create_channel")
1239 (return-type "none")
1241 '("TpConnection*" "connection")
1242 '("GHashTable*" "request")
1243 '("EmpathyDispatcherRequestCb*" "callback")
1244 '("gpointer" "user_data")
1248 (define-function dispatcher_chat_with_contact_id
1249 (c-name "empathy_dispatcher_chat_with_contact_id")
1250 (return-type "none")
1252 '("TpConnection*" "connection")
1253 '("const-gchar*" "contact_id")
1254 '("EmpathyDispatcherRequestCb*" "callback")
1255 '("gpointer" "user_data")
1259 (define-function dispatcher_chat_with_contact
1260 (c-name "empathy_dispatcher_chat_with_contact")
1261 (return-type "none")
1263 '("EmpathyContact*" "contact")
1264 '("EmpathyDispatcherRequestCb*" "callback")
1265 '("gpointer" "user_data")
1269 (define-function dispatcher_send_file_to_contact
1270 (c-name "empathy_dispatcher_send_file_to_contact")
1271 (return-type "none")
1273 '("EmpathyContact*" "contact")
1274 '("const-gchar*" "filename")
1277 '("const-gchar*" "content_type")
1278 '("EmpathyDispatcherRequestCb*" "callback")
1279 '("gpointer" "user_data")
1283 (define-function dispatcher_join_muc
1284 (c-name "empathy_dispatcher_join_muc")
1285 (return-type "none")
1287 '("TpConnection*" "connection")
1288 '("const-gchar*" "roomname")
1289 '("EmpathyDispatcherRequestCb*" "callback")
1290 '("gpointer" "user_data")
1294 (define-method find_requestable_channel_classes_async
1295 (of-object "EmpathyDispatcher")
1296 (c-name "empathy_dispatcher_find_requestable_channel_classes_async")
1297 (return-type "none")
1299 '("TpConnection*" "connection")
1300 '("const-gchar*" "channel_type")
1301 '("guint" "handle_type")
1302 '("EmpathyDispatcherFindChannelClassCb" "callback")
1303 '("gpointer" "user_data")
1304 '("const-char*" "first_property_name")
1309 (define-method find_requestable_channel_classes
1310 (of-object "EmpathyDispatcher")
1311 (c-name "empathy_dispatcher_find_requestable_channel_classes")
1312 (return-type "GList*")
1314 '("TpConnection*" "connection")
1315 '("const-gchar*" "channel_type")
1316 '("guint" "handle_type")
1317 '("const-char*" "first_property_name")
1322 (define-function dispatcher_dup_singleton
1323 (c-name "empathy_dispatcher_dup_singleton")
1324 (return-type "EmpathyDispatcher*")
1329 ;; From empathy-dispatch-operation.h
1331 (define-function dispatch_operation_get_type
1332 (c-name "empathy_dispatch_operation_get_type")
1333 (return-type "GType")
1336 (define-function dispatch_operation_new
1337 (c-name "empathy_dispatch_operation_new")
1338 (is-constructor-of "EmpathyDispatchOperation")
1339 (return-type "EmpathyDispatchOperation*")
1341 '("TpConnection*" "connection")
1342 '("TpChannel*" "channel")
1343 '("EmpathyContact*" "contact")
1344 '("gboolean" "incoming")
1348 (define-function dispatch_operation_new_with_wrapper
1349 (c-name "empathy_dispatch_operation_new_with_wrapper")
1350 (return-type "EmpathyDispatchOperation*")
1352 '("TpConnection*" "connection")
1353 '("TpChannel*" "channel")
1354 '("EmpathyContact*" "contact")
1355 '("gboolean" "incoming")
1356 '("GObject*" "channel_wrapper")
1360 (define-method start
1361 (of-object "EmpathyDispatchOperation")
1362 (c-name "empathy_dispatch_operation_start")
1363 (return-type "none")
1366 (define-method approve
1367 (of-object "EmpathyDispatchOperation")
1368 (c-name "empathy_dispatch_operation_approve")
1369 (return-type "none")
1372 (define-method claim
1373 (of-object "EmpathyDispatchOperation")
1374 (c-name "empathy_dispatch_operation_claim")
1375 (return-type "gboolean")
1378 (define-method get_channel
1379 (of-object "EmpathyDispatchOperation")
1380 (c-name "empathy_dispatch_operation_get_channel")
1381 (return-type "TpChannel*")
1384 (define-method get_channel_wrapper
1385 (of-object "EmpathyDispatchOperation")
1386 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1387 (return-type "GObject*")
1390 (define-method get_tp_connection
1391 (of-object "EmpathyDispatchOperation")
1392 (c-name "empathy_dispatch_operation_get_tp_connection")
1393 (return-type "TpConnection*")
1396 (define-method get_channel_type
1397 (of-object "EmpathyDispatchOperation")
1398 (c-name "empathy_dispatch_operation_get_channel_type")
1399 (return-type "const-gchar*")
1402 (define-method get_channel_type_id
1403 (of-object "EmpathyDispatchOperation")
1404 (c-name "empathy_dispatch_operation_get_channel_type_id")
1405 (return-type "GQuark")
1408 (define-method get_object_path
1409 (of-object "EmpathyDispatchOperation")
1410 (c-name "empathy_dispatch_operation_get_object_path")
1411 (return-type "const-gchar*")
1414 (define-method get_status
1415 (of-object "EmpathyDispatchOperation")
1416 (c-name "empathy_dispatch_operation_get_status")
1417 (return-type "EmpathyDispatchOperationState")
1420 (define-method is_incoming
1421 (of-object "EmpathyDispatchOperation")
1422 (c-name "empathy_dispatch_operation_is_incoming")
1423 (return-type "gboolean")
1428 ;; From empathy-ft-factory.h
1430 (define-function ft_factory_get_type
1431 (c-name "empathy_ft_factory_get_type")
1432 (return-type "GType")
1435 (define-function ft_factory_dup_singleton
1436 (c-name "empathy_ft_factory_dup_singleton")
1437 (return-type "EmpathyFTFactory*")
1440 (define-method new_transfer_outgoing
1441 (of-object "EmpathyFTFactory")
1442 (c-name "empathy_ft_factory_new_transfer_outgoing")
1443 (return-type "none")
1445 '("EmpathyContact*" "contact")
1446 '("GFile*" "source")
1450 (define-method claim_channel
1451 (of-object "EmpathyFTFactory")
1452 (c-name "empathy_ft_factory_claim_channel")
1453 (return-type "none")
1455 '("EmpathyDispatchOperation*" "operation")
1459 (define-method set_destination_for_incoming_handler
1460 (of-object "EmpathyFTFactory")
1461 (c-name "empathy_ft_factory_set_destination_for_incoming_handler")
1462 (return-type "none")
1464 '("EmpathyFTHandler*" "handler")
1465 '("GFile*" "destination")
1471 ;; From empathy-ft-handler.h
1473 (define-function ft_handler_get_type
1474 (c-name "empathy_ft_handler_get_type")
1475 (return-type "GType")
1478 (define-function ft_handler_new_outgoing
1479 (c-name "empathy_ft_handler_new_outgoing")
1480 (return-type "none")
1482 '("EmpathyContact*" "contact")
1483 '("GFile*" "source")
1484 '("EmpathyFTHandlerReadyCallback" "callback")
1485 '("gpointer" "user_data")
1489 (define-function ft_handler_new_incoming
1490 (c-name "empathy_ft_handler_new_incoming")
1491 (return-type "none")
1493 '("EmpathyTpFile*" "tp_file")
1494 '("EmpathyFTHandlerReadyCallback" "callback")
1495 '("gpointer" "user_data")
1499 (define-method incoming_set_destination
1500 (of-object "EmpathyFTHandler")
1501 (c-name "empathy_ft_handler_incoming_set_destination")
1502 (return-type "none")
1504 '("GFile*" "destination")
1508 (define-method start_transfer
1509 (of-object "EmpathyFTHandler")
1510 (c-name "empathy_ft_handler_start_transfer")
1511 (return-type "none")
1514 (define-method cancel_transfer
1515 (of-object "EmpathyFTHandler")
1516 (c-name "empathy_ft_handler_cancel_transfer")
1517 (return-type "none")
1520 (define-method get_filename
1521 (of-object "EmpathyFTHandler")
1522 (c-name "empathy_ft_handler_get_filename")
1523 (return-type "const-char*")
1526 (define-method get_content_type
1527 (of-object "EmpathyFTHandler")
1528 (c-name "empathy_ft_handler_get_content_type")
1529 (return-type "const-char*")
1532 (define-method get_contact
1533 (of-object "EmpathyFTHandler")
1534 (c-name "empathy_ft_handler_get_contact")
1535 (return-type "EmpathyContact*")
1538 (define-method get_gfile
1539 (of-object "EmpathyFTHandler")
1540 (c-name "empathy_ft_handler_get_gfile")
1541 (return-type "GFile*")
1544 (define-method get_use_hash
1545 (of-object "EmpathyFTHandler")
1546 (c-name "empathy_ft_handler_get_use_hash")
1547 (return-type "gboolean")
1550 (define-method is_incoming
1551 (of-object "EmpathyFTHandler")
1552 (c-name "empathy_ft_handler_is_incoming")
1553 (return-type "gboolean")
1556 (define-method get_transferred_bytes
1557 (of-object "EmpathyFTHandler")
1558 (c-name "empathy_ft_handler_get_transferred_bytes")
1559 (return-type "guint64")
1562 (define-method get_total_bytes
1563 (of-object "EmpathyFTHandler")
1564 (c-name "empathy_ft_handler_get_total_bytes")
1565 (return-type "guint64")
1568 (define-method is_completed
1569 (of-object "EmpathyFTHandler")
1570 (c-name "empathy_ft_handler_is_completed")
1571 (return-type "gboolean")
1574 (define-method is_cancelled
1575 (of-object "EmpathyFTHandler")
1576 (c-name "empathy_ft_handler_is_cancelled")
1577 (return-type "gboolean")
1582 ;; From empathy-idle.h
1584 (define-function idle_get_type
1585 (c-name "empathy_idle_get_type")
1586 (return-type "GType")
1589 (define-function idle_dup_singleton
1590 (c-name "empathy_idle_dup_singleton")
1591 (return-type "EmpathyIdle*")
1594 (define-method get_state
1595 (of-object "EmpathyIdle")
1596 (c-name "empathy_idle_get_state")
1597 (return-type "TpConnectionPresenceType")
1600 (define-method set_state
1601 (of-object "EmpathyIdle")
1602 (c-name "empathy_idle_set_state")
1603 (return-type "none")
1605 '("TpConnectionPresenceType" "state")
1609 (define-method get_status
1610 (of-object "EmpathyIdle")
1611 (c-name "empathy_idle_get_status")
1612 (return-type "const-gchar*")
1615 (define-method set_status
1616 (of-object "EmpathyIdle")
1617 (c-name "empathy_idle_set_status")
1618 (return-type "none")
1620 '("const-gchar*" "status")
1624 (define-method get_flash_state
1625 (of-object "EmpathyIdle")
1626 (c-name "empathy_idle_get_flash_state")
1627 (return-type "TpConnectionPresenceType")
1630 (define-method set_flash_state
1631 (of-object "EmpathyIdle")
1632 (c-name "empathy_idle_set_flash_state")
1633 (return-type "none")
1635 '("TpConnectionPresenceType" "state")
1639 (define-method set_presence
1640 (of-object "EmpathyIdle")
1641 (c-name "empathy_idle_set_presence")
1642 (return-type "none")
1644 '("TpConnectionPresenceType" "state")
1645 '("const-gchar*" "status")
1649 (define-method get_auto_away
1650 (of-object "EmpathyIdle")
1651 (c-name "empathy_idle_get_auto_away")
1652 (return-type "gboolean")
1655 (define-method set_auto_away
1656 (of-object "EmpathyIdle")
1657 (c-name "empathy_idle_set_auto_away")
1658 (return-type "none")
1660 '("gboolean" "auto_away")
1664 (define-method get_use_nm
1665 (of-object "EmpathyIdle")
1666 (c-name "empathy_idle_get_use_nm")
1667 (return-type "gboolean")
1670 (define-method set_use_nm
1671 (of-object "EmpathyIdle")
1672 (c-name "empathy_idle_set_use_nm")
1673 (return-type "none")
1675 '("gboolean" "use_nm")
1681 ;; From empathy-irc-network.h
1683 (define-function irc_network_get_type
1684 (c-name "empathy_irc_network_get_type")
1685 (return-type "GType")
1688 (define-function irc_network_new
1689 (c-name "empathy_irc_network_new")
1690 (is-constructor-of "EmpathyIrcNetwork")
1691 (return-type "EmpathyIrcNetwork*")
1693 '("const-gchar*" "name")
1697 (define-method get_servers
1698 (of-object "EmpathyIrcNetwork")
1699 (c-name "empathy_irc_network_get_servers")
1700 (return-type "GSList*")
1703 (define-method append_server
1704 (of-object "EmpathyIrcNetwork")
1705 (c-name "empathy_irc_network_append_server")
1706 (return-type "none")
1708 '("EmpathyIrcServer*" "server")
1712 (define-method remove_server
1713 (of-object "EmpathyIrcNetwork")
1714 (c-name "empathy_irc_network_remove_server")
1715 (return-type "none")
1717 '("EmpathyIrcServer*" "server")
1721 (define-method set_server_position
1722 (of-object "EmpathyIrcNetwork")
1723 (c-name "empathy_irc_network_set_server_position")
1724 (return-type "none")
1726 '("EmpathyIrcServer*" "server")
1733 ;; From empathy-irc-network-manager.h
1735 (define-function irc_network_manager_get_type
1736 (c-name "empathy_irc_network_manager_get_type")
1737 (return-type "GType")
1740 (define-function irc_network_manager_new
1741 (c-name "empathy_irc_network_manager_new")
1742 (is-constructor-of "EmpathyIrcNetworkManager")
1743 (return-type "EmpathyIrcNetworkManager*")
1745 '("const-gchar*" "global_file")
1746 '("const-gchar*" "user_file")
1751 (of-object "EmpathyIrcNetworkManager")
1752 (c-name "empathy_irc_network_manager_add")
1753 (return-type "none")
1755 '("EmpathyIrcNetwork*" "network")
1759 (define-method remove
1760 (of-object "EmpathyIrcNetworkManager")
1761 (c-name "empathy_irc_network_manager_remove")
1762 (return-type "none")
1764 '("EmpathyIrcNetwork*" "network")
1768 (define-method get_networks
1769 (of-object "EmpathyIrcNetworkManager")
1770 (c-name "empathy_irc_network_manager_get_networks")
1771 (return-type "GSList*")
1774 (define-method find_network_by_address
1775 (of-object "EmpathyIrcNetworkManager")
1776 (c-name "empathy_irc_network_manager_find_network_by_address")
1777 (return-type "EmpathyIrcNetwork*")
1779 '("const-gchar*" "address")
1785 ;; From empathy-irc-server.h
1787 (define-function irc_server_get_type
1788 (c-name "empathy_irc_server_get_type")
1789 (return-type "GType")
1792 (define-function irc_server_new
1793 (c-name "empathy_irc_server_new")
1794 (is-constructor-of "EmpathyIrcServer")
1795 (return-type "EmpathyIrcServer*")
1797 '("const-gchar*" "address")
1805 ;; From empathy-log-manager.h
1807 (define-function log_manager_get_type
1808 (c-name "empathy_log_manager_get_type")
1809 (return-type "GType")
1812 (define-function log_manager_dup_singleton
1813 (c-name "empathy_log_manager_dup_singleton")
1814 (return-type "EmpathyLogManager*")
1817 (define-method add_message
1818 (of-object "EmpathyLogManager")
1819 (c-name "empathy_log_manager_add_message")
1820 (return-type "gboolean")
1822 '("const-gchar*" "chat_id")
1823 '("gboolean" "chatroom")
1824 '("EmpathyMessage*" "message")
1825 '("GError**" "error")
1829 (define-method exists
1830 (of-object "EmpathyLogManager")
1831 (c-name "empathy_log_manager_exists")
1832 (return-type "gboolean")
1834 '("EmpathyAccount*" "account")
1835 '("const-gchar*" "chat_id")
1836 '("gboolean" "chatroom")
1840 (define-method get_dates
1841 (of-object "EmpathyLogManager")
1842 (c-name "empathy_log_manager_get_dates")
1843 (return-type "GList*")
1845 '("EmpathyAccount*" "account")
1846 '("const-gchar*" "chat_id")
1847 '("gboolean" "chatroom")
1851 (define-method get_messages_for_date
1852 (of-object "EmpathyLogManager")
1853 (c-name "empathy_log_manager_get_messages_for_date")
1854 (return-type "GList*")
1856 '("EmpathyAccount*" "account")
1857 '("const-gchar*" "chat_id")
1858 '("gboolean" "chatroom")
1859 '("const-gchar*" "date")
1863 (define-method get_filtered_messages
1864 (of-object "EmpathyLogManager")
1865 (c-name "empathy_log_manager_get_filtered_messages")
1866 (return-type "GList*")
1868 '("EmpathyAccount*" "account")
1869 '("const-gchar*" "chat_id")
1870 '("gboolean" "chatroom")
1871 '("guint" "num_messages")
1872 '("EmpathyLogMessageFilter" "filter")
1873 '("gpointer" "user_data")
1877 (define-method get_chats
1878 (of-object "EmpathyLogManager")
1879 (c-name "empathy_log_manager_get_chats")
1880 (return-type "GList*")
1882 '("EmpathyAccount*" "account")
1886 (define-method search_new
1887 (of-object "EmpathyLogManager")
1888 (c-name "empathy_log_manager_search_new")
1889 (return-type "GList*")
1891 '("const-gchar*" "text")
1895 (define-function log_manager_search_free
1896 (c-name "empathy_log_manager_search_free")
1897 (return-type "none")
1903 (define-function log_manager_get_date_readable
1904 (c-name "empathy_log_manager_get_date_readable")
1905 (return-type "gchar*")
1907 '("const-gchar*" "date")
1911 (define-function log_manager_search_hit_free
1912 (c-name "empathy_log_manager_search_hit_free")
1913 (return-type "none")
1915 '("EmpathyLogSearchHit*" "hit")
1919 (define-method observe
1920 (of-object "EmpathyLogManager")
1921 (c-name "empathy_log_manager_observe")
1922 (return-type "none")
1924 '("EmpathyDispatcher*" "dispatcher")
1930 ;; From empathy-log-store.h
1932 (define-function log_store_get_type
1933 (c-name "empathy_log_store_get_type")
1934 (return-type "GType")
1937 (define-method get_name
1938 (of-object "EmpathyLogStore")
1939 (c-name "empathy_log_store_get_name")
1940 (return-type "const-gchar*")
1943 (define-method exists
1944 (of-object "EmpathyLogStore")
1945 (c-name "empathy_log_store_exists")
1946 (return-type "gboolean")
1948 '("EmpathyAccount*" "account")
1949 '("const-gchar*" "chat_id")
1950 '("gboolean" "chatroom")
1954 (define-method add_message
1955 (of-object "EmpathyLogStore")
1956 (c-name "empathy_log_store_add_message")
1957 (return-type "gboolean")
1959 '("const-gchar*" "chat_id")
1960 '("gboolean" "chatroom")
1961 '("EmpathyMessage*" "message")
1962 '("GError**" "error")
1966 (define-method get_dates
1967 (of-object "EmpathyLogStore")
1968 (c-name "empathy_log_store_get_dates")
1969 (return-type "GList*")
1971 '("EmpathyAccount*" "account")
1972 '("const-gchar*" "chat_id")
1973 '("gboolean" "chatroom")
1977 (define-method get_messages_for_date
1978 (of-object "EmpathyLogStore")
1979 (c-name "empathy_log_store_get_messages_for_date")
1980 (return-type "GList*")
1982 '("EmpathyAccount*" "account")
1983 '("const-gchar*" "chat_id")
1984 '("gboolean" "chatroom")
1985 '("const-gchar*" "date")
1989 (define-method get_last_messages
1990 (of-object "EmpathyLogStore")
1991 (c-name "empathy_log_store_get_last_messages")
1992 (return-type "GList*")
1994 '("EmpathyAccount*" "account")
1995 '("const-gchar*" "chat_id")
1996 '("gboolean" "chatroom")
2000 (define-method get_chats
2001 (of-object "EmpathyLogStore")
2002 (c-name "empathy_log_store_get_chats")
2003 (return-type "GList*")
2005 '("EmpathyAccount*" "account")
2009 (define-method search_new
2010 (of-object "EmpathyLogStore")
2011 (c-name "empathy_log_store_search_new")
2012 (return-type "GList*")
2014 '("const-gchar*" "text")
2018 (define-method ack_message
2019 (of-object "EmpathyLogStore")
2020 (c-name "empathy_log_store_ack_message")
2021 (return-type "none")
2023 '("const-gchar*" "chat_id")
2024 '("gboolean" "chatroom")
2025 '("EmpathyMessage*" "message")
2029 (define-method get_filtered_messages
2030 (of-object "EmpathyLogStore")
2031 (c-name "empathy_log_store_get_filtered_messages")
2032 (return-type "GList*")
2034 '("EmpathyAccount*" "account")
2035 '("const-gchar*" "chat_id")
2036 '("gboolean" "chatroom")
2037 '("guint" "num_messages")
2038 '("EmpathyLogMessageFilter" "filter")
2039 '("gpointer" "user_data")
2045 ;; From empathy-log-store-empathy.h
2047 (define-function log_store_empathy_get_type
2048 (c-name "empathy_log_store_empathy_get_type")
2049 (return-type "GType")
2054 ;; From empathy-message.h
2056 (define-function message_get_type
2057 (c-name "empathy_message_get_type")
2058 (return-type "GType")
2061 (define-function message_new
2062 (c-name "empathy_message_new")
2063 (is-constructor-of "EmpathyMessage")
2064 (return-type "EmpathyMessage*")
2066 '("const-gchar*" "body")
2070 (define-method get_tptype
2071 (of-object "EmpathyMessage")
2072 (c-name "empathy_message_get_tptype")
2073 (return-type "TpChannelTextMessageType")
2076 (define-method set_tptype
2077 (of-object "EmpathyMessage")
2078 (c-name "empathy_message_set_tptype")
2079 (return-type "none")
2081 '("TpChannelTextMessageType" "type")
2085 (define-method get_sender
2086 (of-object "EmpathyMessage")
2087 (c-name "empathy_message_get_sender")
2088 (return-type "EmpathyContact*")
2091 (define-method set_sender
2092 (of-object "EmpathyMessage")
2093 (c-name "empathy_message_set_sender")
2094 (return-type "none")
2096 '("EmpathyContact*" "contact")
2100 (define-method get_receiver
2101 (of-object "EmpathyMessage")
2102 (c-name "empathy_message_get_receiver")
2103 (return-type "EmpathyContact*")
2106 (define-method set_receiver
2107 (of-object "EmpathyMessage")
2108 (c-name "empathy_message_set_receiver")
2109 (return-type "none")
2111 '("EmpathyContact*" "contact")
2115 (define-method get_body
2116 (of-object "EmpathyMessage")
2117 (c-name "empathy_message_get_body")
2118 (return-type "const-gchar*")
2121 (define-method set_body
2122 (of-object "EmpathyMessage")
2123 (c-name "empathy_message_set_body")
2124 (return-type "none")
2126 '("const-gchar*" "body")
2130 (define-method get_timestamp
2131 (of-object "EmpathyMessage")
2132 (c-name "empathy_message_get_timestamp")
2133 (return-type "time_t")
2136 (define-method set_timestamp
2137 (of-object "EmpathyMessage")
2138 (c-name "empathy_message_set_timestamp")
2139 (return-type "none")
2141 '("time_t" "timestamp")
2145 (define-method should_highlight
2146 (of-object "EmpathyMessage")
2147 (c-name "empathy_message_should_highlight")
2148 (return-type "gboolean")
2151 (define-function message_type_from_str
2152 (c-name "empathy_message_type_from_str")
2153 (return-type "TpChannelTextMessageType")
2155 '("const-gchar*" "type_str")
2159 (define-function message_type_to_str
2160 (c-name "empathy_message_type_to_str")
2161 (return-type "const-gchar*")
2163 '("TpChannelTextMessageType" "type")
2167 (define-method get_id
2168 (of-object "EmpathyMessage")
2169 (c-name "empathy_message_get_id")
2170 (return-type "guint")
2173 (define-method set_id
2174 (of-object "EmpathyMessage")
2175 (c-name "empathy_message_set_id")
2176 (return-type "none")
2182 (define-method equal
2183 (of-object "EmpathyMessage")
2184 (c-name "empathy_message_equal")
2185 (return-type "gboolean")
2187 '("EmpathyMessage*" "message2")
2193 ;; From empathy-status-presets.h
2195 (define-function status_presets_get_all
2196 (c-name "empathy_status_presets_get_all")
2197 (return-type "none")
2200 (define-function status_presets_get
2201 (c-name "empathy_status_presets_get")
2202 (return-type "GList*")
2204 '("TpConnectionPresenceType" "state")
2205 '("gint" "max_number")
2209 (define-function status_presets_set_last
2210 (c-name "empathy_status_presets_set_last")
2211 (return-type "none")
2213 '("TpConnectionPresenceType" "state")
2214 '("const-gchar*" "status")
2218 (define-function status_presets_remove
2219 (c-name "empathy_status_presets_remove")
2220 (return-type "none")
2222 '("TpConnectionPresenceType" "state")
2223 '("const-gchar*" "status")
2227 (define-function status_presets_reset
2228 (c-name "empathy_status_presets_reset")
2229 (return-type "none")
2232 (define-function status_presets_get_default_state
2233 (c-name "empathy_status_presets_get_default_state")
2234 (return-type "TpConnectionPresenceType")
2237 (define-function status_presets_get_default_status
2238 (c-name "empathy_status_presets_get_default_status")
2239 (return-type "const-gchar*")
2242 (define-function status_presets_set_default
2243 (c-name "empathy_status_presets_set_default")
2244 (return-type "none")
2246 '("TpConnectionPresenceType" "state")
2247 '("const-gchar*" "status")
2251 (define-function status_presets_clear_default
2252 (c-name "empathy_status_presets_clear_default")
2253 (return-type "none")
2256 (define-function status_presets_is_valid
2257 (c-name "empathy_status_presets_is_valid")
2258 (return-type "gboolean")
2260 '("TpConnectionPresenceType" "state")
2266 ;; From empathy-time.h
2268 (define-function time_get_current
2269 (c-name "empathy_time_get_current")
2270 (return-type "time_t")
2273 (define-function time_get_local_time
2274 (c-name "empathy_time_get_local_time")
2275 (return-type "time_t")
2277 '("struct-tm*" "tm")
2281 (define-function time_parse
2282 (c-name "empathy_time_parse")
2283 (return-type "time_t")
2285 '("const-gchar*" "str")
2289 (define-function time_to_string_utc
2290 (c-name "empathy_time_to_string_utc")
2291 (return-type "gchar*")
2294 '("const-gchar*" "format")
2298 (define-function time_to_string_local
2299 (c-name "empathy_time_to_string_local")
2300 (return-type "gchar*")
2303 '("const-gchar*" "format")
2307 (define-function time_to_string_relative
2308 (c-name "empathy_time_to_string_relative")
2309 (return-type "gchar*")
2317 ;; From empathy-tp-call.h
2319 (define-function tp_call_get_type
2320 (c-name "empathy_tp_call_get_type")
2321 (return-type "GType")
2324 (define-function tp_call_new
2325 (c-name "empathy_tp_call_new")
2326 (is-constructor-of "EmpathyTpCall")
2327 (return-type "EmpathyTpCall*")
2329 '("TpChannel*" "channel")
2333 (define-method close
2334 (of-object "EmpathyTpCall")
2335 (c-name "empathy_tp_call_close")
2336 (return-type "none")
2340 (of-object "EmpathyTpCall")
2341 (c-name "empathy_tp_call_to")
2342 (return-type "none")
2344 '("EmpathyContact*" "contact")
2345 '("gboolean" "audio")
2346 '("gboolean" "video")
2350 (define-method accept_incoming_call
2351 (of-object "EmpathyTpCall")
2352 (c-name "empathy_tp_call_accept_incoming_call")
2353 (return-type "none")
2356 (define-method request_video_stream_direction
2357 (of-object "EmpathyTpCall")
2358 (c-name "empathy_tp_call_request_video_stream_direction")
2359 (return-type "none")
2361 '("gboolean" "is_sending")
2365 (define-method start_tone
2366 (of-object "EmpathyTpCall")
2367 (c-name "empathy_tp_call_start_tone")
2368 (return-type "none")
2370 '("TpDTMFEvent" "event")
2374 (define-method stop_tone
2375 (of-object "EmpathyTpCall")
2376 (c-name "empathy_tp_call_stop_tone")
2377 (return-type "none")
2380 (define-method has_dtmf
2381 (of-object "EmpathyTpCall")
2382 (c-name "empathy_tp_call_has_dtmf")
2383 (return-type "gboolean")
2386 (define-method is_receiving_video
2387 (of-object "EmpathyTpCall")
2388 (c-name "empathy_tp_call_is_receiving_video")
2389 (return-type "gboolean")
2392 (define-method is_sending_video
2393 (of-object "EmpathyTpCall")
2394 (c-name "empathy_tp_call_is_sending_video")
2395 (return-type "gboolean")
2400 ;; From empathy-tp-chat.h
2402 (define-function tp_chat_get_type
2403 (c-name "empathy_tp_chat_get_type")
2404 (return-type "GType")
2407 (define-function tp_chat_new
2408 (c-name "empathy_tp_chat_new")
2409 (is-constructor-of "EmpathyTpChat")
2410 (return-type "EmpathyTpChat*")
2412 '("TpChannel*" "channel")
2416 (define-method close
2417 (of-object "EmpathyTpChat")
2418 (c-name "empathy_tp_chat_close")
2419 (return-type "none")
2422 (define-method get_id
2423 (of-object "EmpathyTpChat")
2424 (c-name "empathy_tp_chat_get_id")
2425 (return-type "const-gchar*")
2428 (define-method get_remote_contact
2429 (of-object "EmpathyTpChat")
2430 (c-name "empathy_tp_chat_get_remote_contact")
2431 (return-type "EmpathyContact*")
2434 (define-method get_channel
2435 (of-object "EmpathyTpChat")
2436 (c-name "empathy_tp_chat_get_channel")
2437 (return-type "TpChannel*")
2440 (define-method get_connection
2441 (of-object "EmpathyTpChat")
2442 (c-name "empathy_tp_chat_get_connection")
2443 (return-type "TpConnection*")
2446 (define-method is_ready
2447 (of-object "EmpathyTpChat")
2448 (c-name "empathy_tp_chat_is_ready")
2449 (return-type "gboolean")
2453 (of-object "EmpathyTpChat")
2454 (c-name "empathy_tp_chat_send")
2455 (return-type "none")
2457 '("EmpathyMessage*" "message")
2461 (define-method set_state
2462 (of-object "EmpathyTpChat")
2463 (c-name "empathy_tp_chat_set_state")
2464 (return-type "none")
2466 '("TpChannelChatState" "state")
2470 (define-method set_property
2471 (of-object "EmpathyTpChat")
2472 (c-name "empathy_tp_chat_set_property")
2473 (return-type "none")
2475 '("const-gchar*" "name")
2476 '("const-GValue*" "value")
2480 (define-method get_pending_messages
2481 (of-object "EmpathyTpChat")
2482 (c-name "empathy_tp_chat_get_pending_messages")
2483 (return-type "const-GList*")
2486 (define-method acknowledge_message
2487 (of-object "EmpathyTpChat")
2488 (c-name "empathy_tp_chat_acknowledge_message")
2489 (return-type "none")
2491 '("EmpathyMessage*" "message")
2495 (define-method acknowledge_messages
2496 (of-object "EmpathyTpChat")
2497 (c-name "empathy_tp_chat_acknowledge_messages")
2498 (return-type "none")
2500 '("const-GList*" "messages")
2506 ;; From empathy-tp-contact-factory.h
2508 (define-function tp_contact_factory_get_type
2509 (c-name "empathy_tp_contact_factory_get_type")
2510 (return-type "GType")
2513 (define-function tp_contact_factory_dup_singleton
2514 (c-name "empathy_tp_contact_factory_dup_singleton")
2515 (return-type "EmpathyTpContactFactory*")
2517 '("TpConnection*" "connection")
2521 (define-method get_from_ids
2522 (of-object "EmpathyTpContactFactory")
2523 (c-name "empathy_tp_contact_factory_get_from_ids")
2524 (return-type "none")
2527 '("const-gchar*-const*" "ids")
2528 '("EmpathyTpContactFactoryContactsByIdCb" "callback")
2529 '("gpointer" "user_data")
2530 '("GDestroyNotify" "destroy")
2531 '("GObject*" "weak_object")
2535 (define-method get_from_handles
2536 (of-object "EmpathyTpContactFactory")
2537 (c-name "empathy_tp_contact_factory_get_from_handles")
2538 (return-type "none")
2540 '("guint" "n_handles")
2541 '("const-TpHandle*" "handles")
2542 '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
2543 '("gpointer" "user_data")
2544 '("GDestroyNotify" "destroy")
2545 '("GObject*" "weak_object")
2549 (define-method get_from_id
2550 (of-object "EmpathyTpContactFactory")
2551 (c-name "empathy_tp_contact_factory_get_from_id")
2552 (return-type "none")
2554 '("const-gchar*" "id")
2555 '("EmpathyTpContactFactoryContactCb" "callback")
2556 '("gpointer" "user_data")
2557 '("GDestroyNotify" "destroy")
2558 '("GObject*" "weak_object")
2562 (define-method get_from_handle
2563 (of-object "EmpathyTpContactFactory")
2564 (c-name "empathy_tp_contact_factory_get_from_handle")
2565 (return-type "none")
2567 '("TpHandle" "handle")
2568 '("EmpathyTpContactFactoryContactCb" "callback")
2569 '("gpointer" "user_data")
2570 '("GDestroyNotify" "destroy")
2571 '("GObject*" "weak_object")
2575 (define-method set_alias
2576 (of-object "EmpathyTpContactFactory")
2577 (c-name "empathy_tp_contact_factory_set_alias")
2578 (return-type "none")
2580 '("EmpathyContact*" "contact")
2581 '("const-gchar*" "alias")
2585 (define-method set_avatar
2586 (of-object "EmpathyTpContactFactory")
2587 (c-name "empathy_tp_contact_factory_set_avatar")
2588 (return-type "none")
2590 '("const-gchar*" "data")
2592 '("const-gchar*" "mime_type")
2596 (define-method set_location
2597 (of-object "EmpathyTpContactFactory")
2598 (c-name "empathy_tp_contact_factory_set_location")
2599 (return-type "none")
2601 '("GHashTable*" "location")
2607 ;; From empathy-tp-contact-list.h
2609 (define-function tp_contact_list_get_type
2610 (c-name "empathy_tp_contact_list_get_type")
2611 (return-type "GType")
2614 (define-function tp_contact_list_new
2615 (c-name "empathy_tp_contact_list_new")
2616 (is-constructor-of "EmpathyTpContactList")
2617 (return-type "EmpathyTpContactList*")
2619 '("TpConnection*" "connection")
2623 (define-method get_connection
2624 (of-object "EmpathyTpContactList")
2625 (c-name "empathy_tp_contact_list_get_connection")
2626 (return-type "TpConnection*")
2629 (define-method can_add
2630 (of-object "EmpathyTpContactList")
2631 (c-name "empathy_tp_contact_list_can_add")
2632 (return-type "gboolean")
2635 (define-method remove_all
2636 (of-object "EmpathyTpContactList")
2637 (c-name "empathy_tp_contact_list_remove_all")
2638 (return-type "none")
2643 ;; From empathy-tp-file.h
2645 (define-function tp_file_get_type
2646 (c-name "empathy_tp_file_get_type")
2647 (return-type "GType")
2650 (define-function tp_file_new
2651 (c-name "empathy_tp_file_new")
2652 (is-constructor-of "EmpathyTpFile")
2653 (return-type "EmpathyTpFile*")
2655 '("TpChannel*" "channel")
2656 '("gboolean" "incoming")
2660 (define-method accept
2661 (of-object "EmpathyTpFile")
2662 (c-name "empathy_tp_file_accept")
2663 (return-type "none")
2665 '("guint64" "offset")
2667 '("GCancellable*" "cancellable")
2668 '("EmpathyTpFileProgressCallback" "progress_callback")
2669 '("gpointer" "progress_user_data")
2670 '("EmpathyTpFileOperationCallback" "op_callback")
2671 '("gpointer" "op_user_data")
2675 (define-method offer
2676 (of-object "EmpathyTpFile")
2677 (c-name "empathy_tp_file_offer")
2678 (return-type "none")
2681 '("GCancellable*" "cancellable")
2682 '("EmpathyTpFileProgressCallback" "progress_callback")
2683 '("gpointer" "progress_user_data")
2684 '("EmpathyTpFileOperationCallback" "op_callback")
2685 '("gpointer" "op_user_data")
2689 (define-method cancel
2690 (of-object "EmpathyTpFile")
2691 (c-name "empathy_tp_file_cancel")
2692 (return-type "none")
2695 (define-method close
2696 (of-object "EmpathyTpFile")
2697 (c-name "empathy_tp_file_close")
2698 (return-type "none")
2701 (define-method is_incoming
2702 (of-object "EmpathyTpFile")
2703 (c-name "empathy_tp_file_is_incoming")
2704 (return-type "gboolean")
2709 ;; From empathy-tp-roomlist.h
2711 (define-function tp_roomlist_get_type
2712 (c-name "empathy_tp_roomlist_get_type")
2713 (return-type "GType")
2716 (define-function tp_roomlist_new
2717 (c-name "empathy_tp_roomlist_new")
2718 (is-constructor-of "EmpathyTpRoomlist")
2719 (return-type "EmpathyTpRoomlist*")
2721 '("EmpathyAccount*" "account")
2725 (define-method is_listing
2726 (of-object "EmpathyTpRoomlist")
2727 (c-name "empathy_tp_roomlist_is_listing")
2728 (return-type "gboolean")
2731 (define-method start
2732 (of-object "EmpathyTpRoomlist")
2733 (c-name "empathy_tp_roomlist_start")
2734 (return-type "none")
2738 (of-object "EmpathyTpRoomlist")
2739 (c-name "empathy_tp_roomlist_stop")
2740 (return-type "none")
2745 ;; From empathy-tube-handler.h
2747 (define-function tube_handler_get_type
2748 (c-name "empathy_tube_handler_get_type")
2749 (return-type "GType")
2752 (define-function tube_handler_new
2753 (c-name "empathy_tube_handler_new")
2754 (is-constructor-of "EmpathyTubeHandler")
2755 (return-type "EmpathyTubeHandler*")
2757 '("TpTubeType" "type")
2758 '("const-gchar*" "service")
2762 (define-function tube_handler_build_bus_name
2763 (c-name "empathy_tube_handler_build_bus_name")
2764 (return-type "gchar*")
2766 '("TpTubeType" "type")
2767 '("const-gchar*" "service")
2771 (define-function tube_handler_build_object_path
2772 (c-name "empathy_tube_handler_build_object_path")
2773 (return-type "gchar*")
2775 '("TpTubeType" "type")
2776 '("const-gchar*" "service")
2782 ;; From empathy-types.h
2786 ;; From empathy-utils.h
2788 (define-function init
2789 (c-name "empathy_init")
2790 (return-type "none")
2793 (define-function substring
2794 (c-name "empathy_substring")
2795 (return-type "gchar*")
2797 '("const-gchar*" "str")
2803 (define-function strcasecmp
2804 (c-name "empathy_strcasecmp")
2805 (return-type "gint")
2807 '("const-gchar*" "s1")
2808 '("const-gchar*" "s2")
2812 (define-function strncasecmp
2813 (c-name "empathy_strncasecmp")
2814 (return-type "gint")
2816 '("const-gchar*" "s1")
2817 '("const-gchar*" "s2")
2822 (define-function xml_validate
2823 (c-name "empathy_xml_validate")
2824 (return-type "gboolean")
2827 '("const-gchar*" "dtd_filename")
2831 (define-function xml_node_get_child
2832 (c-name "empathy_xml_node_get_child")
2833 (return-type "xmlNodePtr")
2835 '("xmlNodePtr" "node")
2836 '("const-gchar*" "child_name")
2840 (define-function xml_node_get_child_content
2841 (c-name "empathy_xml_node_get_child_content")
2842 (return-type "xmlChar*")
2844 '("xmlNodePtr" "node")
2845 '("const-gchar*" "child_name")
2849 (define-function xml_node_find_child_prop_value
2850 (c-name "empathy_xml_node_find_child_prop_value")
2851 (return-type "xmlNodePtr")
2853 '("xmlNodePtr" "node")
2854 '("const-gchar*" "prop_name")
2855 '("const-gchar*" "prop_value")
2859 (define-function account_hash
2860 (c-name "empathy_account_hash")
2861 (return-type "guint")
2863 '("gconstpointer" "key")
2867 (define-function account_equal
2868 (c-name "empathy_account_equal")
2869 (return-type "gboolean")
2871 '("gconstpointer" "a")
2872 '("gconstpointer" "b")
2876 (define-function mission_control_dup_singleton
2877 (c-name "empathy_mission_control_dup_singleton")
2878 (return-type "MissionControl*")
2881 (define-function presence_get_default_message
2882 (c-name "empathy_presence_get_default_message")
2883 (return-type "const-gchar*")
2885 '("TpConnectionPresenceType" "presence")
2889 (define-function presence_to_str
2890 (c-name "empathy_presence_to_str")
2891 (return-type "const-gchar*")
2893 '("TpConnectionPresenceType" "presence")
2897 (define-function presence_from_str
2898 (c-name "empathy_presence_from_str")
2899 (return-type "TpConnectionPresenceType")
2901 '("const-gchar*" "str")
2905 (define-function file_lookup
2906 (c-name "empathy_file_lookup")
2907 (return-type "gchar*")
2909 '("const-gchar*" "filename")
2910 '("const-gchar*" "subdir")
2914 (define-function proxy_equal
2915 (c-name "empathy_proxy_equal")
2916 (return-type "gboolean")
2918 '("gconstpointer" "a")
2919 '("gconstpointer" "b")
2923 (define-function proxy_hash
2924 (c-name "empathy_proxy_hash")
2925 (return-type "guint")
2927 '("gconstpointer" "key")
2931 (define-function check_available_state
2932 (c-name "empathy_check_available_state")
2933 (return-type "gboolean")
2936 (define-function uint_compare
2937 (c-name "empathy_uint_compare")
2938 (return-type "gint")
2940 '("gconstpointer" "a")
2941 '("gconstpointer" "b")