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")
48 (c-name "EmpathyIdle")
49 (gtype-id "EMPATHY_TYPE_IDLE")
52 (define-object IrcNetwork
55 (c-name "EmpathyIrcNetwork")
56 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
59 (define-object IrcNetworkManager
62 (c-name "EmpathyIrcNetworkManager")
63 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
66 (define-object IrcServer
69 (c-name "EmpathyIrcServer")
70 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
73 (define-object LogManager
76 (c-name "EmpathyLogManager")
77 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
80 (define-object Message
83 (c-name "EmpathyMessage")
84 (gtype-id "EMPATHY_TYPE_MESSAGE")
90 (c-name "EmpathyTpCall")
91 (gtype-id "EMPATHY_TYPE_TP_CALL")
97 (c-name "EmpathyTpChat")
98 (gtype-id "EMPATHY_TYPE_TP_CHAT")
101 (define-object TpContactFactory
102 (in-module "Empathy")
104 (c-name "EmpathyTpContactFactory")
105 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
108 (define-object TpContactList
109 (in-module "Empathy")
111 (implements "EmpathyContactList")
112 (c-name "EmpathyTpContactList")
113 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
116 (define-object TpGroup
117 (in-module "Empathy")
119 (c-name "EmpathyTpGroup")
120 (gtype-id "EMPATHY_TYPE_TP_GROUP")
123 (define-object TpRoomlist
124 (in-module "Empathy")
126 (c-name "EmpathyTpRoomlist")
127 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
130 (define-object TpTube
131 (in-module "Empathy")
133 (c-name "EmpathyTpTube")
134 (gtype-id "EMPATHY_TYPE_TP_TUBE")
137 (define-object TubeHandler
138 (in-module "Empathy")
140 (c-name "EmpathyTubeHandler")
141 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
144 ;; Enumerations and flags ...
146 (define-flags DebugFlags
147 (in-module "Empathy")
148 (c-name "EmpathyDebugFlags")
149 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
151 '("tp" "EMPATHY_DEBUG_TP")
152 '("chat" "EMPATHY_DEBUG_CHAT")
153 '("contact" "EMPATHY_DEBUG_CONTACT")
154 '("account" "EMPATHY_DEBUG_ACCOUNT")
155 '("irc" "EMPATHY_DEBUG_IRC")
156 '("filter" "EMPATHY_DEBUG_FILTER")
157 '("other" "EMPATHY_DEBUG_OTHER")
161 (define-enum RegExType
162 (in-module "Empathy")
163 (c-name "EmpathyRegExType")
164 (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
166 '("as-is" "EMPATHY_REGEX_AS_IS")
167 '("browser" "EMPATHY_REGEX_BROWSER")
168 '("apt" "EMPATHY_REGEX_APT")
169 '("email" "EMPATHY_REGEX_EMAIL")
170 '("other" "EMPATHY_REGEX_OTHER")
171 '("all" "EMPATHY_REGEX_ALL")
175 (define-enum MessageType
176 (in-module "Empathy")
177 (c-name "EmpathyMessageType")
178 (gtype-id "EMPATHY_TYPE_MESSAGE_TYPE")
180 '("normal" "EMPATHY_MESSAGE_TYPE_NORMAL")
181 '("action" "EMPATHY_MESSAGE_TYPE_ACTION")
182 '("notice" "EMPATHY_MESSAGE_TYPE_NOTICE")
183 '("auto-reply" "EMPATHY_MESSAGE_TYPE_AUTO_REPLY")
184 '("last" "EMPATHY_MESSAGE_TYPE_LAST")
188 (define-flags Capabilities
189 (in-module "Empathy")
190 (c-name "EmpathyCapabilities")
191 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
193 '("none" "EMPATHY_CAPABILITIES_NONE")
194 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
195 '("video" "EMPATHY_CAPABILITIES_VIDEO")
196 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
200 (define-flags ContactReady
201 (in-module "Empathy")
202 (c-name "EmpathyContactReady")
203 (gtype-id "EMPATHY_TYPE_CONTACT_READY")
205 '("none" "EMPATHY_CONTACT_READY_NONE")
206 '("id" "EMPATHY_CONTACT_READY_ID")
207 '("handle" "EMPATHY_CONTACT_READY_HANDLE")
208 '("name" "EMPATHY_CONTACT_READY_NAME")
209 '("all" "EMPATHY_CONTACT_READY_ALL")
213 (define-enum TpCallStatus
214 (in-module "Empathy")
215 (c-name "EmpathyTpCallStatus")
216 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
218 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
219 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
220 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
221 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
226 ;; From empathy-avatar.h
228 (define-function empathy_avatar_get_type
229 (c-name "empathy_avatar_get_type")
230 (return-type "GType")
233 (define-function empathy_avatar_new
234 (c-name "empathy_avatar_new")
235 (is-constructor-of "EmpathyAvatar")
236 (return-type "EmpathyAvatar*")
238 '("const-guchar*" "avatar")
239 '("const-gsize" "len")
240 '("const-gchar*" "format")
241 '("const-gchar*" "token")
245 (define-function empathy_avatar_new_from_cache
246 (c-name "empathy_avatar_new_from_cache")
247 (return-type "EmpathyAvatar*")
249 '("const-gchar*" "token")
254 (of-object "EmpathyAvatar")
255 (c-name "empathy_avatar_ref")
256 (return-type "EmpathyAvatar*")
260 (of-object "EmpathyAvatar")
261 (c-name "empathy_avatar_unref")
267 ;; From empathy-time.h
269 (define-function empathy_time_get_current
270 (c-name "empathy_time_get_current")
271 (return-type "time_t")
274 (define-function empathy_time_get_local_time
275 (c-name "empathy_time_get_local_time")
276 (return-type "time_t")
282 (define-function empathy_time_parse
283 (c-name "empathy_time_parse")
284 (return-type "time_t")
286 '("const-gchar*" "str")
290 (define-function empathy_time_to_string_utc
291 (c-name "empathy_time_to_string_utc")
292 (return-type "gchar*")
295 '("const-gchar*" "format")
299 (define-function empathy_time_to_string_local
300 (c-name "empathy_time_to_string_local")
301 (return-type "gchar*")
304 '("const-gchar*" "format")
310 ;; From empathy-status-presets.h
312 (define-function empathy_status_presets_get_all
313 (c-name "empathy_status_presets_get_all")
317 (define-function empathy_status_presets_get
318 (c-name "empathy_status_presets_get")
319 (return-type "GList*")
321 '("McPresence" "state")
322 '("gint" "max_number")
326 (define-function empathy_status_presets_set_last
327 (c-name "empathy_status_presets_set_last")
330 '("McPresence" "state")
331 '("const-gchar*" "status")
335 (define-function empathy_status_presets_remove
336 (c-name "empathy_status_presets_remove")
339 '("McPresence" "state")
340 '("const-gchar*" "status")
344 (define-function empathy_status_presets_reset
345 (c-name "empathy_status_presets_reset")
349 (define-function empathy_status_presets_get_default_state
350 (c-name "empathy_status_presets_get_default_state")
351 (return-type "McPresence")
354 (define-function empathy_status_presets_get_default_status
355 (c-name "empathy_status_presets_get_default_status")
356 (return-type "const-gchar*")
359 (define-function empathy_status_presets_set_default
360 (c-name "empathy_status_presets_set_default")
363 '("McPresence" "state")
364 '("const-gchar*" "status")
368 (define-function empathy_status_presets_clear_default
369 (c-name "empathy_status_presets_clear_default")
375 ;; From empathy-debug.h
377 (define-function empathy_debug_flag_is_set
378 (c-name "empathy_debug_flag_is_set")
379 (return-type "gboolean")
381 '("EmpathyDebugFlags" "flag")
385 (define-function empathy_debug
386 (c-name "empathy_debug")
389 '("EmpathyDebugFlags" "flag")
390 '("const-gchar*" "format")
395 (define-function empathy_debug_set_flags
396 (c-name "empathy_debug_set_flags")
399 '("const-gchar*" "flags_string")
405 ;; From empathy-utils.h
407 (define-function empathy_substring
408 (c-name "empathy_substring")
409 (return-type "gchar*")
411 '("const-gchar*" "str")
417 (define-function empathy_regex_match
418 (c-name "empathy_regex_match")
421 '("EmpathyRegExType" "type")
422 '("const-gchar*" "msg")
428 (define-function empathy_strcasecmp
429 (c-name "empathy_strcasecmp")
432 '("const-gchar*" "s1")
433 '("const-gchar*" "s2")
437 (define-function empathy_strncasecmp
438 (c-name "empathy_strncasecmp")
441 '("const-gchar*" "s1")
442 '("const-gchar*" "s2")
447 (define-function empathy_xml_validate
448 (c-name "empathy_xml_validate")
449 (return-type "gboolean")
452 '("const-gchar*" "dtd_filename")
456 (define-function empathy_xml_node_get_child
457 (c-name "empathy_xml_node_get_child")
458 (return-type "xmlNodePtr")
460 '("xmlNodePtr" "node")
461 '("const-gchar*" "child_name")
465 (define-function empathy_xml_node_get_child_content
466 (c-name "empathy_xml_node_get_child_content")
467 (return-type "xmlChar*")
469 '("xmlNodePtr" "node")
470 '("const-gchar*" "child_name")
474 (define-function empathy_xml_node_find_child_prop_value
475 (c-name "empathy_xml_node_find_child_prop_value")
476 (return-type "xmlNodePtr")
478 '("xmlNodePtr" "node")
479 '("const-gchar*" "prop_name")
480 '("const-gchar*" "prop_value")
484 (define-function empathy_account_hash
485 (c-name "empathy_account_hash")
486 (return-type "guint")
488 '("gconstpointer" "key")
492 (define-function empathy_account_equal
493 (c-name "empathy_account_equal")
494 (return-type "gboolean")
496 '("gconstpointer" "a")
497 '("gconstpointer" "b")
501 (define-function empathy_mission_control_new
502 (c-name "empathy_mission_control_new")
503 (is-constructor-of "EmpathyMissionControl")
504 (return-type "MissionControl*")
507 (define-function empathy_call_with_contact
508 (c-name "empathy_call_with_contact")
511 '("EmpathyContact*" "contact")
515 (define-function empathy_call_with_contact_id
516 (c-name "empathy_call_with_contact_id")
519 '("McAccount*" "account")
520 '("const-gchar*" "contact_id")
524 (define-function empathy_chat_with_contact
525 (c-name "empathy_chat_with_contact")
528 '("EmpathyContact*" "contact")
532 (define-function empathy_chat_with_contact_id
533 (c-name "empathy_chat_with_contact_id")
536 '("McAccount*" "account")
537 '("const-gchar*" "contact_id")
541 (define-function empathy_presence_get_default_message
542 (c-name "empathy_presence_get_default_message")
543 (return-type "const-gchar*")
545 '("McPresence" "presence")
549 (define-function empathy_presence_to_str
550 (c-name "empathy_presence_to_str")
551 (return-type "const-gchar*")
553 '("McPresence" "presence")
557 (define-function empathy_presence_from_str
558 (c-name "empathy_presence_from_str")
559 (return-type "McPresence")
561 '("const-gchar*" "str")
565 (define-function empathy_file_lookup
566 (c-name "empathy_file_lookup")
567 (return-type "gchar*")
569 '("const-gchar*" "filename")
570 '("const-gchar*" "subdir")
574 (define-function empathy_run_until_ready
575 (c-name "empathy_run_until_ready")
578 '("gpointer" "object")
582 (define-function empathy_run_until_ready_full
583 (c-name "empathy_run_until_ready_full")
586 '("gpointer" "object")
587 '("const-gchar*" "signal")
588 '("EmpathyRunUntilReadyFunc" "func")
589 '("gpointer" "user_data")
590 '("GMainLoop**" "loop")
594 (define-function empathy_channel_get_account
595 (c-name "empathy_channel_get_account")
596 (return-type "McAccount*")
598 '("TpChannel*" "channel")
602 (define-function empathy_connect_to_account_status_changed
603 (c-name "empathy_connect_to_account_status_changed")
604 (return-type "gpointer")
606 '("MissionControl*" "mc")
607 '("GCallback" "handler")
608 '("gpointer" "user_data")
609 '("GClosureNotify" "free_func")
613 (define-function empathy_disconnect_account_status_changed
614 (c-name "empathy_disconnect_account_status_changed")
617 '("gpointer" "token")
623 ;; From empathy-message.h
625 (define-function empathy_message_get_gtype
626 (c-name "empathy_message_get_gtype")
627 (return-type "GType")
630 (define-function empathy_message_new
631 (c-name "empathy_message_new")
632 (is-constructor-of "EmpathyMessage")
633 (return-type "EmpathyMessage*")
635 '("const-gchar*" "body")
639 (define-method get_type
640 (of-object "EmpathyMessage")
641 (c-name "empathy_message_get_type")
642 (return-type "EmpathyMessageType")
645 (define-method set_type
646 (of-object "EmpathyMessage")
647 (c-name "empathy_message_set_type")
650 '("EmpathyMessageType" "type")
654 (define-method get_sender
655 (of-object "EmpathyMessage")
656 (c-name "empathy_message_get_sender")
657 (return-type "EmpathyContact*")
660 (define-method set_sender
661 (of-object "EmpathyMessage")
662 (c-name "empathy_message_set_sender")
665 '("EmpathyContact*" "contact")
669 (define-method get_receiver
670 (of-object "EmpathyMessage")
671 (c-name "empathy_message_get_receiver")
672 (return-type "EmpathyContact*")
675 (define-method set_receiver
676 (of-object "EmpathyMessage")
677 (c-name "empathy_message_set_receiver")
680 '("EmpathyContact*" "contact")
684 (define-method get_body
685 (of-object "EmpathyMessage")
686 (c-name "empathy_message_get_body")
687 (return-type "const-gchar*")
690 (define-method set_body
691 (of-object "EmpathyMessage")
692 (c-name "empathy_message_set_body")
695 '("const-gchar*" "body")
699 (define-method get_timestamp
700 (of-object "EmpathyMessage")
701 (c-name "empathy_message_get_timestamp")
702 (return-type "time_t")
705 (define-method set_timestamp
706 (of-object "EmpathyMessage")
707 (c-name "empathy_message_set_timestamp")
710 '("time_t" "timestamp")
714 (define-method get_date_and_time
715 (of-object "EmpathyMessage")
716 (c-name "empathy_message_get_date_and_time")
717 (return-type "GDate*")
719 '("time_t*" "timestamp")
723 (define-method should_highlight
724 (of-object "EmpathyMessage")
725 (c-name "empathy_message_should_highlight")
726 (return-type "gboolean")
729 (define-function empathy_message_type_from_str
730 (c-name "empathy_message_type_from_str")
731 (return-type "EmpathyMessageType")
733 '("const-gchar*" "type_str")
737 (define-method to_str
738 (of-object "EmpathyMessageType")
739 (c-name "empathy_message_type_to_str")
740 (return-type "const-gchar*")
745 ;; From empathy-chatroom-manager.h
747 (define-function empathy_chatroom_manager_get_type
748 (c-name "empathy_chatroom_manager_get_type")
749 (return-type "GType")
752 (define-function empathy_chatroom_manager_new
753 (c-name "empathy_chatroom_manager_new")
754 (is-constructor-of "EmpathyChatroomManager")
755 (return-type "EmpathyChatroomManager*")
759 (of-object "EmpathyChatroomManager")
760 (c-name "empathy_chatroom_manager_add")
761 (return-type "gboolean")
763 '("EmpathyChatroom*" "chatroom")
767 (define-method remove
768 (of-object "EmpathyChatroomManager")
769 (c-name "empathy_chatroom_manager_remove")
772 '("EmpathyChatroom*" "chatroom")
777 (of-object "EmpathyChatroomManager")
778 (c-name "empathy_chatroom_manager_find")
779 (return-type "EmpathyChatroom*")
781 '("McAccount*" "account")
782 '("const-gchar*" "room")
786 (define-method get_chatrooms
787 (of-object "EmpathyChatroomManager")
788 (c-name "empathy_chatroom_manager_get_chatrooms")
789 (return-type "GList*")
791 '("McAccount*" "account")
795 (define-method get_count
796 (of-object "EmpathyChatroomManager")
797 (c-name "empathy_chatroom_manager_get_count")
798 (return-type "guint")
800 '("McAccount*" "account")
805 (of-object "EmpathyChatroomManager")
806 (c-name "empathy_chatroom_manager_store")
812 ;; From empathy-chatroom.h
814 (define-function empathy_chatroom_get_type
815 (c-name "empathy_chatroom_get_type")
816 (return-type "GType")
819 (define-function empathy_chatroom_new
820 (c-name "empathy_chatroom_new")
821 (is-constructor-of "EmpathyChatroom")
822 (return-type "EmpathyChatroom*")
824 '("McAccount*" "account")
825 '("const-gchar*" "room")
829 (define-function empathy_chatroom_new_full
830 (c-name "empathy_chatroom_new_full")
831 (return-type "EmpathyChatroom*")
833 '("McAccount*" "account")
834 '("const-gchar*" "room")
835 '("const-gchar*" "name")
836 '("gboolean" "auto_connect")
840 (define-method get_account
841 (of-object "EmpathyChatroom")
842 (c-name "empathy_chatroom_get_account")
843 (return-type "McAccount*")
846 (define-method set_account
847 (of-object "EmpathyChatroom")
848 (c-name "empathy_chatroom_set_account")
851 '("McAccount*" "account")
855 (define-method get_room
856 (of-object "EmpathyChatroom")
857 (c-name "empathy_chatroom_get_room")
858 (return-type "const-gchar*")
861 (define-method set_room
862 (of-object "EmpathyChatroom")
863 (c-name "empathy_chatroom_set_room")
866 '("const-gchar*" "room")
870 (define-method get_name
871 (of-object "EmpathyChatroom")
872 (c-name "empathy_chatroom_get_name")
873 (return-type "const-gchar*")
876 (define-method set_name
877 (of-object "EmpathyChatroom")
878 (c-name "empathy_chatroom_set_name")
881 '("const-gchar*" "name")
885 (define-method get_auto_connect
886 (of-object "EmpathyChatroom")
887 (c-name "empathy_chatroom_get_auto_connect")
888 (return-type "gboolean")
891 (define-method set_auto_connect
892 (of-object "EmpathyChatroom")
893 (c-name "empathy_chatroom_set_auto_connect")
896 '("gboolean" "auto_connect")
900 (define-function empathy_chatroom_equal
901 (c-name "empathy_chatroom_equal")
902 (return-type "gboolean")
904 '("gconstpointer" "v1")
905 '("gconstpointer" "v2")
911 ;; From empathy-contact.h
913 (define-function empathy_contact_get_type
914 (c-name "empathy_contact_get_type")
915 (return-type "GType")
918 (define-function empathy_contact_new
919 (c-name "empathy_contact_new")
920 (is-constructor-of "EmpathyContact")
921 (return-type "EmpathyContact*")
923 '("McAccount*" "account")
927 (define-function empathy_contact_new_full
928 (c-name "empathy_contact_new_full")
929 (return-type "EmpathyContact*")
931 '("McAccount*" "account")
932 '("const-gchar*" "id")
933 '("const-gchar*" "name")
937 (define-method get_id
938 (of-object "EmpathyContact")
939 (c-name "empathy_contact_get_id")
940 (return-type "const-gchar*")
943 (define-method set_id
944 (of-object "EmpathyContact")
945 (c-name "empathy_contact_set_id")
948 '("const-gchar*" "id")
952 (define-method get_name
953 (of-object "EmpathyContact")
954 (c-name "empathy_contact_get_name")
955 (return-type "const-gchar*")
958 (define-method set_name
959 (of-object "EmpathyContact")
960 (c-name "empathy_contact_set_name")
963 '("const-gchar*" "name")
967 (define-method get_avatar
968 (of-object "EmpathyContact")
969 (c-name "empathy_contact_get_avatar")
970 (return-type "EmpathyAvatar*")
973 (define-method set_avatar
974 (of-object "EmpathyContact")
975 (c-name "empathy_contact_set_avatar")
978 '("EmpathyAvatar*" "avatar")
982 (define-method get_account
983 (of-object "EmpathyContact")
984 (c-name "empathy_contact_get_account")
985 (return-type "McAccount*")
988 (define-method set_account
989 (of-object "EmpathyContact")
990 (c-name "empathy_contact_set_account")
993 '("McAccount*" "account")
997 (define-method get_presence
998 (of-object "EmpathyContact")
999 (c-name "empathy_contact_get_presence")
1000 (return-type "McPresence")
1003 (define-method set_presence
1004 (of-object "EmpathyContact")
1005 (c-name "empathy_contact_set_presence")
1006 (return-type "none")
1008 '("McPresence" "presence")
1012 (define-method get_presence_message
1013 (of-object "EmpathyContact")
1014 (c-name "empathy_contact_get_presence_message")
1015 (return-type "const-gchar*")
1018 (define-method set_presence_message
1019 (of-object "EmpathyContact")
1020 (c-name "empathy_contact_set_presence_message")
1021 (return-type "none")
1023 '("const-gchar*" "message")
1027 (define-method get_handle
1028 (of-object "EmpathyContact")
1029 (c-name "empathy_contact_get_handle")
1030 (return-type "guint")
1033 (define-method set_handle
1034 (of-object "EmpathyContact")
1035 (c-name "empathy_contact_set_handle")
1036 (return-type "none")
1042 (define-method get_capabilities
1043 (of-object "EmpathyContact")
1044 (c-name "empathy_contact_get_capabilities")
1045 (return-type "EmpathyCapabilities")
1048 (define-method set_capabilities
1049 (of-object "EmpathyContact")
1050 (c-name "empathy_contact_set_capabilities")
1051 (return-type "none")
1053 '("EmpathyCapabilities" "capabilities")
1057 (define-method get_ready
1058 (of-object "EmpathyContact")
1059 (c-name "empathy_contact_get_ready")
1060 (return-type "EmpathyContactReady")
1063 (define-method is_user
1064 (of-object "EmpathyContact")
1065 (c-name "empathy_contact_is_user")
1066 (return-type "gboolean")
1069 (define-method set_is_user
1070 (of-object "EmpathyContact")
1071 (c-name "empathy_contact_set_is_user")
1072 (return-type "none")
1074 '("gboolean" "is_user")
1078 (define-method is_online
1079 (of-object "EmpathyContact")
1080 (c-name "empathy_contact_is_online")
1081 (return-type "gboolean")
1084 (define-method get_status
1085 (of-object "EmpathyContact")
1086 (c-name "empathy_contact_get_status")
1087 (return-type "const-gchar*")
1090 (define-method can_voip
1091 (of-object "EmpathyContact")
1092 (c-name "empathy_contact_can_voip")
1093 (return-type "gboolean")
1096 (define-function empathy_contact_equal
1097 (c-name "empathy_contact_equal")
1098 (return-type "gboolean")
1100 '("gconstpointer" "v1")
1101 '("gconstpointer" "v2")
1105 (define-function empathy_contact_hash
1106 (c-name "empathy_contact_hash")
1107 (return-type "guint")
1109 '("gconstpointer" "key")
1113 (define-method run_until_ready
1114 (of-object "EmpathyContact")
1115 (c-name "empathy_contact_run_until_ready")
1116 (return-type "none")
1118 '("EmpathyContactReady" "ready")
1119 '("GMainLoop**" "loop")
1125 ;; From empathy-contact-groups.h
1127 (define-function empathy_contact_groups_get_all
1128 (c-name "empathy_contact_groups_get_all")
1129 (return-type "none")
1132 (define-function empathy_contact_group_get_expanded
1133 (c-name "empathy_contact_group_get_expanded")
1134 (return-type "gboolean")
1136 '("const-gchar*" "group")
1140 (define-function empathy_contact_group_set_expanded
1141 (c-name "empathy_contact_group_set_expanded")
1142 (return-type "none")
1144 '("const-gchar*" "group")
1145 '("gboolean" "expanded")
1151 ;; From empathy-contact-list.h
1153 (define-function empathy_contact_list_get_type
1154 (c-name "empathy_contact_list_get_type")
1155 (return-type "GType")
1159 (of-object "EmpathyContactList")
1160 (c-name "empathy_contact_list_add")
1161 (return-type "none")
1163 '("EmpathyContact*" "contact")
1164 '("const-gchar*" "message")
1168 (define-method remove
1169 (of-object "EmpathyContactList")
1170 (c-name "empathy_contact_list_remove")
1171 (return-type "none")
1173 '("EmpathyContact*" "contact")
1174 '("const-gchar*" "message")
1178 (define-method get_members
1179 (of-object "EmpathyContactList")
1180 (c-name "empathy_contact_list_get_members")
1181 (return-type "GList*")
1184 (define-method get_pendings
1185 (of-object "EmpathyContactList")
1186 (c-name "empathy_contact_list_get_pendings")
1187 (return-type "GList*")
1190 (define-method get_all_groups
1191 (of-object "EmpathyContactList")
1192 (c-name "empathy_contact_list_get_all_groups")
1193 (return-type "GList*")
1196 (define-method get_groups
1197 (of-object "EmpathyContactList")
1198 (c-name "empathy_contact_list_get_groups")
1199 (return-type "GList*")
1201 '("EmpathyContact*" "contact")
1205 (define-method add_to_group
1206 (of-object "EmpathyContactList")
1207 (c-name "empathy_contact_list_add_to_group")
1208 (return-type "none")
1210 '("EmpathyContact*" "contact")
1211 '("const-gchar*" "group")
1215 (define-method remove_from_group
1216 (of-object "EmpathyContactList")
1217 (c-name "empathy_contact_list_remove_from_group")
1218 (return-type "none")
1220 '("EmpathyContact*" "contact")
1221 '("const-gchar*" "group")
1225 (define-method rename_group
1226 (of-object "EmpathyContactList")
1227 (c-name "empathy_contact_list_rename_group")
1228 (return-type "none")
1230 '("const-gchar*" "old_group")
1231 '("const-gchar*" "new_group")
1235 (define-method remove_group
1236 (of-object "EmpathyContactList")
1237 (c-name "empathy_contact_list_remove_group")
1238 (return-type "none")
1240 '("const-gchar*" "group")
1246 ;; From empathy-contact-manager.h
1248 (define-function empathy_contact_manager_get_type
1249 (c-name "empathy_contact_manager_get_type")
1250 (return-type "GType")
1253 (define-function empathy_contact_manager_new
1254 (c-name "empathy_contact_manager_new")
1255 (is-constructor-of "EmpathyContactManager")
1256 (return-type "EmpathyContactManager*")
1259 (define-method get_list
1260 (of-object "EmpathyContactManager")
1261 (c-name "empathy_contact_manager_get_list")
1262 (return-type "EmpathyTpContactList*")
1264 '("McAccount*" "account")
1270 ;; From empathy-contact-factory.h
1272 (define-function empathy_contact_factory_get_type
1273 (c-name "empathy_contact_factory_get_type")
1274 (return-type "GType")
1277 (define-function empathy_contact_factory_new
1278 (c-name "empathy_contact_factory_new")
1279 (is-constructor-of "EmpathyContactFactory")
1280 (return-type "EmpathyContactFactory*")
1283 (define-method get_tp_factory
1284 (of-object "EmpathyContactFactory")
1285 (c-name "empathy_contact_factory_get_tp_factory")
1286 (return-type "EmpathyTpContactFactory*")
1288 '("McAccount*" "account")
1292 (define-method get_user
1293 (of-object "EmpathyContactFactory")
1294 (c-name "empathy_contact_factory_get_user")
1295 (return-type "EmpathyContact*")
1297 '("McAccount*" "account")
1301 (define-method get_from_id
1302 (of-object "EmpathyContactFactory")
1303 (c-name "empathy_contact_factory_get_from_id")
1304 (return-type "EmpathyContact*")
1306 '("McAccount*" "account")
1307 '("const-gchar*" "id")
1311 (define-method get_from_handle
1312 (of-object "EmpathyContactFactory")
1313 (c-name "empathy_contact_factory_get_from_handle")
1314 (return-type "EmpathyContact*")
1316 '("McAccount*" "account")
1321 (define-method get_from_handles
1322 (of-object "EmpathyContactFactory")
1323 (c-name "empathy_contact_factory_get_from_handles")
1324 (return-type "GList*")
1326 '("McAccount*" "account")
1327 '("const-GArray*" "handles")
1331 (define-method set_alias
1332 (of-object "EmpathyContactFactory")
1333 (c-name "empathy_contact_factory_set_alias")
1334 (return-type "none")
1336 '("EmpathyContact*" "contact")
1337 '("const-gchar*" "alias")
1341 (define-method set_avatar
1342 (of-object "EmpathyContactFactory")
1343 (c-name "empathy_contact_factory_set_avatar")
1344 (return-type "none")
1346 '("McAccount*" "account")
1347 '("const-gchar*" "data")
1349 '("const-gchar*" "mime_type")
1355 ;; From empathy-tp-contact-factory.h
1357 (define-function empathy_tp_contact_factory_get_type
1358 (c-name "empathy_tp_contact_factory_get_type")
1359 (return-type "GType")
1362 (define-function empathy_tp_contact_factory_new
1363 (c-name "empathy_tp_contact_factory_new")
1364 (is-constructor-of "EmpathyTpContactFactory")
1365 (return-type "EmpathyTpContactFactory*")
1367 '("McAccount*" "account")
1371 (define-method get_user
1372 (of-object "EmpathyTpContactFactory")
1373 (c-name "empathy_tp_contact_factory_get_user")
1374 (return-type "EmpathyContact*")
1377 (define-method get_from_id
1378 (of-object "EmpathyTpContactFactory")
1379 (c-name "empathy_tp_contact_factory_get_from_id")
1380 (return-type "EmpathyContact*")
1382 '("const-gchar*" "id")
1386 (define-method get_from_handle
1387 (of-object "EmpathyTpContactFactory")
1388 (c-name "empathy_tp_contact_factory_get_from_handle")
1389 (return-type "EmpathyContact*")
1395 (define-method get_from_handles
1396 (of-object "EmpathyTpContactFactory")
1397 (c-name "empathy_tp_contact_factory_get_from_handles")
1398 (return-type "GList*")
1400 '("const-GArray*" "handles")
1404 (define-method set_alias
1405 (of-object "EmpathyTpContactFactory")
1406 (c-name "empathy_tp_contact_factory_set_alias")
1407 (return-type "none")
1409 '("EmpathyContact*" "contact")
1410 '("const-gchar*" "alias")
1414 (define-method set_avatar
1415 (of-object "EmpathyTpContactFactory")
1416 (c-name "empathy_tp_contact_factory_set_avatar")
1417 (return-type "none")
1419 '("const-gchar*" "data")
1421 '("const-gchar*" "mime_type")
1425 (define-method is_ready
1426 (of-object "EmpathyTpContactFactory")
1427 (c-name "empathy_tp_contact_factory_is_ready")
1428 (return-type "gboolean")
1433 ;; From empathy-tp-group.h
1435 (define-function empathy_tp_group_get_type
1436 (c-name "empathy_tp_group_get_type")
1437 (return-type "GType")
1440 (define-function empathy_tp_group_new
1441 (c-name "empathy_tp_group_new")
1442 (is-constructor-of "EmpathyTpGroup")
1443 (return-type "EmpathyTpGroup*")
1445 '("TpChannel*" "channel")
1449 (define-method close
1450 (of-object "EmpathyTpGroup")
1451 (c-name "empathy_tp_group_close")
1452 (return-type "none")
1455 (define-method add_members
1456 (of-object "EmpathyTpGroup")
1457 (c-name "empathy_tp_group_add_members")
1458 (return-type "none")
1460 '("GList*" "contacts")
1461 '("const-gchar*" "message")
1465 (define-method add_member
1466 (of-object "EmpathyTpGroup")
1467 (c-name "empathy_tp_group_add_member")
1468 (return-type "none")
1470 '("EmpathyContact*" "contact")
1471 '("const-gchar*" "message")
1475 (define-method remove_members
1476 (of-object "EmpathyTpGroup")
1477 (c-name "empathy_tp_group_remove_members")
1478 (return-type "none")
1480 '("GList*" "contacts")
1481 '("const-gchar*" "message")
1485 (define-method remove_member
1486 (of-object "EmpathyTpGroup")
1487 (c-name "empathy_tp_group_remove_member")
1488 (return-type "none")
1490 '("EmpathyContact*" "contact")
1491 '("const-gchar*" "message")
1495 (define-method get_members
1496 (of-object "EmpathyTpGroup")
1497 (c-name "empathy_tp_group_get_members")
1498 (return-type "GList*")
1501 (define-method get_local_pendings
1502 (of-object "EmpathyTpGroup")
1503 (c-name "empathy_tp_group_get_local_pendings")
1504 (return-type "GList*")
1507 (define-method get_remote_pendings
1508 (of-object "EmpathyTpGroup")
1509 (c-name "empathy_tp_group_get_remote_pendings")
1510 (return-type "GList*")
1513 (define-method get_name
1514 (of-object "EmpathyTpGroup")
1515 (c-name "empathy_tp_group_get_name")
1516 (return-type "const-gchar*")
1519 (define-method get_self_contact
1520 (of-object "EmpathyTpGroup")
1521 (c-name "empathy_tp_group_get_self_contact")
1522 (return-type "EmpathyContact*")
1525 (define-method is_member
1526 (of-object "EmpathyTpGroup")
1527 (c-name "empathy_tp_group_is_member")
1528 (return-type "gboolean")
1530 '("EmpathyContact*" "contact")
1534 (define-method is_ready
1535 (of-object "EmpathyTpGroup")
1536 (c-name "empathy_tp_group_is_ready")
1537 (return-type "gboolean")
1540 (define-method get_invitation
1541 (of-object "EmpathyTpGroup")
1542 (c-name "empathy_tp_group_get_invitation")
1543 (return-type "EmpathyPendingInfo*")
1545 '("EmpathyContact**" "remote_contact")
1549 (define-function empathy_pending_info_new
1550 (c-name "empathy_pending_info_new")
1551 (is-constructor-of "EmpathyPendingInfo")
1552 (return-type "EmpathyPendingInfo*")
1554 '("EmpathyContact*" "member")
1555 '("EmpathyContact*" "actor")
1556 '("const-gchar*" "message")
1561 (of-object "EmpathyPendingInfo")
1562 (c-name "empathy_pending_info_free")
1563 (return-type "none")
1568 ;; From empathy-tp-contact-list.h
1570 (define-function empathy_tp_contact_list_get_type
1571 (c-name "empathy_tp_contact_list_get_type")
1572 (return-type "GType")
1575 (define-function empathy_tp_contact_list_new
1576 (c-name "empathy_tp_contact_list_new")
1577 (is-constructor-of "EmpathyTpContactList")
1578 (return-type "EmpathyTpContactList*")
1580 '("McAccount*" "account")
1584 (define-method get_account
1585 (of-object "EmpathyTpContactList")
1586 (c-name "empathy_tp_contact_list_get_account")
1587 (return-type "McAccount*")
1592 ;; From empathy-tp-chat.h
1594 (define-function empathy_tp_chat_get_type
1595 (c-name "empathy_tp_chat_get_type")
1596 (return-type "GType")
1599 (define-function empathy_tp_chat_new
1600 (c-name "empathy_tp_chat_new")
1601 (is-constructor-of "EmpathyTpChat")
1602 (return-type "EmpathyTpChat*")
1604 '("TpChannel*" "channel")
1605 '("gboolean" "acknowledge")
1609 (define-method get_id
1610 (of-object "EmpathyTpChat")
1611 (c-name "empathy_tp_chat_get_id")
1612 (return-type "const-gchar*")
1615 (define-method get_remote_contact
1616 (of-object "EmpathyTpChat")
1617 (c-name "empathy_tp_chat_get_remote_contact")
1618 (return-type "EmpathyContact*")
1621 (define-method get_account
1622 (of-object "EmpathyTpChat")
1623 (c-name "empathy_tp_chat_get_account")
1624 (return-type "McAccount*")
1627 (define-method get_channel
1628 (of-object "EmpathyTpChat")
1629 (c-name "empathy_tp_chat_get_channel")
1630 (return-type "TpChannel*")
1633 (define-method is_ready
1634 (of-object "EmpathyTpChat")
1635 (c-name "empathy_tp_chat_is_ready")
1636 (return-type "gboolean")
1639 (define-method get_members_count
1640 (of-object "EmpathyTpChat")
1641 (c-name "empathy_tp_chat_get_members_count")
1642 (return-type "guint")
1645 (define-method set_acknowledge
1646 (of-object "EmpathyTpChat")
1647 (c-name "empathy_tp_chat_set_acknowledge")
1648 (return-type "none")
1650 '("gboolean" "acknowledge")
1654 (define-method emit_pendings
1655 (of-object "EmpathyTpChat")
1656 (c-name "empathy_tp_chat_emit_pendings")
1657 (return-type "none")
1661 (of-object "EmpathyTpChat")
1662 (c-name "empathy_tp_chat_send")
1663 (return-type "none")
1665 '("EmpathyMessage*" "message")
1669 (define-method set_state
1670 (of-object "EmpathyTpChat")
1671 (c-name "empathy_tp_chat_set_state")
1672 (return-type "none")
1674 '("TpChannelChatState" "state")
1678 (define-method set_property
1679 (of-object "EmpathyTpChat")
1680 (c-name "empathy_tp_chat_set_property")
1681 (return-type "none")
1683 '("const-gchar*" "name")
1684 '("const-GValue*" "value")
1690 ;; From empathy-tp-roomlist.h
1692 (define-function empathy_tp_roomlist_get_type
1693 (c-name "empathy_tp_roomlist_get_type")
1694 (return-type "GType")
1697 (define-function empathy_tp_roomlist_new
1698 (c-name "empathy_tp_roomlist_new")
1699 (is-constructor-of "EmpathyTpRoomlist")
1700 (return-type "EmpathyTpRoomlist*")
1702 '("McAccount*" "account")
1706 (define-method is_listing
1707 (of-object "EmpathyTpRoomlist")
1708 (c-name "empathy_tp_roomlist_is_listing")
1709 (return-type "gboolean")
1712 (define-method start
1713 (of-object "EmpathyTpRoomlist")
1714 (c-name "empathy_tp_roomlist_start")
1715 (return-type "none")
1719 (of-object "EmpathyTpRoomlist")
1720 (c-name "empathy_tp_roomlist_stop")
1721 (return-type "none")
1726 ;; From empathy-tp-call.h
1728 (define-function empathy_tp_call_get_type
1729 (c-name "empathy_tp_call_get_type")
1730 (return-type "GType")
1733 (define-function empathy_tp_call_new
1734 (c-name "empathy_tp_call_new")
1735 (is-constructor-of "EmpathyTpCall")
1736 (return-type "EmpathyTpCall*")
1738 '("TpChannel*" "channel")
1742 (define-method accept_incoming_call
1743 (of-object "EmpathyTpCall")
1744 (c-name "empathy_tp_call_accept_incoming_call")
1745 (return-type "none")
1748 (define-method request_video_stream_direction
1749 (of-object "EmpathyTpCall")
1750 (c-name "empathy_tp_call_request_video_stream_direction")
1751 (return-type "none")
1753 '("gboolean" "is_sending")
1757 (define-method add_preview_video
1758 (of-object "EmpathyTpCall")
1759 (c-name "empathy_tp_call_add_preview_video")
1760 (return-type "none")
1762 '("guint" "preview_video_socket_id")
1766 (define-method remove_preview_video
1767 (of-object "EmpathyTpCall")
1768 (c-name "empathy_tp_call_remove_preview_video")
1769 (return-type "none")
1771 '("guint" "preview_video_socket_id")
1775 (define-method add_output_video
1776 (of-object "EmpathyTpCall")
1777 (c-name "empathy_tp_call_add_output_video")
1778 (return-type "none")
1780 '("guint" "output_video_socket_id")
1784 (define-method set_output_volume
1785 (of-object "EmpathyTpCall")
1786 (c-name "empathy_tp_call_set_output_volume")
1787 (return-type "none")
1793 (define-method mute_output
1794 (of-object "EmpathyTpCall")
1795 (c-name "empathy_tp_call_mute_output")
1796 (return-type "none")
1798 '("gboolean" "is_muted")
1802 (define-method mute_input
1803 (of-object "EmpathyTpCall")
1804 (c-name "empathy_tp_call_mute_input")
1805 (return-type "none")
1807 '("gboolean" "is_muted")
1813 ;; From empathy-tp-tube.h
1815 (define-function empathy_tp_tube_get_type
1816 (c-name "empathy_tp_tube_get_type")
1817 (return-type "GType")
1820 (define-function empathy_tp_tube_new
1821 (c-name "empathy_tp_tube_new")
1822 (is-constructor-of "EmpathyTpTube")
1823 (return-type "EmpathyTpTube*")
1825 '("TpChannel*" "channel")
1826 '("guint" "tube_id")
1830 (define-function empathy_tp_tube_new_stream_tube
1831 (c-name "empathy_tp_tube_new_stream_tube")
1832 (return-type "EmpathyTpTube*")
1834 '("EmpathyContact*" "contact")
1835 '("TpSocketAddressType" "type")
1836 '("const-gchar*" "hostname")
1838 '("const-gchar*" "service")
1842 (define-method accept_stream_tube
1843 (of-object "EmpathyTpTube")
1844 (c-name "empathy_tp_tube_accept_stream_tube")
1845 (return-type "none")
1847 '("TpSocketAddressType" "type")
1851 (define-method get_socket
1852 (of-object "EmpathyTpTube")
1853 (c-name "empathy_tp_tube_get_socket")
1854 (return-type "none")
1856 '("gchar**" "hostname")
1863 ;; From empathy-idle.h
1865 (define-function empathy_idle_get_type
1866 (c-name "empathy_idle_get_type")
1867 (return-type "GType")
1870 (define-function empathy_idle_new
1871 (c-name "empathy_idle_new")
1872 (is-constructor-of "EmpathyIdle")
1873 (return-type "EmpathyIdle*")
1876 (define-method get_state
1877 (of-object "EmpathyIdle")
1878 (c-name "empathy_idle_get_state")
1879 (return-type "McPresence")
1882 (define-method set_state
1883 (of-object "EmpathyIdle")
1884 (c-name "empathy_idle_set_state")
1885 (return-type "none")
1887 '("McPresence" "state")
1891 (define-method get_status
1892 (of-object "EmpathyIdle")
1893 (c-name "empathy_idle_get_status")
1894 (return-type "const-gchar*")
1897 (define-method set_status
1898 (of-object "EmpathyIdle")
1899 (c-name "empathy_idle_set_status")
1900 (return-type "none")
1902 '("const-gchar*" "status")
1906 (define-method get_flash_state
1907 (of-object "EmpathyIdle")
1908 (c-name "empathy_idle_get_flash_state")
1909 (return-type "McPresence")
1912 (define-method set_flash_state
1913 (of-object "EmpathyIdle")
1914 (c-name "empathy_idle_set_flash_state")
1915 (return-type "none")
1917 '("McPresence" "state")
1921 (define-method set_presence
1922 (of-object "EmpathyIdle")
1923 (c-name "empathy_idle_set_presence")
1924 (return-type "none")
1926 '("McPresence" "state")
1927 '("const-gchar*" "status")
1931 (define-method get_auto_away
1932 (of-object "EmpathyIdle")
1933 (c-name "empathy_idle_get_auto_away")
1934 (return-type "gboolean")
1937 (define-method set_auto_away
1938 (of-object "EmpathyIdle")
1939 (c-name "empathy_idle_set_auto_away")
1940 (return-type "none")
1942 '("gboolean" "auto_away")
1946 (define-method get_use_nm
1947 (of-object "EmpathyIdle")
1948 (c-name "empathy_idle_get_use_nm")
1949 (return-type "gboolean")
1952 (define-method set_use_nm
1953 (of-object "EmpathyIdle")
1954 (c-name "empathy_idle_set_use_nm")
1955 (return-type "none")
1957 '("gboolean" "use_nm")
1963 ;; From empathy-log-manager.h
1965 (define-function empathy_log_manager_get_type
1966 (c-name "empathy_log_manager_get_type")
1967 (return-type "GType")
1970 (define-function empathy_log_manager_new
1971 (c-name "empathy_log_manager_new")
1972 (is-constructor-of "EmpathyLogManager")
1973 (return-type "EmpathyLogManager*")
1976 (define-method add_message
1977 (of-object "EmpathyLogManager")
1978 (c-name "empathy_log_manager_add_message")
1979 (return-type "none")
1981 '("const-gchar*" "chat_id")
1982 '("gboolean" "chatroom")
1983 '("EmpathyMessage*" "message")
1987 (define-method exists
1988 (of-object "EmpathyLogManager")
1989 (c-name "empathy_log_manager_exists")
1990 (return-type "gboolean")
1992 '("McAccount*" "account")
1993 '("const-gchar*" "chat_id")
1994 '("gboolean" "chatroom")
1998 (define-method get_dates
1999 (of-object "EmpathyLogManager")
2000 (c-name "empathy_log_manager_get_dates")
2001 (return-type "GList*")
2003 '("McAccount*" "account")
2004 '("const-gchar*" "chat_id")
2005 '("gboolean" "chatroom")
2009 (define-method get_messages_for_file
2010 (of-object "EmpathyLogManager")
2011 (c-name "empathy_log_manager_get_messages_for_file")
2012 (return-type "GList*")
2014 '("const-gchar*" "filename")
2018 (define-method get_messages_for_date
2019 (of-object "EmpathyLogManager")
2020 (c-name "empathy_log_manager_get_messages_for_date")
2021 (return-type "GList*")
2023 '("McAccount*" "account")
2024 '("const-gchar*" "chat_id")
2025 '("gboolean" "chatroom")
2026 '("const-gchar*" "date")
2030 (define-method get_last_messages
2031 (of-object "EmpathyLogManager")
2032 (c-name "empathy_log_manager_get_last_messages")
2033 (return-type "GList*")
2035 '("McAccount*" "account")
2036 '("const-gchar*" "chat_id")
2037 '("gboolean" "chatroom")
2041 (define-method get_messages_for_file
2042 (of-object "EmpathyLogManager")
2043 (c-name "empathy_log_manager_get_messages_for_file")
2044 (return-type "GList*")
2046 '("const-gchar*" "filename")
2050 (define-method get_chats
2051 (of-object "EmpathyLogManager")
2052 (c-name "empathy_log_manager_get_chats")
2053 (return-type "GList*")
2055 '("McAccount*" "account")
2059 (define-method search_new
2060 (of-object "EmpathyLogManager")
2061 (c-name "empathy_log_manager_search_new")
2062 (return-type "GList*")
2064 '("const-gchar*" "text")
2068 (define-function empathy_log_manager_search_free
2069 (c-name "empathy_log_manager_search_free")
2070 (return-type "none")
2076 (define-function empathy_log_manager_get_date_readable
2077 (c-name "empathy_log_manager_get_date_readable")
2078 (return-type "gchar*")
2080 '("const-gchar*" "date")
2086 ;; From empathy-irc-network-manager.h
2088 (define-function empathy_irc_network_manager_get_type
2089 (c-name "empathy_irc_network_manager_get_type")
2090 (return-type "GType")
2093 (define-function empathy_irc_network_manager_new
2094 (c-name "empathy_irc_network_manager_new")
2095 (is-constructor-of "EmpathyIrcNetworkManager")
2096 (return-type "EmpathyIrcNetworkManager*")
2098 '("const-gchar*" "global_file")
2099 '("const-gchar*" "user_file")
2104 (of-object "EmpathyIrcNetworkManager")
2105 (c-name "empathy_irc_network_manager_add")
2106 (return-type "none")
2108 '("EmpathyIrcNetwork*" "network")
2112 (define-method remove
2113 (of-object "EmpathyIrcNetworkManager")
2114 (c-name "empathy_irc_network_manager_remove")
2115 (return-type "none")
2117 '("EmpathyIrcNetwork*" "network")
2121 (define-method get_networks
2122 (of-object "EmpathyIrcNetworkManager")
2123 (c-name "empathy_irc_network_manager_get_networks")
2124 (return-type "GSList*")
2127 (define-method find_network_by_address
2128 (of-object "EmpathyIrcNetworkManager")
2129 (c-name "empathy_irc_network_manager_find_network_by_address")
2130 (return-type "EmpathyIrcNetwork*")
2132 '("const-gchar*" "address")
2138 ;; From empathy-irc-network.h
2140 (define-function empathy_irc_network_get_type
2141 (c-name "empathy_irc_network_get_type")
2142 (return-type "GType")
2145 (define-function empathy_irc_network_new
2146 (c-name "empathy_irc_network_new")
2147 (is-constructor-of "EmpathyIrcNetwork")
2148 (return-type "EmpathyIrcNetwork*")
2150 '("const-gchar*" "name")
2154 (define-method get_servers
2155 (of-object "EmpathyIrcNetwork")
2156 (c-name "empathy_irc_network_get_servers")
2157 (return-type "GSList*")
2160 (define-method append_server
2161 (of-object "EmpathyIrcNetwork")
2162 (c-name "empathy_irc_network_append_server")
2163 (return-type "none")
2165 '("EmpathyIrcServer*" "server")
2169 (define-method remove_server
2170 (of-object "EmpathyIrcNetwork")
2171 (c-name "empathy_irc_network_remove_server")
2172 (return-type "none")
2174 '("EmpathyIrcServer*" "server")
2178 (define-method set_server_position
2179 (of-object "EmpathyIrcNetwork")
2180 (c-name "empathy_irc_network_set_server_position")
2181 (return-type "none")
2183 '("EmpathyIrcServer*" "server")
2190 ;; From empathy-irc-server.h
2192 (define-function empathy_irc_server_get_type
2193 (c-name "empathy_irc_server_get_type")
2194 (return-type "GType")
2197 (define-function empathy_irc_server_new
2198 (c-name "empathy_irc_server_new")
2199 (is-constructor-of "EmpathyIrcServer")
2200 (return-type "EmpathyIrcServer*")
2202 '("const-gchar*" "address")
2210 ;; From empathy-tube-handler.h
2212 (define-function empathy_tube_handler_get_type
2213 (c-name "empathy_tube_handler_get_type")
2214 (return-type "GType")
2217 (define-function empathy_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 empathy_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 empathy_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")