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 should_highlight
1449 (of-object "EmpathyMessage")
1450 (c-name "empathy_message_should_highlight")
1451 (return-type "gboolean")
1454 (define-function message_type_from_str
1455 (c-name "empathy_message_type_from_str")
1456 (return-type "TpChannelTextMessageType")
1458 '("const-gchar*" "type_str")
1462 (define-function message_type_to_str
1463 (c-name "empathy_message_type_to_str")
1464 (return-type "const-gchar*")
1466 '("TpChannelTextMessageType" "type")
1472 ;; From empathy-status-presets.h
1474 (define-function status_presets_get_all
1475 (c-name "empathy_status_presets_get_all")
1476 (return-type "none")
1479 (define-function status_presets_get
1480 (c-name "empathy_status_presets_get")
1481 (return-type "GList*")
1483 '("McPresence" "state")
1484 '("gint" "max_number")
1488 (define-function status_presets_set_last
1489 (c-name "empathy_status_presets_set_last")
1490 (return-type "none")
1492 '("McPresence" "state")
1493 '("const-gchar*" "status")
1497 (define-function status_presets_remove
1498 (c-name "empathy_status_presets_remove")
1499 (return-type "none")
1501 '("McPresence" "state")
1502 '("const-gchar*" "status")
1506 (define-function status_presets_reset
1507 (c-name "empathy_status_presets_reset")
1508 (return-type "none")
1511 (define-function status_presets_get_default_state
1512 (c-name "empathy_status_presets_get_default_state")
1513 (return-type "McPresence")
1516 (define-function status_presets_get_default_status
1517 (c-name "empathy_status_presets_get_default_status")
1518 (return-type "const-gchar*")
1521 (define-function status_presets_set_default
1522 (c-name "empathy_status_presets_set_default")
1523 (return-type "none")
1525 '("McPresence" "state")
1526 '("const-gchar*" "status")
1530 (define-function status_presets_clear_default
1531 (c-name "empathy_status_presets_clear_default")
1532 (return-type "none")
1537 ;; From empathy-time.h
1539 (define-function time_get_current
1540 (c-name "empathy_time_get_current")
1541 (return-type "time_t")
1544 (define-function time_get_local_time
1545 (c-name "empathy_time_get_local_time")
1546 (return-type "time_t")
1548 '("struct-tm*" "tm")
1552 (define-function time_parse
1553 (c-name "empathy_time_parse")
1554 (return-type "time_t")
1556 '("const-gchar*" "str")
1560 (define-function time_to_string_utc
1561 (c-name "empathy_time_to_string_utc")
1562 (return-type "gchar*")
1565 '("const-gchar*" "format")
1569 (define-function time_to_string_local
1570 (c-name "empathy_time_to_string_local")
1571 (return-type "gchar*")
1574 '("const-gchar*" "format")
1580 ;; From empathy-tp-call.h
1582 (define-function tp_call_get_type
1583 (c-name "empathy_tp_call_get_type")
1584 (return-type "GType")
1587 (define-function tp_call_new
1588 (c-name "empathy_tp_call_new")
1589 (is-constructor-of "EmpathyTpCall")
1590 (return-type "EmpathyTpCall*")
1592 '("TpChannel*" "channel")
1596 (define-method accept_incoming_call
1597 (of-object "EmpathyTpCall")
1598 (c-name "empathy_tp_call_accept_incoming_call")
1599 (return-type "none")
1602 (define-method request_video_stream_direction
1603 (of-object "EmpathyTpCall")
1604 (c-name "empathy_tp_call_request_video_stream_direction")
1605 (return-type "none")
1607 '("gboolean" "is_sending")
1611 (define-method add_preview_video
1612 (of-object "EmpathyTpCall")
1613 (c-name "empathy_tp_call_add_preview_video")
1614 (return-type "none")
1616 '("guint" "preview_video_socket_id")
1620 (define-method remove_preview_video
1621 (of-object "EmpathyTpCall")
1622 (c-name "empathy_tp_call_remove_preview_video")
1623 (return-type "none")
1625 '("guint" "preview_video_socket_id")
1629 (define-method add_output_video
1630 (of-object "EmpathyTpCall")
1631 (c-name "empathy_tp_call_add_output_video")
1632 (return-type "none")
1634 '("guint" "output_video_socket_id")
1638 (define-method set_output_volume
1639 (of-object "EmpathyTpCall")
1640 (c-name "empathy_tp_call_set_output_volume")
1641 (return-type "none")
1647 (define-method mute_output
1648 (of-object "EmpathyTpCall")
1649 (c-name "empathy_tp_call_mute_output")
1650 (return-type "none")
1652 '("gboolean" "is_muted")
1656 (define-method mute_input
1657 (of-object "EmpathyTpCall")
1658 (c-name "empathy_tp_call_mute_input")
1659 (return-type "none")
1661 '("gboolean" "is_muted")
1665 (define-method start_tone
1666 (of-object "EmpathyTpCall")
1667 (c-name "empathy_tp_call_start_tone")
1668 (return-type "none")
1670 '("TpDTMFEvent" "event")
1674 (define-method stop_tone
1675 (of-object "EmpathyTpCall")
1676 (c-name "empathy_tp_call_stop_tone")
1677 (return-type "none")
1680 (define-method has_dtmf
1681 (of-object "EmpathyTpCall")
1682 (c-name "empathy_tp_call_has_dtmf")
1683 (return-type "gboolean")
1688 ;; From empathy-tp-chat.h
1690 (define-function tp_chat_get_type
1691 (c-name "empathy_tp_chat_get_type")
1692 (return-type "GType")
1695 (define-function tp_chat_new
1696 (c-name "empathy_tp_chat_new")
1697 (is-constructor-of "EmpathyTpChat")
1698 (return-type "EmpathyTpChat*")
1700 '("TpChannel*" "channel")
1704 (define-method get_id
1705 (of-object "EmpathyTpChat")
1706 (c-name "empathy_tp_chat_get_id")
1707 (return-type "const-gchar*")
1710 (define-method get_remote_contact
1711 (of-object "EmpathyTpChat")
1712 (c-name "empathy_tp_chat_get_remote_contact")
1713 (return-type "EmpathyContact*")
1716 (define-method get_account
1717 (of-object "EmpathyTpChat")
1718 (c-name "empathy_tp_chat_get_account")
1719 (return-type "McAccount*")
1722 (define-method get_channel
1723 (of-object "EmpathyTpChat")
1724 (c-name "empathy_tp_chat_get_channel")
1725 (return-type "TpChannel*")
1728 (define-method is_ready
1729 (of-object "EmpathyTpChat")
1730 (c-name "empathy_tp_chat_is_ready")
1731 (return-type "gboolean")
1734 (define-method get_members_count
1735 (of-object "EmpathyTpChat")
1736 (c-name "empathy_tp_chat_get_members_count")
1737 (return-type "guint")
1740 (define-method set_acknowledge
1741 (of-object "EmpathyTpChat")
1742 (c-name "empathy_tp_chat_set_acknowledge")
1743 (return-type "none")
1745 '("gboolean" "acknowledge")
1749 (define-method emit_pendings
1750 (of-object "EmpathyTpChat")
1751 (c-name "empathy_tp_chat_emit_pendings")
1752 (return-type "none")
1756 (of-object "EmpathyTpChat")
1757 (c-name "empathy_tp_chat_send")
1758 (return-type "none")
1760 '("EmpathyMessage*" "message")
1764 (define-method set_state
1765 (of-object "EmpathyTpChat")
1766 (c-name "empathy_tp_chat_set_state")
1767 (return-type "none")
1769 '("TpChannelChatState" "state")
1773 (define-method set_property
1774 (of-object "EmpathyTpChat")
1775 (c-name "empathy_tp_chat_set_property")
1776 (return-type "none")
1778 '("const-gchar*" "name")
1779 '("const-GValue*" "value")
1785 ;; From empathy-tp-contact-factory.h
1787 (define-function tp_contact_factory_get_type
1788 (c-name "empathy_tp_contact_factory_get_type")
1789 (return-type "GType")
1792 (define-function tp_contact_factory_new
1793 (c-name "empathy_tp_contact_factory_new")
1794 (is-constructor-of "EmpathyTpContactFactory")
1795 (return-type "EmpathyTpContactFactory*")
1797 '("McAccount*" "account")
1801 (define-method get_user
1802 (of-object "EmpathyTpContactFactory")
1803 (c-name "empathy_tp_contact_factory_get_user")
1804 (return-type "EmpathyContact*")
1807 (define-method get_from_id
1808 (of-object "EmpathyTpContactFactory")
1809 (c-name "empathy_tp_contact_factory_get_from_id")
1810 (return-type "EmpathyContact*")
1812 '("const-gchar*" "id")
1816 (define-method get_from_handle
1817 (of-object "EmpathyTpContactFactory")
1818 (c-name "empathy_tp_contact_factory_get_from_handle")
1819 (return-type "EmpathyContact*")
1825 (define-method get_from_handles
1826 (of-object "EmpathyTpContactFactory")
1827 (c-name "empathy_tp_contact_factory_get_from_handles")
1828 (return-type "GList*")
1830 '("const-GArray*" "handles")
1834 (define-method set_alias
1835 (of-object "EmpathyTpContactFactory")
1836 (c-name "empathy_tp_contact_factory_set_alias")
1837 (return-type "none")
1839 '("EmpathyContact*" "contact")
1840 '("const-gchar*" "alias")
1844 (define-method set_avatar
1845 (of-object "EmpathyTpContactFactory")
1846 (c-name "empathy_tp_contact_factory_set_avatar")
1847 (return-type "none")
1849 '("const-gchar*" "data")
1851 '("const-gchar*" "mime_type")
1855 (define-method is_ready
1856 (of-object "EmpathyTpContactFactory")
1857 (c-name "empathy_tp_contact_factory_is_ready")
1858 (return-type "gboolean")
1863 ;; From empathy-tp-contact-list.h
1865 (define-function tp_contact_list_get_type
1866 (c-name "empathy_tp_contact_list_get_type")
1867 (return-type "GType")
1870 (define-function tp_contact_list_new
1871 (c-name "empathy_tp_contact_list_new")
1872 (is-constructor-of "EmpathyTpContactList")
1873 (return-type "EmpathyTpContactList*")
1875 '("McAccount*" "account")
1879 (define-method get_account
1880 (of-object "EmpathyTpContactList")
1881 (c-name "empathy_tp_contact_list_get_account")
1882 (return-type "McAccount*")
1887 ;; From empathy-tp-file.h
1889 (define-function tp_file_get_type
1890 (c-name "empathy_tp_file_get_type")
1891 (return-type "GType")
1894 (define-function tp_file_new
1895 (c-name "empathy_tp_file_new")
1896 (is-constructor-of "EmpathyTpFile")
1897 (return-type "EmpathyTpFile*")
1899 '("TpChannel*" "channel")
1903 (define-method get_channel
1904 (of-object "EmpathyTpFile")
1905 (c-name "empathy_tp_file_get_channel")
1906 (return-type "TpChannel*")
1909 (define-method accept
1910 (of-object "EmpathyTpFile")
1911 (c-name "empathy_tp_file_accept")
1912 (return-type "none")
1914 '("guint64" "offset")
1916 '("GError**" "error")
1920 (define-method cancel
1921 (of-object "EmpathyTpFile")
1922 (c-name "empathy_tp_file_cancel")
1923 (return-type "none")
1926 (define-method offer
1927 (of-object "EmpathyTpFile")
1928 (c-name "empathy_tp_file_offer")
1929 (return-type "none")
1932 '("GError**" "error")
1936 (define-method get_contact
1937 (of-object "EmpathyTpFile")
1938 (c-name "empathy_tp_file_get_contact")
1939 (return-type "EmpathyContact*")
1942 (define-method get_filename
1943 (of-object "EmpathyTpFile")
1944 (c-name "empathy_tp_file_get_filename")
1945 (return-type "const-gchar*")
1948 (define-method is_incoming
1949 (of-object "EmpathyTpFile")
1950 (c-name "empathy_tp_file_is_incoming")
1951 (return-type "gboolean")
1954 (define-method get_state
1955 (of-object "EmpathyTpFile")
1956 (c-name "empathy_tp_file_get_state")
1957 (return-type "EmpFileTransferState")
1959 '("EmpFileTransferStateChangeReason*" "reason")
1963 (define-method get_size
1964 (of-object "EmpathyTpFile")
1965 (c-name "empathy_tp_file_get_size")
1966 (return-type "guint64")
1969 (define-method get_transferred_bytes
1970 (of-object "EmpathyTpFile")
1971 (c-name "empathy_tp_file_get_transferred_bytes")
1972 (return-type "guint64")
1975 (define-method get_remaining_time
1976 (of-object "EmpathyTpFile")
1977 (c-name "empathy_tp_file_get_remaining_time")
1978 (return-type "gint")
1981 (define-method get_content_type
1982 (of-object "EmpathyTpFile")
1983 (c-name "empathy_tp_file_get_content_type")
1984 (return-type "const-gchar*")
1989 ;; From empathy-tp-group.h
1991 (define-function tp_group_get_type
1992 (c-name "empathy_tp_group_get_type")
1993 (return-type "GType")
1996 (define-function tp_group_new
1997 (c-name "empathy_tp_group_new")
1998 (is-constructor-of "EmpathyTpGroup")
1999 (return-type "EmpathyTpGroup*")
2001 '("TpChannel*" "channel")
2005 (define-method close
2006 (of-object "EmpathyTpGroup")
2007 (c-name "empathy_tp_group_close")
2008 (return-type "none")
2011 (define-method add_members
2012 (of-object "EmpathyTpGroup")
2013 (c-name "empathy_tp_group_add_members")
2014 (return-type "none")
2016 '("GList*" "contacts")
2017 '("const-gchar*" "message")
2021 (define-method add_member
2022 (of-object "EmpathyTpGroup")
2023 (c-name "empathy_tp_group_add_member")
2024 (return-type "none")
2026 '("EmpathyContact*" "contact")
2027 '("const-gchar*" "message")
2031 (define-method remove_members
2032 (of-object "EmpathyTpGroup")
2033 (c-name "empathy_tp_group_remove_members")
2034 (return-type "none")
2036 '("GList*" "contacts")
2037 '("const-gchar*" "message")
2041 (define-method remove_member
2042 (of-object "EmpathyTpGroup")
2043 (c-name "empathy_tp_group_remove_member")
2044 (return-type "none")
2046 '("EmpathyContact*" "contact")
2047 '("const-gchar*" "message")
2051 (define-method get_members
2052 (of-object "EmpathyTpGroup")
2053 (c-name "empathy_tp_group_get_members")
2054 (return-type "GList*")
2057 (define-method get_local_pendings
2058 (of-object "EmpathyTpGroup")
2059 (c-name "empathy_tp_group_get_local_pendings")
2060 (return-type "GList*")
2063 (define-method get_remote_pendings
2064 (of-object "EmpathyTpGroup")
2065 (c-name "empathy_tp_group_get_remote_pendings")
2066 (return-type "GList*")
2069 (define-method get_name
2070 (of-object "EmpathyTpGroup")
2071 (c-name "empathy_tp_group_get_name")
2072 (return-type "const-gchar*")
2075 (define-method get_self_contact
2076 (of-object "EmpathyTpGroup")
2077 (c-name "empathy_tp_group_get_self_contact")
2078 (return-type "EmpathyContact*")
2081 (define-method is_member
2082 (of-object "EmpathyTpGroup")
2083 (c-name "empathy_tp_group_is_member")
2084 (return-type "gboolean")
2086 '("EmpathyContact*" "contact")
2090 (define-method is_ready
2091 (of-object "EmpathyTpGroup")
2092 (c-name "empathy_tp_group_is_ready")
2093 (return-type "gboolean")
2096 (define-method get_invitation
2097 (of-object "EmpathyTpGroup")
2098 (c-name "empathy_tp_group_get_invitation")
2099 (return-type "EmpathyPendingInfo*")
2101 '("EmpathyContact**" "remote_contact")
2105 (define-function pending_info_new
2106 (c-name "empathy_pending_info_new")
2107 (is-constructor-of "EmpathyPendingInfo")
2108 (return-type "EmpathyPendingInfo*")
2110 '("EmpathyContact*" "member")
2111 '("EmpathyContact*" "actor")
2112 '("const-gchar*" "message")
2117 (of-object "EmpathyPendingInfo")
2118 (c-name "empathy_pending_info_free")
2119 (return-type "none")
2124 ;; From empathy-tp-roomlist.h
2126 (define-function tp_roomlist_get_type
2127 (c-name "empathy_tp_roomlist_get_type")
2128 (return-type "GType")
2131 (define-function tp_roomlist_new
2132 (c-name "empathy_tp_roomlist_new")
2133 (is-constructor-of "EmpathyTpRoomlist")
2134 (return-type "EmpathyTpRoomlist*")
2136 '("McAccount*" "account")
2140 (define-method is_listing
2141 (of-object "EmpathyTpRoomlist")
2142 (c-name "empathy_tp_roomlist_is_listing")
2143 (return-type "gboolean")
2146 (define-method start
2147 (of-object "EmpathyTpRoomlist")
2148 (c-name "empathy_tp_roomlist_start")
2149 (return-type "none")
2153 (of-object "EmpathyTpRoomlist")
2154 (c-name "empathy_tp_roomlist_stop")
2155 (return-type "none")
2160 ;; From empathy-tp-tube.h
2162 (define-function tp_tube_get_type
2163 (c-name "empathy_tp_tube_get_type")
2164 (return-type "GType")
2167 (define-function tp_tube_new
2168 (c-name "empathy_tp_tube_new")
2169 (is-constructor-of "EmpathyTpTube")
2170 (return-type "EmpathyTpTube*")
2172 '("TpChannel*" "channel")
2173 '("guint" "tube_id")
2177 (define-function tp_tube_new_stream_tube
2178 (c-name "empathy_tp_tube_new_stream_tube")
2179 (return-type "EmpathyTpTube*")
2181 '("EmpathyContact*" "contact")
2182 '("TpSocketAddressType" "type")
2183 '("const-gchar*" "hostname")
2185 '("const-gchar*" "service")
2189 (define-method accept_stream_tube
2190 (of-object "EmpathyTpTube")
2191 (c-name "empathy_tp_tube_accept_stream_tube")
2192 (return-type "none")
2194 '("TpSocketAddressType" "type")
2198 (define-method get_socket
2199 (of-object "EmpathyTpTube")
2200 (c-name "empathy_tp_tube_get_socket")
2201 (return-type "none")
2203 '("gchar**" "hostname")
2210 ;; From empathy-tube-handler.h
2212 (define-function tube_handler_get_type
2213 (c-name "empathy_tube_handler_get_type")
2214 (return-type "GType")
2217 (define-function tube_handler_new
2218 (c-name "empathy_tube_handler_new")
2219 (is-constructor-of "EmpathyTubeHandler")
2220 (return-type "EmpathyTubeHandler*")
2222 '("TpTubeType" "type")
2223 '("const-gchar*" "service")
2227 (define-function tube_handler_build_bus_name
2228 (c-name "empathy_tube_handler_build_bus_name")
2229 (return-type "gchar*")
2231 '("TpTubeType" "type")
2232 '("const-gchar*" "service")
2236 (define-function tube_handler_build_object_path
2237 (c-name "empathy_tube_handler_build_object_path")
2238 (return-type "gchar*")
2240 '("TpTubeType" "type")
2241 '("const-gchar*" "service")
2247 ;; From empathy-utils.h
2249 (define-function substring
2250 (c-name "empathy_substring")
2251 (return-type "gchar*")
2253 '("const-gchar*" "str")
2259 (define-function strcasecmp
2260 (c-name "empathy_strcasecmp")
2261 (return-type "gint")
2263 '("const-gchar*" "s1")
2264 '("const-gchar*" "s2")
2268 (define-function strncasecmp
2269 (c-name "empathy_strncasecmp")
2270 (return-type "gint")
2272 '("const-gchar*" "s1")
2273 '("const-gchar*" "s2")
2278 (define-function xml_validate
2279 (c-name "empathy_xml_validate")
2280 (return-type "gboolean")
2283 '("const-gchar*" "dtd_filename")
2287 (define-function xml_node_get_child
2288 (c-name "empathy_xml_node_get_child")
2289 (return-type "xmlNodePtr")
2291 '("xmlNodePtr" "node")
2292 '("const-gchar*" "child_name")
2296 (define-function xml_node_get_child_content
2297 (c-name "empathy_xml_node_get_child_content")
2298 (return-type "xmlChar*")
2300 '("xmlNodePtr" "node")
2301 '("const-gchar*" "child_name")
2305 (define-function xml_node_find_child_prop_value
2306 (c-name "empathy_xml_node_find_child_prop_value")
2307 (return-type "xmlNodePtr")
2309 '("xmlNodePtr" "node")
2310 '("const-gchar*" "prop_name")
2311 '("const-gchar*" "prop_value")
2315 (define-function account_hash
2316 (c-name "empathy_account_hash")
2317 (return-type "guint")
2319 '("gconstpointer" "key")
2323 (define-function account_equal
2324 (c-name "empathy_account_equal")
2325 (return-type "gboolean")
2327 '("gconstpointer" "a")
2328 '("gconstpointer" "b")
2332 (define-function mission_control_new
2333 (c-name "empathy_mission_control_new")
2334 (is-constructor-of "EmpathyMissionControl")
2335 (return-type "MissionControl*")
2338 (define-function presence_get_default_message
2339 (c-name "empathy_presence_get_default_message")
2340 (return-type "const-gchar*")
2342 '("McPresence" "presence")
2346 (define-function presence_to_str
2347 (c-name "empathy_presence_to_str")
2348 (return-type "const-gchar*")
2350 '("McPresence" "presence")
2354 (define-function presence_from_str
2355 (c-name "empathy_presence_from_str")
2356 (return-type "McPresence")
2358 '("const-gchar*" "str")
2362 (define-function file_lookup
2363 (c-name "empathy_file_lookup")
2364 (return-type "gchar*")
2366 '("const-gchar*" "filename")
2367 '("const-gchar*" "subdir")
2371 (define-function run_until_ready
2372 (c-name "empathy_run_until_ready")
2373 (return-type "none")
2375 '("gpointer" "object")
2379 (define-function run_until_ready_full
2380 (c-name "empathy_run_until_ready_full")
2381 (return-type "none")
2383 '("gpointer" "object")
2384 '("const-gchar*" "signal")
2385 '("EmpathyRunUntilReadyFunc" "func")
2386 '("gpointer" "user_data")
2387 '("GMainLoop**" "loop")
2391 (define-function channel_get_account
2392 (c-name "empathy_channel_get_account")
2393 (return-type "McAccount*")
2395 '("TpChannel*" "channel")
2399 (define-function connect_to_account_status_changed
2400 (c-name "empathy_connect_to_account_status_changed")
2401 (return-type "gpointer")
2403 '("MissionControl*" "mc")
2404 '("GCallback" "handler")
2405 '("gpointer" "user_data")
2406 '("GClosureNotify" "free_func")
2410 (define-function disconnect_account_status_changed
2411 (c-name "empathy_disconnect_account_status_changed")
2412 (return-type "none")
2414 '("gpointer" "token")
2418 (define-function proxy_equal
2419 (c-name "empathy_proxy_equal")
2420 (return-type "gboolean")
2422 '("gconstpointer" "a")
2423 '("gconstpointer" "b")
2427 (define-function proxy_hash
2428 (c-name "empathy_proxy_hash")
2429 (return-type "guint")
2431 '("gconstpointer" "key")
2435 (define-function connection_request_channel
2436 (c-name "empathy_connection_request_channel")
2437 (return-type "none")
2439 '("TpConnection*" "proxy")
2440 '("gint" "timeout_ms")
2441 '("const-gchar*" "channel_type")
2442 '("guint" "handle_type")
2443 '("const-gchar*" "name")
2444 '("gboolean" "suppress_handler")
2445 '("empathy_connection_callback_for_request_channel" "callback")
2446 '("gpointer" "user_data")
2447 '("GDestroyNotify" "destroy")
2448 '("GObject*" "weak_object")