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")
215 ;; From empathy-chatroom.h
217 (define-function chatroom_get_type
218 (c-name "empathy_chatroom_get_type")
219 (return-type "GType")
222 (define-function chatroom_new
223 (c-name "empathy_chatroom_new")
224 (is-constructor-of "EmpathyChatroom")
225 (return-type "EmpathyChatroom*")
227 '("McAccount*" "account")
231 (define-function chatroom_new_full
232 (c-name "empathy_chatroom_new_full")
233 (return-type "EmpathyChatroom*")
235 '("McAccount*" "account")
236 '("const-gchar*" "room")
237 '("const-gchar*" "name")
238 '("gboolean" "auto_connect")
242 (define-method get_account
243 (of-object "EmpathyChatroom")
244 (c-name "empathy_chatroom_get_account")
245 (return-type "McAccount*")
248 (define-method set_account
249 (of-object "EmpathyChatroom")
250 (c-name "empathy_chatroom_set_account")
253 '("McAccount*" "account")
257 (define-method get_room
258 (of-object "EmpathyChatroom")
259 (c-name "empathy_chatroom_get_room")
260 (return-type "const-gchar*")
263 (define-method set_room
264 (of-object "EmpathyChatroom")
265 (c-name "empathy_chatroom_set_room")
268 '("const-gchar*" "room")
272 (define-method get_name
273 (of-object "EmpathyChatroom")
274 (c-name "empathy_chatroom_get_name")
275 (return-type "const-gchar*")
278 (define-method set_name
279 (of-object "EmpathyChatroom")
280 (c-name "empathy_chatroom_set_name")
283 '("const-gchar*" "name")
287 (define-method get_auto_connect
288 (of-object "EmpathyChatroom")
289 (c-name "empathy_chatroom_get_auto_connect")
290 (return-type "gboolean")
293 (define-method set_auto_connect
294 (of-object "EmpathyChatroom")
295 (c-name "empathy_chatroom_set_auto_connect")
298 '("gboolean" "auto_connect")
302 (define-function chatroom_equal
303 (c-name "empathy_chatroom_equal")
304 (return-type "gboolean")
306 '("gconstpointer" "v1")
307 '("gconstpointer" "v2")
313 ;; From empathy-chatroom-manager.h
315 (define-function chatroom_manager_get_type
316 (c-name "empathy_chatroom_manager_get_type")
317 (return-type "GType")
320 (define-function chatroom_manager_new
321 (c-name "empathy_chatroom_manager_new")
322 (is-constructor-of "EmpathyChatroomManager")
323 (return-type "EmpathyChatroomManager*")
325 '("const-gchar*" "file")
330 (of-object "EmpathyChatroomManager")
331 (c-name "empathy_chatroom_manager_add")
332 (return-type "gboolean")
334 '("EmpathyChatroom*" "chatroom")
338 (define-method remove
339 (of-object "EmpathyChatroomManager")
340 (c-name "empathy_chatroom_manager_remove")
343 '("EmpathyChatroom*" "chatroom")
348 (of-object "EmpathyChatroomManager")
349 (c-name "empathy_chatroom_manager_find")
350 (return-type "EmpathyChatroom*")
352 '("McAccount*" "account")
353 '("const-gchar*" "room")
357 (define-method get_chatrooms
358 (of-object "EmpathyChatroomManager")
359 (c-name "empathy_chatroom_manager_get_chatrooms")
360 (return-type "GList*")
362 '("McAccount*" "account")
366 (define-method get_count
367 (of-object "EmpathyChatroomManager")
368 (c-name "empathy_chatroom_manager_get_count")
369 (return-type "guint")
371 '("McAccount*" "account")
377 ;; From empathy-contact.h
379 (define-function contact_get_type
380 (c-name "empathy_contact_get_type")
381 (return-type "GType")
384 (define-function contact_new
385 (c-name "empathy_contact_new")
386 (is-constructor-of "EmpathyContact")
387 (return-type "EmpathyContact*")
389 '("McAccount*" "account")
393 (define-function contact_new_full
394 (c-name "empathy_contact_new_full")
395 (return-type "EmpathyContact*")
397 '("McAccount*" "account")
398 '("const-gchar*" "id")
399 '("const-gchar*" "name")
403 (define-method get_id
404 (of-object "EmpathyContact")
405 (c-name "empathy_contact_get_id")
406 (return-type "const-gchar*")
409 (define-method set_id
410 (of-object "EmpathyContact")
411 (c-name "empathy_contact_set_id")
414 '("const-gchar*" "id")
418 (define-method get_name
419 (of-object "EmpathyContact")
420 (c-name "empathy_contact_get_name")
421 (return-type "const-gchar*")
424 (define-method set_name
425 (of-object "EmpathyContact")
426 (c-name "empathy_contact_set_name")
429 '("const-gchar*" "name")
433 (define-method get_avatar
434 (of-object "EmpathyContact")
435 (c-name "empathy_contact_get_avatar")
436 (return-type "EmpathyAvatar*")
439 (define-method set_avatar
440 (of-object "EmpathyContact")
441 (c-name "empathy_contact_set_avatar")
444 '("EmpathyAvatar*" "avatar")
448 (define-method get_account
449 (of-object "EmpathyContact")
450 (c-name "empathy_contact_get_account")
451 (return-type "McAccount*")
454 (define-method set_account
455 (of-object "EmpathyContact")
456 (c-name "empathy_contact_set_account")
459 '("McAccount*" "account")
463 (define-method get_presence
464 (of-object "EmpathyContact")
465 (c-name "empathy_contact_get_presence")
466 (return-type "McPresence")
469 (define-method set_presence
470 (of-object "EmpathyContact")
471 (c-name "empathy_contact_set_presence")
474 '("McPresence" "presence")
478 (define-method get_presence_message
479 (of-object "EmpathyContact")
480 (c-name "empathy_contact_get_presence_message")
481 (return-type "const-gchar*")
484 (define-method set_presence_message
485 (of-object "EmpathyContact")
486 (c-name "empathy_contact_set_presence_message")
489 '("const-gchar*" "message")
493 (define-method get_handle
494 (of-object "EmpathyContact")
495 (c-name "empathy_contact_get_handle")
496 (return-type "guint")
499 (define-method set_handle
500 (of-object "EmpathyContact")
501 (c-name "empathy_contact_set_handle")
508 (define-method get_capabilities
509 (of-object "EmpathyContact")
510 (c-name "empathy_contact_get_capabilities")
511 (return-type "EmpathyCapabilities")
514 (define-method set_capabilities
515 (of-object "EmpathyContact")
516 (c-name "empathy_contact_set_capabilities")
519 '("EmpathyCapabilities" "capabilities")
523 (define-method get_ready
524 (of-object "EmpathyContact")
525 (c-name "empathy_contact_get_ready")
526 (return-type "EmpathyContactReady")
529 (define-method is_user
530 (of-object "EmpathyContact")
531 (c-name "empathy_contact_is_user")
532 (return-type "gboolean")
535 (define-method set_is_user
536 (of-object "EmpathyContact")
537 (c-name "empathy_contact_set_is_user")
540 '("gboolean" "is_user")
544 (define-method is_online
545 (of-object "EmpathyContact")
546 (c-name "empathy_contact_is_online")
547 (return-type "gboolean")
550 (define-method get_status
551 (of-object "EmpathyContact")
552 (c-name "empathy_contact_get_status")
553 (return-type "const-gchar*")
556 (define-method can_voip
557 (of-object "EmpathyContact")
558 (c-name "empathy_contact_can_voip")
559 (return-type "gboolean")
562 (define-method can_send_files
563 (of-object "EmpathyContact")
564 (c-name "empathy_contact_can_send_files")
565 (return-type "gboolean")
568 (define-function contact_equal
569 (c-name "empathy_contact_equal")
570 (return-type "gboolean")
572 '("gconstpointer" "v1")
573 '("gconstpointer" "v2")
577 (define-function contact_hash
578 (c-name "empathy_contact_hash")
579 (return-type "guint")
581 '("gconstpointer" "key")
585 (define-method run_until_ready
586 (of-object "EmpathyContact")
587 (c-name "empathy_contact_run_until_ready")
590 '("EmpathyContactReady" "ready")
591 '("GMainLoop**" "loop")
595 (define-method load_avatar_data
596 (of-object "EmpathyContact")
597 (c-name "empathy_contact_load_avatar_data")
600 '("const-guchar*" "data")
601 '("const-gsize" "len")
602 '("const-gchar*" "format")
603 '("const-gchar*" "token")
607 (define-method load_avatar_cache
608 (of-object "EmpathyContact")
609 (c-name "empathy_contact_load_avatar_cache")
610 (return-type "gboolean")
612 '("const-gchar*" "token")
616 (define-function avatar_get_type
617 (c-name "empathy_avatar_get_type")
618 (return-type "GType")
621 (define-function avatar_new
622 (c-name "empathy_avatar_new")
623 (is-constructor-of "EmpathyAvatar")
624 (return-type "EmpathyAvatar*")
634 (of-object "EmpathyAvatar")
635 (c-name "empathy_avatar_ref")
636 (return-type "EmpathyAvatar*")
640 (of-object "EmpathyAvatar")
641 (c-name "empathy_avatar_unref")
645 (define-method save_to_file
646 (of-object "EmpathyAvatar")
647 (c-name "empathy_avatar_save_to_file")
648 (return-type "gboolean")
650 '("const-gchar*" "filename")
651 '("GError**" "error")
657 ;; From empathy-contact-factory.h
659 (define-function contact_factory_get_type
660 (c-name "empathy_contact_factory_get_type")
661 (return-type "GType")
664 (define-function contact_factory_new
665 (c-name "empathy_contact_factory_new")
666 (is-constructor-of "EmpathyContactFactory")
667 (return-type "EmpathyContactFactory*")
670 (define-method get_tp_factory
671 (of-object "EmpathyContactFactory")
672 (c-name "empathy_contact_factory_get_tp_factory")
673 (return-type "EmpathyTpContactFactory*")
675 '("McAccount*" "account")
679 (define-method get_user
680 (of-object "EmpathyContactFactory")
681 (c-name "empathy_contact_factory_get_user")
682 (return-type "EmpathyContact*")
684 '("McAccount*" "account")
688 (define-method get_from_id
689 (of-object "EmpathyContactFactory")
690 (c-name "empathy_contact_factory_get_from_id")
691 (return-type "EmpathyContact*")
693 '("McAccount*" "account")
694 '("const-gchar*" "id")
698 (define-method get_from_handle
699 (of-object "EmpathyContactFactory")
700 (c-name "empathy_contact_factory_get_from_handle")
701 (return-type "EmpathyContact*")
703 '("McAccount*" "account")
708 (define-method get_from_handles
709 (of-object "EmpathyContactFactory")
710 (c-name "empathy_contact_factory_get_from_handles")
711 (return-type "GList*")
713 '("McAccount*" "account")
714 '("const-GArray*" "handles")
718 (define-method set_alias
719 (of-object "EmpathyContactFactory")
720 (c-name "empathy_contact_factory_set_alias")
723 '("EmpathyContact*" "contact")
724 '("const-gchar*" "alias")
728 (define-method set_avatar
729 (of-object "EmpathyContactFactory")
730 (c-name "empathy_contact_factory_set_avatar")
733 '("McAccount*" "account")
734 '("const-gchar*" "data")
736 '("const-gchar*" "mime_type")
742 ;; From empathy-contact-groups.h
744 (define-function contact_groups_get_all
745 (c-name "empathy_contact_groups_get_all")
749 (define-function contact_group_get_expanded
750 (c-name "empathy_contact_group_get_expanded")
751 (return-type "gboolean")
753 '("const-gchar*" "group")
757 (define-function contact_group_set_expanded
758 (c-name "empathy_contact_group_set_expanded")
761 '("const-gchar*" "group")
762 '("gboolean" "expanded")
768 ;; From empathy-contact-list.h
770 (define-function contact_list_get_type
771 (c-name "empathy_contact_list_get_type")
772 (return-type "GType")
776 (of-object "EmpathyContactList")
777 (c-name "empathy_contact_list_add")
780 '("EmpathyContact*" "contact")
781 '("const-gchar*" "message")
785 (define-method remove
786 (of-object "EmpathyContactList")
787 (c-name "empathy_contact_list_remove")
790 '("EmpathyContact*" "contact")
791 '("const-gchar*" "message")
795 (define-method get_members
796 (of-object "EmpathyContactList")
797 (c-name "empathy_contact_list_get_members")
798 (return-type "GList*")
801 (define-method get_pendings
802 (of-object "EmpathyContactList")
803 (c-name "empathy_contact_list_get_pendings")
804 (return-type "GList*")
807 (define-method get_all_groups
808 (of-object "EmpathyContactList")
809 (c-name "empathy_contact_list_get_all_groups")
810 (return-type "GList*")
813 (define-method get_groups
814 (of-object "EmpathyContactList")
815 (c-name "empathy_contact_list_get_groups")
816 (return-type "GList*")
818 '("EmpathyContact*" "contact")
822 (define-method add_to_group
823 (of-object "EmpathyContactList")
824 (c-name "empathy_contact_list_add_to_group")
827 '("EmpathyContact*" "contact")
828 '("const-gchar*" "group")
832 (define-method remove_from_group
833 (of-object "EmpathyContactList")
834 (c-name "empathy_contact_list_remove_from_group")
837 '("EmpathyContact*" "contact")
838 '("const-gchar*" "group")
842 (define-method rename_group
843 (of-object "EmpathyContactList")
844 (c-name "empathy_contact_list_rename_group")
847 '("const-gchar*" "old_group")
848 '("const-gchar*" "new_group")
852 (define-method remove_group
853 (of-object "EmpathyContactList")
854 (c-name "empathy_contact_list_remove_group")
857 '("const-gchar*" "group")
863 ;; From empathy-contact-manager.h
865 (define-function contact_manager_get_type
866 (c-name "empathy_contact_manager_get_type")
867 (return-type "GType")
870 (define-function contact_manager_new
871 (c-name "empathy_contact_manager_new")
872 (is-constructor-of "EmpathyContactManager")
873 (return-type "EmpathyContactManager*")
876 (define-method get_list
877 (of-object "EmpathyContactManager")
878 (c-name "empathy_contact_manager_get_list")
879 (return-type "EmpathyTpContactList*")
881 '("McAccount*" "account")
887 ;; From empathy-debug.h
889 (define-function debug_flag_is_set
890 (c-name "empathy_debug_flag_is_set")
891 (return-type "gboolean")
893 '("EmpathyDebugFlags" "flag")
897 (define-function debug
898 (c-name "empathy_debug")
901 '("EmpathyDebugFlags" "flag")
902 '("const-gchar*" "format")
907 (define-function debug_set_flags
908 (c-name "empathy_debug_set_flags")
911 '("const-gchar*" "flags_string")
917 ;; From empathy-dispatcher.h
919 (define-function dispatcher_get_type
920 (c-name "empathy_dispatcher_get_type")
921 (return-type "GType")
924 (define-function dispatcher_new
925 (c-name "empathy_dispatcher_new")
926 (is-constructor-of "EmpathyDispatcher")
927 (return-type "EmpathyDispatcher*")
930 (define-method channel_process
931 (of-object "EmpathyDispatcher")
932 (c-name "empathy_dispatcher_channel_process")
935 '("TpChannel*" "channel")
939 (define-function dispatcher_tube_get_type
940 (c-name "empathy_dispatcher_tube_get_type")
941 (return-type "GType")
945 (of-object "EmpathyDispatcherTube")
946 (c-name "empathy_dispatcher_tube_ref")
947 (return-type "EmpathyDispatcherTube*")
951 (of-object "EmpathyDispatcherTube")
952 (c-name "empathy_dispatcher_tube_unref")
956 (define-method tube_process
957 (of-object "EmpathyDispatcher")
958 (c-name "empathy_dispatcher_tube_process")
961 '("EmpathyDispatcherTube*" "tube")
965 (define-function dispatcher_call_with_contact
966 (c-name "empathy_dispatcher_call_with_contact")
969 '("EmpathyContact*" "contact")
973 (define-function dispatcher_call_with_contact_id
974 (c-name "empathy_dispatcher_call_with_contact_id")
977 '("McAccount*" "account")
978 '("const-gchar*" "contact_id")
982 (define-function dispatcher_chat_with_contact_id
983 (c-name "empathy_dispatcher_chat_with_contact_id")
986 '("McAccount*" "account")
987 '("const-gchar*" "contact_id")
991 (define-function dispatcher_chat_with_contact
992 (c-name "empathy_dispatcher_chat_with_contact")
995 '("EmpathyContact*" "contact")
999 (define-function dispatcher_send_file
1000 (c-name "empathy_dispatcher_send_file")
1001 (return-type "none")
1003 '("EmpathyContact*" "contact")
1010 ;; From empathy-idle.h
1012 (define-function idle_get_type
1013 (c-name "empathy_idle_get_type")
1014 (return-type "GType")
1017 (define-function idle_new
1018 (c-name "empathy_idle_new")
1019 (is-constructor-of "EmpathyIdle")
1020 (return-type "EmpathyIdle*")
1023 (define-method get_state
1024 (of-object "EmpathyIdle")
1025 (c-name "empathy_idle_get_state")
1026 (return-type "McPresence")
1029 (define-method set_state
1030 (of-object "EmpathyIdle")
1031 (c-name "empathy_idle_set_state")
1032 (return-type "none")
1034 '("McPresence" "state")
1038 (define-method get_status
1039 (of-object "EmpathyIdle")
1040 (c-name "empathy_idle_get_status")
1041 (return-type "const-gchar*")
1044 (define-method set_status
1045 (of-object "EmpathyIdle")
1046 (c-name "empathy_idle_set_status")
1047 (return-type "none")
1049 '("const-gchar*" "status")
1053 (define-method get_flash_state
1054 (of-object "EmpathyIdle")
1055 (c-name "empathy_idle_get_flash_state")
1056 (return-type "McPresence")
1059 (define-method set_flash_state
1060 (of-object "EmpathyIdle")
1061 (c-name "empathy_idle_set_flash_state")
1062 (return-type "none")
1064 '("McPresence" "state")
1068 (define-method set_presence
1069 (of-object "EmpathyIdle")
1070 (c-name "empathy_idle_set_presence")
1071 (return-type "none")
1073 '("McPresence" "state")
1074 '("const-gchar*" "status")
1078 (define-method get_auto_away
1079 (of-object "EmpathyIdle")
1080 (c-name "empathy_idle_get_auto_away")
1081 (return-type "gboolean")
1084 (define-method set_auto_away
1085 (of-object "EmpathyIdle")
1086 (c-name "empathy_idle_set_auto_away")
1087 (return-type "none")
1089 '("gboolean" "auto_away")
1093 (define-method get_use_nm
1094 (of-object "EmpathyIdle")
1095 (c-name "empathy_idle_get_use_nm")
1096 (return-type "gboolean")
1099 (define-method set_use_nm
1100 (of-object "EmpathyIdle")
1101 (c-name "empathy_idle_set_use_nm")
1102 (return-type "none")
1104 '("gboolean" "use_nm")
1110 ;; From empathy-irc-network.h
1112 (define-function irc_network_get_type
1113 (c-name "empathy_irc_network_get_type")
1114 (return-type "GType")
1117 (define-function irc_network_new
1118 (c-name "empathy_irc_network_new")
1119 (is-constructor-of "EmpathyIrcNetwork")
1120 (return-type "EmpathyIrcNetwork*")
1122 '("const-gchar*" "name")
1126 (define-method get_servers
1127 (of-object "EmpathyIrcNetwork")
1128 (c-name "empathy_irc_network_get_servers")
1129 (return-type "GSList*")
1132 (define-method append_server
1133 (of-object "EmpathyIrcNetwork")
1134 (c-name "empathy_irc_network_append_server")
1135 (return-type "none")
1137 '("EmpathyIrcServer*" "server")
1141 (define-method remove_server
1142 (of-object "EmpathyIrcNetwork")
1143 (c-name "empathy_irc_network_remove_server")
1144 (return-type "none")
1146 '("EmpathyIrcServer*" "server")
1150 (define-method set_server_position
1151 (of-object "EmpathyIrcNetwork")
1152 (c-name "empathy_irc_network_set_server_position")
1153 (return-type "none")
1155 '("EmpathyIrcServer*" "server")
1162 ;; From empathy-irc-network-manager.h
1164 (define-function irc_network_manager_get_type
1165 (c-name "empathy_irc_network_manager_get_type")
1166 (return-type "GType")
1169 (define-function irc_network_manager_new
1170 (c-name "empathy_irc_network_manager_new")
1171 (is-constructor-of "EmpathyIrcNetworkManager")
1172 (return-type "EmpathyIrcNetworkManager*")
1174 '("const-gchar*" "global_file")
1175 '("const-gchar*" "user_file")
1180 (of-object "EmpathyIrcNetworkManager")
1181 (c-name "empathy_irc_network_manager_add")
1182 (return-type "none")
1184 '("EmpathyIrcNetwork*" "network")
1188 (define-method remove
1189 (of-object "EmpathyIrcNetworkManager")
1190 (c-name "empathy_irc_network_manager_remove")
1191 (return-type "none")
1193 '("EmpathyIrcNetwork*" "network")
1197 (define-method get_networks
1198 (of-object "EmpathyIrcNetworkManager")
1199 (c-name "empathy_irc_network_manager_get_networks")
1200 (return-type "GSList*")
1203 (define-method find_network_by_address
1204 (of-object "EmpathyIrcNetworkManager")
1205 (c-name "empathy_irc_network_manager_find_network_by_address")
1206 (return-type "EmpathyIrcNetwork*")
1208 '("const-gchar*" "address")
1214 ;; From empathy-irc-server.h
1216 (define-function irc_server_get_type
1217 (c-name "empathy_irc_server_get_type")
1218 (return-type "GType")
1221 (define-function irc_server_new
1222 (c-name "empathy_irc_server_new")
1223 (is-constructor-of "EmpathyIrcServer")
1224 (return-type "EmpathyIrcServer*")
1226 '("const-gchar*" "address")
1234 ;; From empathy-log-manager.h
1236 (define-function log_manager_get_type
1237 (c-name "empathy_log_manager_get_type")
1238 (return-type "GType")
1241 (define-function log_manager_new
1242 (c-name "empathy_log_manager_new")
1243 (is-constructor-of "EmpathyLogManager")
1244 (return-type "EmpathyLogManager*")
1247 (define-method add_message
1248 (of-object "EmpathyLogManager")
1249 (c-name "empathy_log_manager_add_message")
1250 (return-type "none")
1252 '("const-gchar*" "chat_id")
1253 '("gboolean" "chatroom")
1254 '("EmpathyMessage*" "message")
1258 (define-method exists
1259 (of-object "EmpathyLogManager")
1260 (c-name "empathy_log_manager_exists")
1261 (return-type "gboolean")
1263 '("McAccount*" "account")
1264 '("const-gchar*" "chat_id")
1265 '("gboolean" "chatroom")
1269 (define-method get_dates
1270 (of-object "EmpathyLogManager")
1271 (c-name "empathy_log_manager_get_dates")
1272 (return-type "GList*")
1274 '("McAccount*" "account")
1275 '("const-gchar*" "chat_id")
1276 '("gboolean" "chatroom")
1280 (define-method get_messages_for_file
1281 (of-object "EmpathyLogManager")
1282 (c-name "empathy_log_manager_get_messages_for_file")
1283 (return-type "GList*")
1285 '("const-gchar*" "filename")
1289 (define-method get_messages_for_date
1290 (of-object "EmpathyLogManager")
1291 (c-name "empathy_log_manager_get_messages_for_date")
1292 (return-type "GList*")
1294 '("McAccount*" "account")
1295 '("const-gchar*" "chat_id")
1296 '("gboolean" "chatroom")
1297 '("const-gchar*" "date")
1301 (define-method get_last_messages
1302 (of-object "EmpathyLogManager")
1303 (c-name "empathy_log_manager_get_last_messages")
1304 (return-type "GList*")
1306 '("McAccount*" "account")
1307 '("const-gchar*" "chat_id")
1308 '("gboolean" "chatroom")
1312 (define-method get_messages_for_file
1313 (of-object "EmpathyLogManager")
1314 (c-name "empathy_log_manager_get_messages_for_file")
1315 (return-type "GList*")
1317 '("const-gchar*" "filename")
1321 (define-method get_chats
1322 (of-object "EmpathyLogManager")
1323 (c-name "empathy_log_manager_get_chats")
1324 (return-type "GList*")
1326 '("McAccount*" "account")
1330 (define-method search_new
1331 (of-object "EmpathyLogManager")
1332 (c-name "empathy_log_manager_search_new")
1333 (return-type "GList*")
1335 '("const-gchar*" "text")
1339 (define-function log_manager_search_free
1340 (c-name "empathy_log_manager_search_free")
1341 (return-type "none")
1347 (define-function log_manager_get_date_readable
1348 (c-name "empathy_log_manager_get_date_readable")
1349 (return-type "gchar*")
1351 '("const-gchar*" "date")
1357 ;; From empathy-message.h
1359 (define-function message_get_type
1360 (c-name "empathy_message_get_type")
1361 (return-type "GType")
1364 (define-function message_new
1365 (c-name "empathy_message_new")
1366 (is-constructor-of "EmpathyMessage")
1367 (return-type "EmpathyMessage*")
1369 '("const-gchar*" "body")
1373 (define-method get_tptype
1374 (of-object "EmpathyMessage")
1375 (c-name "empathy_message_get_tptype")
1376 (return-type "TpChannelTextMessageType")
1379 (define-method set_tptype
1380 (of-object "EmpathyMessage")
1381 (c-name "empathy_message_set_tptype")
1382 (return-type "none")
1384 '("TpChannelTextMessageType" "type")
1388 (define-method get_sender
1389 (of-object "EmpathyMessage")
1390 (c-name "empathy_message_get_sender")
1391 (return-type "EmpathyContact*")
1394 (define-method set_sender
1395 (of-object "EmpathyMessage")
1396 (c-name "empathy_message_set_sender")
1397 (return-type "none")
1399 '("EmpathyContact*" "contact")
1403 (define-method get_receiver
1404 (of-object "EmpathyMessage")
1405 (c-name "empathy_message_get_receiver")
1406 (return-type "EmpathyContact*")
1409 (define-method set_receiver
1410 (of-object "EmpathyMessage")
1411 (c-name "empathy_message_set_receiver")
1412 (return-type "none")
1414 '("EmpathyContact*" "contact")
1418 (define-method get_body
1419 (of-object "EmpathyMessage")
1420 (c-name "empathy_message_get_body")
1421 (return-type "const-gchar*")
1424 (define-method set_body
1425 (of-object "EmpathyMessage")
1426 (c-name "empathy_message_set_body")
1427 (return-type "none")
1429 '("const-gchar*" "body")
1433 (define-method get_timestamp
1434 (of-object "EmpathyMessage")
1435 (c-name "empathy_message_get_timestamp")
1436 (return-type "time_t")
1439 (define-method set_timestamp
1440 (of-object "EmpathyMessage")
1441 (c-name "empathy_message_set_timestamp")
1442 (return-type "none")
1444 '("time_t" "timestamp")
1448 (define-method get_date_and_time
1449 (of-object "EmpathyMessage")
1450 (c-name "empathy_message_get_date_and_time")
1451 (return-type "GDate*")
1453 '("time_t*" "timestamp")
1457 (define-method should_highlight
1458 (of-object "EmpathyMessage")
1459 (c-name "empathy_message_should_highlight")
1460 (return-type "gboolean")
1463 (define-function message_type_from_str
1464 (c-name "empathy_message_type_from_str")
1465 (return-type "TpChannelTextMessageType")
1467 '("const-gchar*" "type_str")
1471 (define-function message_type_to_str
1472 (c-name "empathy_message_type_to_str")
1473 (return-type "const-gchar*")
1475 '("TpChannelTextMessageType" "type")
1481 ;; From empathy-status-presets.h
1483 (define-function status_presets_get_all
1484 (c-name "empathy_status_presets_get_all")
1485 (return-type "none")
1488 (define-function status_presets_get
1489 (c-name "empathy_status_presets_get")
1490 (return-type "GList*")
1492 '("McPresence" "state")
1493 '("gint" "max_number")
1497 (define-function status_presets_set_last
1498 (c-name "empathy_status_presets_set_last")
1499 (return-type "none")
1501 '("McPresence" "state")
1502 '("const-gchar*" "status")
1506 (define-function status_presets_remove
1507 (c-name "empathy_status_presets_remove")
1508 (return-type "none")
1510 '("McPresence" "state")
1511 '("const-gchar*" "status")
1515 (define-function status_presets_reset
1516 (c-name "empathy_status_presets_reset")
1517 (return-type "none")
1520 (define-function status_presets_get_default_state
1521 (c-name "empathy_status_presets_get_default_state")
1522 (return-type "McPresence")
1525 (define-function status_presets_get_default_status
1526 (c-name "empathy_status_presets_get_default_status")
1527 (return-type "const-gchar*")
1530 (define-function status_presets_set_default
1531 (c-name "empathy_status_presets_set_default")
1532 (return-type "none")
1534 '("McPresence" "state")
1535 '("const-gchar*" "status")
1539 (define-function status_presets_clear_default
1540 (c-name "empathy_status_presets_clear_default")
1541 (return-type "none")
1546 ;; From empathy-time.h
1548 (define-function time_get_current
1549 (c-name "empathy_time_get_current")
1550 (return-type "time_t")
1553 (define-function time_get_local_time
1554 (c-name "empathy_time_get_local_time")
1555 (return-type "time_t")
1557 '("struct-tm*" "tm")
1561 (define-function time_parse
1562 (c-name "empathy_time_parse")
1563 (return-type "time_t")
1565 '("const-gchar*" "str")
1569 (define-function time_to_string_utc
1570 (c-name "empathy_time_to_string_utc")
1571 (return-type "gchar*")
1574 '("const-gchar*" "format")
1578 (define-function time_to_string_local
1579 (c-name "empathy_time_to_string_local")
1580 (return-type "gchar*")
1583 '("const-gchar*" "format")
1589 ;; From empathy-tp-call.h
1591 (define-function tp_call_get_type
1592 (c-name "empathy_tp_call_get_type")
1593 (return-type "GType")
1596 (define-function tp_call_new
1597 (c-name "empathy_tp_call_new")
1598 (is-constructor-of "EmpathyTpCall")
1599 (return-type "EmpathyTpCall*")
1601 '("TpChannel*" "channel")
1605 (define-method accept_incoming_call
1606 (of-object "EmpathyTpCall")
1607 (c-name "empathy_tp_call_accept_incoming_call")
1608 (return-type "none")
1611 (define-method request_video_stream_direction
1612 (of-object "EmpathyTpCall")
1613 (c-name "empathy_tp_call_request_video_stream_direction")
1614 (return-type "none")
1616 '("gboolean" "is_sending")
1620 (define-method add_preview_video
1621 (of-object "EmpathyTpCall")
1622 (c-name "empathy_tp_call_add_preview_video")
1623 (return-type "none")
1625 '("guint" "preview_video_socket_id")
1629 (define-method remove_preview_video
1630 (of-object "EmpathyTpCall")
1631 (c-name "empathy_tp_call_remove_preview_video")
1632 (return-type "none")
1634 '("guint" "preview_video_socket_id")
1638 (define-method add_output_video
1639 (of-object "EmpathyTpCall")
1640 (c-name "empathy_tp_call_add_output_video")
1641 (return-type "none")
1643 '("guint" "output_video_socket_id")
1647 (define-method set_output_volume
1648 (of-object "EmpathyTpCall")
1649 (c-name "empathy_tp_call_set_output_volume")
1650 (return-type "none")
1656 (define-method mute_output
1657 (of-object "EmpathyTpCall")
1658 (c-name "empathy_tp_call_mute_output")
1659 (return-type "none")
1661 '("gboolean" "is_muted")
1665 (define-method mute_input
1666 (of-object "EmpathyTpCall")
1667 (c-name "empathy_tp_call_mute_input")
1668 (return-type "none")
1670 '("gboolean" "is_muted")
1674 (define-method start_tone
1675 (of-object "EmpathyTpCall")
1676 (c-name "empathy_tp_call_start_tone")
1677 (return-type "none")
1679 '("TpDTMFEvent" "event")
1683 (define-method stop_tone
1684 (of-object "EmpathyTpCall")
1685 (c-name "empathy_tp_call_stop_tone")
1686 (return-type "none")
1689 (define-method has_dtmf
1690 (of-object "EmpathyTpCall")
1691 (c-name "empathy_tp_call_has_dtmf")
1692 (return-type "gboolean")
1697 ;; From empathy-tp-chat.h
1699 (define-function tp_chat_get_type
1700 (c-name "empathy_tp_chat_get_type")
1701 (return-type "GType")
1704 (define-function tp_chat_new
1705 (c-name "empathy_tp_chat_new")
1706 (is-constructor-of "EmpathyTpChat")
1707 (return-type "EmpathyTpChat*")
1709 '("TpChannel*" "channel")
1713 (define-method get_id
1714 (of-object "EmpathyTpChat")
1715 (c-name "empathy_tp_chat_get_id")
1716 (return-type "const-gchar*")
1719 (define-method get_remote_contact
1720 (of-object "EmpathyTpChat")
1721 (c-name "empathy_tp_chat_get_remote_contact")
1722 (return-type "EmpathyContact*")
1725 (define-method get_account
1726 (of-object "EmpathyTpChat")
1727 (c-name "empathy_tp_chat_get_account")
1728 (return-type "McAccount*")
1731 (define-method get_channel
1732 (of-object "EmpathyTpChat")
1733 (c-name "empathy_tp_chat_get_channel")
1734 (return-type "TpChannel*")
1737 (define-method is_ready
1738 (of-object "EmpathyTpChat")
1739 (c-name "empathy_tp_chat_is_ready")
1740 (return-type "gboolean")
1743 (define-method get_members_count
1744 (of-object "EmpathyTpChat")
1745 (c-name "empathy_tp_chat_get_members_count")
1746 (return-type "guint")
1749 (define-method set_acknowledge
1750 (of-object "EmpathyTpChat")
1751 (c-name "empathy_tp_chat_set_acknowledge")
1752 (return-type "none")
1754 '("gboolean" "acknowledge")
1758 (define-method emit_pendings
1759 (of-object "EmpathyTpChat")
1760 (c-name "empathy_tp_chat_emit_pendings")
1761 (return-type "none")
1765 (of-object "EmpathyTpChat")
1766 (c-name "empathy_tp_chat_send")
1767 (return-type "none")
1769 '("EmpathyMessage*" "message")
1773 (define-method set_state
1774 (of-object "EmpathyTpChat")
1775 (c-name "empathy_tp_chat_set_state")
1776 (return-type "none")
1778 '("TpChannelChatState" "state")
1782 (define-method set_property
1783 (of-object "EmpathyTpChat")
1784 (c-name "empathy_tp_chat_set_property")
1785 (return-type "none")
1787 '("const-gchar*" "name")
1788 '("const-GValue*" "value")
1794 ;; From empathy-tp-contact-factory.h
1796 (define-function tp_contact_factory_get_type
1797 (c-name "empathy_tp_contact_factory_get_type")
1798 (return-type "GType")
1801 (define-function tp_contact_factory_new
1802 (c-name "empathy_tp_contact_factory_new")
1803 (is-constructor-of "EmpathyTpContactFactory")
1804 (return-type "EmpathyTpContactFactory*")
1806 '("McAccount*" "account")
1810 (define-method get_user
1811 (of-object "EmpathyTpContactFactory")
1812 (c-name "empathy_tp_contact_factory_get_user")
1813 (return-type "EmpathyContact*")
1816 (define-method get_from_id
1817 (of-object "EmpathyTpContactFactory")
1818 (c-name "empathy_tp_contact_factory_get_from_id")
1819 (return-type "EmpathyContact*")
1821 '("const-gchar*" "id")
1825 (define-method get_from_handle
1826 (of-object "EmpathyTpContactFactory")
1827 (c-name "empathy_tp_contact_factory_get_from_handle")
1828 (return-type "EmpathyContact*")
1834 (define-method get_from_handles
1835 (of-object "EmpathyTpContactFactory")
1836 (c-name "empathy_tp_contact_factory_get_from_handles")
1837 (return-type "GList*")
1839 '("const-GArray*" "handles")
1843 (define-method set_alias
1844 (of-object "EmpathyTpContactFactory")
1845 (c-name "empathy_tp_contact_factory_set_alias")
1846 (return-type "none")
1848 '("EmpathyContact*" "contact")
1849 '("const-gchar*" "alias")
1853 (define-method set_avatar
1854 (of-object "EmpathyTpContactFactory")
1855 (c-name "empathy_tp_contact_factory_set_avatar")
1856 (return-type "none")
1858 '("const-gchar*" "data")
1860 '("const-gchar*" "mime_type")
1864 (define-method is_ready
1865 (of-object "EmpathyTpContactFactory")
1866 (c-name "empathy_tp_contact_factory_is_ready")
1867 (return-type "gboolean")
1872 ;; From empathy-tp-contact-list.h
1874 (define-function tp_contact_list_get_type
1875 (c-name "empathy_tp_contact_list_get_type")
1876 (return-type "GType")
1879 (define-function tp_contact_list_new
1880 (c-name "empathy_tp_contact_list_new")
1881 (is-constructor-of "EmpathyTpContactList")
1882 (return-type "EmpathyTpContactList*")
1884 '("McAccount*" "account")
1888 (define-method get_account
1889 (of-object "EmpathyTpContactList")
1890 (c-name "empathy_tp_contact_list_get_account")
1891 (return-type "McAccount*")
1896 ;; From empathy-tp-file.h
1898 (define-function tp_file_get_type
1899 (c-name "empathy_tp_file_get_type")
1900 (return-type "GType")
1903 (define-function tp_file_new
1904 (c-name "empathy_tp_file_new")
1905 (is-constructor-of "EmpathyTpFile")
1906 (return-type "EmpathyTpFile*")
1908 '("TpChannel*" "channel")
1912 (define-method get_channel
1913 (of-object "EmpathyTpFile")
1914 (c-name "empathy_tp_file_get_channel")
1915 (return-type "TpChannel*")
1918 (define-method accept
1919 (of-object "EmpathyTpFile")
1920 (c-name "empathy_tp_file_accept")
1921 (return-type "none")
1923 '("guint64" "offset")
1925 '("GError**" "error")
1929 (define-method cancel
1930 (of-object "EmpathyTpFile")
1931 (c-name "empathy_tp_file_cancel")
1932 (return-type "none")
1935 (define-method offer
1936 (of-object "EmpathyTpFile")
1937 (c-name "empathy_tp_file_offer")
1938 (return-type "none")
1941 '("GError**" "error")
1945 (define-method get_contact
1946 (of-object "EmpathyTpFile")
1947 (c-name "empathy_tp_file_get_contact")
1948 (return-type "EmpathyContact*")
1951 (define-method get_filename
1952 (of-object "EmpathyTpFile")
1953 (c-name "empathy_tp_file_get_filename")
1954 (return-type "const-gchar*")
1957 (define-method is_incoming
1958 (of-object "EmpathyTpFile")
1959 (c-name "empathy_tp_file_is_incoming")
1960 (return-type "gboolean")
1963 (define-method get_state
1964 (of-object "EmpathyTpFile")
1965 (c-name "empathy_tp_file_get_state")
1966 (return-type "EmpFileTransferState")
1968 '("EmpFileTransferStateChangeReason*" "reason")
1972 (define-method get_size
1973 (of-object "EmpathyTpFile")
1974 (c-name "empathy_tp_file_get_size")
1975 (return-type "guint64")
1978 (define-method get_transferred_bytes
1979 (of-object "EmpathyTpFile")
1980 (c-name "empathy_tp_file_get_transferred_bytes")
1981 (return-type "guint64")
1984 (define-method get_remaining_time
1985 (of-object "EmpathyTpFile")
1986 (c-name "empathy_tp_file_get_remaining_time")
1987 (return-type "gint")
1990 (define-method get_content_type
1991 (of-object "EmpathyTpFile")
1992 (c-name "empathy_tp_file_get_content_type")
1993 (return-type "const-gchar*")
1998 ;; From empathy-tp-group.h
2000 (define-function tp_group_get_type
2001 (c-name "empathy_tp_group_get_type")
2002 (return-type "GType")
2005 (define-function tp_group_new
2006 (c-name "empathy_tp_group_new")
2007 (is-constructor-of "EmpathyTpGroup")
2008 (return-type "EmpathyTpGroup*")
2010 '("TpChannel*" "channel")
2014 (define-method close
2015 (of-object "EmpathyTpGroup")
2016 (c-name "empathy_tp_group_close")
2017 (return-type "none")
2020 (define-method add_members
2021 (of-object "EmpathyTpGroup")
2022 (c-name "empathy_tp_group_add_members")
2023 (return-type "none")
2025 '("GList*" "contacts")
2026 '("const-gchar*" "message")
2030 (define-method add_member
2031 (of-object "EmpathyTpGroup")
2032 (c-name "empathy_tp_group_add_member")
2033 (return-type "none")
2035 '("EmpathyContact*" "contact")
2036 '("const-gchar*" "message")
2040 (define-method remove_members
2041 (of-object "EmpathyTpGroup")
2042 (c-name "empathy_tp_group_remove_members")
2043 (return-type "none")
2045 '("GList*" "contacts")
2046 '("const-gchar*" "message")
2050 (define-method remove_member
2051 (of-object "EmpathyTpGroup")
2052 (c-name "empathy_tp_group_remove_member")
2053 (return-type "none")
2055 '("EmpathyContact*" "contact")
2056 '("const-gchar*" "message")
2060 (define-method get_members
2061 (of-object "EmpathyTpGroup")
2062 (c-name "empathy_tp_group_get_members")
2063 (return-type "GList*")
2066 (define-method get_local_pendings
2067 (of-object "EmpathyTpGroup")
2068 (c-name "empathy_tp_group_get_local_pendings")
2069 (return-type "GList*")
2072 (define-method get_remote_pendings
2073 (of-object "EmpathyTpGroup")
2074 (c-name "empathy_tp_group_get_remote_pendings")
2075 (return-type "GList*")
2078 (define-method get_name
2079 (of-object "EmpathyTpGroup")
2080 (c-name "empathy_tp_group_get_name")
2081 (return-type "const-gchar*")
2084 (define-method get_self_contact
2085 (of-object "EmpathyTpGroup")
2086 (c-name "empathy_tp_group_get_self_contact")
2087 (return-type "EmpathyContact*")
2090 (define-method is_member
2091 (of-object "EmpathyTpGroup")
2092 (c-name "empathy_tp_group_is_member")
2093 (return-type "gboolean")
2095 '("EmpathyContact*" "contact")
2099 (define-method is_ready
2100 (of-object "EmpathyTpGroup")
2101 (c-name "empathy_tp_group_is_ready")
2102 (return-type "gboolean")
2105 (define-method get_invitation
2106 (of-object "EmpathyTpGroup")
2107 (c-name "empathy_tp_group_get_invitation")
2108 (return-type "EmpathyPendingInfo*")
2110 '("EmpathyContact**" "remote_contact")
2114 (define-function pending_info_new
2115 (c-name "empathy_pending_info_new")
2116 (is-constructor-of "EmpathyPendingInfo")
2117 (return-type "EmpathyPendingInfo*")
2119 '("EmpathyContact*" "member")
2120 '("EmpathyContact*" "actor")
2121 '("const-gchar*" "message")
2126 (of-object "EmpathyPendingInfo")
2127 (c-name "empathy_pending_info_free")
2128 (return-type "none")
2133 ;; From empathy-tp-roomlist.h
2135 (define-function tp_roomlist_get_type
2136 (c-name "empathy_tp_roomlist_get_type")
2137 (return-type "GType")
2140 (define-function tp_roomlist_new
2141 (c-name "empathy_tp_roomlist_new")
2142 (is-constructor-of "EmpathyTpRoomlist")
2143 (return-type "EmpathyTpRoomlist*")
2145 '("McAccount*" "account")
2149 (define-method is_listing
2150 (of-object "EmpathyTpRoomlist")
2151 (c-name "empathy_tp_roomlist_is_listing")
2152 (return-type "gboolean")
2155 (define-method start
2156 (of-object "EmpathyTpRoomlist")
2157 (c-name "empathy_tp_roomlist_start")
2158 (return-type "none")
2162 (of-object "EmpathyTpRoomlist")
2163 (c-name "empathy_tp_roomlist_stop")
2164 (return-type "none")
2169 ;; From empathy-tp-tube.h
2171 (define-function tp_tube_get_type
2172 (c-name "empathy_tp_tube_get_type")
2173 (return-type "GType")
2176 (define-function tp_tube_new
2177 (c-name "empathy_tp_tube_new")
2178 (is-constructor-of "EmpathyTpTube")
2179 (return-type "EmpathyTpTube*")
2181 '("TpChannel*" "channel")
2182 '("guint" "tube_id")
2186 (define-function tp_tube_new_stream_tube
2187 (c-name "empathy_tp_tube_new_stream_tube")
2188 (return-type "EmpathyTpTube*")
2190 '("EmpathyContact*" "contact")
2191 '("TpSocketAddressType" "type")
2192 '("const-gchar*" "hostname")
2194 '("const-gchar*" "service")
2198 (define-method accept_stream_tube
2199 (of-object "EmpathyTpTube")
2200 (c-name "empathy_tp_tube_accept_stream_tube")
2201 (return-type "none")
2203 '("TpSocketAddressType" "type")
2207 (define-method get_socket
2208 (of-object "EmpathyTpTube")
2209 (c-name "empathy_tp_tube_get_socket")
2210 (return-type "none")
2212 '("gchar**" "hostname")
2219 ;; From empathy-tube-handler.h
2221 (define-function tube_handler_get_type
2222 (c-name "empathy_tube_handler_get_type")
2223 (return-type "GType")
2226 (define-function tube_handler_new
2227 (c-name "empathy_tube_handler_new")
2228 (is-constructor-of "EmpathyTubeHandler")
2229 (return-type "EmpathyTubeHandler*")
2231 '("TpTubeType" "type")
2232 '("const-gchar*" "service")
2236 (define-function tube_handler_build_bus_name
2237 (c-name "empathy_tube_handler_build_bus_name")
2238 (return-type "gchar*")
2240 '("TpTubeType" "type")
2241 '("const-gchar*" "service")
2245 (define-function tube_handler_build_object_path
2246 (c-name "empathy_tube_handler_build_object_path")
2247 (return-type "gchar*")
2249 '("TpTubeType" "type")
2250 '("const-gchar*" "service")
2256 ;; From empathy-utils.h
2258 (define-function substring
2259 (c-name "empathy_substring")
2260 (return-type "gchar*")
2262 '("const-gchar*" "str")
2268 (define-function strcasecmp
2269 (c-name "empathy_strcasecmp")
2270 (return-type "gint")
2272 '("const-gchar*" "s1")
2273 '("const-gchar*" "s2")
2277 (define-function strncasecmp
2278 (c-name "empathy_strncasecmp")
2279 (return-type "gint")
2281 '("const-gchar*" "s1")
2282 '("const-gchar*" "s2")
2287 (define-function xml_validate
2288 (c-name "empathy_xml_validate")
2289 (return-type "gboolean")
2292 '("const-gchar*" "dtd_filename")
2296 (define-function xml_node_get_child
2297 (c-name "empathy_xml_node_get_child")
2298 (return-type "xmlNodePtr")
2300 '("xmlNodePtr" "node")
2301 '("const-gchar*" "child_name")
2305 (define-function xml_node_get_child_content
2306 (c-name "empathy_xml_node_get_child_content")
2307 (return-type "xmlChar*")
2309 '("xmlNodePtr" "node")
2310 '("const-gchar*" "child_name")
2314 (define-function xml_node_find_child_prop_value
2315 (c-name "empathy_xml_node_find_child_prop_value")
2316 (return-type "xmlNodePtr")
2318 '("xmlNodePtr" "node")
2319 '("const-gchar*" "prop_name")
2320 '("const-gchar*" "prop_value")
2324 (define-function account_hash
2325 (c-name "empathy_account_hash")
2326 (return-type "guint")
2328 '("gconstpointer" "key")
2332 (define-function account_equal
2333 (c-name "empathy_account_equal")
2334 (return-type "gboolean")
2336 '("gconstpointer" "a")
2337 '("gconstpointer" "b")
2341 (define-function mission_control_new
2342 (c-name "empathy_mission_control_new")
2343 (is-constructor-of "EmpathyMissionControl")
2344 (return-type "MissionControl*")
2347 (define-function presence_get_default_message
2348 (c-name "empathy_presence_get_default_message")
2349 (return-type "const-gchar*")
2351 '("McPresence" "presence")
2355 (define-function presence_to_str
2356 (c-name "empathy_presence_to_str")
2357 (return-type "const-gchar*")
2359 '("McPresence" "presence")
2363 (define-function presence_from_str
2364 (c-name "empathy_presence_from_str")
2365 (return-type "McPresence")
2367 '("const-gchar*" "str")
2371 (define-function file_lookup
2372 (c-name "empathy_file_lookup")
2373 (return-type "gchar*")
2375 '("const-gchar*" "filename")
2376 '("const-gchar*" "subdir")
2380 (define-function run_until_ready
2381 (c-name "empathy_run_until_ready")
2382 (return-type "none")
2384 '("gpointer" "object")
2388 (define-function run_until_ready_full
2389 (c-name "empathy_run_until_ready_full")
2390 (return-type "none")
2392 '("gpointer" "object")
2393 '("const-gchar*" "signal")
2394 '("EmpathyRunUntilReadyFunc" "func")
2395 '("gpointer" "user_data")
2396 '("GMainLoop**" "loop")
2400 (define-function channel_get_account
2401 (c-name "empathy_channel_get_account")
2402 (return-type "McAccount*")
2404 '("TpChannel*" "channel")
2408 (define-function connect_to_account_status_changed
2409 (c-name "empathy_connect_to_account_status_changed")
2410 (return-type "gpointer")
2412 '("MissionControl*" "mc")
2413 '("GCallback" "handler")
2414 '("gpointer" "user_data")
2415 '("GClosureNotify" "free_func")
2419 (define-function disconnect_account_status_changed
2420 (c-name "empathy_disconnect_account_status_changed")
2421 (return-type "none")
2423 '("gpointer" "token")
2427 (define-function proxy_equal
2428 (c-name "empathy_proxy_equal")
2429 (return-type "gboolean")
2431 '("gconstpointer" "a")
2432 '("gconstpointer" "b")
2436 (define-function proxy_hash
2437 (c-name "empathy_proxy_hash")
2438 (return-type "guint")
2440 '("gconstpointer" "key")
2444 (define-function connection_request_channel
2445 (c-name "empathy_connection_request_channel")
2446 (return-type "none")
2448 '("TpConnection*" "proxy")
2449 '("gint" "timeout_ms")
2450 '("const-gchar*" "channel_type")
2451 '("guint" "handle_type")
2452 '("const-gchar*" "name")
2453 '("gboolean" "suppress_handler")
2454 '("empathy_connection_callback_for_request_channel" "callback")
2455 '("gpointer" "user_data")
2456 '("GDestroyNotify" "destroy")
2457 '("GObject*" "weak_object")