2 ; object definitions ...
3 (define-object AccountManager
6 (c-name "EmpathyAccountManager")
7 (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
10 (define-object Chatroom
13 (c-name "EmpathyChatroom")
14 (gtype-id "EMPATHY_TYPE_CHATROOM")
17 (define-object ChatroomManager
20 (c-name "EmpathyChatroomManager")
21 (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
24 (define-object Contact
27 (c-name "EmpathyContact")
28 (gtype-id "EMPATHY_TYPE_CONTACT")
31 (define-object ContactFactory
34 (c-name "EmpathyContactFactory")
35 (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
38 (define-interface ContactList
40 (c-name "EmpathyContactList")
41 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
44 (define-object ContactManager
47 (implements "EmpathyContactList")
48 (c-name "EmpathyContactManager")
49 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
52 (define-object Dispatcher
55 (c-name "EmpathyDispatcher")
56 (gtype-id "EMPATHY_TYPE_DISPATCHER")
62 (c-name "EmpathyIdle")
63 (gtype-id "EMPATHY_TYPE_IDLE")
66 (define-object IrcNetwork
69 (c-name "EmpathyIrcNetwork")
70 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
73 (define-object IrcNetworkManager
76 (c-name "EmpathyIrcNetworkManager")
77 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
80 (define-object IrcServer
83 (c-name "EmpathyIrcServer")
84 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
87 (define-object LogManager
90 (c-name "EmpathyLogManager")
91 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
94 (define-object Message
97 (c-name "EmpathyMessage")
98 (gtype-id "EMPATHY_TYPE_MESSAGE")
101 (define-object TpCall
102 (in-module "Empathy")
104 (c-name "EmpathyTpCall")
105 (gtype-id "EMPATHY_TYPE_TP_CALL")
108 (define-object TpChat
109 (in-module "Empathy")
111 (c-name "EmpathyTpChat")
112 (gtype-id "EMPATHY_TYPE_TP_CHAT")
115 (define-object TpContactFactory
116 (in-module "Empathy")
118 (c-name "EmpathyTpContactFactory")
119 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
122 (define-object TpContactList
123 (in-module "Empathy")
125 (implements "EmpathyContactList")
126 (c-name "EmpathyTpContactList")
127 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
130 (define-object TpFile
131 (in-module "Empathy")
133 (c-name "EmpathyTpFile")
134 (gtype-id "EMPATHY_TYPE_TP_FILE")
137 (define-object TpGroup
138 (in-module "Empathy")
140 (c-name "EmpathyTpGroup")
141 (gtype-id "EMPATHY_TYPE_TP_GROUP")
144 (define-object TpRoomlist
145 (in-module "Empathy")
147 (c-name "EmpathyTpRoomlist")
148 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
151 (define-object TpTube
152 (in-module "Empathy")
154 (c-name "EmpathyTpTube")
155 (gtype-id "EMPATHY_TYPE_TP_TUBE")
158 (define-object TubeHandler
159 (in-module "Empathy")
161 (c-name "EmpathyTubeHandler")
162 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
165 ;; Enumerations and flags ...
167 (define-flags Capabilities
168 (in-module "Empathy")
169 (c-name "EmpathyCapabilities")
170 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
172 '("none" "EMPATHY_CAPABILITIES_NONE")
173 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
174 '("video" "EMPATHY_CAPABILITIES_VIDEO")
175 '("ft" "EMPATHY_CAPABILITIES_FT")
176 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
180 (define-flags ContactReady
181 (in-module "Empathy")
182 (c-name "EmpathyContactReady")
183 (gtype-id "EMPATHY_TYPE_CONTACT_READY")
185 '("none" "EMPATHY_CONTACT_READY_NONE")
186 '("id" "EMPATHY_CONTACT_READY_ID")
187 '("handle" "EMPATHY_CONTACT_READY_HANDLE")
188 '("name" "EMPATHY_CONTACT_READY_NAME")
189 '("all" "EMPATHY_CONTACT_READY_ALL")
193 (define-flags DebugFlags
194 (in-module "Empathy")
195 (c-name "EmpathyDebugFlags")
196 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
198 '("tp" "EMPATHY_DEBUG_TP")
199 '("chat" "EMPATHY_DEBUG_CHAT")
200 '("contact" "EMPATHY_DEBUG_CONTACT")
201 '("account" "EMPATHY_DEBUG_ACCOUNT")
202 '("irc" "EMPATHY_DEBUG_IRC")
203 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
204 '("ft" "EMPATHY_DEBUG_FT")
205 '("other" "EMPATHY_DEBUG_OTHER")
209 (define-enum TpCallStatus
210 (in-module "Empathy")
211 (c-name "EmpathyTpCallStatus")
212 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
214 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
215 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
216 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
217 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
222 ;; From empathy-account-manager.h
224 (define-function account_manager_get_type
225 (c-name "empathy_account_manager_get_type")
226 (return-type "GType")
229 (define-function account_manager_dup_singleton
230 (c-name "empathy_account_manager_dup_singleton")
231 (return-type "EmpathyAccountManager*")
234 (define-method get_connected_accounts
235 (of-object "EmpathyAccountManager")
236 (c-name "empathy_account_manager_get_connected_accounts")
240 (define-method get_connecting_accounts
241 (of-object "EmpathyAccountManager")
242 (c-name "empathy_account_manager_get_connecting_accounts")
246 (define-method is_account_just_connected
247 (of-object "EmpathyAccountManager")
248 (c-name "empathy_account_manager_is_account_just_connected")
249 (return-type "gboolean")
251 '("McAccount*" "account")
257 ;; From empathy-chatroom.h
259 (define-function chatroom_get_type
260 (c-name "empathy_chatroom_get_type")
261 (return-type "GType")
264 (define-function chatroom_new
265 (c-name "empathy_chatroom_new")
266 (is-constructor-of "EmpathyChatroom")
267 (return-type "EmpathyChatroom*")
269 '("McAccount*" "account")
273 (define-function chatroom_new_full
274 (c-name "empathy_chatroom_new_full")
275 (return-type "EmpathyChatroom*")
277 '("McAccount*" "account")
278 '("const-gchar*" "room")
279 '("const-gchar*" "name")
280 '("gboolean" "auto_connect")
284 (define-method get_account
285 (of-object "EmpathyChatroom")
286 (c-name "empathy_chatroom_get_account")
287 (return-type "McAccount*")
290 (define-method set_account
291 (of-object "EmpathyChatroom")
292 (c-name "empathy_chatroom_set_account")
295 '("McAccount*" "account")
299 (define-method get_room
300 (of-object "EmpathyChatroom")
301 (c-name "empathy_chatroom_get_room")
302 (return-type "const-gchar*")
305 (define-method set_room
306 (of-object "EmpathyChatroom")
307 (c-name "empathy_chatroom_set_room")
310 '("const-gchar*" "room")
314 (define-method get_name
315 (of-object "EmpathyChatroom")
316 (c-name "empathy_chatroom_get_name")
317 (return-type "const-gchar*")
320 (define-method set_name
321 (of-object "EmpathyChatroom")
322 (c-name "empathy_chatroom_set_name")
325 '("const-gchar*" "name")
329 (define-method get_auto_connect
330 (of-object "EmpathyChatroom")
331 (c-name "empathy_chatroom_get_auto_connect")
332 (return-type "gboolean")
335 (define-method set_auto_connect
336 (of-object "EmpathyChatroom")
337 (c-name "empathy_chatroom_set_auto_connect")
340 '("gboolean" "auto_connect")
344 (define-function chatroom_equal
345 (c-name "empathy_chatroom_equal")
346 (return-type "gboolean")
348 '("gconstpointer" "v1")
349 '("gconstpointer" "v2")
355 ;; From empathy-chatroom-manager.h
357 (define-function chatroom_manager_get_type
358 (c-name "empathy_chatroom_manager_get_type")
359 (return-type "GType")
362 (define-function chatroom_manager_new
363 (c-name "empathy_chatroom_manager_new")
364 (is-constructor-of "EmpathyChatroomManager")
365 (return-type "EmpathyChatroomManager*")
367 '("const-gchar*" "file")
372 (of-object "EmpathyChatroomManager")
373 (c-name "empathy_chatroom_manager_add")
374 (return-type "gboolean")
376 '("EmpathyChatroom*" "chatroom")
380 (define-method remove
381 (of-object "EmpathyChatroomManager")
382 (c-name "empathy_chatroom_manager_remove")
385 '("EmpathyChatroom*" "chatroom")
390 (of-object "EmpathyChatroomManager")
391 (c-name "empathy_chatroom_manager_find")
392 (return-type "EmpathyChatroom*")
394 '("McAccount*" "account")
395 '("const-gchar*" "room")
399 (define-method get_chatrooms
400 (of-object "EmpathyChatroomManager")
401 (c-name "empathy_chatroom_manager_get_chatrooms")
402 (return-type "GList*")
404 '("McAccount*" "account")
408 (define-method get_count
409 (of-object "EmpathyChatroomManager")
410 (c-name "empathy_chatroom_manager_get_count")
411 (return-type "guint")
413 '("McAccount*" "account")
419 ;; From empathy-contact.h
421 (define-function contact_get_type
422 (c-name "empathy_contact_get_type")
423 (return-type "GType")
426 (define-function contact_new
427 (c-name "empathy_contact_new")
428 (is-constructor-of "EmpathyContact")
429 (return-type "EmpathyContact*")
431 '("McAccount*" "account")
435 (define-function contact_new_full
436 (c-name "empathy_contact_new_full")
437 (return-type "EmpathyContact*")
439 '("McAccount*" "account")
440 '("const-gchar*" "id")
441 '("const-gchar*" "name")
445 (define-method get_id
446 (of-object "EmpathyContact")
447 (c-name "empathy_contact_get_id")
448 (return-type "const-gchar*")
451 (define-method set_id
452 (of-object "EmpathyContact")
453 (c-name "empathy_contact_set_id")
456 '("const-gchar*" "id")
460 (define-method get_name
461 (of-object "EmpathyContact")
462 (c-name "empathy_contact_get_name")
463 (return-type "const-gchar*")
466 (define-method set_name
467 (of-object "EmpathyContact")
468 (c-name "empathy_contact_set_name")
471 '("const-gchar*" "name")
475 (define-method get_avatar
476 (of-object "EmpathyContact")
477 (c-name "empathy_contact_get_avatar")
478 (return-type "EmpathyAvatar*")
481 (define-method set_avatar
482 (of-object "EmpathyContact")
483 (c-name "empathy_contact_set_avatar")
486 '("EmpathyAvatar*" "avatar")
490 (define-method get_account
491 (of-object "EmpathyContact")
492 (c-name "empathy_contact_get_account")
493 (return-type "McAccount*")
496 (define-method set_account
497 (of-object "EmpathyContact")
498 (c-name "empathy_contact_set_account")
501 '("McAccount*" "account")
505 (define-method get_presence
506 (of-object "EmpathyContact")
507 (c-name "empathy_contact_get_presence")
508 (return-type "McPresence")
511 (define-method set_presence
512 (of-object "EmpathyContact")
513 (c-name "empathy_contact_set_presence")
516 '("McPresence" "presence")
520 (define-method get_presence_message
521 (of-object "EmpathyContact")
522 (c-name "empathy_contact_get_presence_message")
523 (return-type "const-gchar*")
526 (define-method set_presence_message
527 (of-object "EmpathyContact")
528 (c-name "empathy_contact_set_presence_message")
531 '("const-gchar*" "message")
535 (define-method get_handle
536 (of-object "EmpathyContact")
537 (c-name "empathy_contact_get_handle")
538 (return-type "guint")
541 (define-method set_handle
542 (of-object "EmpathyContact")
543 (c-name "empathy_contact_set_handle")
550 (define-method get_capabilities
551 (of-object "EmpathyContact")
552 (c-name "empathy_contact_get_capabilities")
553 (return-type "EmpathyCapabilities")
556 (define-method set_capabilities
557 (of-object "EmpathyContact")
558 (c-name "empathy_contact_set_capabilities")
561 '("EmpathyCapabilities" "capabilities")
565 (define-method get_ready
566 (of-object "EmpathyContact")
567 (c-name "empathy_contact_get_ready")
568 (return-type "EmpathyContactReady")
571 (define-method is_user
572 (of-object "EmpathyContact")
573 (c-name "empathy_contact_is_user")
574 (return-type "gboolean")
577 (define-method set_is_user
578 (of-object "EmpathyContact")
579 (c-name "empathy_contact_set_is_user")
582 '("gboolean" "is_user")
586 (define-method is_online
587 (of-object "EmpathyContact")
588 (c-name "empathy_contact_is_online")
589 (return-type "gboolean")
592 (define-method get_status
593 (of-object "EmpathyContact")
594 (c-name "empathy_contact_get_status")
595 (return-type "const-gchar*")
598 (define-method can_voip
599 (of-object "EmpathyContact")
600 (c-name "empathy_contact_can_voip")
601 (return-type "gboolean")
604 (define-method can_send_files
605 (of-object "EmpathyContact")
606 (c-name "empathy_contact_can_send_files")
607 (return-type "gboolean")
610 (define-function contact_equal
611 (c-name "empathy_contact_equal")
612 (return-type "gboolean")
614 '("gconstpointer" "v1")
615 '("gconstpointer" "v2")
619 (define-function contact_hash
620 (c-name "empathy_contact_hash")
621 (return-type "guint")
623 '("gconstpointer" "key")
627 (define-method run_until_ready
628 (of-object "EmpathyContact")
629 (c-name "empathy_contact_run_until_ready")
632 '("EmpathyContactReady" "ready")
633 '("GMainLoop**" "loop")
637 (define-method load_avatar_data
638 (of-object "EmpathyContact")
639 (c-name "empathy_contact_load_avatar_data")
642 '("const-guchar*" "data")
643 '("const-gsize" "len")
644 '("const-gchar*" "format")
645 '("const-gchar*" "token")
649 (define-method load_avatar_cache
650 (of-object "EmpathyContact")
651 (c-name "empathy_contact_load_avatar_cache")
652 (return-type "gboolean")
654 '("const-gchar*" "token")
658 (define-function avatar_get_type
659 (c-name "empathy_avatar_get_type")
660 (return-type "GType")
663 (define-function avatar_new
664 (c-name "empathy_avatar_new")
665 (is-constructor-of "EmpathyAvatar")
666 (return-type "EmpathyAvatar*")
676 (of-object "EmpathyAvatar")
677 (c-name "empathy_avatar_ref")
678 (return-type "EmpathyAvatar*")
682 (of-object "EmpathyAvatar")
683 (c-name "empathy_avatar_unref")
687 (define-method save_to_file
688 (of-object "EmpathyAvatar")
689 (c-name "empathy_avatar_save_to_file")
690 (return-type "gboolean")
692 '("const-gchar*" "filename")
693 '("GError**" "error")
699 ;; From empathy-contact-factory.h
701 (define-function contact_factory_get_type
702 (c-name "empathy_contact_factory_get_type")
703 (return-type "GType")
706 (define-function contact_factory_new
707 (c-name "empathy_contact_factory_new")
708 (is-constructor-of "EmpathyContactFactory")
709 (return-type "EmpathyContactFactory*")
712 (define-method get_tp_factory
713 (of-object "EmpathyContactFactory")
714 (c-name "empathy_contact_factory_get_tp_factory")
715 (return-type "EmpathyTpContactFactory*")
717 '("McAccount*" "account")
721 (define-method get_user
722 (of-object "EmpathyContactFactory")
723 (c-name "empathy_contact_factory_get_user")
724 (return-type "EmpathyContact*")
726 '("McAccount*" "account")
730 (define-method get_from_id
731 (of-object "EmpathyContactFactory")
732 (c-name "empathy_contact_factory_get_from_id")
733 (return-type "EmpathyContact*")
735 '("McAccount*" "account")
736 '("const-gchar*" "id")
740 (define-method get_from_handle
741 (of-object "EmpathyContactFactory")
742 (c-name "empathy_contact_factory_get_from_handle")
743 (return-type "EmpathyContact*")
745 '("McAccount*" "account")
750 (define-method get_from_handles
751 (of-object "EmpathyContactFactory")
752 (c-name "empathy_contact_factory_get_from_handles")
753 (return-type "GList*")
755 '("McAccount*" "account")
756 '("const-GArray*" "handles")
760 (define-method set_alias
761 (of-object "EmpathyContactFactory")
762 (c-name "empathy_contact_factory_set_alias")
765 '("EmpathyContact*" "contact")
766 '("const-gchar*" "alias")
770 (define-method set_avatar
771 (of-object "EmpathyContactFactory")
772 (c-name "empathy_contact_factory_set_avatar")
775 '("McAccount*" "account")
776 '("const-gchar*" "data")
778 '("const-gchar*" "mime_type")
784 ;; From empathy-contact-groups.h
786 (define-function contact_groups_get_all
787 (c-name "empathy_contact_groups_get_all")
791 (define-function contact_group_get_expanded
792 (c-name "empathy_contact_group_get_expanded")
793 (return-type "gboolean")
795 '("const-gchar*" "group")
799 (define-function contact_group_set_expanded
800 (c-name "empathy_contact_group_set_expanded")
803 '("const-gchar*" "group")
804 '("gboolean" "expanded")
810 ;; From empathy-contact-list.h
812 (define-function contact_list_get_type
813 (c-name "empathy_contact_list_get_type")
814 (return-type "GType")
818 (of-object "EmpathyContactList")
819 (c-name "empathy_contact_list_add")
822 '("EmpathyContact*" "contact")
823 '("const-gchar*" "message")
827 (define-method remove
828 (of-object "EmpathyContactList")
829 (c-name "empathy_contact_list_remove")
832 '("EmpathyContact*" "contact")
833 '("const-gchar*" "message")
837 (define-method get_members
838 (of-object "EmpathyContactList")
839 (c-name "empathy_contact_list_get_members")
840 (return-type "GList*")
843 (define-method get_pendings
844 (of-object "EmpathyContactList")
845 (c-name "empathy_contact_list_get_pendings")
846 (return-type "GList*")
849 (define-method get_all_groups
850 (of-object "EmpathyContactList")
851 (c-name "empathy_contact_list_get_all_groups")
852 (return-type "GList*")
855 (define-method get_groups
856 (of-object "EmpathyContactList")
857 (c-name "empathy_contact_list_get_groups")
858 (return-type "GList*")
860 '("EmpathyContact*" "contact")
864 (define-method add_to_group
865 (of-object "EmpathyContactList")
866 (c-name "empathy_contact_list_add_to_group")
869 '("EmpathyContact*" "contact")
870 '("const-gchar*" "group")
874 (define-method remove_from_group
875 (of-object "EmpathyContactList")
876 (c-name "empathy_contact_list_remove_from_group")
879 '("EmpathyContact*" "contact")
880 '("const-gchar*" "group")
884 (define-method rename_group
885 (of-object "EmpathyContactList")
886 (c-name "empathy_contact_list_rename_group")
889 '("const-gchar*" "old_group")
890 '("const-gchar*" "new_group")
894 (define-method remove_group
895 (of-object "EmpathyContactList")
896 (c-name "empathy_contact_list_remove_group")
899 '("const-gchar*" "group")
903 (define-method get_monitor
904 (of-object "EmpathyContactList")
905 (c-name "empathy_contact_list_get_monitor")
906 (return-type "EmpathyContactMonitor*")
911 ;; From empathy-contact-manager.h
913 (define-function contact_manager_get_type
914 (c-name "empathy_contact_manager_get_type")
915 (return-type "GType")
918 (define-function contact_manager_new
919 (c-name "empathy_contact_manager_new")
920 (is-constructor-of "EmpathyContactManager")
921 (return-type "EmpathyContactManager*")
924 (define-method get_list
925 (of-object "EmpathyContactManager")
926 (c-name "empathy_contact_manager_get_list")
927 (return-type "EmpathyTpContactList*")
929 '("McAccount*" "account")
933 (define-method can_add
934 (of-object "EmpathyContactManager")
935 (c-name "empathy_contact_manager_can_add")
936 (return-type "gboolean")
938 '("McAccount*" "account")
944 ;; From empathy-debug.h
946 (define-function debug_flag_is_set
947 (c-name "empathy_debug_flag_is_set")
948 (return-type "gboolean")
950 '("EmpathyDebugFlags" "flag")
954 (define-function debug
955 (c-name "empathy_debug")
958 '("EmpathyDebugFlags" "flag")
959 '("const-gchar*" "format")
964 (define-function debug_set_flags
965 (c-name "empathy_debug_set_flags")
968 '("const-gchar*" "flags_string")
974 ;; From empathy-dispatcher.h
976 (define-function dispatcher_get_type
977 (c-name "empathy_dispatcher_get_type")
978 (return-type "GType")
981 (define-function dispatcher_new
982 (c-name "empathy_dispatcher_new")
983 (is-constructor-of "EmpathyDispatcher")
984 (return-type "EmpathyDispatcher*")
987 (define-method channel_process
988 (of-object "EmpathyDispatcher")
989 (c-name "empathy_dispatcher_channel_process")
992 '("TpChannel*" "channel")
996 (define-function dispatcher_tube_get_type
997 (c-name "empathy_dispatcher_tube_get_type")
998 (return-type "GType")
1002 (of-object "EmpathyDispatcherTube")
1003 (c-name "empathy_dispatcher_tube_ref")
1004 (return-type "EmpathyDispatcherTube*")
1007 (define-method unref
1008 (of-object "EmpathyDispatcherTube")
1009 (c-name "empathy_dispatcher_tube_unref")
1010 (return-type "none")
1013 (define-method tube_process
1014 (of-object "EmpathyDispatcher")
1015 (c-name "empathy_dispatcher_tube_process")
1016 (return-type "none")
1018 '("EmpathyDispatcherTube*" "tube")
1022 (define-function dispatcher_call_with_contact
1023 (c-name "empathy_dispatcher_call_with_contact")
1024 (return-type "none")
1026 '("EmpathyContact*" "contact")
1030 (define-function dispatcher_call_with_contact_id
1031 (c-name "empathy_dispatcher_call_with_contact_id")
1032 (return-type "none")
1034 '("McAccount*" "account")
1035 '("const-gchar*" "contact_id")
1039 (define-function dispatcher_chat_with_contact_id
1040 (c-name "empathy_dispatcher_chat_with_contact_id")
1041 (return-type "none")
1043 '("McAccount*" "account")
1044 '("const-gchar*" "contact_id")
1048 (define-function dispatcher_chat_with_contact
1049 (c-name "empathy_dispatcher_chat_with_contact")
1050 (return-type "none")
1052 '("EmpathyContact*" "contact")
1056 (define-function dispatcher_send_file
1057 (c-name "empathy_dispatcher_send_file")
1058 (return-type "none")
1060 '("EmpathyContact*" "contact")
1067 ;; From empathy-idle.h
1069 (define-function idle_get_type
1070 (c-name "empathy_idle_get_type")
1071 (return-type "GType")
1074 (define-function idle_new
1075 (c-name "empathy_idle_new")
1076 (is-constructor-of "EmpathyIdle")
1077 (return-type "EmpathyIdle*")
1080 (define-method get_state
1081 (of-object "EmpathyIdle")
1082 (c-name "empathy_idle_get_state")
1083 (return-type "McPresence")
1086 (define-method set_state
1087 (of-object "EmpathyIdle")
1088 (c-name "empathy_idle_set_state")
1089 (return-type "none")
1091 '("McPresence" "state")
1095 (define-method get_status
1096 (of-object "EmpathyIdle")
1097 (c-name "empathy_idle_get_status")
1098 (return-type "const-gchar*")
1101 (define-method set_status
1102 (of-object "EmpathyIdle")
1103 (c-name "empathy_idle_set_status")
1104 (return-type "none")
1106 '("const-gchar*" "status")
1110 (define-method get_flash_state
1111 (of-object "EmpathyIdle")
1112 (c-name "empathy_idle_get_flash_state")
1113 (return-type "McPresence")
1116 (define-method set_flash_state
1117 (of-object "EmpathyIdle")
1118 (c-name "empathy_idle_set_flash_state")
1119 (return-type "none")
1121 '("McPresence" "state")
1125 (define-method set_presence
1126 (of-object "EmpathyIdle")
1127 (c-name "empathy_idle_set_presence")
1128 (return-type "none")
1130 '("McPresence" "state")
1131 '("const-gchar*" "status")
1135 (define-method get_auto_away
1136 (of-object "EmpathyIdle")
1137 (c-name "empathy_idle_get_auto_away")
1138 (return-type "gboolean")
1141 (define-method set_auto_away
1142 (of-object "EmpathyIdle")
1143 (c-name "empathy_idle_set_auto_away")
1144 (return-type "none")
1146 '("gboolean" "auto_away")
1150 (define-method get_use_nm
1151 (of-object "EmpathyIdle")
1152 (c-name "empathy_idle_get_use_nm")
1153 (return-type "gboolean")
1156 (define-method set_use_nm
1157 (of-object "EmpathyIdle")
1158 (c-name "empathy_idle_set_use_nm")
1159 (return-type "none")
1161 '("gboolean" "use_nm")
1167 ;; From empathy-irc-network.h
1169 (define-function irc_network_get_type
1170 (c-name "empathy_irc_network_get_type")
1171 (return-type "GType")
1174 (define-function irc_network_new
1175 (c-name "empathy_irc_network_new")
1176 (is-constructor-of "EmpathyIrcNetwork")
1177 (return-type "EmpathyIrcNetwork*")
1179 '("const-gchar*" "name")
1183 (define-method get_servers
1184 (of-object "EmpathyIrcNetwork")
1185 (c-name "empathy_irc_network_get_servers")
1186 (return-type "GSList*")
1189 (define-method append_server
1190 (of-object "EmpathyIrcNetwork")
1191 (c-name "empathy_irc_network_append_server")
1192 (return-type "none")
1194 '("EmpathyIrcServer*" "server")
1198 (define-method remove_server
1199 (of-object "EmpathyIrcNetwork")
1200 (c-name "empathy_irc_network_remove_server")
1201 (return-type "none")
1203 '("EmpathyIrcServer*" "server")
1207 (define-method set_server_position
1208 (of-object "EmpathyIrcNetwork")
1209 (c-name "empathy_irc_network_set_server_position")
1210 (return-type "none")
1212 '("EmpathyIrcServer*" "server")
1219 ;; From empathy-irc-network-manager.h
1221 (define-function irc_network_manager_get_type
1222 (c-name "empathy_irc_network_manager_get_type")
1223 (return-type "GType")
1226 (define-function irc_network_manager_new
1227 (c-name "empathy_irc_network_manager_new")
1228 (is-constructor-of "EmpathyIrcNetworkManager")
1229 (return-type "EmpathyIrcNetworkManager*")
1231 '("const-gchar*" "global_file")
1232 '("const-gchar*" "user_file")
1237 (of-object "EmpathyIrcNetworkManager")
1238 (c-name "empathy_irc_network_manager_add")
1239 (return-type "none")
1241 '("EmpathyIrcNetwork*" "network")
1245 (define-method remove
1246 (of-object "EmpathyIrcNetworkManager")
1247 (c-name "empathy_irc_network_manager_remove")
1248 (return-type "none")
1250 '("EmpathyIrcNetwork*" "network")
1254 (define-method get_networks
1255 (of-object "EmpathyIrcNetworkManager")
1256 (c-name "empathy_irc_network_manager_get_networks")
1257 (return-type "GSList*")
1260 (define-method find_network_by_address
1261 (of-object "EmpathyIrcNetworkManager")
1262 (c-name "empathy_irc_network_manager_find_network_by_address")
1263 (return-type "EmpathyIrcNetwork*")
1265 '("const-gchar*" "address")
1271 ;; From empathy-irc-server.h
1273 (define-function irc_server_get_type
1274 (c-name "empathy_irc_server_get_type")
1275 (return-type "GType")
1278 (define-function irc_server_new
1279 (c-name "empathy_irc_server_new")
1280 (is-constructor-of "EmpathyIrcServer")
1281 (return-type "EmpathyIrcServer*")
1283 '("const-gchar*" "address")
1291 ;; From empathy-log-manager.h
1293 (define-function log_manager_get_type
1294 (c-name "empathy_log_manager_get_type")
1295 (return-type "GType")
1298 (define-function log_manager_new
1299 (c-name "empathy_log_manager_new")
1300 (is-constructor-of "EmpathyLogManager")
1301 (return-type "EmpathyLogManager*")
1304 (define-method add_message
1305 (of-object "EmpathyLogManager")
1306 (c-name "empathy_log_manager_add_message")
1307 (return-type "none")
1309 '("const-gchar*" "chat_id")
1310 '("gboolean" "chatroom")
1311 '("EmpathyMessage*" "message")
1315 (define-method exists
1316 (of-object "EmpathyLogManager")
1317 (c-name "empathy_log_manager_exists")
1318 (return-type "gboolean")
1320 '("McAccount*" "account")
1321 '("const-gchar*" "chat_id")
1322 '("gboolean" "chatroom")
1326 (define-method get_dates
1327 (of-object "EmpathyLogManager")
1328 (c-name "empathy_log_manager_get_dates")
1329 (return-type "GList*")
1331 '("McAccount*" "account")
1332 '("const-gchar*" "chat_id")
1333 '("gboolean" "chatroom")
1337 (define-method get_messages_for_file
1338 (of-object "EmpathyLogManager")
1339 (c-name "empathy_log_manager_get_messages_for_file")
1340 (return-type "GList*")
1342 '("const-gchar*" "filename")
1346 (define-method get_messages_for_date
1347 (of-object "EmpathyLogManager")
1348 (c-name "empathy_log_manager_get_messages_for_date")
1349 (return-type "GList*")
1351 '("McAccount*" "account")
1352 '("const-gchar*" "chat_id")
1353 '("gboolean" "chatroom")
1354 '("const-gchar*" "date")
1358 (define-method get_last_messages
1359 (of-object "EmpathyLogManager")
1360 (c-name "empathy_log_manager_get_last_messages")
1361 (return-type "GList*")
1363 '("McAccount*" "account")
1364 '("const-gchar*" "chat_id")
1365 '("gboolean" "chatroom")
1369 (define-method get_messages_for_file
1370 (of-object "EmpathyLogManager")
1371 (c-name "empathy_log_manager_get_messages_for_file")
1372 (return-type "GList*")
1374 '("const-gchar*" "filename")
1378 (define-method get_chats
1379 (of-object "EmpathyLogManager")
1380 (c-name "empathy_log_manager_get_chats")
1381 (return-type "GList*")
1383 '("McAccount*" "account")
1387 (define-method search_new
1388 (of-object "EmpathyLogManager")
1389 (c-name "empathy_log_manager_search_new")
1390 (return-type "GList*")
1392 '("const-gchar*" "text")
1396 (define-function log_manager_search_free
1397 (c-name "empathy_log_manager_search_free")
1398 (return-type "none")
1404 (define-function log_manager_get_date_readable
1405 (c-name "empathy_log_manager_get_date_readable")
1406 (return-type "gchar*")
1408 '("const-gchar*" "date")
1414 ;; From empathy-message.h
1416 (define-function message_get_type
1417 (c-name "empathy_message_get_type")
1418 (return-type "GType")
1421 (define-function message_new
1422 (c-name "empathy_message_new")
1423 (is-constructor-of "EmpathyMessage")
1424 (return-type "EmpathyMessage*")
1426 '("const-gchar*" "body")
1430 (define-method get_tptype
1431 (of-object "EmpathyMessage")
1432 (c-name "empathy_message_get_tptype")
1433 (return-type "TpChannelTextMessageType")
1436 (define-method set_tptype
1437 (of-object "EmpathyMessage")
1438 (c-name "empathy_message_set_tptype")
1439 (return-type "none")
1441 '("TpChannelTextMessageType" "type")
1445 (define-method get_sender
1446 (of-object "EmpathyMessage")
1447 (c-name "empathy_message_get_sender")
1448 (return-type "EmpathyContact*")
1451 (define-method set_sender
1452 (of-object "EmpathyMessage")
1453 (c-name "empathy_message_set_sender")
1454 (return-type "none")
1456 '("EmpathyContact*" "contact")
1460 (define-method get_receiver
1461 (of-object "EmpathyMessage")
1462 (c-name "empathy_message_get_receiver")
1463 (return-type "EmpathyContact*")
1466 (define-method set_receiver
1467 (of-object "EmpathyMessage")
1468 (c-name "empathy_message_set_receiver")
1469 (return-type "none")
1471 '("EmpathyContact*" "contact")
1475 (define-method get_body
1476 (of-object "EmpathyMessage")
1477 (c-name "empathy_message_get_body")
1478 (return-type "const-gchar*")
1481 (define-method set_body
1482 (of-object "EmpathyMessage")
1483 (c-name "empathy_message_set_body")
1484 (return-type "none")
1486 '("const-gchar*" "body")
1490 (define-method get_timestamp
1491 (of-object "EmpathyMessage")
1492 (c-name "empathy_message_get_timestamp")
1493 (return-type "time_t")
1496 (define-method set_timestamp
1497 (of-object "EmpathyMessage")
1498 (c-name "empathy_message_set_timestamp")
1499 (return-type "none")
1501 '("time_t" "timestamp")
1505 (define-method should_highlight
1506 (of-object "EmpathyMessage")
1507 (c-name "empathy_message_should_highlight")
1508 (return-type "gboolean")
1511 (define-function message_type_from_str
1512 (c-name "empathy_message_type_from_str")
1513 (return-type "TpChannelTextMessageType")
1515 '("const-gchar*" "type_str")
1519 (define-function message_type_to_str
1520 (c-name "empathy_message_type_to_str")
1521 (return-type "const-gchar*")
1523 '("TpChannelTextMessageType" "type")
1529 ;; From empathy-status-presets.h
1531 (define-function status_presets_get_all
1532 (c-name "empathy_status_presets_get_all")
1533 (return-type "none")
1536 (define-function status_presets_get
1537 (c-name "empathy_status_presets_get")
1538 (return-type "GList*")
1540 '("McPresence" "state")
1541 '("gint" "max_number")
1545 (define-function status_presets_set_last
1546 (c-name "empathy_status_presets_set_last")
1547 (return-type "none")
1549 '("McPresence" "state")
1550 '("const-gchar*" "status")
1554 (define-function status_presets_remove
1555 (c-name "empathy_status_presets_remove")
1556 (return-type "none")
1558 '("McPresence" "state")
1559 '("const-gchar*" "status")
1563 (define-function status_presets_reset
1564 (c-name "empathy_status_presets_reset")
1565 (return-type "none")
1568 (define-function status_presets_get_default_state
1569 (c-name "empathy_status_presets_get_default_state")
1570 (return-type "McPresence")
1573 (define-function status_presets_get_default_status
1574 (c-name "empathy_status_presets_get_default_status")
1575 (return-type "const-gchar*")
1578 (define-function status_presets_set_default
1579 (c-name "empathy_status_presets_set_default")
1580 (return-type "none")
1582 '("McPresence" "state")
1583 '("const-gchar*" "status")
1587 (define-function status_presets_clear_default
1588 (c-name "empathy_status_presets_clear_default")
1589 (return-type "none")
1594 ;; From empathy-time.h
1596 (define-function time_get_current
1597 (c-name "empathy_time_get_current")
1598 (return-type "time_t")
1601 (define-function time_get_local_time
1602 (c-name "empathy_time_get_local_time")
1603 (return-type "time_t")
1605 '("struct-tm*" "tm")
1609 (define-function time_parse
1610 (c-name "empathy_time_parse")
1611 (return-type "time_t")
1613 '("const-gchar*" "str")
1617 (define-function time_to_string_utc
1618 (c-name "empathy_time_to_string_utc")
1619 (return-type "gchar*")
1622 '("const-gchar*" "format")
1626 (define-function time_to_string_local
1627 (c-name "empathy_time_to_string_local")
1628 (return-type "gchar*")
1631 '("const-gchar*" "format")
1637 ;; From empathy-tp-call.h
1639 (define-function tp_call_get_type
1640 (c-name "empathy_tp_call_get_type")
1641 (return-type "GType")
1644 (define-function tp_call_new
1645 (c-name "empathy_tp_call_new")
1646 (is-constructor-of "EmpathyTpCall")
1647 (return-type "EmpathyTpCall*")
1649 '("TpChannel*" "channel")
1653 (define-method accept_incoming_call
1654 (of-object "EmpathyTpCall")
1655 (c-name "empathy_tp_call_accept_incoming_call")
1656 (return-type "none")
1659 (define-method request_video_stream_direction
1660 (of-object "EmpathyTpCall")
1661 (c-name "empathy_tp_call_request_video_stream_direction")
1662 (return-type "none")
1664 '("gboolean" "is_sending")
1668 (define-method add_preview_video
1669 (of-object "EmpathyTpCall")
1670 (c-name "empathy_tp_call_add_preview_video")
1671 (return-type "none")
1673 '("guint" "preview_video_socket_id")
1677 (define-method remove_preview_video
1678 (of-object "EmpathyTpCall")
1679 (c-name "empathy_tp_call_remove_preview_video")
1680 (return-type "none")
1682 '("guint" "preview_video_socket_id")
1686 (define-method add_output_video
1687 (of-object "EmpathyTpCall")
1688 (c-name "empathy_tp_call_add_output_video")
1689 (return-type "none")
1691 '("guint" "output_video_socket_id")
1695 (define-method set_output_volume
1696 (of-object "EmpathyTpCall")
1697 (c-name "empathy_tp_call_set_output_volume")
1698 (return-type "none")
1704 (define-method mute_output
1705 (of-object "EmpathyTpCall")
1706 (c-name "empathy_tp_call_mute_output")
1707 (return-type "none")
1709 '("gboolean" "is_muted")
1713 (define-method mute_input
1714 (of-object "EmpathyTpCall")
1715 (c-name "empathy_tp_call_mute_input")
1716 (return-type "none")
1718 '("gboolean" "is_muted")
1722 (define-method start_tone
1723 (of-object "EmpathyTpCall")
1724 (c-name "empathy_tp_call_start_tone")
1725 (return-type "none")
1727 '("TpDTMFEvent" "event")
1731 (define-method stop_tone
1732 (of-object "EmpathyTpCall")
1733 (c-name "empathy_tp_call_stop_tone")
1734 (return-type "none")
1737 (define-method has_dtmf
1738 (of-object "EmpathyTpCall")
1739 (c-name "empathy_tp_call_has_dtmf")
1740 (return-type "gboolean")
1745 ;; From empathy-tp-chat.h
1747 (define-function tp_chat_get_type
1748 (c-name "empathy_tp_chat_get_type")
1749 (return-type "GType")
1752 (define-function tp_chat_new
1753 (c-name "empathy_tp_chat_new")
1754 (is-constructor-of "EmpathyTpChat")
1755 (return-type "EmpathyTpChat*")
1757 '("TpChannel*" "channel")
1761 (define-method get_id
1762 (of-object "EmpathyTpChat")
1763 (c-name "empathy_tp_chat_get_id")
1764 (return-type "const-gchar*")
1767 (define-method get_remote_contact
1768 (of-object "EmpathyTpChat")
1769 (c-name "empathy_tp_chat_get_remote_contact")
1770 (return-type "EmpathyContact*")
1773 (define-method get_account
1774 (of-object "EmpathyTpChat")
1775 (c-name "empathy_tp_chat_get_account")
1776 (return-type "McAccount*")
1779 (define-method get_channel
1780 (of-object "EmpathyTpChat")
1781 (c-name "empathy_tp_chat_get_channel")
1782 (return-type "TpChannel*")
1785 (define-method is_ready
1786 (of-object "EmpathyTpChat")
1787 (c-name "empathy_tp_chat_is_ready")
1788 (return-type "gboolean")
1791 (define-method get_members_count
1792 (of-object "EmpathyTpChat")
1793 (c-name "empathy_tp_chat_get_members_count")
1794 (return-type "guint")
1797 (define-method set_acknowledge
1798 (of-object "EmpathyTpChat")
1799 (c-name "empathy_tp_chat_set_acknowledge")
1800 (return-type "none")
1802 '("gboolean" "acknowledge")
1806 (define-method emit_pendings
1807 (of-object "EmpathyTpChat")
1808 (c-name "empathy_tp_chat_emit_pendings")
1809 (return-type "none")
1813 (of-object "EmpathyTpChat")
1814 (c-name "empathy_tp_chat_send")
1815 (return-type "none")
1817 '("EmpathyMessage*" "message")
1821 (define-method set_state
1822 (of-object "EmpathyTpChat")
1823 (c-name "empathy_tp_chat_set_state")
1824 (return-type "none")
1826 '("TpChannelChatState" "state")
1830 (define-method set_property
1831 (of-object "EmpathyTpChat")
1832 (c-name "empathy_tp_chat_set_property")
1833 (return-type "none")
1835 '("const-gchar*" "name")
1836 '("const-GValue*" "value")
1842 ;; From empathy-tp-contact-factory.h
1844 (define-function tp_contact_factory_get_type
1845 (c-name "empathy_tp_contact_factory_get_type")
1846 (return-type "GType")
1849 (define-function tp_contact_factory_new
1850 (c-name "empathy_tp_contact_factory_new")
1851 (is-constructor-of "EmpathyTpContactFactory")
1852 (return-type "EmpathyTpContactFactory*")
1854 '("McAccount*" "account")
1858 (define-method get_user
1859 (of-object "EmpathyTpContactFactory")
1860 (c-name "empathy_tp_contact_factory_get_user")
1861 (return-type "EmpathyContact*")
1864 (define-method get_from_id
1865 (of-object "EmpathyTpContactFactory")
1866 (c-name "empathy_tp_contact_factory_get_from_id")
1867 (return-type "EmpathyContact*")
1869 '("const-gchar*" "id")
1873 (define-method get_from_handle
1874 (of-object "EmpathyTpContactFactory")
1875 (c-name "empathy_tp_contact_factory_get_from_handle")
1876 (return-type "EmpathyContact*")
1882 (define-method get_from_handles
1883 (of-object "EmpathyTpContactFactory")
1884 (c-name "empathy_tp_contact_factory_get_from_handles")
1885 (return-type "GList*")
1887 '("const-GArray*" "handles")
1891 (define-method set_alias
1892 (of-object "EmpathyTpContactFactory")
1893 (c-name "empathy_tp_contact_factory_set_alias")
1894 (return-type "none")
1896 '("EmpathyContact*" "contact")
1897 '("const-gchar*" "alias")
1901 (define-method set_avatar
1902 (of-object "EmpathyTpContactFactory")
1903 (c-name "empathy_tp_contact_factory_set_avatar")
1904 (return-type "none")
1906 '("const-gchar*" "data")
1908 '("const-gchar*" "mime_type")
1912 (define-method is_ready
1913 (of-object "EmpathyTpContactFactory")
1914 (c-name "empathy_tp_contact_factory_is_ready")
1915 (return-type "gboolean")
1920 ;; From empathy-tp-contact-list.h
1922 (define-function tp_contact_list_get_type
1923 (c-name "empathy_tp_contact_list_get_type")
1924 (return-type "GType")
1927 (define-function tp_contact_list_new
1928 (c-name "empathy_tp_contact_list_new")
1929 (is-constructor-of "EmpathyTpContactList")
1930 (return-type "EmpathyTpContactList*")
1932 '("McAccount*" "account")
1936 (define-method get_account
1937 (of-object "EmpathyTpContactList")
1938 (c-name "empathy_tp_contact_list_get_account")
1939 (return-type "McAccount*")
1942 (define-method can_add
1943 (of-object "EmpathyTpContactList")
1944 (c-name "empathy_tp_contact_list_can_add")
1945 (return-type "gboolean")
1950 ;; From empathy-tp-file.h
1952 (define-function tp_file_get_type
1953 (c-name "empathy_tp_file_get_type")
1954 (return-type "GType")
1957 (define-function tp_file_new
1958 (c-name "empathy_tp_file_new")
1959 (is-constructor-of "EmpathyTpFile")
1960 (return-type "EmpathyTpFile*")
1962 '("TpChannel*" "channel")
1966 (define-method get_channel
1967 (of-object "EmpathyTpFile")
1968 (c-name "empathy_tp_file_get_channel")
1969 (return-type "TpChannel*")
1972 (define-method accept
1973 (of-object "EmpathyTpFile")
1974 (c-name "empathy_tp_file_accept")
1975 (return-type "none")
1977 '("guint64" "offset")
1979 '("GError**" "error")
1983 (define-method cancel
1984 (of-object "EmpathyTpFile")
1985 (c-name "empathy_tp_file_cancel")
1986 (return-type "none")
1989 (define-method offer
1990 (of-object "EmpathyTpFile")
1991 (c-name "empathy_tp_file_offer")
1992 (return-type "none")
1995 '("GError**" "error")
1999 (define-method get_contact
2000 (of-object "EmpathyTpFile")
2001 (c-name "empathy_tp_file_get_contact")
2002 (return-type "EmpathyContact*")
2005 (define-method get_filename
2006 (of-object "EmpathyTpFile")
2007 (c-name "empathy_tp_file_get_filename")
2008 (return-type "const-gchar*")
2011 (define-method is_incoming
2012 (of-object "EmpathyTpFile")
2013 (c-name "empathy_tp_file_is_incoming")
2014 (return-type "gboolean")
2017 (define-method get_state
2018 (of-object "EmpathyTpFile")
2019 (c-name "empathy_tp_file_get_state")
2020 (return-type "EmpFileTransferState")
2022 '("EmpFileTransferStateChangeReason*" "reason")
2026 (define-method get_size
2027 (of-object "EmpathyTpFile")
2028 (c-name "empathy_tp_file_get_size")
2029 (return-type "guint64")
2032 (define-method get_transferred_bytes
2033 (of-object "EmpathyTpFile")
2034 (c-name "empathy_tp_file_get_transferred_bytes")
2035 (return-type "guint64")
2038 (define-method get_remaining_time
2039 (of-object "EmpathyTpFile")
2040 (c-name "empathy_tp_file_get_remaining_time")
2041 (return-type "gint")
2044 (define-method get_content_type
2045 (of-object "EmpathyTpFile")
2046 (c-name "empathy_tp_file_get_content_type")
2047 (return-type "const-gchar*")
2052 ;; From empathy-tp-group.h
2054 (define-function tp_group_get_type
2055 (c-name "empathy_tp_group_get_type")
2056 (return-type "GType")
2059 (define-function tp_group_new
2060 (c-name "empathy_tp_group_new")
2061 (is-constructor-of "EmpathyTpGroup")
2062 (return-type "EmpathyTpGroup*")
2064 '("TpChannel*" "channel")
2068 (define-method close
2069 (of-object "EmpathyTpGroup")
2070 (c-name "empathy_tp_group_close")
2071 (return-type "none")
2074 (define-method add_members
2075 (of-object "EmpathyTpGroup")
2076 (c-name "empathy_tp_group_add_members")
2077 (return-type "none")
2079 '("GList*" "contacts")
2080 '("const-gchar*" "message")
2084 (define-method add_member
2085 (of-object "EmpathyTpGroup")
2086 (c-name "empathy_tp_group_add_member")
2087 (return-type "none")
2089 '("EmpathyContact*" "contact")
2090 '("const-gchar*" "message")
2094 (define-method remove_members
2095 (of-object "EmpathyTpGroup")
2096 (c-name "empathy_tp_group_remove_members")
2097 (return-type "none")
2099 '("GList*" "contacts")
2100 '("const-gchar*" "message")
2104 (define-method remove_member
2105 (of-object "EmpathyTpGroup")
2106 (c-name "empathy_tp_group_remove_member")
2107 (return-type "none")
2109 '("EmpathyContact*" "contact")
2110 '("const-gchar*" "message")
2114 (define-method get_members
2115 (of-object "EmpathyTpGroup")
2116 (c-name "empathy_tp_group_get_members")
2117 (return-type "GList*")
2120 (define-method get_local_pendings
2121 (of-object "EmpathyTpGroup")
2122 (c-name "empathy_tp_group_get_local_pendings")
2123 (return-type "GList*")
2126 (define-method get_remote_pendings
2127 (of-object "EmpathyTpGroup")
2128 (c-name "empathy_tp_group_get_remote_pendings")
2129 (return-type "GList*")
2132 (define-method get_name
2133 (of-object "EmpathyTpGroup")
2134 (c-name "empathy_tp_group_get_name")
2135 (return-type "const-gchar*")
2138 (define-method get_self_contact
2139 (of-object "EmpathyTpGroup")
2140 (c-name "empathy_tp_group_get_self_contact")
2141 (return-type "EmpathyContact*")
2144 (define-method is_member
2145 (of-object "EmpathyTpGroup")
2146 (c-name "empathy_tp_group_is_member")
2147 (return-type "gboolean")
2149 '("EmpathyContact*" "contact")
2153 (define-method is_ready
2154 (of-object "EmpathyTpGroup")
2155 (c-name "empathy_tp_group_is_ready")
2156 (return-type "gboolean")
2159 (define-method get_invitation
2160 (of-object "EmpathyTpGroup")
2161 (c-name "empathy_tp_group_get_invitation")
2162 (return-type "EmpathyPendingInfo*")
2164 '("EmpathyContact**" "remote_contact")
2168 (define-function pending_info_new
2169 (c-name "empathy_pending_info_new")
2170 (is-constructor-of "EmpathyPendingInfo")
2171 (return-type "EmpathyPendingInfo*")
2173 '("EmpathyContact*" "member")
2174 '("EmpathyContact*" "actor")
2175 '("const-gchar*" "message")
2180 (of-object "EmpathyPendingInfo")
2181 (c-name "empathy_pending_info_free")
2182 (return-type "none")
2185 (define-method get_flags
2186 (of-object "EmpathyTpGroup")
2187 (c-name "empathy_tp_group_get_flags")
2188 (return-type "TpChannelGroupFlags")
2193 ;; From empathy-tp-roomlist.h
2195 (define-function tp_roomlist_get_type
2196 (c-name "empathy_tp_roomlist_get_type")
2197 (return-type "GType")
2200 (define-function tp_roomlist_new
2201 (c-name "empathy_tp_roomlist_new")
2202 (is-constructor-of "EmpathyTpRoomlist")
2203 (return-type "EmpathyTpRoomlist*")
2205 '("McAccount*" "account")
2209 (define-method is_listing
2210 (of-object "EmpathyTpRoomlist")
2211 (c-name "empathy_tp_roomlist_is_listing")
2212 (return-type "gboolean")
2215 (define-method start
2216 (of-object "EmpathyTpRoomlist")
2217 (c-name "empathy_tp_roomlist_start")
2218 (return-type "none")
2222 (of-object "EmpathyTpRoomlist")
2223 (c-name "empathy_tp_roomlist_stop")
2224 (return-type "none")
2229 ;; From empathy-tp-tube.h
2231 (define-function tp_tube_get_type
2232 (c-name "empathy_tp_tube_get_type")
2233 (return-type "GType")
2236 (define-function tp_tube_new
2237 (c-name "empathy_tp_tube_new")
2238 (is-constructor-of "EmpathyTpTube")
2239 (return-type "EmpathyTpTube*")
2241 '("TpChannel*" "channel")
2242 '("guint" "tube_id")
2246 (define-function tp_tube_new_stream_tube
2247 (c-name "empathy_tp_tube_new_stream_tube")
2248 (return-type "EmpathyTpTube*")
2250 '("EmpathyContact*" "contact")
2251 '("TpSocketAddressType" "type")
2252 '("const-gchar*" "hostname")
2254 '("const-gchar*" "service")
2258 (define-method accept_stream_tube
2259 (of-object "EmpathyTpTube")
2260 (c-name "empathy_tp_tube_accept_stream_tube")
2261 (return-type "none")
2263 '("TpSocketAddressType" "type")
2267 (define-method get_socket
2268 (of-object "EmpathyTpTube")
2269 (c-name "empathy_tp_tube_get_socket")
2270 (return-type "none")
2272 '("gchar**" "hostname")
2279 ;; From empathy-tube-handler.h
2281 (define-function tube_handler_get_type
2282 (c-name "empathy_tube_handler_get_type")
2283 (return-type "GType")
2286 (define-function tube_handler_new
2287 (c-name "empathy_tube_handler_new")
2288 (is-constructor-of "EmpathyTubeHandler")
2289 (return-type "EmpathyTubeHandler*")
2291 '("TpTubeType" "type")
2292 '("const-gchar*" "service")
2296 (define-function tube_handler_build_bus_name
2297 (c-name "empathy_tube_handler_build_bus_name")
2298 (return-type "gchar*")
2300 '("TpTubeType" "type")
2301 '("const-gchar*" "service")
2305 (define-function tube_handler_build_object_path
2306 (c-name "empathy_tube_handler_build_object_path")
2307 (return-type "gchar*")
2309 '("TpTubeType" "type")
2310 '("const-gchar*" "service")
2316 ;; From empathy-utils.h
2318 (define-function init
2319 (c-name "empathy_init")
2320 (return-type "none")
2323 (define-function substring
2324 (c-name "empathy_substring")
2325 (return-type "gchar*")
2327 '("const-gchar*" "str")
2333 (define-function strcasecmp
2334 (c-name "empathy_strcasecmp")
2335 (return-type "gint")
2337 '("const-gchar*" "s1")
2338 '("const-gchar*" "s2")
2342 (define-function strncasecmp
2343 (c-name "empathy_strncasecmp")
2344 (return-type "gint")
2346 '("const-gchar*" "s1")
2347 '("const-gchar*" "s2")
2352 (define-function xml_validate
2353 (c-name "empathy_xml_validate")
2354 (return-type "gboolean")
2357 '("const-gchar*" "dtd_filename")
2361 (define-function xml_node_get_child
2362 (c-name "empathy_xml_node_get_child")
2363 (return-type "xmlNodePtr")
2365 '("xmlNodePtr" "node")
2366 '("const-gchar*" "child_name")
2370 (define-function xml_node_get_child_content
2371 (c-name "empathy_xml_node_get_child_content")
2372 (return-type "xmlChar*")
2374 '("xmlNodePtr" "node")
2375 '("const-gchar*" "child_name")
2379 (define-function xml_node_find_child_prop_value
2380 (c-name "empathy_xml_node_find_child_prop_value")
2381 (return-type "xmlNodePtr")
2383 '("xmlNodePtr" "node")
2384 '("const-gchar*" "prop_name")
2385 '("const-gchar*" "prop_value")
2389 (define-function account_hash
2390 (c-name "empathy_account_hash")
2391 (return-type "guint")
2393 '("gconstpointer" "key")
2397 (define-function account_equal
2398 (c-name "empathy_account_equal")
2399 (return-type "gboolean")
2401 '("gconstpointer" "a")
2402 '("gconstpointer" "b")
2406 (define-function mission_control_new
2407 (c-name "empathy_mission_control_new")
2408 (is-constructor-of "EmpathyMissionControl")
2409 (return-type "MissionControl*")
2412 (define-function presence_get_default_message
2413 (c-name "empathy_presence_get_default_message")
2414 (return-type "const-gchar*")
2416 '("McPresence" "presence")
2420 (define-function presence_to_str
2421 (c-name "empathy_presence_to_str")
2422 (return-type "const-gchar*")
2424 '("McPresence" "presence")
2428 (define-function presence_from_str
2429 (c-name "empathy_presence_from_str")
2430 (return-type "McPresence")
2432 '("const-gchar*" "str")
2436 (define-function file_lookup
2437 (c-name "empathy_file_lookup")
2438 (return-type "gchar*")
2440 '("const-gchar*" "filename")
2441 '("const-gchar*" "subdir")
2445 (define-function run_until_ready
2446 (c-name "empathy_run_until_ready")
2447 (return-type "none")
2449 '("gpointer" "object")
2453 (define-function run_until_ready_full
2454 (c-name "empathy_run_until_ready_full")
2455 (return-type "none")
2457 '("gpointer" "object")
2458 '("const-gchar*" "signal")
2459 '("EmpathyRunUntilReadyFunc" "func")
2460 '("gpointer" "user_data")
2461 '("GMainLoop**" "loop")
2465 (define-function channel_get_account
2466 (c-name "empathy_channel_get_account")
2467 (return-type "McAccount*")
2469 '("TpChannel*" "channel")
2473 (define-function proxy_equal
2474 (c-name "empathy_proxy_equal")
2475 (return-type "gboolean")
2477 '("gconstpointer" "a")
2478 '("gconstpointer" "b")
2482 (define-function proxy_hash
2483 (c-name "empathy_proxy_hash")
2484 (return-type "guint")
2486 '("gconstpointer" "key")
2490 (define-function connection_request_channel
2491 (c-name "empathy_connection_request_channel")
2492 (return-type "none")
2494 '("TpConnection*" "proxy")
2495 '("gint" "timeout_ms")
2496 '("const-gchar*" "channel_type")
2497 '("guint" "handle_type")
2498 '("const-gchar*" "name")
2499 '("gboolean" "suppress_handler")
2500 '("empathy_connection_callback_for_request_channel" "callback")
2501 '("gpointer" "user_data")
2502 '("GDestroyNotify" "destroy")
2503 '("GObject*" "weak_object")