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 '("const-gchar*" "connection_manager")
286 '("const-gchar*" "protocol")
287 '("const-gchar*" "display_name")
291 (define-method create_by_profile
292 (of-object "EmpathyAccountManager")
293 (c-name "empathy_account_manager_create_by_profile")
294 (return-type "EmpathyAccount*")
296 '("McProfile*" "profile")
300 (define-method get_connected_accounts
301 (of-object "EmpathyAccountManager")
302 (c-name "empathy_account_manager_get_connected_accounts")
306 (define-method get_connecting_accounts
307 (of-object "EmpathyAccountManager")
308 (c-name "empathy_account_manager_get_connecting_accounts")
312 (define-method get_count
313 (of-object "EmpathyAccountManager")
314 (c-name "empathy_account_manager_get_count")
318 (define-method get_account
319 (of-object "EmpathyAccountManager")
320 (c-name "empathy_account_manager_get_account")
321 (return-type "EmpathyAccount*")
323 '("TpConnection*" "connection")
327 (define-method lookup
328 (of-object "EmpathyAccountManager")
329 (c-name "empathy_account_manager_lookup")
330 (return-type "EmpathyAccount*")
332 '("const-gchar*" "unique_name")
336 (define-method dup_accounts
337 (of-object "EmpathyAccountManager")
338 (c-name "empathy_account_manager_dup_accounts")
339 (return-type "GList*")
342 (define-method dup_connections
343 (of-object "EmpathyAccountManager")
344 (c-name "empathy_account_manager_dup_connections")
345 (return-type "GList*")
348 (define-method remove
349 (of-object "EmpathyAccountManager")
350 (c-name "empathy_account_manager_remove")
353 '("EmpathyAccount*" "account")
359 ;; From empathy-chatroom.h
361 (define-function chatroom_get_type
362 (c-name "empathy_chatroom_get_type")
363 (return-type "GType")
366 (define-function chatroom_new
367 (c-name "empathy_chatroom_new")
368 (is-constructor-of "EmpathyChatroom")
369 (return-type "EmpathyChatroom*")
371 '("EmpathyAccount*" "account")
375 (define-function chatroom_new_full
376 (c-name "empathy_chatroom_new_full")
377 (return-type "EmpathyChatroom*")
379 '("EmpathyAccount*" "account")
380 '("const-gchar*" "room")
381 '("const-gchar*" "name")
382 '("gboolean" "auto_connect")
386 (define-method get_account
387 (of-object "EmpathyChatroom")
388 (c-name "empathy_chatroom_get_account")
389 (return-type "EmpathyAccount*")
392 (define-method set_account
393 (of-object "EmpathyChatroom")
394 (c-name "empathy_chatroom_set_account")
397 '("EmpathyAccount*" "account")
401 (define-method get_room
402 (of-object "EmpathyChatroom")
403 (c-name "empathy_chatroom_get_room")
404 (return-type "const-gchar*")
407 (define-method set_room
408 (of-object "EmpathyChatroom")
409 (c-name "empathy_chatroom_set_room")
412 '("const-gchar*" "room")
416 (define-method get_name
417 (of-object "EmpathyChatroom")
418 (c-name "empathy_chatroom_get_name")
419 (return-type "const-gchar*")
422 (define-method set_name
423 (of-object "EmpathyChatroom")
424 (c-name "empathy_chatroom_set_name")
427 '("const-gchar*" "name")
431 (define-method get_auto_connect
432 (of-object "EmpathyChatroom")
433 (c-name "empathy_chatroom_get_auto_connect")
434 (return-type "gboolean")
437 (define-method set_auto_connect
438 (of-object "EmpathyChatroom")
439 (c-name "empathy_chatroom_set_auto_connect")
442 '("gboolean" "auto_connect")
446 (define-method get_subject
447 (of-object "EmpathyChatroom")
448 (c-name "empathy_chatroom_get_subject")
449 (return-type "const-gchar*")
452 (define-method set_subject
453 (of-object "EmpathyChatroom")
454 (c-name "empathy_chatroom_set_subject")
457 '("const-gchar*" "subject")
461 (define-method get_members_count
462 (of-object "EmpathyChatroom")
463 (c-name "empathy_chatroom_get_members_count")
464 (return-type "guint")
467 (define-method set_members_count
468 (of-object "EmpathyChatroom")
469 (c-name "empathy_chatroom_set_members_count")
476 (define-method get_need_password
477 (of-object "EmpathyChatroom")
478 (c-name "empathy_chatroom_get_need_password")
479 (return-type "gboolean")
482 (define-method set_need_password
483 (of-object "EmpathyChatroom")
484 (c-name "empathy_chatroom_set_need_password")
487 '("gboolean" "need_password")
491 (define-method get_invite_only
492 (of-object "EmpathyChatroom")
493 (c-name "empathy_chatroom_get_invite_only")
494 (return-type "gboolean")
497 (define-method set_invite_only
498 (of-object "EmpathyChatroom")
499 (c-name "empathy_chatroom_set_invite_only")
502 '("gboolean" "invite_only")
506 (define-function chatroom_equal
507 (c-name "empathy_chatroom_equal")
508 (return-type "gboolean")
510 '("gconstpointer" "v1")
511 '("gconstpointer" "v2")
515 (define-method get_tp_chat
516 (of-object "EmpathyChatroom")
517 (c-name "empathy_chatroom_get_tp_chat")
518 (return-type "EmpathyTpChat*")
521 (define-method set_tp_chat
522 (of-object "EmpathyChatroom")
523 (c-name "empathy_chatroom_set_tp_chat")
526 '("EmpathyTpChat*" "tp_chat")
530 (define-method is_favorite
531 (of-object "EmpathyChatroom")
532 (c-name "empathy_chatroom_is_favorite")
533 (return-type "gboolean")
536 (define-method set_favorite
537 (of-object "EmpathyChatroom")
538 (c-name "empathy_chatroom_set_favorite")
541 '("gboolean" "favorite")
547 ;; From empathy-chatroom-manager.h
549 (define-function chatroom_manager_get_type
550 (c-name "empathy_chatroom_manager_get_type")
551 (return-type "GType")
554 (define-function chatroom_manager_dup_singleton
555 (c-name "empathy_chatroom_manager_dup_singleton")
556 (return-type "EmpathyChatroomManager*")
558 '("const-gchar*" "file")
563 (of-object "EmpathyChatroomManager")
564 (c-name "empathy_chatroom_manager_add")
565 (return-type "gboolean")
567 '("EmpathyChatroom*" "chatroom")
571 (define-method remove
572 (of-object "EmpathyChatroomManager")
573 (c-name "empathy_chatroom_manager_remove")
576 '("EmpathyChatroom*" "chatroom")
581 (of-object "EmpathyChatroomManager")
582 (c-name "empathy_chatroom_manager_find")
583 (return-type "EmpathyChatroom*")
585 '("EmpathyAccount*" "account")
586 '("const-gchar*" "room")
590 (define-method get_chatrooms
591 (of-object "EmpathyChatroomManager")
592 (c-name "empathy_chatroom_manager_get_chatrooms")
593 (return-type "GList*")
595 '("EmpathyAccount*" "account")
599 (define-method get_count
600 (of-object "EmpathyChatroomManager")
601 (c-name "empathy_chatroom_manager_get_count")
602 (return-type "guint")
604 '("EmpathyAccount*" "account")
608 (define-method observe
609 (of-object "EmpathyChatroomManager")
610 (c-name "empathy_chatroom_manager_observe")
613 '("EmpathyDispatcher*" "dispatcher")
619 ;; From empathy-call-factory.h
621 (define-function call_factory_get_type
622 (c-name "empathy_call_factory_get_type")
623 (return-type "GType")
626 (define-function call_factory_initialise
627 (c-name "empathy_call_factory_initialise")
628 (return-type "EmpathyCallFactory*")
631 (define-function call_factory_get
632 (c-name "empathy_call_factory_get")
633 (return-type "EmpathyCallFactory*")
636 (define-method new_call
637 (of-object "EmpathyCallFactory")
638 (c-name "empathy_call_factory_new_call")
641 '("EmpathyContact*" "contact")
645 (define-method new_call_with_streams
646 (of-object "EmpathyCallFactory")
647 (c-name "empathy_call_factory_new_call_with_streams")
650 '("EmpathyContact*" "contact")
651 '("gboolean" "initial_audio")
652 '("gboolean" "initial_video")
656 (define-method claim_channel
657 (of-object "EmpathyCallFactory")
658 (c-name "empathy_call_factory_claim_channel")
661 '("EmpathyDispatchOperation*" "operation")
667 ;; From empathy-call-handler.h
669 (define-function call_handler_get_type
670 (c-name "empathy_call_handler_get_type")
671 (return-type "GType")
674 (define-function call_handler_new_for_contact
675 (c-name "empathy_call_handler_new_for_contact")
676 (return-type "EmpathyCallHandler*")
678 '("EmpathyContact*" "contact")
682 (define-function call_handler_new_for_contact_with_streams
683 (c-name "empathy_call_handler_new_for_contact_with_streams")
684 (return-type "EmpathyCallHandler*")
686 '("EmpathyContact*" "contact")
687 '("gboolean" "audio")
688 '("gboolean" "video")
692 (define-function call_handler_new_for_channel
693 (c-name "empathy_call_handler_new_for_channel")
694 (return-type "EmpathyCallHandler*")
696 '("EmpathyTpCall*" "call")
700 (define-method start_call
701 (of-object "EmpathyCallHandler")
702 (c-name "empathy_call_handler_start_call")
706 (define-method stop_call
707 (of-object "EmpathyCallHandler")
708 (c-name "empathy_call_handler_stop_call")
712 (define-method has_initial_video
713 (of-object "EmpathyCallHandler")
714 (c-name "empathy_call_handler_has_initial_video")
715 (return-type "gboolean")
718 (define-method bus_message
719 (of-object "EmpathyCallHandler")
720 (c-name "empathy_call_handler_bus_message")
724 '("GstMessage*" "message")
730 ;; From empathy-contact.h
732 (define-function contact_get_type
733 (c-name "empathy_contact_get_type")
734 (return-type "GType")
737 (define-function contact_new
738 (c-name "empathy_contact_new")
739 (is-constructor-of "EmpathyContact")
740 (return-type "EmpathyContact*")
742 '("TpContact*" "tp_contact")
746 (define-function contact_new_for_log
747 (c-name "empathy_contact_new_for_log")
748 (return-type "EmpathyContact*")
750 '("EmpathyAccount*" "account")
751 '("const-gchar*" "id")
752 '("const-gchar*" "name")
753 '("gboolean" "is_user")
757 (define-method get_tp_contact
758 (of-object "EmpathyContact")
759 (c-name "empathy_contact_get_tp_contact")
760 (return-type "TpContact*")
763 (define-method get_id
764 (of-object "EmpathyContact")
765 (c-name "empathy_contact_get_id")
766 (return-type "const-gchar*")
769 (define-method set_id
770 (of-object "EmpathyContact")
771 (c-name "empathy_contact_set_id")
774 '("const-gchar*" "id")
778 (define-method get_name
779 (of-object "EmpathyContact")
780 (c-name "empathy_contact_get_name")
781 (return-type "const-gchar*")
784 (define-method set_name
785 (of-object "EmpathyContact")
786 (c-name "empathy_contact_set_name")
789 '("const-gchar*" "name")
793 (define-method get_avatar
794 (of-object "EmpathyContact")
795 (c-name "empathy_contact_get_avatar")
796 (return-type "EmpathyAvatar*")
799 (define-method set_avatar
800 (of-object "EmpathyContact")
801 (c-name "empathy_contact_set_avatar")
804 '("EmpathyAvatar*" "avatar")
808 (define-method get_account
809 (of-object "EmpathyContact")
810 (c-name "empathy_contact_get_account")
811 (return-type "EmpathyAccount*")
814 (define-method get_connection
815 (of-object "EmpathyContact")
816 (c-name "empathy_contact_get_connection")
817 (return-type "TpConnection*")
820 (define-method get_presence
821 (of-object "EmpathyContact")
822 (c-name "empathy_contact_get_presence")
823 (return-type "TpConnectionPresenceType")
826 (define-method set_presence
827 (of-object "EmpathyContact")
828 (c-name "empathy_contact_set_presence")
831 '("TpConnectionPresenceType" "presence")
835 (define-method get_presence_message
836 (of-object "EmpathyContact")
837 (c-name "empathy_contact_get_presence_message")
838 (return-type "const-gchar*")
841 (define-method set_presence_message
842 (of-object "EmpathyContact")
843 (c-name "empathy_contact_set_presence_message")
846 '("const-gchar*" "message")
850 (define-method get_handle
851 (of-object "EmpathyContact")
852 (c-name "empathy_contact_get_handle")
853 (return-type "guint")
856 (define-method set_handle
857 (of-object "EmpathyContact")
858 (c-name "empathy_contact_set_handle")
865 (define-method get_capabilities
866 (of-object "EmpathyContact")
867 (c-name "empathy_contact_get_capabilities")
868 (return-type "EmpathyCapabilities")
871 (define-method set_capabilities
872 (of-object "EmpathyContact")
873 (c-name "empathy_contact_set_capabilities")
876 '("EmpathyCapabilities" "capabilities")
880 (define-method is_user
881 (of-object "EmpathyContact")
882 (c-name "empathy_contact_is_user")
883 (return-type "gboolean")
886 (define-method set_is_user
887 (of-object "EmpathyContact")
888 (c-name "empathy_contact_set_is_user")
891 '("gboolean" "is_user")
895 (define-method is_online
896 (of-object "EmpathyContact")
897 (c-name "empathy_contact_is_online")
898 (return-type "gboolean")
901 (define-method get_status
902 (of-object "EmpathyContact")
903 (c-name "empathy_contact_get_status")
904 (return-type "const-gchar*")
907 (define-method can_voip
908 (of-object "EmpathyContact")
909 (c-name "empathy_contact_can_voip")
910 (return-type "gboolean")
913 (define-method can_send_files
914 (of-object "EmpathyContact")
915 (c-name "empathy_contact_can_send_files")
916 (return-type "gboolean")
919 (define-method can_use_stream_tube
920 (of-object "EmpathyContact")
921 (c-name "empathy_contact_can_use_stream_tube")
922 (return-type "gboolean")
925 (define-function contact_hash
926 (c-name "empathy_contact_hash")
927 (return-type "guint")
929 '("gconstpointer" "key")
933 (define-method load_avatar_data
934 (of-object "EmpathyContact")
935 (c-name "empathy_contact_load_avatar_data")
938 '("const-guchar*" "data")
939 '("const-gsize" "len")
940 '("const-gchar*" "format")
941 '("const-gchar*" "token")
945 (define-method load_avatar_cache
946 (of-object "EmpathyContact")
947 (c-name "empathy_contact_load_avatar_cache")
948 (return-type "gboolean")
950 '("const-gchar*" "token")
954 (define-function avatar_get_type
955 (c-name "empathy_avatar_get_type")
956 (return-type "GType")
959 (define-function avatar_new
960 (c-name "empathy_avatar_new")
961 (is-constructor-of "EmpathyAvatar")
962 (return-type "EmpathyAvatar*")
968 '("gchar*" "filename")
973 (of-object "EmpathyAvatar")
974 (c-name "empathy_avatar_ref")
975 (return-type "EmpathyAvatar*")
979 (of-object "EmpathyAvatar")
980 (c-name "empathy_avatar_unref")
984 (define-method save_to_file
985 (of-object "EmpathyAvatar")
986 (c-name "empathy_avatar_save_to_file")
987 (return-type "gboolean")
989 '("const-gchar*" "filename")
990 '("GError**" "error")
994 (define-method get_location
995 (of-object "EmpathyContact")
996 (c-name "empathy_contact_get_location")
997 (return-type "GHashTable*")
1000 (define-method set_location
1001 (of-object "EmpathyContact")
1002 (c-name "empathy_contact_set_location")
1003 (return-type "none")
1005 '("GHashTable*" "location")
1009 (define-function contact_equal
1010 (c-name "empathy_contact_equal")
1011 (return-type "gboolean")
1013 '("gconstpointer" "contact1")
1014 '("gconstpointer" "contact2")
1020 ;; From empathy-contact-groups.h
1022 (define-function contact_groups_get_all
1023 (c-name "empathy_contact_groups_get_all")
1024 (return-type "none")
1027 (define-function contact_group_get_expanded
1028 (c-name "empathy_contact_group_get_expanded")
1029 (return-type "gboolean")
1031 '("const-gchar*" "group")
1035 (define-function contact_group_set_expanded
1036 (c-name "empathy_contact_group_set_expanded")
1037 (return-type "none")
1039 '("const-gchar*" "group")
1040 '("gboolean" "expanded")
1046 ;; From empathy-contact-list.h
1048 (define-function contact_list_get_type
1049 (c-name "empathy_contact_list_get_type")
1050 (return-type "GType")
1054 (of-object "EmpathyContactList")
1055 (c-name "empathy_contact_list_add")
1056 (return-type "none")
1058 '("EmpathyContact*" "contact")
1059 '("const-gchar*" "message")
1063 (define-method remove
1064 (of-object "EmpathyContactList")
1065 (c-name "empathy_contact_list_remove")
1066 (return-type "none")
1068 '("EmpathyContact*" "contact")
1069 '("const-gchar*" "message")
1073 (define-method get_members
1074 (of-object "EmpathyContactList")
1075 (c-name "empathy_contact_list_get_members")
1076 (return-type "GList*")
1079 (define-method get_pendings
1080 (of-object "EmpathyContactList")
1081 (c-name "empathy_contact_list_get_pendings")
1082 (return-type "GList*")
1085 (define-method get_all_groups
1086 (of-object "EmpathyContactList")
1087 (c-name "empathy_contact_list_get_all_groups")
1088 (return-type "GList*")
1091 (define-method get_groups
1092 (of-object "EmpathyContactList")
1093 (c-name "empathy_contact_list_get_groups")
1094 (return-type "GList*")
1096 '("EmpathyContact*" "contact")
1100 (define-method add_to_group
1101 (of-object "EmpathyContactList")
1102 (c-name "empathy_contact_list_add_to_group")
1103 (return-type "none")
1105 '("EmpathyContact*" "contact")
1106 '("const-gchar*" "group")
1110 (define-method remove_from_group
1111 (of-object "EmpathyContactList")
1112 (c-name "empathy_contact_list_remove_from_group")
1113 (return-type "none")
1115 '("EmpathyContact*" "contact")
1116 '("const-gchar*" "group")
1120 (define-method rename_group
1121 (of-object "EmpathyContactList")
1122 (c-name "empathy_contact_list_rename_group")
1123 (return-type "none")
1125 '("const-gchar*" "old_group")
1126 '("const-gchar*" "new_group")
1130 (define-method remove_group
1131 (of-object "EmpathyContactList")
1132 (c-name "empathy_contact_list_remove_group")
1133 (return-type "none")
1135 '("const-gchar*" "group")
1139 (define-method get_monitor
1140 (of-object "EmpathyContactList")
1141 (c-name "empathy_contact_list_get_monitor")
1142 (return-type "EmpathyContactMonitor*")
1147 ;; From empathy-contact-manager.h
1149 (define-function contact_manager_get_type
1150 (c-name "empathy_contact_manager_get_type")
1151 (return-type "GType")
1154 (define-function contact_manager_dup_singleton
1155 (c-name "empathy_contact_manager_dup_singleton")
1156 (return-type "EmpathyContactManager*")
1159 (define-method get_list
1160 (of-object "EmpathyContactManager")
1161 (c-name "empathy_contact_manager_get_list")
1162 (return-type "EmpathyTpContactList*")
1164 '("TpConnection*" "connection")
1168 (define-method can_add
1169 (of-object "EmpathyContactManager")
1170 (c-name "empathy_contact_manager_can_add")
1171 (return-type "gboolean")
1173 '("TpConnection*" "connection")
1179 ;; From empathy-contact-monitor.h
1181 (define-function contact_monitor_get_type
1182 (c-name "empathy_contact_monitor_get_type")
1183 (return-type "GType")
1186 (define-method set_iface
1187 (of-object "EmpathyContactMonitor")
1188 (c-name "empathy_contact_monitor_set_iface")
1189 (return-type "none")
1191 '("EmpathyContactList*" "iface")
1195 (define-function contact_monitor_new_for_iface
1196 (c-name "empathy_contact_monitor_new_for_iface")
1197 (return-type "EmpathyContactMonitor*")
1199 '("EmpathyContactList*" "iface")
1205 ;; From empathy-debug.h
1207 (define-function debug_flag_is_set
1208 (c-name "empathy_debug_flag_is_set")
1209 (return-type "gboolean")
1211 '("EmpathyDebugFlags" "flag")
1215 (define-function debug
1216 (c-name "empathy_debug")
1217 (return-type "none")
1219 '("EmpathyDebugFlags" "flag")
1220 '("const-gchar*" "format")
1225 (define-function debug_free
1226 (c-name "empathy_debug_free")
1227 (return-type "none")
1230 (define-function debug_set_flags
1231 (c-name "empathy_debug_set_flags")
1232 (return-type "none")
1234 '("const-gchar*" "flags_string")
1240 ;; From empathy-dispatcher.h
1242 (define-function dispatcher_get_type
1243 (c-name "empathy_dispatcher_get_type")
1244 (return-type "GType")
1247 (define-method create_channel
1248 (of-object "EmpathyDispatcher")
1249 (c-name "empathy_dispatcher_create_channel")
1250 (return-type "none")
1252 '("TpConnection*" "connection")
1253 '("GHashTable*" "request")
1254 '("EmpathyDispatcherRequestCb*" "callback")
1255 '("gpointer" "user_data")
1259 (define-function dispatcher_chat_with_contact_id
1260 (c-name "empathy_dispatcher_chat_with_contact_id")
1261 (return-type "none")
1263 '("TpConnection*" "connection")
1264 '("const-gchar*" "contact_id")
1265 '("EmpathyDispatcherRequestCb*" "callback")
1266 '("gpointer" "user_data")
1270 (define-function dispatcher_chat_with_contact
1271 (c-name "empathy_dispatcher_chat_with_contact")
1272 (return-type "none")
1274 '("EmpathyContact*" "contact")
1275 '("EmpathyDispatcherRequestCb*" "callback")
1276 '("gpointer" "user_data")
1280 (define-function dispatcher_send_file_to_contact
1281 (c-name "empathy_dispatcher_send_file_to_contact")
1282 (return-type "none")
1284 '("EmpathyContact*" "contact")
1285 '("const-gchar*" "filename")
1288 '("const-gchar*" "content_type")
1289 '("EmpathyDispatcherRequestCb*" "callback")
1290 '("gpointer" "user_data")
1294 (define-function dispatcher_join_muc
1295 (c-name "empathy_dispatcher_join_muc")
1296 (return-type "none")
1298 '("TpConnection*" "connection")
1299 '("const-gchar*" "roomname")
1300 '("EmpathyDispatcherRequestCb*" "callback")
1301 '("gpointer" "user_data")
1305 (define-method find_requestable_channel_classes_async
1306 (of-object "EmpathyDispatcher")
1307 (c-name "empathy_dispatcher_find_requestable_channel_classes_async")
1308 (return-type "none")
1310 '("TpConnection*" "connection")
1311 '("const-gchar*" "channel_type")
1312 '("guint" "handle_type")
1313 '("EmpathyDispatcherFindChannelClassCb" "callback")
1314 '("gpointer" "user_data")
1315 '("const-char*" "first_property_name")
1320 (define-method find_requestable_channel_classes
1321 (of-object "EmpathyDispatcher")
1322 (c-name "empathy_dispatcher_find_requestable_channel_classes")
1323 (return-type "GList*")
1325 '("TpConnection*" "connection")
1326 '("const-gchar*" "channel_type")
1327 '("guint" "handle_type")
1328 '("const-char*" "first_property_name")
1333 (define-function dispatcher_dup_singleton
1334 (c-name "empathy_dispatcher_dup_singleton")
1335 (return-type "EmpathyDispatcher*")
1340 ;; From empathy-dispatch-operation.h
1342 (define-function dispatch_operation_get_type
1343 (c-name "empathy_dispatch_operation_get_type")
1344 (return-type "GType")
1347 (define-function dispatch_operation_new
1348 (c-name "empathy_dispatch_operation_new")
1349 (is-constructor-of "EmpathyDispatchOperation")
1350 (return-type "EmpathyDispatchOperation*")
1352 '("TpConnection*" "connection")
1353 '("TpChannel*" "channel")
1354 '("EmpathyContact*" "contact")
1355 '("gboolean" "incoming")
1359 (define-function dispatch_operation_new_with_wrapper
1360 (c-name "empathy_dispatch_operation_new_with_wrapper")
1361 (return-type "EmpathyDispatchOperation*")
1363 '("TpConnection*" "connection")
1364 '("TpChannel*" "channel")
1365 '("EmpathyContact*" "contact")
1366 '("gboolean" "incoming")
1367 '("GObject*" "channel_wrapper")
1371 (define-method start
1372 (of-object "EmpathyDispatchOperation")
1373 (c-name "empathy_dispatch_operation_start")
1374 (return-type "none")
1377 (define-method approve
1378 (of-object "EmpathyDispatchOperation")
1379 (c-name "empathy_dispatch_operation_approve")
1380 (return-type "none")
1383 (define-method claim
1384 (of-object "EmpathyDispatchOperation")
1385 (c-name "empathy_dispatch_operation_claim")
1386 (return-type "gboolean")
1389 (define-method get_channel
1390 (of-object "EmpathyDispatchOperation")
1391 (c-name "empathy_dispatch_operation_get_channel")
1392 (return-type "TpChannel*")
1395 (define-method get_channel_wrapper
1396 (of-object "EmpathyDispatchOperation")
1397 (c-name "empathy_dispatch_operation_get_channel_wrapper")
1398 (return-type "GObject*")
1401 (define-method get_tp_connection
1402 (of-object "EmpathyDispatchOperation")
1403 (c-name "empathy_dispatch_operation_get_tp_connection")
1404 (return-type "TpConnection*")
1407 (define-method get_channel_type
1408 (of-object "EmpathyDispatchOperation")
1409 (c-name "empathy_dispatch_operation_get_channel_type")
1410 (return-type "const-gchar*")
1413 (define-method get_channel_type_id
1414 (of-object "EmpathyDispatchOperation")
1415 (c-name "empathy_dispatch_operation_get_channel_type_id")
1416 (return-type "GQuark")
1419 (define-method get_object_path
1420 (of-object "EmpathyDispatchOperation")
1421 (c-name "empathy_dispatch_operation_get_object_path")
1422 (return-type "const-gchar*")
1425 (define-method get_status
1426 (of-object "EmpathyDispatchOperation")
1427 (c-name "empathy_dispatch_operation_get_status")
1428 (return-type "EmpathyDispatchOperationState")
1431 (define-method is_incoming
1432 (of-object "EmpathyDispatchOperation")
1433 (c-name "empathy_dispatch_operation_is_incoming")
1434 (return-type "gboolean")
1439 ;; From empathy-ft-factory.h
1441 (define-function ft_factory_get_type
1442 (c-name "empathy_ft_factory_get_type")
1443 (return-type "GType")
1446 (define-function ft_factory_dup_singleton
1447 (c-name "empathy_ft_factory_dup_singleton")
1448 (return-type "EmpathyFTFactory*")
1451 (define-method new_transfer_outgoing
1452 (of-object "EmpathyFTFactory")
1453 (c-name "empathy_ft_factory_new_transfer_outgoing")
1454 (return-type "none")
1456 '("EmpathyContact*" "contact")
1457 '("GFile*" "source")
1461 (define-method claim_channel
1462 (of-object "EmpathyFTFactory")
1463 (c-name "empathy_ft_factory_claim_channel")
1464 (return-type "none")
1466 '("EmpathyDispatchOperation*" "operation")
1470 (define-method set_destination_for_incoming_handler
1471 (of-object "EmpathyFTFactory")
1472 (c-name "empathy_ft_factory_set_destination_for_incoming_handler")
1473 (return-type "none")
1475 '("EmpathyFTHandler*" "handler")
1476 '("GFile*" "destination")
1482 ;; From empathy-ft-handler.h
1484 (define-function ft_handler_get_type
1485 (c-name "empathy_ft_handler_get_type")
1486 (return-type "GType")
1489 (define-function ft_handler_new_outgoing
1490 (c-name "empathy_ft_handler_new_outgoing")
1491 (return-type "none")
1493 '("EmpathyContact*" "contact")
1494 '("GFile*" "source")
1495 '("EmpathyFTHandlerReadyCallback" "callback")
1496 '("gpointer" "user_data")
1500 (define-function ft_handler_new_incoming
1501 (c-name "empathy_ft_handler_new_incoming")
1502 (return-type "none")
1504 '("EmpathyTpFile*" "tp_file")
1505 '("EmpathyFTHandlerReadyCallback" "callback")
1506 '("gpointer" "user_data")
1510 (define-method incoming_set_destination
1511 (of-object "EmpathyFTHandler")
1512 (c-name "empathy_ft_handler_incoming_set_destination")
1513 (return-type "none")
1515 '("GFile*" "destination")
1519 (define-method start_transfer
1520 (of-object "EmpathyFTHandler")
1521 (c-name "empathy_ft_handler_start_transfer")
1522 (return-type "none")
1525 (define-method cancel_transfer
1526 (of-object "EmpathyFTHandler")
1527 (c-name "empathy_ft_handler_cancel_transfer")
1528 (return-type "none")
1531 (define-method get_filename
1532 (of-object "EmpathyFTHandler")
1533 (c-name "empathy_ft_handler_get_filename")
1534 (return-type "const-char*")
1537 (define-method get_content_type
1538 (of-object "EmpathyFTHandler")
1539 (c-name "empathy_ft_handler_get_content_type")
1540 (return-type "const-char*")
1543 (define-method get_contact
1544 (of-object "EmpathyFTHandler")
1545 (c-name "empathy_ft_handler_get_contact")
1546 (return-type "EmpathyContact*")
1549 (define-method get_gfile
1550 (of-object "EmpathyFTHandler")
1551 (c-name "empathy_ft_handler_get_gfile")
1552 (return-type "GFile*")
1555 (define-method get_use_hash
1556 (of-object "EmpathyFTHandler")
1557 (c-name "empathy_ft_handler_get_use_hash")
1558 (return-type "gboolean")
1561 (define-method is_incoming
1562 (of-object "EmpathyFTHandler")
1563 (c-name "empathy_ft_handler_is_incoming")
1564 (return-type "gboolean")
1567 (define-method get_transferred_bytes
1568 (of-object "EmpathyFTHandler")
1569 (c-name "empathy_ft_handler_get_transferred_bytes")
1570 (return-type "guint64")
1573 (define-method get_total_bytes
1574 (of-object "EmpathyFTHandler")
1575 (c-name "empathy_ft_handler_get_total_bytes")
1576 (return-type "guint64")
1579 (define-method is_completed
1580 (of-object "EmpathyFTHandler")
1581 (c-name "empathy_ft_handler_is_completed")
1582 (return-type "gboolean")
1585 (define-method is_cancelled
1586 (of-object "EmpathyFTHandler")
1587 (c-name "empathy_ft_handler_is_cancelled")
1588 (return-type "gboolean")
1593 ;; From empathy-idle.h
1595 (define-function idle_get_type
1596 (c-name "empathy_idle_get_type")
1597 (return-type "GType")
1600 (define-function idle_dup_singleton
1601 (c-name "empathy_idle_dup_singleton")
1602 (return-type "EmpathyIdle*")
1605 (define-method get_state
1606 (of-object "EmpathyIdle")
1607 (c-name "empathy_idle_get_state")
1608 (return-type "TpConnectionPresenceType")
1611 (define-method set_state
1612 (of-object "EmpathyIdle")
1613 (c-name "empathy_idle_set_state")
1614 (return-type "none")
1616 '("TpConnectionPresenceType" "state")
1620 (define-method get_status
1621 (of-object "EmpathyIdle")
1622 (c-name "empathy_idle_get_status")
1623 (return-type "const-gchar*")
1626 (define-method set_status
1627 (of-object "EmpathyIdle")
1628 (c-name "empathy_idle_set_status")
1629 (return-type "none")
1631 '("const-gchar*" "status")
1635 (define-method get_flash_state
1636 (of-object "EmpathyIdle")
1637 (c-name "empathy_idle_get_flash_state")
1638 (return-type "TpConnectionPresenceType")
1641 (define-method set_flash_state
1642 (of-object "EmpathyIdle")
1643 (c-name "empathy_idle_set_flash_state")
1644 (return-type "none")
1646 '("TpConnectionPresenceType" "state")
1650 (define-method set_presence
1651 (of-object "EmpathyIdle")
1652 (c-name "empathy_idle_set_presence")
1653 (return-type "none")
1655 '("TpConnectionPresenceType" "state")
1656 '("const-gchar*" "status")
1660 (define-method get_auto_away
1661 (of-object "EmpathyIdle")
1662 (c-name "empathy_idle_get_auto_away")
1663 (return-type "gboolean")
1666 (define-method set_auto_away
1667 (of-object "EmpathyIdle")
1668 (c-name "empathy_idle_set_auto_away")
1669 (return-type "none")
1671 '("gboolean" "auto_away")
1675 (define-method get_use_nm
1676 (of-object "EmpathyIdle")
1677 (c-name "empathy_idle_get_use_nm")
1678 (return-type "gboolean")
1681 (define-method set_use_nm
1682 (of-object "EmpathyIdle")
1683 (c-name "empathy_idle_set_use_nm")
1684 (return-type "none")
1686 '("gboolean" "use_nm")
1692 ;; From empathy-irc-network.h
1694 (define-function irc_network_get_type
1695 (c-name "empathy_irc_network_get_type")
1696 (return-type "GType")
1699 (define-function irc_network_new
1700 (c-name "empathy_irc_network_new")
1701 (is-constructor-of "EmpathyIrcNetwork")
1702 (return-type "EmpathyIrcNetwork*")
1704 '("const-gchar*" "name")
1708 (define-method get_servers
1709 (of-object "EmpathyIrcNetwork")
1710 (c-name "empathy_irc_network_get_servers")
1711 (return-type "GSList*")
1714 (define-method append_server
1715 (of-object "EmpathyIrcNetwork")
1716 (c-name "empathy_irc_network_append_server")
1717 (return-type "none")
1719 '("EmpathyIrcServer*" "server")
1723 (define-method remove_server
1724 (of-object "EmpathyIrcNetwork")
1725 (c-name "empathy_irc_network_remove_server")
1726 (return-type "none")
1728 '("EmpathyIrcServer*" "server")
1732 (define-method set_server_position
1733 (of-object "EmpathyIrcNetwork")
1734 (c-name "empathy_irc_network_set_server_position")
1735 (return-type "none")
1737 '("EmpathyIrcServer*" "server")
1744 ;; From empathy-irc-network-manager.h
1746 (define-function irc_network_manager_get_type
1747 (c-name "empathy_irc_network_manager_get_type")
1748 (return-type "GType")
1751 (define-function irc_network_manager_new
1752 (c-name "empathy_irc_network_manager_new")
1753 (is-constructor-of "EmpathyIrcNetworkManager")
1754 (return-type "EmpathyIrcNetworkManager*")
1756 '("const-gchar*" "global_file")
1757 '("const-gchar*" "user_file")
1762 (of-object "EmpathyIrcNetworkManager")
1763 (c-name "empathy_irc_network_manager_add")
1764 (return-type "none")
1766 '("EmpathyIrcNetwork*" "network")
1770 (define-method remove
1771 (of-object "EmpathyIrcNetworkManager")
1772 (c-name "empathy_irc_network_manager_remove")
1773 (return-type "none")
1775 '("EmpathyIrcNetwork*" "network")
1779 (define-method get_networks
1780 (of-object "EmpathyIrcNetworkManager")
1781 (c-name "empathy_irc_network_manager_get_networks")
1782 (return-type "GSList*")
1785 (define-method find_network_by_address
1786 (of-object "EmpathyIrcNetworkManager")
1787 (c-name "empathy_irc_network_manager_find_network_by_address")
1788 (return-type "EmpathyIrcNetwork*")
1790 '("const-gchar*" "address")
1796 ;; From empathy-irc-server.h
1798 (define-function irc_server_get_type
1799 (c-name "empathy_irc_server_get_type")
1800 (return-type "GType")
1803 (define-function irc_server_new
1804 (c-name "empathy_irc_server_new")
1805 (is-constructor-of "EmpathyIrcServer")
1806 (return-type "EmpathyIrcServer*")
1808 '("const-gchar*" "address")
1816 ;; From empathy-log-manager.h
1818 (define-function log_manager_get_type
1819 (c-name "empathy_log_manager_get_type")
1820 (return-type "GType")
1823 (define-function log_manager_dup_singleton
1824 (c-name "empathy_log_manager_dup_singleton")
1825 (return-type "EmpathyLogManager*")
1828 (define-method add_message
1829 (of-object "EmpathyLogManager")
1830 (c-name "empathy_log_manager_add_message")
1831 (return-type "gboolean")
1833 '("const-gchar*" "chat_id")
1834 '("gboolean" "chatroom")
1835 '("EmpathyMessage*" "message")
1836 '("GError**" "error")
1840 (define-method exists
1841 (of-object "EmpathyLogManager")
1842 (c-name "empathy_log_manager_exists")
1843 (return-type "gboolean")
1845 '("EmpathyAccount*" "account")
1846 '("const-gchar*" "chat_id")
1847 '("gboolean" "chatroom")
1851 (define-method get_dates
1852 (of-object "EmpathyLogManager")
1853 (c-name "empathy_log_manager_get_dates")
1854 (return-type "GList*")
1856 '("EmpathyAccount*" "account")
1857 '("const-gchar*" "chat_id")
1858 '("gboolean" "chatroom")
1862 (define-method get_messages_for_date
1863 (of-object "EmpathyLogManager")
1864 (c-name "empathy_log_manager_get_messages_for_date")
1865 (return-type "GList*")
1867 '("EmpathyAccount*" "account")
1868 '("const-gchar*" "chat_id")
1869 '("gboolean" "chatroom")
1870 '("const-gchar*" "date")
1874 (define-method get_filtered_messages
1875 (of-object "EmpathyLogManager")
1876 (c-name "empathy_log_manager_get_filtered_messages")
1877 (return-type "GList*")
1879 '("EmpathyAccount*" "account")
1880 '("const-gchar*" "chat_id")
1881 '("gboolean" "chatroom")
1882 '("guint" "num_messages")
1883 '("EmpathyLogMessageFilter" "filter")
1884 '("gpointer" "user_data")
1888 (define-method get_chats
1889 (of-object "EmpathyLogManager")
1890 (c-name "empathy_log_manager_get_chats")
1891 (return-type "GList*")
1893 '("EmpathyAccount*" "account")
1897 (define-method search_new
1898 (of-object "EmpathyLogManager")
1899 (c-name "empathy_log_manager_search_new")
1900 (return-type "GList*")
1902 '("const-gchar*" "text")
1906 (define-function log_manager_search_free
1907 (c-name "empathy_log_manager_search_free")
1908 (return-type "none")
1914 (define-function log_manager_get_date_readable
1915 (c-name "empathy_log_manager_get_date_readable")
1916 (return-type "gchar*")
1918 '("const-gchar*" "date")
1922 (define-function log_manager_search_hit_free
1923 (c-name "empathy_log_manager_search_hit_free")
1924 (return-type "none")
1926 '("EmpathyLogSearchHit*" "hit")
1930 (define-method observe
1931 (of-object "EmpathyLogManager")
1932 (c-name "empathy_log_manager_observe")
1933 (return-type "none")
1935 '("EmpathyDispatcher*" "dispatcher")
1941 ;; From empathy-log-store.h
1943 (define-function log_store_get_type
1944 (c-name "empathy_log_store_get_type")
1945 (return-type "GType")
1948 (define-method get_name
1949 (of-object "EmpathyLogStore")
1950 (c-name "empathy_log_store_get_name")
1951 (return-type "const-gchar*")
1954 (define-method exists
1955 (of-object "EmpathyLogStore")
1956 (c-name "empathy_log_store_exists")
1957 (return-type "gboolean")
1959 '("EmpathyAccount*" "account")
1960 '("const-gchar*" "chat_id")
1961 '("gboolean" "chatroom")
1965 (define-method add_message
1966 (of-object "EmpathyLogStore")
1967 (c-name "empathy_log_store_add_message")
1968 (return-type "gboolean")
1970 '("const-gchar*" "chat_id")
1971 '("gboolean" "chatroom")
1972 '("EmpathyMessage*" "message")
1973 '("GError**" "error")
1977 (define-method get_dates
1978 (of-object "EmpathyLogStore")
1979 (c-name "empathy_log_store_get_dates")
1980 (return-type "GList*")
1982 '("EmpathyAccount*" "account")
1983 '("const-gchar*" "chat_id")
1984 '("gboolean" "chatroom")
1988 (define-method get_messages_for_date
1989 (of-object "EmpathyLogStore")
1990 (c-name "empathy_log_store_get_messages_for_date")
1991 (return-type "GList*")
1993 '("EmpathyAccount*" "account")
1994 '("const-gchar*" "chat_id")
1995 '("gboolean" "chatroom")
1996 '("const-gchar*" "date")
2000 (define-method get_last_messages
2001 (of-object "EmpathyLogStore")
2002 (c-name "empathy_log_store_get_last_messages")
2003 (return-type "GList*")
2005 '("EmpathyAccount*" "account")
2006 '("const-gchar*" "chat_id")
2007 '("gboolean" "chatroom")
2011 (define-method get_chats
2012 (of-object "EmpathyLogStore")
2013 (c-name "empathy_log_store_get_chats")
2014 (return-type "GList*")
2016 '("EmpathyAccount*" "account")
2020 (define-method search_new
2021 (of-object "EmpathyLogStore")
2022 (c-name "empathy_log_store_search_new")
2023 (return-type "GList*")
2025 '("const-gchar*" "text")
2029 (define-method ack_message
2030 (of-object "EmpathyLogStore")
2031 (c-name "empathy_log_store_ack_message")
2032 (return-type "none")
2034 '("const-gchar*" "chat_id")
2035 '("gboolean" "chatroom")
2036 '("EmpathyMessage*" "message")
2040 (define-method get_filtered_messages
2041 (of-object "EmpathyLogStore")
2042 (c-name "empathy_log_store_get_filtered_messages")
2043 (return-type "GList*")
2045 '("EmpathyAccount*" "account")
2046 '("const-gchar*" "chat_id")
2047 '("gboolean" "chatroom")
2048 '("guint" "num_messages")
2049 '("EmpathyLogMessageFilter" "filter")
2050 '("gpointer" "user_data")
2056 ;; From empathy-log-store-empathy.h
2058 (define-function log_store_empathy_get_type
2059 (c-name "empathy_log_store_empathy_get_type")
2060 (return-type "GType")
2065 ;; From empathy-message.h
2067 (define-function message_get_type
2068 (c-name "empathy_message_get_type")
2069 (return-type "GType")
2072 (define-function message_new
2073 (c-name "empathy_message_new")
2074 (is-constructor-of "EmpathyMessage")
2075 (return-type "EmpathyMessage*")
2077 '("const-gchar*" "body")
2081 (define-method get_tptype
2082 (of-object "EmpathyMessage")
2083 (c-name "empathy_message_get_tptype")
2084 (return-type "TpChannelTextMessageType")
2087 (define-method set_tptype
2088 (of-object "EmpathyMessage")
2089 (c-name "empathy_message_set_tptype")
2090 (return-type "none")
2092 '("TpChannelTextMessageType" "type")
2096 (define-method get_sender
2097 (of-object "EmpathyMessage")
2098 (c-name "empathy_message_get_sender")
2099 (return-type "EmpathyContact*")
2102 (define-method set_sender
2103 (of-object "EmpathyMessage")
2104 (c-name "empathy_message_set_sender")
2105 (return-type "none")
2107 '("EmpathyContact*" "contact")
2111 (define-method get_receiver
2112 (of-object "EmpathyMessage")
2113 (c-name "empathy_message_get_receiver")
2114 (return-type "EmpathyContact*")
2117 (define-method set_receiver
2118 (of-object "EmpathyMessage")
2119 (c-name "empathy_message_set_receiver")
2120 (return-type "none")
2122 '("EmpathyContact*" "contact")
2126 (define-method get_body
2127 (of-object "EmpathyMessage")
2128 (c-name "empathy_message_get_body")
2129 (return-type "const-gchar*")
2132 (define-method set_body
2133 (of-object "EmpathyMessage")
2134 (c-name "empathy_message_set_body")
2135 (return-type "none")
2137 '("const-gchar*" "body")
2141 (define-method get_timestamp
2142 (of-object "EmpathyMessage")
2143 (c-name "empathy_message_get_timestamp")
2144 (return-type "time_t")
2147 (define-method set_timestamp
2148 (of-object "EmpathyMessage")
2149 (c-name "empathy_message_set_timestamp")
2150 (return-type "none")
2152 '("time_t" "timestamp")
2156 (define-method should_highlight
2157 (of-object "EmpathyMessage")
2158 (c-name "empathy_message_should_highlight")
2159 (return-type "gboolean")
2162 (define-function message_type_from_str
2163 (c-name "empathy_message_type_from_str")
2164 (return-type "TpChannelTextMessageType")
2166 '("const-gchar*" "type_str")
2170 (define-function message_type_to_str
2171 (c-name "empathy_message_type_to_str")
2172 (return-type "const-gchar*")
2174 '("TpChannelTextMessageType" "type")
2178 (define-method get_id
2179 (of-object "EmpathyMessage")
2180 (c-name "empathy_message_get_id")
2181 (return-type "guint")
2184 (define-method set_id
2185 (of-object "EmpathyMessage")
2186 (c-name "empathy_message_set_id")
2187 (return-type "none")
2193 (define-method equal
2194 (of-object "EmpathyMessage")
2195 (c-name "empathy_message_equal")
2196 (return-type "gboolean")
2198 '("EmpathyMessage*" "message2")
2204 ;; From empathy-status-presets.h
2206 (define-function status_presets_get_all
2207 (c-name "empathy_status_presets_get_all")
2208 (return-type "none")
2211 (define-function status_presets_get
2212 (c-name "empathy_status_presets_get")
2213 (return-type "GList*")
2215 '("TpConnectionPresenceType" "state")
2216 '("gint" "max_number")
2220 (define-function status_presets_set_last
2221 (c-name "empathy_status_presets_set_last")
2222 (return-type "none")
2224 '("TpConnectionPresenceType" "state")
2225 '("const-gchar*" "status")
2229 (define-function status_presets_remove
2230 (c-name "empathy_status_presets_remove")
2231 (return-type "none")
2233 '("TpConnectionPresenceType" "state")
2234 '("const-gchar*" "status")
2238 (define-function status_presets_reset
2239 (c-name "empathy_status_presets_reset")
2240 (return-type "none")
2243 (define-function status_presets_get_default_state
2244 (c-name "empathy_status_presets_get_default_state")
2245 (return-type "TpConnectionPresenceType")
2248 (define-function status_presets_get_default_status
2249 (c-name "empathy_status_presets_get_default_status")
2250 (return-type "const-gchar*")
2253 (define-function status_presets_set_default
2254 (c-name "empathy_status_presets_set_default")
2255 (return-type "none")
2257 '("TpConnectionPresenceType" "state")
2258 '("const-gchar*" "status")
2262 (define-function status_presets_clear_default
2263 (c-name "empathy_status_presets_clear_default")
2264 (return-type "none")
2267 (define-function status_presets_is_valid
2268 (c-name "empathy_status_presets_is_valid")
2269 (return-type "gboolean")
2271 '("TpConnectionPresenceType" "state")
2277 ;; From empathy-time.h
2279 (define-function time_get_current
2280 (c-name "empathy_time_get_current")
2281 (return-type "time_t")
2284 (define-function time_get_local_time
2285 (c-name "empathy_time_get_local_time")
2286 (return-type "time_t")
2288 '("struct-tm*" "tm")
2292 (define-function time_parse
2293 (c-name "empathy_time_parse")
2294 (return-type "time_t")
2296 '("const-gchar*" "str")
2300 (define-function time_to_string_utc
2301 (c-name "empathy_time_to_string_utc")
2302 (return-type "gchar*")
2305 '("const-gchar*" "format")
2309 (define-function time_to_string_local
2310 (c-name "empathy_time_to_string_local")
2311 (return-type "gchar*")
2314 '("const-gchar*" "format")
2318 (define-function time_to_string_relative
2319 (c-name "empathy_time_to_string_relative")
2320 (return-type "gchar*")
2328 ;; From empathy-tp-call.h
2330 (define-function tp_call_get_type
2331 (c-name "empathy_tp_call_get_type")
2332 (return-type "GType")
2335 (define-function tp_call_new
2336 (c-name "empathy_tp_call_new")
2337 (is-constructor-of "EmpathyTpCall")
2338 (return-type "EmpathyTpCall*")
2340 '("TpChannel*" "channel")
2344 (define-method close
2345 (of-object "EmpathyTpCall")
2346 (c-name "empathy_tp_call_close")
2347 (return-type "none")
2351 (of-object "EmpathyTpCall")
2352 (c-name "empathy_tp_call_to")
2353 (return-type "none")
2355 '("EmpathyContact*" "contact")
2356 '("gboolean" "audio")
2357 '("gboolean" "video")
2361 (define-method accept_incoming_call
2362 (of-object "EmpathyTpCall")
2363 (c-name "empathy_tp_call_accept_incoming_call")
2364 (return-type "none")
2367 (define-method request_video_stream_direction
2368 (of-object "EmpathyTpCall")
2369 (c-name "empathy_tp_call_request_video_stream_direction")
2370 (return-type "none")
2372 '("gboolean" "is_sending")
2376 (define-method start_tone
2377 (of-object "EmpathyTpCall")
2378 (c-name "empathy_tp_call_start_tone")
2379 (return-type "none")
2381 '("TpDTMFEvent" "event")
2385 (define-method stop_tone
2386 (of-object "EmpathyTpCall")
2387 (c-name "empathy_tp_call_stop_tone")
2388 (return-type "none")
2391 (define-method has_dtmf
2392 (of-object "EmpathyTpCall")
2393 (c-name "empathy_tp_call_has_dtmf")
2394 (return-type "gboolean")
2397 (define-method is_receiving_video
2398 (of-object "EmpathyTpCall")
2399 (c-name "empathy_tp_call_is_receiving_video")
2400 (return-type "gboolean")
2403 (define-method is_sending_video
2404 (of-object "EmpathyTpCall")
2405 (c-name "empathy_tp_call_is_sending_video")
2406 (return-type "gboolean")
2411 ;; From empathy-tp-chat.h
2413 (define-function tp_chat_get_type
2414 (c-name "empathy_tp_chat_get_type")
2415 (return-type "GType")
2418 (define-function tp_chat_new
2419 (c-name "empathy_tp_chat_new")
2420 (is-constructor-of "EmpathyTpChat")
2421 (return-type "EmpathyTpChat*")
2423 '("TpChannel*" "channel")
2427 (define-method close
2428 (of-object "EmpathyTpChat")
2429 (c-name "empathy_tp_chat_close")
2430 (return-type "none")
2433 (define-method get_id
2434 (of-object "EmpathyTpChat")
2435 (c-name "empathy_tp_chat_get_id")
2436 (return-type "const-gchar*")
2439 (define-method get_remote_contact
2440 (of-object "EmpathyTpChat")
2441 (c-name "empathy_tp_chat_get_remote_contact")
2442 (return-type "EmpathyContact*")
2445 (define-method get_channel
2446 (of-object "EmpathyTpChat")
2447 (c-name "empathy_tp_chat_get_channel")
2448 (return-type "TpChannel*")
2451 (define-method get_connection
2452 (of-object "EmpathyTpChat")
2453 (c-name "empathy_tp_chat_get_connection")
2454 (return-type "TpConnection*")
2457 (define-method is_ready
2458 (of-object "EmpathyTpChat")
2459 (c-name "empathy_tp_chat_is_ready")
2460 (return-type "gboolean")
2464 (of-object "EmpathyTpChat")
2465 (c-name "empathy_tp_chat_send")
2466 (return-type "none")
2468 '("EmpathyMessage*" "message")
2472 (define-method set_state
2473 (of-object "EmpathyTpChat")
2474 (c-name "empathy_tp_chat_set_state")
2475 (return-type "none")
2477 '("TpChannelChatState" "state")
2481 (define-method set_property
2482 (of-object "EmpathyTpChat")
2483 (c-name "empathy_tp_chat_set_property")
2484 (return-type "none")
2486 '("const-gchar*" "name")
2487 '("const-GValue*" "value")
2491 (define-method get_pending_messages
2492 (of-object "EmpathyTpChat")
2493 (c-name "empathy_tp_chat_get_pending_messages")
2494 (return-type "const-GList*")
2497 (define-method acknowledge_message
2498 (of-object "EmpathyTpChat")
2499 (c-name "empathy_tp_chat_acknowledge_message")
2500 (return-type "none")
2502 '("EmpathyMessage*" "message")
2506 (define-method acknowledge_messages
2507 (of-object "EmpathyTpChat")
2508 (c-name "empathy_tp_chat_acknowledge_messages")
2509 (return-type "none")
2511 '("const-GList*" "messages")
2517 ;; From empathy-tp-contact-factory.h
2519 (define-function tp_contact_factory_get_type
2520 (c-name "empathy_tp_contact_factory_get_type")
2521 (return-type "GType")
2524 (define-function tp_contact_factory_dup_singleton
2525 (c-name "empathy_tp_contact_factory_dup_singleton")
2526 (return-type "EmpathyTpContactFactory*")
2528 '("TpConnection*" "connection")
2532 (define-method get_from_ids
2533 (of-object "EmpathyTpContactFactory")
2534 (c-name "empathy_tp_contact_factory_get_from_ids")
2535 (return-type "none")
2538 '("const-gchar*-const*" "ids")
2539 '("EmpathyTpContactFactoryContactsByIdCb" "callback")
2540 '("gpointer" "user_data")
2541 '("GDestroyNotify" "destroy")
2542 '("GObject*" "weak_object")
2546 (define-method get_from_handles
2547 (of-object "EmpathyTpContactFactory")
2548 (c-name "empathy_tp_contact_factory_get_from_handles")
2549 (return-type "none")
2551 '("guint" "n_handles")
2552 '("const-TpHandle*" "handles")
2553 '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
2554 '("gpointer" "user_data")
2555 '("GDestroyNotify" "destroy")
2556 '("GObject*" "weak_object")
2560 (define-method get_from_id
2561 (of-object "EmpathyTpContactFactory")
2562 (c-name "empathy_tp_contact_factory_get_from_id")
2563 (return-type "none")
2565 '("const-gchar*" "id")
2566 '("EmpathyTpContactFactoryContactCb" "callback")
2567 '("gpointer" "user_data")
2568 '("GDestroyNotify" "destroy")
2569 '("GObject*" "weak_object")
2573 (define-method get_from_handle
2574 (of-object "EmpathyTpContactFactory")
2575 (c-name "empathy_tp_contact_factory_get_from_handle")
2576 (return-type "none")
2578 '("TpHandle" "handle")
2579 '("EmpathyTpContactFactoryContactCb" "callback")
2580 '("gpointer" "user_data")
2581 '("GDestroyNotify" "destroy")
2582 '("GObject*" "weak_object")
2586 (define-method set_alias
2587 (of-object "EmpathyTpContactFactory")
2588 (c-name "empathy_tp_contact_factory_set_alias")
2589 (return-type "none")
2591 '("EmpathyContact*" "contact")
2592 '("const-gchar*" "alias")
2596 (define-method set_avatar
2597 (of-object "EmpathyTpContactFactory")
2598 (c-name "empathy_tp_contact_factory_set_avatar")
2599 (return-type "none")
2601 '("const-gchar*" "data")
2603 '("const-gchar*" "mime_type")
2607 (define-method set_location
2608 (of-object "EmpathyTpContactFactory")
2609 (c-name "empathy_tp_contact_factory_set_location")
2610 (return-type "none")
2612 '("GHashTable*" "location")
2618 ;; From empathy-tp-contact-list.h
2620 (define-function tp_contact_list_get_type
2621 (c-name "empathy_tp_contact_list_get_type")
2622 (return-type "GType")
2625 (define-function tp_contact_list_new
2626 (c-name "empathy_tp_contact_list_new")
2627 (is-constructor-of "EmpathyTpContactList")
2628 (return-type "EmpathyTpContactList*")
2630 '("TpConnection*" "connection")
2634 (define-method get_connection
2635 (of-object "EmpathyTpContactList")
2636 (c-name "empathy_tp_contact_list_get_connection")
2637 (return-type "TpConnection*")
2640 (define-method can_add
2641 (of-object "EmpathyTpContactList")
2642 (c-name "empathy_tp_contact_list_can_add")
2643 (return-type "gboolean")
2646 (define-method remove_all
2647 (of-object "EmpathyTpContactList")
2648 (c-name "empathy_tp_contact_list_remove_all")
2649 (return-type "none")
2654 ;; From empathy-tp-file.h
2656 (define-function tp_file_get_type
2657 (c-name "empathy_tp_file_get_type")
2658 (return-type "GType")
2661 (define-function tp_file_new
2662 (c-name "empathy_tp_file_new")
2663 (is-constructor-of "EmpathyTpFile")
2664 (return-type "EmpathyTpFile*")
2666 '("TpChannel*" "channel")
2667 '("gboolean" "incoming")
2671 (define-method accept
2672 (of-object "EmpathyTpFile")
2673 (c-name "empathy_tp_file_accept")
2674 (return-type "none")
2676 '("guint64" "offset")
2678 '("GCancellable*" "cancellable")
2679 '("EmpathyTpFileProgressCallback" "progress_callback")
2680 '("gpointer" "progress_user_data")
2681 '("EmpathyTpFileOperationCallback" "op_callback")
2682 '("gpointer" "op_user_data")
2686 (define-method offer
2687 (of-object "EmpathyTpFile")
2688 (c-name "empathy_tp_file_offer")
2689 (return-type "none")
2692 '("GCancellable*" "cancellable")
2693 '("EmpathyTpFileProgressCallback" "progress_callback")
2694 '("gpointer" "progress_user_data")
2695 '("EmpathyTpFileOperationCallback" "op_callback")
2696 '("gpointer" "op_user_data")
2700 (define-method cancel
2701 (of-object "EmpathyTpFile")
2702 (c-name "empathy_tp_file_cancel")
2703 (return-type "none")
2706 (define-method close
2707 (of-object "EmpathyTpFile")
2708 (c-name "empathy_tp_file_close")
2709 (return-type "none")
2712 (define-method is_incoming
2713 (of-object "EmpathyTpFile")
2714 (c-name "empathy_tp_file_is_incoming")
2715 (return-type "gboolean")
2720 ;; From empathy-tp-roomlist.h
2722 (define-function tp_roomlist_get_type
2723 (c-name "empathy_tp_roomlist_get_type")
2724 (return-type "GType")
2727 (define-function tp_roomlist_new
2728 (c-name "empathy_tp_roomlist_new")
2729 (is-constructor-of "EmpathyTpRoomlist")
2730 (return-type "EmpathyTpRoomlist*")
2732 '("EmpathyAccount*" "account")
2736 (define-method is_listing
2737 (of-object "EmpathyTpRoomlist")
2738 (c-name "empathy_tp_roomlist_is_listing")
2739 (return-type "gboolean")
2742 (define-method start
2743 (of-object "EmpathyTpRoomlist")
2744 (c-name "empathy_tp_roomlist_start")
2745 (return-type "none")
2749 (of-object "EmpathyTpRoomlist")
2750 (c-name "empathy_tp_roomlist_stop")
2751 (return-type "none")
2756 ;; From empathy-tube-handler.h
2758 (define-function tube_handler_get_type
2759 (c-name "empathy_tube_handler_get_type")
2760 (return-type "GType")
2763 (define-function tube_handler_new
2764 (c-name "empathy_tube_handler_new")
2765 (is-constructor-of "EmpathyTubeHandler")
2766 (return-type "EmpathyTubeHandler*")
2768 '("TpTubeType" "type")
2769 '("const-gchar*" "service")
2773 (define-function tube_handler_build_bus_name
2774 (c-name "empathy_tube_handler_build_bus_name")
2775 (return-type "gchar*")
2777 '("TpTubeType" "type")
2778 '("const-gchar*" "service")
2782 (define-function tube_handler_build_object_path
2783 (c-name "empathy_tube_handler_build_object_path")
2784 (return-type "gchar*")
2786 '("TpTubeType" "type")
2787 '("const-gchar*" "service")
2793 ;; From empathy-types.h
2797 ;; From empathy-utils.h
2799 (define-function init
2800 (c-name "empathy_init")
2801 (return-type "none")
2804 (define-function substring
2805 (c-name "empathy_substring")
2806 (return-type "gchar*")
2808 '("const-gchar*" "str")
2814 (define-function strcasecmp
2815 (c-name "empathy_strcasecmp")
2816 (return-type "gint")
2818 '("const-gchar*" "s1")
2819 '("const-gchar*" "s2")
2823 (define-function strncasecmp
2824 (c-name "empathy_strncasecmp")
2825 (return-type "gint")
2827 '("const-gchar*" "s1")
2828 '("const-gchar*" "s2")
2833 (define-function xml_validate
2834 (c-name "empathy_xml_validate")
2835 (return-type "gboolean")
2838 '("const-gchar*" "dtd_filename")
2842 (define-function xml_node_get_child
2843 (c-name "empathy_xml_node_get_child")
2844 (return-type "xmlNodePtr")
2846 '("xmlNodePtr" "node")
2847 '("const-gchar*" "child_name")
2851 (define-function xml_node_get_child_content
2852 (c-name "empathy_xml_node_get_child_content")
2853 (return-type "xmlChar*")
2855 '("xmlNodePtr" "node")
2856 '("const-gchar*" "child_name")
2860 (define-function xml_node_find_child_prop_value
2861 (c-name "empathy_xml_node_find_child_prop_value")
2862 (return-type "xmlNodePtr")
2864 '("xmlNodePtr" "node")
2865 '("const-gchar*" "prop_name")
2866 '("const-gchar*" "prop_value")
2870 (define-function account_hash
2871 (c-name "empathy_account_hash")
2872 (return-type "guint")
2874 '("gconstpointer" "key")
2878 (define-function account_equal
2879 (c-name "empathy_account_equal")
2880 (return-type "gboolean")
2882 '("gconstpointer" "a")
2883 '("gconstpointer" "b")
2887 (define-function mission_control_dup_singleton
2888 (c-name "empathy_mission_control_dup_singleton")
2889 (return-type "MissionControl*")
2892 (define-function presence_get_default_message
2893 (c-name "empathy_presence_get_default_message")
2894 (return-type "const-gchar*")
2896 '("TpConnectionPresenceType" "presence")
2900 (define-function presence_to_str
2901 (c-name "empathy_presence_to_str")
2902 (return-type "const-gchar*")
2904 '("TpConnectionPresenceType" "presence")
2908 (define-function presence_from_str
2909 (c-name "empathy_presence_from_str")
2910 (return-type "TpConnectionPresenceType")
2912 '("const-gchar*" "str")
2916 (define-function file_lookup
2917 (c-name "empathy_file_lookup")
2918 (return-type "gchar*")
2920 '("const-gchar*" "filename")
2921 '("const-gchar*" "subdir")
2925 (define-function proxy_equal
2926 (c-name "empathy_proxy_equal")
2927 (return-type "gboolean")
2929 '("gconstpointer" "a")
2930 '("gconstpointer" "b")
2934 (define-function proxy_hash
2935 (c-name "empathy_proxy_hash")
2936 (return-type "guint")
2938 '("gconstpointer" "key")
2942 (define-function check_available_state
2943 (c-name "empathy_check_available_state")
2944 (return-type "gboolean")
2947 (define-function uint_compare
2948 (c-name "empathy_uint_compare")
2949 (return-type "gint")
2951 '("gconstpointer" "a")
2952 '("gconstpointer" "b")