2 ; object definitions ...
3 (define-object Chatroom
6 (c-name "EmpathyChatroom")
7 (gtype-id "EMPATHY_TYPE_CHATROOM")
10 (define-object ChatroomManager
13 (c-name "EmpathyChatroomManager")
14 (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
17 (define-object Contact
20 (c-name "EmpathyContact")
21 (gtype-id "EMPATHY_TYPE_CONTACT")
24 (define-object ContactFactory
27 (c-name "EmpathyContactFactory")
28 (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
31 (define-interface ContactList
33 (c-name "EmpathyContactList")
34 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
37 (define-object ContactManager
40 (implements "EmpathyContactList")
41 (c-name "EmpathyContactManager")
42 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
45 (define-object Dispatcher
48 (c-name "EmpathyDispatcher")
49 (gtype-id "EMPATHY_TYPE_DISPATCHER")
55 (c-name "EmpathyIdle")
56 (gtype-id "EMPATHY_TYPE_IDLE")
59 (define-object IrcNetwork
62 (c-name "EmpathyIrcNetwork")
63 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
66 (define-object IrcNetworkManager
69 (c-name "EmpathyIrcNetworkManager")
70 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
73 (define-object IrcServer
76 (c-name "EmpathyIrcServer")
77 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
80 (define-object LogManager
83 (c-name "EmpathyLogManager")
84 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
87 (define-object Message
90 (c-name "EmpathyMessage")
91 (gtype-id "EMPATHY_TYPE_MESSAGE")
97 (c-name "EmpathyTpCall")
98 (gtype-id "EMPATHY_TYPE_TP_CALL")
101 (define-object TpChat
102 (in-module "Empathy")
104 (c-name "EmpathyTpChat")
105 (gtype-id "EMPATHY_TYPE_TP_CHAT")
108 (define-object TpContactFactory
109 (in-module "Empathy")
111 (c-name "EmpathyTpContactFactory")
112 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
115 (define-object TpContactList
116 (in-module "Empathy")
118 (implements "EmpathyContactList")
119 (c-name "EmpathyTpContactList")
120 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
123 (define-object TpFile
124 (in-module "Empathy")
126 (c-name "EmpathyTpFile")
127 (gtype-id "EMPATHY_TYPE_TP_FILE")
130 (define-object TpGroup
131 (in-module "Empathy")
133 (c-name "EmpathyTpGroup")
134 (gtype-id "EMPATHY_TYPE_TP_GROUP")
137 (define-object TpRoomlist
138 (in-module "Empathy")
140 (c-name "EmpathyTpRoomlist")
141 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
144 (define-object TpTube
145 (in-module "Empathy")
147 (c-name "EmpathyTpTube")
148 (gtype-id "EMPATHY_TYPE_TP_TUBE")
151 (define-object TubeHandler
152 (in-module "Empathy")
154 (c-name "EmpathyTubeHandler")
155 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
158 ;; Enumerations and flags ...
160 (define-flags Capabilities
161 (in-module "Empathy")
162 (c-name "EmpathyCapabilities")
163 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
165 '("none" "EMPATHY_CAPABILITIES_NONE")
166 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
167 '("video" "EMPATHY_CAPABILITIES_VIDEO")
168 '("ft" "EMPATHY_CAPABILITIES_FT")
169 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
173 (define-flags ContactReady
174 (in-module "Empathy")
175 (c-name "EmpathyContactReady")
176 (gtype-id "EMPATHY_TYPE_CONTACT_READY")
178 '("none" "EMPATHY_CONTACT_READY_NONE")
179 '("id" "EMPATHY_CONTACT_READY_ID")
180 '("handle" "EMPATHY_CONTACT_READY_HANDLE")
181 '("name" "EMPATHY_CONTACT_READY_NAME")
182 '("all" "EMPATHY_CONTACT_READY_ALL")
186 (define-flags DebugFlags
187 (in-module "Empathy")
188 (c-name "EmpathyDebugFlags")
189 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
191 '("tp" "EMPATHY_DEBUG_TP")
192 '("chat" "EMPATHY_DEBUG_CHAT")
193 '("contact" "EMPATHY_DEBUG_CONTACT")
194 '("account" "EMPATHY_DEBUG_ACCOUNT")
195 '("irc" "EMPATHY_DEBUG_IRC")
196 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
197 '("ft" "EMPATHY_DEBUG_FT")
198 '("other" "EMPATHY_DEBUG_OTHER")
202 (define-enum TpCallStatus
203 (in-module "Empathy")
204 (c-name "EmpathyTpCallStatus")
205 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
207 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
208 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
209 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
210 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
214 (define-enum RegExType
215 (in-module "Empathy")
216 (c-name "EmpathyRegExType")
217 (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
219 '("as-is" "EMPATHY_REGEX_AS_IS")
220 '("browser" "EMPATHY_REGEX_BROWSER")
221 '("apt" "EMPATHY_REGEX_APT")
222 '("email" "EMPATHY_REGEX_EMAIL")
223 '("other" "EMPATHY_REGEX_OTHER")
224 '("all" "EMPATHY_REGEX_ALL")
229 ;; From empathy-chatroom.h
231 (define-function chatroom_get_type
232 (c-name "empathy_chatroom_get_type")
233 (return-type "GType")
236 (define-function chatroom_new
237 (c-name "empathy_chatroom_new")
238 (is-constructor-of "EmpathyChatroom")
239 (return-type "EmpathyChatroom*")
241 '("McAccount*" "account")
245 (define-function chatroom_new_full
246 (c-name "empathy_chatroom_new_full")
247 (return-type "EmpathyChatroom*")
249 '("McAccount*" "account")
250 '("const-gchar*" "room")
251 '("const-gchar*" "name")
252 '("gboolean" "auto_connect")
256 (define-method get_account
257 (of-object "EmpathyChatroom")
258 (c-name "empathy_chatroom_get_account")
259 (return-type "McAccount*")
262 (define-method set_account
263 (of-object "EmpathyChatroom")
264 (c-name "empathy_chatroom_set_account")
267 '("McAccount*" "account")
271 (define-method get_room
272 (of-object "EmpathyChatroom")
273 (c-name "empathy_chatroom_get_room")
274 (return-type "const-gchar*")
277 (define-method set_room
278 (of-object "EmpathyChatroom")
279 (c-name "empathy_chatroom_set_room")
282 '("const-gchar*" "room")
286 (define-method get_name
287 (of-object "EmpathyChatroom")
288 (c-name "empathy_chatroom_get_name")
289 (return-type "const-gchar*")
292 (define-method set_name
293 (of-object "EmpathyChatroom")
294 (c-name "empathy_chatroom_set_name")
297 '("const-gchar*" "name")
301 (define-method get_auto_connect
302 (of-object "EmpathyChatroom")
303 (c-name "empathy_chatroom_get_auto_connect")
304 (return-type "gboolean")
307 (define-method set_auto_connect
308 (of-object "EmpathyChatroom")
309 (c-name "empathy_chatroom_set_auto_connect")
312 '("gboolean" "auto_connect")
316 (define-function chatroom_equal
317 (c-name "empathy_chatroom_equal")
318 (return-type "gboolean")
320 '("gconstpointer" "v1")
321 '("gconstpointer" "v2")
327 ;; From empathy-chatroom-manager.h
329 (define-function chatroom_manager_get_type
330 (c-name "empathy_chatroom_manager_get_type")
331 (return-type "GType")
334 (define-function chatroom_manager_new
335 (c-name "empathy_chatroom_manager_new")
336 (is-constructor-of "EmpathyChatroomManager")
337 (return-type "EmpathyChatroomManager*")
339 '("const-gchar*" "file")
344 (of-object "EmpathyChatroomManager")
345 (c-name "empathy_chatroom_manager_add")
346 (return-type "gboolean")
348 '("EmpathyChatroom*" "chatroom")
352 (define-method remove
353 (of-object "EmpathyChatroomManager")
354 (c-name "empathy_chatroom_manager_remove")
357 '("EmpathyChatroom*" "chatroom")
362 (of-object "EmpathyChatroomManager")
363 (c-name "empathy_chatroom_manager_find")
364 (return-type "EmpathyChatroom*")
366 '("McAccount*" "account")
367 '("const-gchar*" "room")
371 (define-method get_chatrooms
372 (of-object "EmpathyChatroomManager")
373 (c-name "empathy_chatroom_manager_get_chatrooms")
374 (return-type "GList*")
376 '("McAccount*" "account")
380 (define-method get_count
381 (of-object "EmpathyChatroomManager")
382 (c-name "empathy_chatroom_manager_get_count")
383 (return-type "guint")
385 '("McAccount*" "account")
391 ;; From empathy-contact.h
393 (define-function contact_get_type
394 (c-name "empathy_contact_get_type")
395 (return-type "GType")
398 (define-function contact_new
399 (c-name "empathy_contact_new")
400 (is-constructor-of "EmpathyContact")
401 (return-type "EmpathyContact*")
403 '("McAccount*" "account")
407 (define-function contact_new_full
408 (c-name "empathy_contact_new_full")
409 (return-type "EmpathyContact*")
411 '("McAccount*" "account")
412 '("const-gchar*" "id")
413 '("const-gchar*" "name")
417 (define-method get_id
418 (of-object "EmpathyContact")
419 (c-name "empathy_contact_get_id")
420 (return-type "const-gchar*")
423 (define-method set_id
424 (of-object "EmpathyContact")
425 (c-name "empathy_contact_set_id")
428 '("const-gchar*" "id")
432 (define-method get_name
433 (of-object "EmpathyContact")
434 (c-name "empathy_contact_get_name")
435 (return-type "const-gchar*")
438 (define-method set_name
439 (of-object "EmpathyContact")
440 (c-name "empathy_contact_set_name")
443 '("const-gchar*" "name")
447 (define-method get_avatar
448 (of-object "EmpathyContact")
449 (c-name "empathy_contact_get_avatar")
450 (return-type "EmpathyAvatar*")
453 (define-method set_avatar
454 (of-object "EmpathyContact")
455 (c-name "empathy_contact_set_avatar")
458 '("EmpathyAvatar*" "avatar")
462 (define-method get_account
463 (of-object "EmpathyContact")
464 (c-name "empathy_contact_get_account")
465 (return-type "McAccount*")
468 (define-method set_account
469 (of-object "EmpathyContact")
470 (c-name "empathy_contact_set_account")
473 '("McAccount*" "account")
477 (define-method get_presence
478 (of-object "EmpathyContact")
479 (c-name "empathy_contact_get_presence")
480 (return-type "McPresence")
483 (define-method set_presence
484 (of-object "EmpathyContact")
485 (c-name "empathy_contact_set_presence")
488 '("McPresence" "presence")
492 (define-method get_presence_message
493 (of-object "EmpathyContact")
494 (c-name "empathy_contact_get_presence_message")
495 (return-type "const-gchar*")
498 (define-method set_presence_message
499 (of-object "EmpathyContact")
500 (c-name "empathy_contact_set_presence_message")
503 '("const-gchar*" "message")
507 (define-method get_handle
508 (of-object "EmpathyContact")
509 (c-name "empathy_contact_get_handle")
510 (return-type "guint")
513 (define-method set_handle
514 (of-object "EmpathyContact")
515 (c-name "empathy_contact_set_handle")
522 (define-method get_capabilities
523 (of-object "EmpathyContact")
524 (c-name "empathy_contact_get_capabilities")
525 (return-type "EmpathyCapabilities")
528 (define-method set_capabilities
529 (of-object "EmpathyContact")
530 (c-name "empathy_contact_set_capabilities")
533 '("EmpathyCapabilities" "capabilities")
537 (define-method get_ready
538 (of-object "EmpathyContact")
539 (c-name "empathy_contact_get_ready")
540 (return-type "EmpathyContactReady")
543 (define-method is_user
544 (of-object "EmpathyContact")
545 (c-name "empathy_contact_is_user")
546 (return-type "gboolean")
549 (define-method set_is_user
550 (of-object "EmpathyContact")
551 (c-name "empathy_contact_set_is_user")
554 '("gboolean" "is_user")
558 (define-method is_online
559 (of-object "EmpathyContact")
560 (c-name "empathy_contact_is_online")
561 (return-type "gboolean")
564 (define-method get_status
565 (of-object "EmpathyContact")
566 (c-name "empathy_contact_get_status")
567 (return-type "const-gchar*")
570 (define-method can_voip
571 (of-object "EmpathyContact")
572 (c-name "empathy_contact_can_voip")
573 (return-type "gboolean")
576 (define-method can_send_files
577 (of-object "EmpathyContact")
578 (c-name "empathy_contact_can_send_files")
579 (return-type "gboolean")
582 (define-function contact_equal
583 (c-name "empathy_contact_equal")
584 (return-type "gboolean")
586 '("gconstpointer" "v1")
587 '("gconstpointer" "v2")
591 (define-function contact_hash
592 (c-name "empathy_contact_hash")
593 (return-type "guint")
595 '("gconstpointer" "key")
599 (define-method run_until_ready
600 (of-object "EmpathyContact")
601 (c-name "empathy_contact_run_until_ready")
604 '("EmpathyContactReady" "ready")
605 '("GMainLoop**" "loop")
609 (define-method load_avatar_data
610 (of-object "EmpathyContact")
611 (c-name "empathy_contact_load_avatar_data")
614 '("const-guchar*" "data")
615 '("const-gsize" "len")
616 '("const-gchar*" "format")
617 '("const-gchar*" "token")
621 (define-method load_avatar_cache
622 (of-object "EmpathyContact")
623 (c-name "empathy_contact_load_avatar_cache")
624 (return-type "gboolean")
626 '("const-gchar*" "token")
630 (define-function avatar_get_type
631 (c-name "empathy_avatar_get_type")
632 (return-type "GType")
635 (define-function avatar_new
636 (c-name "empathy_avatar_new")
637 (is-constructor-of "EmpathyAvatar")
638 (return-type "EmpathyAvatar*")
648 (of-object "EmpathyAvatar")
649 (c-name "empathy_avatar_ref")
650 (return-type "EmpathyAvatar*")
654 (of-object "EmpathyAvatar")
655 (c-name "empathy_avatar_unref")
659 (define-method save_to_file
660 (of-object "EmpathyAvatar")
661 (c-name "empathy_avatar_save_to_file")
662 (return-type "gboolean")
664 '("const-gchar*" "filename")
665 '("GError**" "error")
671 ;; From empathy-contact-factory.h
673 (define-function contact_factory_get_type
674 (c-name "empathy_contact_factory_get_type")
675 (return-type "GType")
678 (define-function contact_factory_new
679 (c-name "empathy_contact_factory_new")
680 (is-constructor-of "EmpathyContactFactory")
681 (return-type "EmpathyContactFactory*")
684 (define-method get_tp_factory
685 (of-object "EmpathyContactFactory")
686 (c-name "empathy_contact_factory_get_tp_factory")
687 (return-type "EmpathyTpContactFactory*")
689 '("McAccount*" "account")
693 (define-method get_user
694 (of-object "EmpathyContactFactory")
695 (c-name "empathy_contact_factory_get_user")
696 (return-type "EmpathyContact*")
698 '("McAccount*" "account")
702 (define-method get_from_id
703 (of-object "EmpathyContactFactory")
704 (c-name "empathy_contact_factory_get_from_id")
705 (return-type "EmpathyContact*")
707 '("McAccount*" "account")
708 '("const-gchar*" "id")
712 (define-method get_from_handle
713 (of-object "EmpathyContactFactory")
714 (c-name "empathy_contact_factory_get_from_handle")
715 (return-type "EmpathyContact*")
717 '("McAccount*" "account")
722 (define-method get_from_handles
723 (of-object "EmpathyContactFactory")
724 (c-name "empathy_contact_factory_get_from_handles")
725 (return-type "GList*")
727 '("McAccount*" "account")
728 '("const-GArray*" "handles")
732 (define-method set_alias
733 (of-object "EmpathyContactFactory")
734 (c-name "empathy_contact_factory_set_alias")
737 '("EmpathyContact*" "contact")
738 '("const-gchar*" "alias")
742 (define-method set_avatar
743 (of-object "EmpathyContactFactory")
744 (c-name "empathy_contact_factory_set_avatar")
747 '("McAccount*" "account")
748 '("const-gchar*" "data")
750 '("const-gchar*" "mime_type")
756 ;; From empathy-contact-groups.h
758 (define-function contact_groups_get_all
759 (c-name "empathy_contact_groups_get_all")
763 (define-function contact_group_get_expanded
764 (c-name "empathy_contact_group_get_expanded")
765 (return-type "gboolean")
767 '("const-gchar*" "group")
771 (define-function contact_group_set_expanded
772 (c-name "empathy_contact_group_set_expanded")
775 '("const-gchar*" "group")
776 '("gboolean" "expanded")
782 ;; From empathy-contact-list.h
784 (define-function contact_list_get_type
785 (c-name "empathy_contact_list_get_type")
786 (return-type "GType")
790 (of-object "EmpathyContactList")
791 (c-name "empathy_contact_list_add")
794 '("EmpathyContact*" "contact")
795 '("const-gchar*" "message")
799 (define-method remove
800 (of-object "EmpathyContactList")
801 (c-name "empathy_contact_list_remove")
804 '("EmpathyContact*" "contact")
805 '("const-gchar*" "message")
809 (define-method get_members
810 (of-object "EmpathyContactList")
811 (c-name "empathy_contact_list_get_members")
812 (return-type "GList*")
815 (define-method get_pendings
816 (of-object "EmpathyContactList")
817 (c-name "empathy_contact_list_get_pendings")
818 (return-type "GList*")
821 (define-method get_all_groups
822 (of-object "EmpathyContactList")
823 (c-name "empathy_contact_list_get_all_groups")
824 (return-type "GList*")
827 (define-method get_groups
828 (of-object "EmpathyContactList")
829 (c-name "empathy_contact_list_get_groups")
830 (return-type "GList*")
832 '("EmpathyContact*" "contact")
836 (define-method add_to_group
837 (of-object "EmpathyContactList")
838 (c-name "empathy_contact_list_add_to_group")
841 '("EmpathyContact*" "contact")
842 '("const-gchar*" "group")
846 (define-method remove_from_group
847 (of-object "EmpathyContactList")
848 (c-name "empathy_contact_list_remove_from_group")
851 '("EmpathyContact*" "contact")
852 '("const-gchar*" "group")
856 (define-method rename_group
857 (of-object "EmpathyContactList")
858 (c-name "empathy_contact_list_rename_group")
861 '("const-gchar*" "old_group")
862 '("const-gchar*" "new_group")
866 (define-method remove_group
867 (of-object "EmpathyContactList")
868 (c-name "empathy_contact_list_remove_group")
871 '("const-gchar*" "group")
877 ;; From empathy-contact-manager.h
879 (define-function contact_manager_get_type
880 (c-name "empathy_contact_manager_get_type")
881 (return-type "GType")
884 (define-function contact_manager_new
885 (c-name "empathy_contact_manager_new")
886 (is-constructor-of "EmpathyContactManager")
887 (return-type "EmpathyContactManager*")
890 (define-method get_list
891 (of-object "EmpathyContactManager")
892 (c-name "empathy_contact_manager_get_list")
893 (return-type "EmpathyTpContactList*")
895 '("McAccount*" "account")
901 ;; From empathy-debug.h
903 (define-function debug_flag_is_set
904 (c-name "empathy_debug_flag_is_set")
905 (return-type "gboolean")
907 '("EmpathyDebugFlags" "flag")
911 (define-function debug
912 (c-name "empathy_debug")
915 '("EmpathyDebugFlags" "flag")
916 '("const-gchar*" "format")
921 (define-function debug_set_flags
922 (c-name "empathy_debug_set_flags")
925 '("const-gchar*" "flags_string")
931 ;; From empathy-dispatcher.h
933 (define-function dispatcher_get_type
934 (c-name "empathy_dispatcher_get_type")
935 (return-type "GType")
938 (define-function dispatcher_new
939 (c-name "empathy_dispatcher_new")
940 (is-constructor-of "EmpathyDispatcher")
941 (return-type "EmpathyDispatcher*")
944 (define-method channel_process
945 (of-object "EmpathyDispatcher")
946 (c-name "empathy_dispatcher_channel_process")
949 '("TpChannel*" "channel")
953 (define-function dispatcher_tube_get_type
954 (c-name "empathy_dispatcher_tube_get_type")
955 (return-type "GType")
959 (of-object "EmpathyDispatcherTube")
960 (c-name "empathy_dispatcher_tube_ref")
961 (return-type "EmpathyDispatcherTube*")
965 (of-object "EmpathyDispatcherTube")
966 (c-name "empathy_dispatcher_tube_unref")
970 (define-method tube_process
971 (of-object "EmpathyDispatcher")
972 (c-name "empathy_dispatcher_tube_process")
975 '("EmpathyDispatcherTube*" "tube")
979 (define-function dispatcher_call_with_contact
980 (c-name "empathy_dispatcher_call_with_contact")
983 '("EmpathyContact*" "contact")
987 (define-function dispatcher_call_with_contact_id
988 (c-name "empathy_dispatcher_call_with_contact_id")
991 '("McAccount*" "account")
992 '("const-gchar*" "contact_id")
996 (define-function dispatcher_chat_with_contact_id
997 (c-name "empathy_dispatcher_chat_with_contact_id")
1000 '("McAccount*" "account")
1001 '("const-gchar*" "contact_id")
1005 (define-function dispatcher_chat_with_contact
1006 (c-name "empathy_dispatcher_chat_with_contact")
1007 (return-type "none")
1009 '("EmpathyContact*" "contact")
1013 (define-function dispatcher_send_file
1014 (c-name "empathy_dispatcher_send_file")
1015 (return-type "none")
1017 '("EmpathyContact*" "contact")
1024 ;; From empathy-idle.h
1026 (define-function idle_get_type
1027 (c-name "empathy_idle_get_type")
1028 (return-type "GType")
1031 (define-function idle_new
1032 (c-name "empathy_idle_new")
1033 (is-constructor-of "EmpathyIdle")
1034 (return-type "EmpathyIdle*")
1037 (define-method get_state
1038 (of-object "EmpathyIdle")
1039 (c-name "empathy_idle_get_state")
1040 (return-type "McPresence")
1043 (define-method set_state
1044 (of-object "EmpathyIdle")
1045 (c-name "empathy_idle_set_state")
1046 (return-type "none")
1048 '("McPresence" "state")
1052 (define-method get_status
1053 (of-object "EmpathyIdle")
1054 (c-name "empathy_idle_get_status")
1055 (return-type "const-gchar*")
1058 (define-method set_status
1059 (of-object "EmpathyIdle")
1060 (c-name "empathy_idle_set_status")
1061 (return-type "none")
1063 '("const-gchar*" "status")
1067 (define-method get_flash_state
1068 (of-object "EmpathyIdle")
1069 (c-name "empathy_idle_get_flash_state")
1070 (return-type "McPresence")
1073 (define-method set_flash_state
1074 (of-object "EmpathyIdle")
1075 (c-name "empathy_idle_set_flash_state")
1076 (return-type "none")
1078 '("McPresence" "state")
1082 (define-method set_presence
1083 (of-object "EmpathyIdle")
1084 (c-name "empathy_idle_set_presence")
1085 (return-type "none")
1087 '("McPresence" "state")
1088 '("const-gchar*" "status")
1092 (define-method get_auto_away
1093 (of-object "EmpathyIdle")
1094 (c-name "empathy_idle_get_auto_away")
1095 (return-type "gboolean")
1098 (define-method set_auto_away
1099 (of-object "EmpathyIdle")
1100 (c-name "empathy_idle_set_auto_away")
1101 (return-type "none")
1103 '("gboolean" "auto_away")
1107 (define-method get_use_nm
1108 (of-object "EmpathyIdle")
1109 (c-name "empathy_idle_get_use_nm")
1110 (return-type "gboolean")
1113 (define-method set_use_nm
1114 (of-object "EmpathyIdle")
1115 (c-name "empathy_idle_set_use_nm")
1116 (return-type "none")
1118 '("gboolean" "use_nm")
1124 ;; From empathy-irc-network.h
1126 (define-function irc_network_get_type
1127 (c-name "empathy_irc_network_get_type")
1128 (return-type "GType")
1131 (define-function irc_network_new
1132 (c-name "empathy_irc_network_new")
1133 (is-constructor-of "EmpathyIrcNetwork")
1134 (return-type "EmpathyIrcNetwork*")
1136 '("const-gchar*" "name")
1140 (define-method get_servers
1141 (of-object "EmpathyIrcNetwork")
1142 (c-name "empathy_irc_network_get_servers")
1143 (return-type "GSList*")
1146 (define-method append_server
1147 (of-object "EmpathyIrcNetwork")
1148 (c-name "empathy_irc_network_append_server")
1149 (return-type "none")
1151 '("EmpathyIrcServer*" "server")
1155 (define-method remove_server
1156 (of-object "EmpathyIrcNetwork")
1157 (c-name "empathy_irc_network_remove_server")
1158 (return-type "none")
1160 '("EmpathyIrcServer*" "server")
1164 (define-method set_server_position
1165 (of-object "EmpathyIrcNetwork")
1166 (c-name "empathy_irc_network_set_server_position")
1167 (return-type "none")
1169 '("EmpathyIrcServer*" "server")
1176 ;; From empathy-irc-network-manager.h
1178 (define-function irc_network_manager_get_type
1179 (c-name "empathy_irc_network_manager_get_type")
1180 (return-type "GType")
1183 (define-function irc_network_manager_new
1184 (c-name "empathy_irc_network_manager_new")
1185 (is-constructor-of "EmpathyIrcNetworkManager")
1186 (return-type "EmpathyIrcNetworkManager*")
1188 '("const-gchar*" "global_file")
1189 '("const-gchar*" "user_file")
1194 (of-object "EmpathyIrcNetworkManager")
1195 (c-name "empathy_irc_network_manager_add")
1196 (return-type "none")
1198 '("EmpathyIrcNetwork*" "network")
1202 (define-method remove
1203 (of-object "EmpathyIrcNetworkManager")
1204 (c-name "empathy_irc_network_manager_remove")
1205 (return-type "none")
1207 '("EmpathyIrcNetwork*" "network")
1211 (define-method get_networks
1212 (of-object "EmpathyIrcNetworkManager")
1213 (c-name "empathy_irc_network_manager_get_networks")
1214 (return-type "GSList*")
1217 (define-method find_network_by_address
1218 (of-object "EmpathyIrcNetworkManager")
1219 (c-name "empathy_irc_network_manager_find_network_by_address")
1220 (return-type "EmpathyIrcNetwork*")
1222 '("const-gchar*" "address")
1228 ;; From empathy-irc-server.h
1230 (define-function irc_server_get_type
1231 (c-name "empathy_irc_server_get_type")
1232 (return-type "GType")
1235 (define-function irc_server_new
1236 (c-name "empathy_irc_server_new")
1237 (is-constructor-of "EmpathyIrcServer")
1238 (return-type "EmpathyIrcServer*")
1240 '("const-gchar*" "address")
1248 ;; From empathy-log-manager.h
1250 (define-function log_manager_get_type
1251 (c-name "empathy_log_manager_get_type")
1252 (return-type "GType")
1255 (define-function log_manager_new
1256 (c-name "empathy_log_manager_new")
1257 (is-constructor-of "EmpathyLogManager")
1258 (return-type "EmpathyLogManager*")
1261 (define-method add_message
1262 (of-object "EmpathyLogManager")
1263 (c-name "empathy_log_manager_add_message")
1264 (return-type "none")
1266 '("const-gchar*" "chat_id")
1267 '("gboolean" "chatroom")
1268 '("EmpathyMessage*" "message")
1272 (define-method exists
1273 (of-object "EmpathyLogManager")
1274 (c-name "empathy_log_manager_exists")
1275 (return-type "gboolean")
1277 '("McAccount*" "account")
1278 '("const-gchar*" "chat_id")
1279 '("gboolean" "chatroom")
1283 (define-method get_dates
1284 (of-object "EmpathyLogManager")
1285 (c-name "empathy_log_manager_get_dates")
1286 (return-type "GList*")
1288 '("McAccount*" "account")
1289 '("const-gchar*" "chat_id")
1290 '("gboolean" "chatroom")
1294 (define-method get_messages_for_file
1295 (of-object "EmpathyLogManager")
1296 (c-name "empathy_log_manager_get_messages_for_file")
1297 (return-type "GList*")
1299 '("const-gchar*" "filename")
1303 (define-method get_messages_for_date
1304 (of-object "EmpathyLogManager")
1305 (c-name "empathy_log_manager_get_messages_for_date")
1306 (return-type "GList*")
1308 '("McAccount*" "account")
1309 '("const-gchar*" "chat_id")
1310 '("gboolean" "chatroom")
1311 '("const-gchar*" "date")
1315 (define-method get_last_messages
1316 (of-object "EmpathyLogManager")
1317 (c-name "empathy_log_manager_get_last_messages")
1318 (return-type "GList*")
1320 '("McAccount*" "account")
1321 '("const-gchar*" "chat_id")
1322 '("gboolean" "chatroom")
1326 (define-method get_messages_for_file
1327 (of-object "EmpathyLogManager")
1328 (c-name "empathy_log_manager_get_messages_for_file")
1329 (return-type "GList*")
1331 '("const-gchar*" "filename")
1335 (define-method get_chats
1336 (of-object "EmpathyLogManager")
1337 (c-name "empathy_log_manager_get_chats")
1338 (return-type "GList*")
1340 '("McAccount*" "account")
1344 (define-method search_new
1345 (of-object "EmpathyLogManager")
1346 (c-name "empathy_log_manager_search_new")
1347 (return-type "GList*")
1349 '("const-gchar*" "text")
1353 (define-function log_manager_search_free
1354 (c-name "empathy_log_manager_search_free")
1355 (return-type "none")
1361 (define-function log_manager_get_date_readable
1362 (c-name "empathy_log_manager_get_date_readable")
1363 (return-type "gchar*")
1365 '("const-gchar*" "date")
1371 ;; From empathy-message.h
1373 (define-function message_get_type
1374 (c-name "empathy_message_get_type")
1375 (return-type "GType")
1378 (define-function message_new
1379 (c-name "empathy_message_new")
1380 (is-constructor-of "EmpathyMessage")
1381 (return-type "EmpathyMessage*")
1383 '("const-gchar*" "body")
1387 (define-method get_tptype
1388 (of-object "EmpathyMessage")
1389 (c-name "empathy_message_get_tptype")
1390 (return-type "TpChannelTextMessageType")
1393 (define-method set_tptype
1394 (of-object "EmpathyMessage")
1395 (c-name "empathy_message_set_tptype")
1396 (return-type "none")
1398 '("TpChannelTextMessageType" "type")
1402 (define-method get_sender
1403 (of-object "EmpathyMessage")
1404 (c-name "empathy_message_get_sender")
1405 (return-type "EmpathyContact*")
1408 (define-method set_sender
1409 (of-object "EmpathyMessage")
1410 (c-name "empathy_message_set_sender")
1411 (return-type "none")
1413 '("EmpathyContact*" "contact")
1417 (define-method get_receiver
1418 (of-object "EmpathyMessage")
1419 (c-name "empathy_message_get_receiver")
1420 (return-type "EmpathyContact*")
1423 (define-method set_receiver
1424 (of-object "EmpathyMessage")
1425 (c-name "empathy_message_set_receiver")
1426 (return-type "none")
1428 '("EmpathyContact*" "contact")
1432 (define-method get_body
1433 (of-object "EmpathyMessage")
1434 (c-name "empathy_message_get_body")
1435 (return-type "const-gchar*")
1438 (define-method set_body
1439 (of-object "EmpathyMessage")
1440 (c-name "empathy_message_set_body")
1441 (return-type "none")
1443 '("const-gchar*" "body")
1447 (define-method get_timestamp
1448 (of-object "EmpathyMessage")
1449 (c-name "empathy_message_get_timestamp")
1450 (return-type "time_t")
1453 (define-method set_timestamp
1454 (of-object "EmpathyMessage")
1455 (c-name "empathy_message_set_timestamp")
1456 (return-type "none")
1458 '("time_t" "timestamp")
1462 (define-method get_date_and_time
1463 (of-object "EmpathyMessage")
1464 (c-name "empathy_message_get_date_and_time")
1465 (return-type "GDate*")
1467 '("time_t*" "timestamp")
1471 (define-method should_highlight
1472 (of-object "EmpathyMessage")
1473 (c-name "empathy_message_should_highlight")
1474 (return-type "gboolean")
1477 (define-function message_type_from_str
1478 (c-name "empathy_message_type_from_str")
1479 (return-type "TpChannelTextMessageType")
1481 '("const-gchar*" "type_str")
1485 (define-function message_type_to_str
1486 (c-name "empathy_message_type_to_str")
1487 (return-type "const-gchar*")
1489 '("TpChannelTextMessageType" "type")
1495 ;; From empathy-status-presets.h
1497 (define-function status_presets_get_all
1498 (c-name "empathy_status_presets_get_all")
1499 (return-type "none")
1502 (define-function status_presets_get
1503 (c-name "empathy_status_presets_get")
1504 (return-type "GList*")
1506 '("McPresence" "state")
1507 '("gint" "max_number")
1511 (define-function status_presets_set_last
1512 (c-name "empathy_status_presets_set_last")
1513 (return-type "none")
1515 '("McPresence" "state")
1516 '("const-gchar*" "status")
1520 (define-function status_presets_remove
1521 (c-name "empathy_status_presets_remove")
1522 (return-type "none")
1524 '("McPresence" "state")
1525 '("const-gchar*" "status")
1529 (define-function status_presets_reset
1530 (c-name "empathy_status_presets_reset")
1531 (return-type "none")
1534 (define-function status_presets_get_default_state
1535 (c-name "empathy_status_presets_get_default_state")
1536 (return-type "McPresence")
1539 (define-function status_presets_get_default_status
1540 (c-name "empathy_status_presets_get_default_status")
1541 (return-type "const-gchar*")
1544 (define-function status_presets_set_default
1545 (c-name "empathy_status_presets_set_default")
1546 (return-type "none")
1548 '("McPresence" "state")
1549 '("const-gchar*" "status")
1553 (define-function status_presets_clear_default
1554 (c-name "empathy_status_presets_clear_default")
1555 (return-type "none")
1560 ;; From empathy-time.h
1562 (define-function time_get_current
1563 (c-name "empathy_time_get_current")
1564 (return-type "time_t")
1567 (define-function time_get_local_time
1568 (c-name "empathy_time_get_local_time")
1569 (return-type "time_t")
1571 '("struct-tm*" "tm")
1575 (define-function time_parse
1576 (c-name "empathy_time_parse")
1577 (return-type "time_t")
1579 '("const-gchar*" "str")
1583 (define-function time_to_string_utc
1584 (c-name "empathy_time_to_string_utc")
1585 (return-type "gchar*")
1588 '("const-gchar*" "format")
1592 (define-function time_to_string_local
1593 (c-name "empathy_time_to_string_local")
1594 (return-type "gchar*")
1597 '("const-gchar*" "format")
1603 ;; From empathy-tp-call.h
1605 (define-function tp_call_get_type
1606 (c-name "empathy_tp_call_get_type")
1607 (return-type "GType")
1610 (define-function tp_call_new
1611 (c-name "empathy_tp_call_new")
1612 (is-constructor-of "EmpathyTpCall")
1613 (return-type "EmpathyTpCall*")
1615 '("TpChannel*" "channel")
1619 (define-method accept_incoming_call
1620 (of-object "EmpathyTpCall")
1621 (c-name "empathy_tp_call_accept_incoming_call")
1622 (return-type "none")
1625 (define-method request_video_stream_direction
1626 (of-object "EmpathyTpCall")
1627 (c-name "empathy_tp_call_request_video_stream_direction")
1628 (return-type "none")
1630 '("gboolean" "is_sending")
1634 (define-method add_preview_video
1635 (of-object "EmpathyTpCall")
1636 (c-name "empathy_tp_call_add_preview_video")
1637 (return-type "none")
1639 '("guint" "preview_video_socket_id")
1643 (define-method remove_preview_video
1644 (of-object "EmpathyTpCall")
1645 (c-name "empathy_tp_call_remove_preview_video")
1646 (return-type "none")
1648 '("guint" "preview_video_socket_id")
1652 (define-method add_output_video
1653 (of-object "EmpathyTpCall")
1654 (c-name "empathy_tp_call_add_output_video")
1655 (return-type "none")
1657 '("guint" "output_video_socket_id")
1661 (define-method set_output_volume
1662 (of-object "EmpathyTpCall")
1663 (c-name "empathy_tp_call_set_output_volume")
1664 (return-type "none")
1670 (define-method mute_output
1671 (of-object "EmpathyTpCall")
1672 (c-name "empathy_tp_call_mute_output")
1673 (return-type "none")
1675 '("gboolean" "is_muted")
1679 (define-method mute_input
1680 (of-object "EmpathyTpCall")
1681 (c-name "empathy_tp_call_mute_input")
1682 (return-type "none")
1684 '("gboolean" "is_muted")
1688 (define-method start_tone
1689 (of-object "EmpathyTpCall")
1690 (c-name "empathy_tp_call_start_tone")
1691 (return-type "none")
1693 '("TpDTMFEvent" "event")
1697 (define-method stop_tone
1698 (of-object "EmpathyTpCall")
1699 (c-name "empathy_tp_call_stop_tone")
1700 (return-type "none")
1703 (define-method has_dtmf
1704 (of-object "EmpathyTpCall")
1705 (c-name "empathy_tp_call_has_dtmf")
1706 (return-type "gboolean")
1711 ;; From empathy-tp-chat.h
1713 (define-function tp_chat_get_type
1714 (c-name "empathy_tp_chat_get_type")
1715 (return-type "GType")
1718 (define-function tp_chat_new
1719 (c-name "empathy_tp_chat_new")
1720 (is-constructor-of "EmpathyTpChat")
1721 (return-type "EmpathyTpChat*")
1723 '("TpChannel*" "channel")
1727 (define-method get_id
1728 (of-object "EmpathyTpChat")
1729 (c-name "empathy_tp_chat_get_id")
1730 (return-type "const-gchar*")
1733 (define-method get_remote_contact
1734 (of-object "EmpathyTpChat")
1735 (c-name "empathy_tp_chat_get_remote_contact")
1736 (return-type "EmpathyContact*")
1739 (define-method get_account
1740 (of-object "EmpathyTpChat")
1741 (c-name "empathy_tp_chat_get_account")
1742 (return-type "McAccount*")
1745 (define-method get_channel
1746 (of-object "EmpathyTpChat")
1747 (c-name "empathy_tp_chat_get_channel")
1748 (return-type "TpChannel*")
1751 (define-method is_ready
1752 (of-object "EmpathyTpChat")
1753 (c-name "empathy_tp_chat_is_ready")
1754 (return-type "gboolean")
1757 (define-method get_members_count
1758 (of-object "EmpathyTpChat")
1759 (c-name "empathy_tp_chat_get_members_count")
1760 (return-type "guint")
1763 (define-method set_acknowledge
1764 (of-object "EmpathyTpChat")
1765 (c-name "empathy_tp_chat_set_acknowledge")
1766 (return-type "none")
1768 '("gboolean" "acknowledge")
1772 (define-method emit_pendings
1773 (of-object "EmpathyTpChat")
1774 (c-name "empathy_tp_chat_emit_pendings")
1775 (return-type "none")
1779 (of-object "EmpathyTpChat")
1780 (c-name "empathy_tp_chat_send")
1781 (return-type "none")
1783 '("EmpathyMessage*" "message")
1787 (define-method set_state
1788 (of-object "EmpathyTpChat")
1789 (c-name "empathy_tp_chat_set_state")
1790 (return-type "none")
1792 '("TpChannelChatState" "state")
1796 (define-method set_property
1797 (of-object "EmpathyTpChat")
1798 (c-name "empathy_tp_chat_set_property")
1799 (return-type "none")
1801 '("const-gchar*" "name")
1802 '("const-GValue*" "value")
1808 ;; From empathy-tp-contact-factory.h
1810 (define-function tp_contact_factory_get_type
1811 (c-name "empathy_tp_contact_factory_get_type")
1812 (return-type "GType")
1815 (define-function tp_contact_factory_new
1816 (c-name "empathy_tp_contact_factory_new")
1817 (is-constructor-of "EmpathyTpContactFactory")
1818 (return-type "EmpathyTpContactFactory*")
1820 '("McAccount*" "account")
1824 (define-method get_user
1825 (of-object "EmpathyTpContactFactory")
1826 (c-name "empathy_tp_contact_factory_get_user")
1827 (return-type "EmpathyContact*")
1830 (define-method get_from_id
1831 (of-object "EmpathyTpContactFactory")
1832 (c-name "empathy_tp_contact_factory_get_from_id")
1833 (return-type "EmpathyContact*")
1835 '("const-gchar*" "id")
1839 (define-method get_from_handle
1840 (of-object "EmpathyTpContactFactory")
1841 (c-name "empathy_tp_contact_factory_get_from_handle")
1842 (return-type "EmpathyContact*")
1848 (define-method get_from_handles
1849 (of-object "EmpathyTpContactFactory")
1850 (c-name "empathy_tp_contact_factory_get_from_handles")
1851 (return-type "GList*")
1853 '("const-GArray*" "handles")
1857 (define-method set_alias
1858 (of-object "EmpathyTpContactFactory")
1859 (c-name "empathy_tp_contact_factory_set_alias")
1860 (return-type "none")
1862 '("EmpathyContact*" "contact")
1863 '("const-gchar*" "alias")
1867 (define-method set_avatar
1868 (of-object "EmpathyTpContactFactory")
1869 (c-name "empathy_tp_contact_factory_set_avatar")
1870 (return-type "none")
1872 '("const-gchar*" "data")
1874 '("const-gchar*" "mime_type")
1878 (define-method is_ready
1879 (of-object "EmpathyTpContactFactory")
1880 (c-name "empathy_tp_contact_factory_is_ready")
1881 (return-type "gboolean")
1886 ;; From empathy-tp-contact-list.h
1888 (define-function tp_contact_list_get_type
1889 (c-name "empathy_tp_contact_list_get_type")
1890 (return-type "GType")
1893 (define-function tp_contact_list_new
1894 (c-name "empathy_tp_contact_list_new")
1895 (is-constructor-of "EmpathyTpContactList")
1896 (return-type "EmpathyTpContactList*")
1898 '("McAccount*" "account")
1902 (define-method get_account
1903 (of-object "EmpathyTpContactList")
1904 (c-name "empathy_tp_contact_list_get_account")
1905 (return-type "McAccount*")
1910 ;; From empathy-tp-file.h
1912 (define-function tp_file_get_type
1913 (c-name "empathy_tp_file_get_type")
1914 (return-type "GType")
1917 (define-function tp_file_new
1918 (c-name "empathy_tp_file_new")
1919 (is-constructor-of "EmpathyTpFile")
1920 (return-type "EmpathyTpFile*")
1922 '("TpChannel*" "channel")
1926 (define-method get_channel
1927 (of-object "EmpathyTpFile")
1928 (c-name "empathy_tp_file_get_channel")
1929 (return-type "TpChannel*")
1932 (define-method accept
1933 (of-object "EmpathyTpFile")
1934 (c-name "empathy_tp_file_accept")
1935 (return-type "none")
1937 '("guint64" "offset")
1939 '("GError**" "error")
1943 (define-method cancel
1944 (of-object "EmpathyTpFile")
1945 (c-name "empathy_tp_file_cancel")
1946 (return-type "none")
1949 (define-method offer
1950 (of-object "EmpathyTpFile")
1951 (c-name "empathy_tp_file_offer")
1952 (return-type "none")
1955 '("GError**" "error")
1959 (define-method get_contact
1960 (of-object "EmpathyTpFile")
1961 (c-name "empathy_tp_file_get_contact")
1962 (return-type "EmpathyContact*")
1965 (define-method get_filename
1966 (of-object "EmpathyTpFile")
1967 (c-name "empathy_tp_file_get_filename")
1968 (return-type "const-gchar*")
1971 (define-method is_incoming
1972 (of-object "EmpathyTpFile")
1973 (c-name "empathy_tp_file_is_incoming")
1974 (return-type "gboolean")
1977 (define-method get_state
1978 (of-object "EmpathyTpFile")
1979 (c-name "empathy_tp_file_get_state")
1980 (return-type "EmpFileTransferState")
1982 '("EmpFileTransferStateChangeReason*" "reason")
1986 (define-method get_size
1987 (of-object "EmpathyTpFile")
1988 (c-name "empathy_tp_file_get_size")
1989 (return-type "guint64")
1992 (define-method get_transferred_bytes
1993 (of-object "EmpathyTpFile")
1994 (c-name "empathy_tp_file_get_transferred_bytes")
1995 (return-type "guint64")
1998 (define-method get_remaining_time
1999 (of-object "EmpathyTpFile")
2000 (c-name "empathy_tp_file_get_remaining_time")
2001 (return-type "gint")
2004 (define-method get_content_type
2005 (of-object "EmpathyTpFile")
2006 (c-name "empathy_tp_file_get_content_type")
2007 (return-type "const-gchar*")
2012 ;; From empathy-tp-group.h
2014 (define-function tp_group_get_type
2015 (c-name "empathy_tp_group_get_type")
2016 (return-type "GType")
2019 (define-function tp_group_new
2020 (c-name "empathy_tp_group_new")
2021 (is-constructor-of "EmpathyTpGroup")
2022 (return-type "EmpathyTpGroup*")
2024 '("TpChannel*" "channel")
2028 (define-method close
2029 (of-object "EmpathyTpGroup")
2030 (c-name "empathy_tp_group_close")
2031 (return-type "none")
2034 (define-method add_members
2035 (of-object "EmpathyTpGroup")
2036 (c-name "empathy_tp_group_add_members")
2037 (return-type "none")
2039 '("GList*" "contacts")
2040 '("const-gchar*" "message")
2044 (define-method add_member
2045 (of-object "EmpathyTpGroup")
2046 (c-name "empathy_tp_group_add_member")
2047 (return-type "none")
2049 '("EmpathyContact*" "contact")
2050 '("const-gchar*" "message")
2054 (define-method remove_members
2055 (of-object "EmpathyTpGroup")
2056 (c-name "empathy_tp_group_remove_members")
2057 (return-type "none")
2059 '("GList*" "contacts")
2060 '("const-gchar*" "message")
2064 (define-method remove_member
2065 (of-object "EmpathyTpGroup")
2066 (c-name "empathy_tp_group_remove_member")
2067 (return-type "none")
2069 '("EmpathyContact*" "contact")
2070 '("const-gchar*" "message")
2074 (define-method get_members
2075 (of-object "EmpathyTpGroup")
2076 (c-name "empathy_tp_group_get_members")
2077 (return-type "GList*")
2080 (define-method get_local_pendings
2081 (of-object "EmpathyTpGroup")
2082 (c-name "empathy_tp_group_get_local_pendings")
2083 (return-type "GList*")
2086 (define-method get_remote_pendings
2087 (of-object "EmpathyTpGroup")
2088 (c-name "empathy_tp_group_get_remote_pendings")
2089 (return-type "GList*")
2092 (define-method get_name
2093 (of-object "EmpathyTpGroup")
2094 (c-name "empathy_tp_group_get_name")
2095 (return-type "const-gchar*")
2098 (define-method get_self_contact
2099 (of-object "EmpathyTpGroup")
2100 (c-name "empathy_tp_group_get_self_contact")
2101 (return-type "EmpathyContact*")
2104 (define-method is_member
2105 (of-object "EmpathyTpGroup")
2106 (c-name "empathy_tp_group_is_member")
2107 (return-type "gboolean")
2109 '("EmpathyContact*" "contact")
2113 (define-method is_ready
2114 (of-object "EmpathyTpGroup")
2115 (c-name "empathy_tp_group_is_ready")
2116 (return-type "gboolean")
2119 (define-method get_invitation
2120 (of-object "EmpathyTpGroup")
2121 (c-name "empathy_tp_group_get_invitation")
2122 (return-type "EmpathyPendingInfo*")
2124 '("EmpathyContact**" "remote_contact")
2128 (define-function pending_info_new
2129 (c-name "empathy_pending_info_new")
2130 (is-constructor-of "EmpathyPendingInfo")
2131 (return-type "EmpathyPendingInfo*")
2133 '("EmpathyContact*" "member")
2134 '("EmpathyContact*" "actor")
2135 '("const-gchar*" "message")
2140 (of-object "EmpathyPendingInfo")
2141 (c-name "empathy_pending_info_free")
2142 (return-type "none")
2147 ;; From empathy-tp-roomlist.h
2149 (define-function tp_roomlist_get_type
2150 (c-name "empathy_tp_roomlist_get_type")
2151 (return-type "GType")
2154 (define-function tp_roomlist_new
2155 (c-name "empathy_tp_roomlist_new")
2156 (is-constructor-of "EmpathyTpRoomlist")
2157 (return-type "EmpathyTpRoomlist*")
2159 '("McAccount*" "account")
2163 (define-method is_listing
2164 (of-object "EmpathyTpRoomlist")
2165 (c-name "empathy_tp_roomlist_is_listing")
2166 (return-type "gboolean")
2169 (define-method start
2170 (of-object "EmpathyTpRoomlist")
2171 (c-name "empathy_tp_roomlist_start")
2172 (return-type "none")
2176 (of-object "EmpathyTpRoomlist")
2177 (c-name "empathy_tp_roomlist_stop")
2178 (return-type "none")
2183 ;; From empathy-tp-tube.h
2185 (define-function tp_tube_get_type
2186 (c-name "empathy_tp_tube_get_type")
2187 (return-type "GType")
2190 (define-function tp_tube_new
2191 (c-name "empathy_tp_tube_new")
2192 (is-constructor-of "EmpathyTpTube")
2193 (return-type "EmpathyTpTube*")
2195 '("TpChannel*" "channel")
2196 '("guint" "tube_id")
2200 (define-function tp_tube_new_stream_tube
2201 (c-name "empathy_tp_tube_new_stream_tube")
2202 (return-type "EmpathyTpTube*")
2204 '("EmpathyContact*" "contact")
2205 '("TpSocketAddressType" "type")
2206 '("const-gchar*" "hostname")
2208 '("const-gchar*" "service")
2212 (define-method accept_stream_tube
2213 (of-object "EmpathyTpTube")
2214 (c-name "empathy_tp_tube_accept_stream_tube")
2215 (return-type "none")
2217 '("TpSocketAddressType" "type")
2221 (define-method get_socket
2222 (of-object "EmpathyTpTube")
2223 (c-name "empathy_tp_tube_get_socket")
2224 (return-type "none")
2226 '("gchar**" "hostname")
2233 ;; From empathy-tube-handler.h
2235 (define-function tube_handler_get_type
2236 (c-name "empathy_tube_handler_get_type")
2237 (return-type "GType")
2240 (define-function tube_handler_new
2241 (c-name "empathy_tube_handler_new")
2242 (is-constructor-of "EmpathyTubeHandler")
2243 (return-type "EmpathyTubeHandler*")
2245 '("TpTubeType" "type")
2246 '("const-gchar*" "service")
2250 (define-function tube_handler_build_bus_name
2251 (c-name "empathy_tube_handler_build_bus_name")
2252 (return-type "gchar*")
2254 '("TpTubeType" "type")
2255 '("const-gchar*" "service")
2259 (define-function tube_handler_build_object_path
2260 (c-name "empathy_tube_handler_build_object_path")
2261 (return-type "gchar*")
2263 '("TpTubeType" "type")
2264 '("const-gchar*" "service")
2270 ;; From empathy-utils.h
2272 (define-function substring
2273 (c-name "empathy_substring")
2274 (return-type "gchar*")
2276 '("const-gchar*" "str")
2282 (define-function regex_match
2283 (c-name "empathy_regex_match")
2284 (return-type "gint")
2286 '("EmpathyRegExType" "type")
2287 '("const-gchar*" "msg")
2288 '("GArray*" "start")
2293 (define-function strcasecmp
2294 (c-name "empathy_strcasecmp")
2295 (return-type "gint")
2297 '("const-gchar*" "s1")
2298 '("const-gchar*" "s2")
2302 (define-function strncasecmp
2303 (c-name "empathy_strncasecmp")
2304 (return-type "gint")
2306 '("const-gchar*" "s1")
2307 '("const-gchar*" "s2")
2312 (define-function xml_validate
2313 (c-name "empathy_xml_validate")
2314 (return-type "gboolean")
2317 '("const-gchar*" "dtd_filename")
2321 (define-function xml_node_get_child
2322 (c-name "empathy_xml_node_get_child")
2323 (return-type "xmlNodePtr")
2325 '("xmlNodePtr" "node")
2326 '("const-gchar*" "child_name")
2330 (define-function xml_node_get_child_content
2331 (c-name "empathy_xml_node_get_child_content")
2332 (return-type "xmlChar*")
2334 '("xmlNodePtr" "node")
2335 '("const-gchar*" "child_name")
2339 (define-function xml_node_find_child_prop_value
2340 (c-name "empathy_xml_node_find_child_prop_value")
2341 (return-type "xmlNodePtr")
2343 '("xmlNodePtr" "node")
2344 '("const-gchar*" "prop_name")
2345 '("const-gchar*" "prop_value")
2349 (define-function account_hash
2350 (c-name "empathy_account_hash")
2351 (return-type "guint")
2353 '("gconstpointer" "key")
2357 (define-function account_equal
2358 (c-name "empathy_account_equal")
2359 (return-type "gboolean")
2361 '("gconstpointer" "a")
2362 '("gconstpointer" "b")
2366 (define-function mission_control_new
2367 (c-name "empathy_mission_control_new")
2368 (is-constructor-of "EmpathyMissionControl")
2369 (return-type "MissionControl*")
2372 (define-function presence_get_default_message
2373 (c-name "empathy_presence_get_default_message")
2374 (return-type "const-gchar*")
2376 '("McPresence" "presence")
2380 (define-function presence_to_str
2381 (c-name "empathy_presence_to_str")
2382 (return-type "const-gchar*")
2384 '("McPresence" "presence")
2388 (define-function presence_from_str
2389 (c-name "empathy_presence_from_str")
2390 (return-type "McPresence")
2392 '("const-gchar*" "str")
2396 (define-function file_lookup
2397 (c-name "empathy_file_lookup")
2398 (return-type "gchar*")
2400 '("const-gchar*" "filename")
2401 '("const-gchar*" "subdir")
2405 (define-function run_until_ready
2406 (c-name "empathy_run_until_ready")
2407 (return-type "none")
2409 '("gpointer" "object")
2413 (define-function run_until_ready_full
2414 (c-name "empathy_run_until_ready_full")
2415 (return-type "none")
2417 '("gpointer" "object")
2418 '("const-gchar*" "signal")
2419 '("EmpathyRunUntilReadyFunc" "func")
2420 '("gpointer" "user_data")
2421 '("GMainLoop**" "loop")
2425 (define-function channel_get_account
2426 (c-name "empathy_channel_get_account")
2427 (return-type "McAccount*")
2429 '("TpChannel*" "channel")
2433 (define-function connect_to_account_status_changed
2434 (c-name "empathy_connect_to_account_status_changed")
2435 (return-type "gpointer")
2437 '("MissionControl*" "mc")
2438 '("GCallback" "handler")
2439 '("gpointer" "user_data")
2440 '("GClosureNotify" "free_func")
2444 (define-function disconnect_account_status_changed
2445 (c-name "empathy_disconnect_account_status_changed")
2446 (return-type "none")
2448 '("gpointer" "token")
2452 (define-function proxy_equal
2453 (c-name "empathy_proxy_equal")
2454 (return-type "gboolean")
2456 '("gconstpointer" "a")
2457 '("gconstpointer" "b")
2461 (define-function proxy_hash
2462 (c-name "empathy_proxy_hash")
2463 (return-type "guint")
2465 '("gconstpointer" "key")
2469 (define-function connection_request_channel
2470 (c-name "empathy_connection_request_channel")
2471 (return-type "none")
2473 '("TpConnection*" "proxy")
2474 '("gint" "timeout_ms")
2475 '("const-gchar*" "channel_type")
2476 '("guint" "handle_type")
2477 '("const-gchar*" "name")
2478 '("gboolean" "suppress_handler")
2479 '("empathy_connection_callback_for_request_channel" "callback")
2480 '("gpointer" "user_data")
2481 '("GDestroyNotify" "destroy")
2482 '("GObject*" "weak_object")