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 TpGroup
124 (in-module "Empathy")
126 (c-name "EmpathyTpGroup")
127 (gtype-id "EMPATHY_TYPE_TP_GROUP")
130 (define-object TpRoomlist
131 (in-module "Empathy")
133 (c-name "EmpathyTpRoomlist")
134 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
137 (define-object TpTube
138 (in-module "Empathy")
140 (c-name "EmpathyTpTube")
141 (gtype-id "EMPATHY_TYPE_TP_TUBE")
144 (define-object TubeHandler
145 (in-module "Empathy")
147 (c-name "EmpathyTubeHandler")
148 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
151 ;; Enumerations and flags ...
153 (define-flags DebugFlags
154 (in-module "Empathy")
155 (c-name "EmpathyDebugFlags")
156 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
158 '("tp" "EMPATHY_DEBUG_TP")
159 '("chat" "EMPATHY_DEBUG_CHAT")
160 '("contact" "EMPATHY_DEBUG_CONTACT")
161 '("account" "EMPATHY_DEBUG_ACCOUNT")
162 '("irc" "EMPATHY_DEBUG_IRC")
163 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
164 '("other" "EMPATHY_DEBUG_OTHER")
168 (define-enum RegExType
169 (in-module "Empathy")
170 (c-name "EmpathyRegExType")
171 (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
173 '("as-is" "EMPATHY_REGEX_AS_IS")
174 '("browser" "EMPATHY_REGEX_BROWSER")
175 '("apt" "EMPATHY_REGEX_APT")
176 '("email" "EMPATHY_REGEX_EMAIL")
177 '("other" "EMPATHY_REGEX_OTHER")
178 '("all" "EMPATHY_REGEX_ALL")
182 (define-flags Capabilities
183 (in-module "Empathy")
184 (c-name "EmpathyCapabilities")
185 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
187 '("none" "EMPATHY_CAPABILITIES_NONE")
188 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
189 '("video" "EMPATHY_CAPABILITIES_VIDEO")
190 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
194 (define-flags ContactReady
195 (in-module "Empathy")
196 (c-name "EmpathyContactReady")
197 (gtype-id "EMPATHY_TYPE_CONTACT_READY")
199 '("none" "EMPATHY_CONTACT_READY_NONE")
200 '("id" "EMPATHY_CONTACT_READY_ID")
201 '("handle" "EMPATHY_CONTACT_READY_HANDLE")
202 '("name" "EMPATHY_CONTACT_READY_NAME")
203 '("all" "EMPATHY_CONTACT_READY_ALL")
207 (define-enum TpCallStatus
208 (in-module "Empathy")
209 (c-name "EmpathyTpCallStatus")
210 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
212 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
213 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
214 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
215 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
220 ;; From empathy-avatar.h
222 (define-function empathy_avatar_get_type
223 (c-name "empathy_avatar_get_type")
224 (return-type "GType")
227 (define-function empathy_avatar_new
228 (c-name "empathy_avatar_new")
229 (is-constructor-of "EmpathyAvatar")
230 (return-type "EmpathyAvatar*")
232 '("const-guchar*" "avatar")
233 '("const-gsize" "len")
234 '("const-gchar*" "format")
235 '("const-gchar*" "token")
239 (define-function empathy_avatar_new_from_cache
240 (c-name "empathy_avatar_new_from_cache")
241 (return-type "EmpathyAvatar*")
243 '("const-gchar*" "token")
248 (of-object "EmpathyAvatar")
249 (c-name "empathy_avatar_ref")
250 (return-type "EmpathyAvatar*")
254 (of-object "EmpathyAvatar")
255 (c-name "empathy_avatar_unref")
261 ;; From empathy-time.h
263 (define-function empathy_time_get_current
264 (c-name "empathy_time_get_current")
265 (return-type "time_t")
268 (define-function empathy_time_get_local_time
269 (c-name "empathy_time_get_local_time")
270 (return-type "time_t")
276 (define-function empathy_time_parse
277 (c-name "empathy_time_parse")
278 (return-type "time_t")
280 '("const-gchar*" "str")
284 (define-function empathy_time_to_string_utc
285 (c-name "empathy_time_to_string_utc")
286 (return-type "gchar*")
289 '("const-gchar*" "format")
293 (define-function empathy_time_to_string_local
294 (c-name "empathy_time_to_string_local")
295 (return-type "gchar*")
298 '("const-gchar*" "format")
304 ;; From empathy-status-presets.h
306 (define-function empathy_status_presets_get_all
307 (c-name "empathy_status_presets_get_all")
311 (define-function empathy_status_presets_get
312 (c-name "empathy_status_presets_get")
313 (return-type "GList*")
315 '("McPresence" "state")
316 '("gint" "max_number")
320 (define-function empathy_status_presets_set_last
321 (c-name "empathy_status_presets_set_last")
324 '("McPresence" "state")
325 '("const-gchar*" "status")
329 (define-function empathy_status_presets_remove
330 (c-name "empathy_status_presets_remove")
333 '("McPresence" "state")
334 '("const-gchar*" "status")
338 (define-function empathy_status_presets_reset
339 (c-name "empathy_status_presets_reset")
343 (define-function empathy_status_presets_get_default_state
344 (c-name "empathy_status_presets_get_default_state")
345 (return-type "McPresence")
348 (define-function empathy_status_presets_get_default_status
349 (c-name "empathy_status_presets_get_default_status")
350 (return-type "const-gchar*")
353 (define-function empathy_status_presets_set_default
354 (c-name "empathy_status_presets_set_default")
357 '("McPresence" "state")
358 '("const-gchar*" "status")
362 (define-function empathy_status_presets_clear_default
363 (c-name "empathy_status_presets_clear_default")
369 ;; From empathy-debug.h
371 (define-function empathy_debug_flag_is_set
372 (c-name "empathy_debug_flag_is_set")
373 (return-type "gboolean")
375 '("EmpathyDebugFlags" "flag")
379 (define-function empathy_debug
380 (c-name "empathy_debug")
383 '("EmpathyDebugFlags" "flag")
384 '("const-gchar*" "format")
389 (define-function empathy_debug_set_flags
390 (c-name "empathy_debug_set_flags")
393 '("const-gchar*" "flags_string")
399 ;; From empathy-utils.h
401 (define-function empathy_substring
402 (c-name "empathy_substring")
403 (return-type "gchar*")
405 '("const-gchar*" "str")
411 (define-function empathy_regex_match
412 (c-name "empathy_regex_match")
415 '("EmpathyRegExType" "type")
416 '("const-gchar*" "msg")
422 (define-function empathy_strcasecmp
423 (c-name "empathy_strcasecmp")
426 '("const-gchar*" "s1")
427 '("const-gchar*" "s2")
431 (define-function empathy_strncasecmp
432 (c-name "empathy_strncasecmp")
435 '("const-gchar*" "s1")
436 '("const-gchar*" "s2")
441 (define-function empathy_xml_validate
442 (c-name "empathy_xml_validate")
443 (return-type "gboolean")
446 '("const-gchar*" "dtd_filename")
450 (define-function empathy_xml_node_get_child
451 (c-name "empathy_xml_node_get_child")
452 (return-type "xmlNodePtr")
454 '("xmlNodePtr" "node")
455 '("const-gchar*" "child_name")
459 (define-function empathy_xml_node_get_child_content
460 (c-name "empathy_xml_node_get_child_content")
461 (return-type "xmlChar*")
463 '("xmlNodePtr" "node")
464 '("const-gchar*" "child_name")
468 (define-function empathy_xml_node_find_child_prop_value
469 (c-name "empathy_xml_node_find_child_prop_value")
470 (return-type "xmlNodePtr")
472 '("xmlNodePtr" "node")
473 '("const-gchar*" "prop_name")
474 '("const-gchar*" "prop_value")
478 (define-function empathy_account_hash
479 (c-name "empathy_account_hash")
480 (return-type "guint")
482 '("gconstpointer" "key")
486 (define-function empathy_account_equal
487 (c-name "empathy_account_equal")
488 (return-type "gboolean")
490 '("gconstpointer" "a")
491 '("gconstpointer" "b")
495 (define-function empathy_mission_control_new
496 (c-name "empathy_mission_control_new")
497 (is-constructor-of "EmpathyMissionControl")
498 (return-type "MissionControl*")
501 (define-function empathy_call_with_contact
502 (c-name "empathy_call_with_contact")
505 '("EmpathyContact*" "contact")
509 (define-function empathy_call_with_contact_id
510 (c-name "empathy_call_with_contact_id")
513 '("McAccount*" "account")
514 '("const-gchar*" "contact_id")
518 (define-function empathy_chat_with_contact
519 (c-name "empathy_chat_with_contact")
522 '("EmpathyContact*" "contact")
526 (define-function empathy_chat_with_contact_id
527 (c-name "empathy_chat_with_contact_id")
530 '("McAccount*" "account")
531 '("const-gchar*" "contact_id")
535 (define-function empathy_presence_get_default_message
536 (c-name "empathy_presence_get_default_message")
537 (return-type "const-gchar*")
539 '("McPresence" "presence")
543 (define-function empathy_presence_to_str
544 (c-name "empathy_presence_to_str")
545 (return-type "const-gchar*")
547 '("McPresence" "presence")
551 (define-function empathy_presence_from_str
552 (c-name "empathy_presence_from_str")
553 (return-type "McPresence")
555 '("const-gchar*" "str")
559 (define-function empathy_file_lookup
560 (c-name "empathy_file_lookup")
561 (return-type "gchar*")
563 '("const-gchar*" "filename")
564 '("const-gchar*" "subdir")
568 (define-function empathy_run_until_ready
569 (c-name "empathy_run_until_ready")
572 '("gpointer" "object")
576 (define-function empathy_run_until_ready_full
577 (c-name "empathy_run_until_ready_full")
580 '("gpointer" "object")
581 '("const-gchar*" "signal")
582 '("EmpathyRunUntilReadyFunc" "func")
583 '("gpointer" "user_data")
584 '("GMainLoop**" "loop")
588 (define-function empathy_channel_get_account
589 (c-name "empathy_channel_get_account")
590 (return-type "McAccount*")
592 '("TpChannel*" "channel")
596 (define-function empathy_connect_to_account_status_changed
597 (c-name "empathy_connect_to_account_status_changed")
598 (return-type "gpointer")
600 '("MissionControl*" "mc")
601 '("GCallback" "handler")
602 '("gpointer" "user_data")
603 '("GClosureNotify" "free_func")
607 (define-function empathy_disconnect_account_status_changed
608 (c-name "empathy_disconnect_account_status_changed")
611 '("gpointer" "token")
617 ;; From empathy-message.h
619 (define-function empathy_message_get_type
620 (c-name "empathy_message_get_type")
621 (return-type "GType")
624 (define-function empathy_message_new
625 (c-name "empathy_message_new")
626 (is-constructor-of "EmpathyMessage")
627 (return-type "EmpathyMessage*")
629 '("const-gchar*" "body")
633 (define-method get_tptype
634 (of-object "EmpathyMessage")
635 (c-name "empathy_message_get_tptype")
636 (return-type "TpChannelTextMessageType")
639 (define-method set_tptype
640 (of-object "EmpathyMessage")
641 (c-name "empathy_message_set_tptype")
644 '("TpChannelTextMessageType" "type")
648 (define-method get_sender
649 (of-object "EmpathyMessage")
650 (c-name "empathy_message_get_sender")
651 (return-type "EmpathyContact*")
654 (define-method set_sender
655 (of-object "EmpathyMessage")
656 (c-name "empathy_message_set_sender")
659 '("EmpathyContact*" "contact")
663 (define-method get_receiver
664 (of-object "EmpathyMessage")
665 (c-name "empathy_message_get_receiver")
666 (return-type "EmpathyContact*")
669 (define-method set_receiver
670 (of-object "EmpathyMessage")
671 (c-name "empathy_message_set_receiver")
674 '("EmpathyContact*" "contact")
678 (define-method get_body
679 (of-object "EmpathyMessage")
680 (c-name "empathy_message_get_body")
681 (return-type "const-gchar*")
684 (define-method set_body
685 (of-object "EmpathyMessage")
686 (c-name "empathy_message_set_body")
689 '("const-gchar*" "body")
693 (define-method get_timestamp
694 (of-object "EmpathyMessage")
695 (c-name "empathy_message_get_timestamp")
696 (return-type "time_t")
699 (define-method set_timestamp
700 (of-object "EmpathyMessage")
701 (c-name "empathy_message_set_timestamp")
704 '("time_t" "timestamp")
708 (define-method get_date_and_time
709 (of-object "EmpathyMessage")
710 (c-name "empathy_message_get_date_and_time")
711 (return-type "GDate*")
713 '("time_t*" "timestamp")
717 (define-method should_highlight
718 (of-object "EmpathyMessage")
719 (c-name "empathy_message_should_highlight")
720 (return-type "gboolean")
723 (define-function empathy_message_type_from_str
724 (c-name "empathy_message_type_from_str")
725 (return-type "TpChannelTextMessageType")
727 '("const-gchar*" "type_str")
731 (define-function empathy_message_type_to_str
732 (c-name "empathy_message_type_to_str")
733 (return-type "const-gchar*")
735 '("TpChannelTextMessageType" "type")
741 ;; From empathy-chatroom-manager.h
743 (define-function empathy_chatroom_manager_get_type
744 (c-name "empathy_chatroom_manager_get_type")
745 (return-type "GType")
748 (define-function empathy_chatroom_manager_new
749 (c-name "empathy_chatroom_manager_new")
750 (is-constructor-of "EmpathyChatroomManager")
751 (return-type "EmpathyChatroomManager*")
755 (of-object "EmpathyChatroomManager")
756 (c-name "empathy_chatroom_manager_add")
757 (return-type "gboolean")
759 '("EmpathyChatroom*" "chatroom")
763 (define-method remove
764 (of-object "EmpathyChatroomManager")
765 (c-name "empathy_chatroom_manager_remove")
768 '("EmpathyChatroom*" "chatroom")
773 (of-object "EmpathyChatroomManager")
774 (c-name "empathy_chatroom_manager_find")
775 (return-type "EmpathyChatroom*")
777 '("McAccount*" "account")
778 '("const-gchar*" "room")
782 (define-method get_chatrooms
783 (of-object "EmpathyChatroomManager")
784 (c-name "empathy_chatroom_manager_get_chatrooms")
785 (return-type "GList*")
787 '("McAccount*" "account")
791 (define-method get_count
792 (of-object "EmpathyChatroomManager")
793 (c-name "empathy_chatroom_manager_get_count")
794 (return-type "guint")
796 '("McAccount*" "account")
801 (of-object "EmpathyChatroomManager")
802 (c-name "empathy_chatroom_manager_store")
808 ;; From empathy-chatroom.h
810 (define-function empathy_chatroom_get_type
811 (c-name "empathy_chatroom_get_type")
812 (return-type "GType")
815 (define-function empathy_chatroom_new
816 (c-name "empathy_chatroom_new")
817 (is-constructor-of "EmpathyChatroom")
818 (return-type "EmpathyChatroom*")
820 '("McAccount*" "account")
821 '("const-gchar*" "room")
825 (define-function empathy_chatroom_new_full
826 (c-name "empathy_chatroom_new_full")
827 (return-type "EmpathyChatroom*")
829 '("McAccount*" "account")
830 '("const-gchar*" "room")
831 '("const-gchar*" "name")
832 '("gboolean" "auto_connect")
836 (define-method get_account
837 (of-object "EmpathyChatroom")
838 (c-name "empathy_chatroom_get_account")
839 (return-type "McAccount*")
842 (define-method set_account
843 (of-object "EmpathyChatroom")
844 (c-name "empathy_chatroom_set_account")
847 '("McAccount*" "account")
851 (define-method get_room
852 (of-object "EmpathyChatroom")
853 (c-name "empathy_chatroom_get_room")
854 (return-type "const-gchar*")
857 (define-method set_room
858 (of-object "EmpathyChatroom")
859 (c-name "empathy_chatroom_set_room")
862 '("const-gchar*" "room")
866 (define-method get_name
867 (of-object "EmpathyChatroom")
868 (c-name "empathy_chatroom_get_name")
869 (return-type "const-gchar*")
872 (define-method set_name
873 (of-object "EmpathyChatroom")
874 (c-name "empathy_chatroom_set_name")
877 '("const-gchar*" "name")
881 (define-method get_auto_connect
882 (of-object "EmpathyChatroom")
883 (c-name "empathy_chatroom_get_auto_connect")
884 (return-type "gboolean")
887 (define-method set_auto_connect
888 (of-object "EmpathyChatroom")
889 (c-name "empathy_chatroom_set_auto_connect")
892 '("gboolean" "auto_connect")
896 (define-function empathy_chatroom_equal
897 (c-name "empathy_chatroom_equal")
898 (return-type "gboolean")
900 '("gconstpointer" "v1")
901 '("gconstpointer" "v2")
907 ;; From empathy-contact.h
909 (define-function empathy_contact_get_type
910 (c-name "empathy_contact_get_type")
911 (return-type "GType")
914 (define-function empathy_contact_new
915 (c-name "empathy_contact_new")
916 (is-constructor-of "EmpathyContact")
917 (return-type "EmpathyContact*")
919 '("McAccount*" "account")
923 (define-function empathy_contact_new_full
924 (c-name "empathy_contact_new_full")
925 (return-type "EmpathyContact*")
927 '("McAccount*" "account")
928 '("const-gchar*" "id")
929 '("const-gchar*" "name")
933 (define-method get_id
934 (of-object "EmpathyContact")
935 (c-name "empathy_contact_get_id")
936 (return-type "const-gchar*")
939 (define-method set_id
940 (of-object "EmpathyContact")
941 (c-name "empathy_contact_set_id")
944 '("const-gchar*" "id")
948 (define-method get_name
949 (of-object "EmpathyContact")
950 (c-name "empathy_contact_get_name")
951 (return-type "const-gchar*")
954 (define-method set_name
955 (of-object "EmpathyContact")
956 (c-name "empathy_contact_set_name")
959 '("const-gchar*" "name")
963 (define-method get_avatar
964 (of-object "EmpathyContact")
965 (c-name "empathy_contact_get_avatar")
966 (return-type "EmpathyAvatar*")
969 (define-method set_avatar
970 (of-object "EmpathyContact")
971 (c-name "empathy_contact_set_avatar")
974 '("EmpathyAvatar*" "avatar")
978 (define-method get_account
979 (of-object "EmpathyContact")
980 (c-name "empathy_contact_get_account")
981 (return-type "McAccount*")
984 (define-method set_account
985 (of-object "EmpathyContact")
986 (c-name "empathy_contact_set_account")
989 '("McAccount*" "account")
993 (define-method get_presence
994 (of-object "EmpathyContact")
995 (c-name "empathy_contact_get_presence")
996 (return-type "McPresence")
999 (define-method set_presence
1000 (of-object "EmpathyContact")
1001 (c-name "empathy_contact_set_presence")
1002 (return-type "none")
1004 '("McPresence" "presence")
1008 (define-method get_presence_message
1009 (of-object "EmpathyContact")
1010 (c-name "empathy_contact_get_presence_message")
1011 (return-type "const-gchar*")
1014 (define-method set_presence_message
1015 (of-object "EmpathyContact")
1016 (c-name "empathy_contact_set_presence_message")
1017 (return-type "none")
1019 '("const-gchar*" "message")
1023 (define-method get_handle
1024 (of-object "EmpathyContact")
1025 (c-name "empathy_contact_get_handle")
1026 (return-type "guint")
1029 (define-method set_handle
1030 (of-object "EmpathyContact")
1031 (c-name "empathy_contact_set_handle")
1032 (return-type "none")
1038 (define-method get_capabilities
1039 (of-object "EmpathyContact")
1040 (c-name "empathy_contact_get_capabilities")
1041 (return-type "EmpathyCapabilities")
1044 (define-method set_capabilities
1045 (of-object "EmpathyContact")
1046 (c-name "empathy_contact_set_capabilities")
1047 (return-type "none")
1049 '("EmpathyCapabilities" "capabilities")
1053 (define-method get_ready
1054 (of-object "EmpathyContact")
1055 (c-name "empathy_contact_get_ready")
1056 (return-type "EmpathyContactReady")
1059 (define-method is_user
1060 (of-object "EmpathyContact")
1061 (c-name "empathy_contact_is_user")
1062 (return-type "gboolean")
1065 (define-method set_is_user
1066 (of-object "EmpathyContact")
1067 (c-name "empathy_contact_set_is_user")
1068 (return-type "none")
1070 '("gboolean" "is_user")
1074 (define-method is_online
1075 (of-object "EmpathyContact")
1076 (c-name "empathy_contact_is_online")
1077 (return-type "gboolean")
1080 (define-method get_status
1081 (of-object "EmpathyContact")
1082 (c-name "empathy_contact_get_status")
1083 (return-type "const-gchar*")
1086 (define-method can_voip
1087 (of-object "EmpathyContact")
1088 (c-name "empathy_contact_can_voip")
1089 (return-type "gboolean")
1092 (define-function empathy_contact_equal
1093 (c-name "empathy_contact_equal")
1094 (return-type "gboolean")
1096 '("gconstpointer" "v1")
1097 '("gconstpointer" "v2")
1101 (define-function empathy_contact_hash
1102 (c-name "empathy_contact_hash")
1103 (return-type "guint")
1105 '("gconstpointer" "key")
1109 (define-method run_until_ready
1110 (of-object "EmpathyContact")
1111 (c-name "empathy_contact_run_until_ready")
1112 (return-type "none")
1114 '("EmpathyContactReady" "ready")
1115 '("GMainLoop**" "loop")
1121 ;; From empathy-contact-groups.h
1123 (define-function empathy_contact_groups_get_all
1124 (c-name "empathy_contact_groups_get_all")
1125 (return-type "none")
1128 (define-function empathy_contact_group_get_expanded
1129 (c-name "empathy_contact_group_get_expanded")
1130 (return-type "gboolean")
1132 '("const-gchar*" "group")
1136 (define-function empathy_contact_group_set_expanded
1137 (c-name "empathy_contact_group_set_expanded")
1138 (return-type "none")
1140 '("const-gchar*" "group")
1141 '("gboolean" "expanded")
1147 ;; From empathy-contact-list.h
1149 (define-function empathy_contact_list_get_type
1150 (c-name "empathy_contact_list_get_type")
1151 (return-type "GType")
1155 (of-object "EmpathyContactList")
1156 (c-name "empathy_contact_list_add")
1157 (return-type "none")
1159 '("EmpathyContact*" "contact")
1160 '("const-gchar*" "message")
1164 (define-method remove
1165 (of-object "EmpathyContactList")
1166 (c-name "empathy_contact_list_remove")
1167 (return-type "none")
1169 '("EmpathyContact*" "contact")
1170 '("const-gchar*" "message")
1174 (define-method get_members
1175 (of-object "EmpathyContactList")
1176 (c-name "empathy_contact_list_get_members")
1177 (return-type "GList*")
1180 (define-method get_pendings
1181 (of-object "EmpathyContactList")
1182 (c-name "empathy_contact_list_get_pendings")
1183 (return-type "GList*")
1186 (define-method get_all_groups
1187 (of-object "EmpathyContactList")
1188 (c-name "empathy_contact_list_get_all_groups")
1189 (return-type "GList*")
1192 (define-method get_groups
1193 (of-object "EmpathyContactList")
1194 (c-name "empathy_contact_list_get_groups")
1195 (return-type "GList*")
1197 '("EmpathyContact*" "contact")
1201 (define-method add_to_group
1202 (of-object "EmpathyContactList")
1203 (c-name "empathy_contact_list_add_to_group")
1204 (return-type "none")
1206 '("EmpathyContact*" "contact")
1207 '("const-gchar*" "group")
1211 (define-method remove_from_group
1212 (of-object "EmpathyContactList")
1213 (c-name "empathy_contact_list_remove_from_group")
1214 (return-type "none")
1216 '("EmpathyContact*" "contact")
1217 '("const-gchar*" "group")
1221 (define-method rename_group
1222 (of-object "EmpathyContactList")
1223 (c-name "empathy_contact_list_rename_group")
1224 (return-type "none")
1226 '("const-gchar*" "old_group")
1227 '("const-gchar*" "new_group")
1231 (define-method remove_group
1232 (of-object "EmpathyContactList")
1233 (c-name "empathy_contact_list_remove_group")
1234 (return-type "none")
1236 '("const-gchar*" "group")
1242 ;; From empathy-contact-manager.h
1244 (define-function empathy_contact_manager_get_type
1245 (c-name "empathy_contact_manager_get_type")
1246 (return-type "GType")
1249 (define-function empathy_contact_manager_new
1250 (c-name "empathy_contact_manager_new")
1251 (is-constructor-of "EmpathyContactManager")
1252 (return-type "EmpathyContactManager*")
1255 (define-method get_list
1256 (of-object "EmpathyContactManager")
1257 (c-name "empathy_contact_manager_get_list")
1258 (return-type "EmpathyTpContactList*")
1260 '("McAccount*" "account")
1266 ;; From empathy-contact-factory.h
1268 (define-function empathy_contact_factory_get_type
1269 (c-name "empathy_contact_factory_get_type")
1270 (return-type "GType")
1273 (define-function empathy_contact_factory_new
1274 (c-name "empathy_contact_factory_new")
1275 (is-constructor-of "EmpathyContactFactory")
1276 (return-type "EmpathyContactFactory*")
1279 (define-method get_tp_factory
1280 (of-object "EmpathyContactFactory")
1281 (c-name "empathy_contact_factory_get_tp_factory")
1282 (return-type "EmpathyTpContactFactory*")
1284 '("McAccount*" "account")
1288 (define-method get_user
1289 (of-object "EmpathyContactFactory")
1290 (c-name "empathy_contact_factory_get_user")
1291 (return-type "EmpathyContact*")
1293 '("McAccount*" "account")
1297 (define-method get_from_id
1298 (of-object "EmpathyContactFactory")
1299 (c-name "empathy_contact_factory_get_from_id")
1300 (return-type "EmpathyContact*")
1302 '("McAccount*" "account")
1303 '("const-gchar*" "id")
1307 (define-method get_from_handle
1308 (of-object "EmpathyContactFactory")
1309 (c-name "empathy_contact_factory_get_from_handle")
1310 (return-type "EmpathyContact*")
1312 '("McAccount*" "account")
1317 (define-method get_from_handles
1318 (of-object "EmpathyContactFactory")
1319 (c-name "empathy_contact_factory_get_from_handles")
1320 (return-type "GList*")
1322 '("McAccount*" "account")
1323 '("const-GArray*" "handles")
1327 (define-method set_alias
1328 (of-object "EmpathyContactFactory")
1329 (c-name "empathy_contact_factory_set_alias")
1330 (return-type "none")
1332 '("EmpathyContact*" "contact")
1333 '("const-gchar*" "alias")
1337 (define-method set_avatar
1338 (of-object "EmpathyContactFactory")
1339 (c-name "empathy_contact_factory_set_avatar")
1340 (return-type "none")
1342 '("McAccount*" "account")
1343 '("const-gchar*" "data")
1345 '("const-gchar*" "mime_type")
1351 ;; From empathy-tp-contact-factory.h
1353 (define-function empathy_tp_contact_factory_get_type
1354 (c-name "empathy_tp_contact_factory_get_type")
1355 (return-type "GType")
1358 (define-function empathy_tp_contact_factory_new
1359 (c-name "empathy_tp_contact_factory_new")
1360 (is-constructor-of "EmpathyTpContactFactory")
1361 (return-type "EmpathyTpContactFactory*")
1363 '("McAccount*" "account")
1367 (define-method get_user
1368 (of-object "EmpathyTpContactFactory")
1369 (c-name "empathy_tp_contact_factory_get_user")
1370 (return-type "EmpathyContact*")
1373 (define-method get_from_id
1374 (of-object "EmpathyTpContactFactory")
1375 (c-name "empathy_tp_contact_factory_get_from_id")
1376 (return-type "EmpathyContact*")
1378 '("const-gchar*" "id")
1382 (define-method get_from_handle
1383 (of-object "EmpathyTpContactFactory")
1384 (c-name "empathy_tp_contact_factory_get_from_handle")
1385 (return-type "EmpathyContact*")
1391 (define-method get_from_handles
1392 (of-object "EmpathyTpContactFactory")
1393 (c-name "empathy_tp_contact_factory_get_from_handles")
1394 (return-type "GList*")
1396 '("const-GArray*" "handles")
1400 (define-method set_alias
1401 (of-object "EmpathyTpContactFactory")
1402 (c-name "empathy_tp_contact_factory_set_alias")
1403 (return-type "none")
1405 '("EmpathyContact*" "contact")
1406 '("const-gchar*" "alias")
1410 (define-method set_avatar
1411 (of-object "EmpathyTpContactFactory")
1412 (c-name "empathy_tp_contact_factory_set_avatar")
1413 (return-type "none")
1415 '("const-gchar*" "data")
1417 '("const-gchar*" "mime_type")
1421 (define-method is_ready
1422 (of-object "EmpathyTpContactFactory")
1423 (c-name "empathy_tp_contact_factory_is_ready")
1424 (return-type "gboolean")
1429 ;; From empathy-tp-group.h
1431 (define-function empathy_tp_group_get_type
1432 (c-name "empathy_tp_group_get_type")
1433 (return-type "GType")
1436 (define-function empathy_tp_group_new
1437 (c-name "empathy_tp_group_new")
1438 (is-constructor-of "EmpathyTpGroup")
1439 (return-type "EmpathyTpGroup*")
1441 '("TpChannel*" "channel")
1445 (define-method close
1446 (of-object "EmpathyTpGroup")
1447 (c-name "empathy_tp_group_close")
1448 (return-type "none")
1451 (define-method add_members
1452 (of-object "EmpathyTpGroup")
1453 (c-name "empathy_tp_group_add_members")
1454 (return-type "none")
1456 '("GList*" "contacts")
1457 '("const-gchar*" "message")
1461 (define-method add_member
1462 (of-object "EmpathyTpGroup")
1463 (c-name "empathy_tp_group_add_member")
1464 (return-type "none")
1466 '("EmpathyContact*" "contact")
1467 '("const-gchar*" "message")
1471 (define-method remove_members
1472 (of-object "EmpathyTpGroup")
1473 (c-name "empathy_tp_group_remove_members")
1474 (return-type "none")
1476 '("GList*" "contacts")
1477 '("const-gchar*" "message")
1481 (define-method remove_member
1482 (of-object "EmpathyTpGroup")
1483 (c-name "empathy_tp_group_remove_member")
1484 (return-type "none")
1486 '("EmpathyContact*" "contact")
1487 '("const-gchar*" "message")
1491 (define-method get_members
1492 (of-object "EmpathyTpGroup")
1493 (c-name "empathy_tp_group_get_members")
1494 (return-type "GList*")
1497 (define-method get_local_pendings
1498 (of-object "EmpathyTpGroup")
1499 (c-name "empathy_tp_group_get_local_pendings")
1500 (return-type "GList*")
1503 (define-method get_remote_pendings
1504 (of-object "EmpathyTpGroup")
1505 (c-name "empathy_tp_group_get_remote_pendings")
1506 (return-type "GList*")
1509 (define-method get_name
1510 (of-object "EmpathyTpGroup")
1511 (c-name "empathy_tp_group_get_name")
1512 (return-type "const-gchar*")
1515 (define-method get_self_contact
1516 (of-object "EmpathyTpGroup")
1517 (c-name "empathy_tp_group_get_self_contact")
1518 (return-type "EmpathyContact*")
1521 (define-method is_member
1522 (of-object "EmpathyTpGroup")
1523 (c-name "empathy_tp_group_is_member")
1524 (return-type "gboolean")
1526 '("EmpathyContact*" "contact")
1530 (define-method is_ready
1531 (of-object "EmpathyTpGroup")
1532 (c-name "empathy_tp_group_is_ready")
1533 (return-type "gboolean")
1536 (define-method get_invitation
1537 (of-object "EmpathyTpGroup")
1538 (c-name "empathy_tp_group_get_invitation")
1539 (return-type "EmpathyPendingInfo*")
1541 '("EmpathyContact**" "remote_contact")
1545 (define-function empathy_pending_info_new
1546 (c-name "empathy_pending_info_new")
1547 (is-constructor-of "EmpathyPendingInfo")
1548 (return-type "EmpathyPendingInfo*")
1550 '("EmpathyContact*" "member")
1551 '("EmpathyContact*" "actor")
1552 '("const-gchar*" "message")
1557 (of-object "EmpathyPendingInfo")
1558 (c-name "empathy_pending_info_free")
1559 (return-type "none")
1564 ;; From empathy-tp-contact-list.h
1566 (define-function empathy_tp_contact_list_get_type
1567 (c-name "empathy_tp_contact_list_get_type")
1568 (return-type "GType")
1571 (define-function empathy_tp_contact_list_new
1572 (c-name "empathy_tp_contact_list_new")
1573 (is-constructor-of "EmpathyTpContactList")
1574 (return-type "EmpathyTpContactList*")
1576 '("McAccount*" "account")
1580 (define-method get_account
1581 (of-object "EmpathyTpContactList")
1582 (c-name "empathy_tp_contact_list_get_account")
1583 (return-type "McAccount*")
1588 ;; From empathy-tp-chat.h
1590 (define-function empathy_tp_chat_get_type
1591 (c-name "empathy_tp_chat_get_type")
1592 (return-type "GType")
1595 (define-function empathy_tp_chat_new
1596 (c-name "empathy_tp_chat_new")
1597 (is-constructor-of "EmpathyTpChat")
1598 (return-type "EmpathyTpChat*")
1600 '("TpChannel*" "channel")
1604 (define-method get_id
1605 (of-object "EmpathyTpChat")
1606 (c-name "empathy_tp_chat_get_id")
1607 (return-type "const-gchar*")
1610 (define-method get_remote_contact
1611 (of-object "EmpathyTpChat")
1612 (c-name "empathy_tp_chat_get_remote_contact")
1613 (return-type "EmpathyContact*")
1616 (define-method get_account
1617 (of-object "EmpathyTpChat")
1618 (c-name "empathy_tp_chat_get_account")
1619 (return-type "McAccount*")
1622 (define-method get_channel
1623 (of-object "EmpathyTpChat")
1624 (c-name "empathy_tp_chat_get_channel")
1625 (return-type "TpChannel*")
1628 (define-method is_ready
1629 (of-object "EmpathyTpChat")
1630 (c-name "empathy_tp_chat_is_ready")
1631 (return-type "gboolean")
1634 (define-method get_members_count
1635 (of-object "EmpathyTpChat")
1636 (c-name "empathy_tp_chat_get_members_count")
1637 (return-type "guint")
1640 (define-method set_acknowledge
1641 (of-object "EmpathyTpChat")
1642 (c-name "empathy_tp_chat_set_acknowledge")
1643 (return-type "none")
1645 '("gboolean" "acknowledge")
1649 (define-method emit_pendings
1650 (of-object "EmpathyTpChat")
1651 (c-name "empathy_tp_chat_emit_pendings")
1652 (return-type "none")
1656 (of-object "EmpathyTpChat")
1657 (c-name "empathy_tp_chat_send")
1658 (return-type "none")
1660 '("EmpathyMessage*" "message")
1664 (define-method set_state
1665 (of-object "EmpathyTpChat")
1666 (c-name "empathy_tp_chat_set_state")
1667 (return-type "none")
1669 '("TpChannelChatState" "state")
1673 (define-method set_property
1674 (of-object "EmpathyTpChat")
1675 (c-name "empathy_tp_chat_set_property")
1676 (return-type "none")
1678 '("const-gchar*" "name")
1679 '("const-GValue*" "value")
1685 ;; From empathy-tp-roomlist.h
1687 (define-function empathy_tp_roomlist_get_type
1688 (c-name "empathy_tp_roomlist_get_type")
1689 (return-type "GType")
1692 (define-function empathy_tp_roomlist_new
1693 (c-name "empathy_tp_roomlist_new")
1694 (is-constructor-of "EmpathyTpRoomlist")
1695 (return-type "EmpathyTpRoomlist*")
1697 '("McAccount*" "account")
1701 (define-method is_listing
1702 (of-object "EmpathyTpRoomlist")
1703 (c-name "empathy_tp_roomlist_is_listing")
1704 (return-type "gboolean")
1707 (define-method start
1708 (of-object "EmpathyTpRoomlist")
1709 (c-name "empathy_tp_roomlist_start")
1710 (return-type "none")
1714 (of-object "EmpathyTpRoomlist")
1715 (c-name "empathy_tp_roomlist_stop")
1716 (return-type "none")
1721 ;; From empathy-tp-call.h
1723 (define-function empathy_tp_call_get_type
1724 (c-name "empathy_tp_call_get_type")
1725 (return-type "GType")
1728 (define-function empathy_tp_call_new
1729 (c-name "empathy_tp_call_new")
1730 (is-constructor-of "EmpathyTpCall")
1731 (return-type "EmpathyTpCall*")
1733 '("TpChannel*" "channel")
1737 (define-method accept_incoming_call
1738 (of-object "EmpathyTpCall")
1739 (c-name "empathy_tp_call_accept_incoming_call")
1740 (return-type "none")
1743 (define-method request_video_stream_direction
1744 (of-object "EmpathyTpCall")
1745 (c-name "empathy_tp_call_request_video_stream_direction")
1746 (return-type "none")
1748 '("gboolean" "is_sending")
1752 (define-method add_preview_video
1753 (of-object "EmpathyTpCall")
1754 (c-name "empathy_tp_call_add_preview_video")
1755 (return-type "none")
1757 '("guint" "preview_video_socket_id")
1761 (define-method remove_preview_video
1762 (of-object "EmpathyTpCall")
1763 (c-name "empathy_tp_call_remove_preview_video")
1764 (return-type "none")
1766 '("guint" "preview_video_socket_id")
1770 (define-method add_output_video
1771 (of-object "EmpathyTpCall")
1772 (c-name "empathy_tp_call_add_output_video")
1773 (return-type "none")
1775 '("guint" "output_video_socket_id")
1779 (define-method set_output_volume
1780 (of-object "EmpathyTpCall")
1781 (c-name "empathy_tp_call_set_output_volume")
1782 (return-type "none")
1788 (define-method mute_output
1789 (of-object "EmpathyTpCall")
1790 (c-name "empathy_tp_call_mute_output")
1791 (return-type "none")
1793 '("gboolean" "is_muted")
1797 (define-method mute_input
1798 (of-object "EmpathyTpCall")
1799 (c-name "empathy_tp_call_mute_input")
1800 (return-type "none")
1802 '("gboolean" "is_muted")
1806 (define-method start_tone
1807 (of-object "EmpathyTpCall")
1808 (c-name "empathy_tp_call_start_tone")
1809 (return-type "none")
1811 '("TpDTMFEvent" "event")
1815 (define-method stop_tone
1816 (of-object "EmpathyTpCall")
1817 (c-name "empathy_tp_call_stop_tone")
1818 (return-type "none")
1823 ;; From empathy-tp-tube.h
1825 (define-function empathy_tp_tube_get_type
1826 (c-name "empathy_tp_tube_get_type")
1827 (return-type "GType")
1830 (define-function empathy_tp_tube_new
1831 (c-name "empathy_tp_tube_new")
1832 (is-constructor-of "EmpathyTpTube")
1833 (return-type "EmpathyTpTube*")
1835 '("TpChannel*" "channel")
1836 '("guint" "tube_id")
1840 (define-function empathy_tp_tube_new_stream_tube
1841 (c-name "empathy_tp_tube_new_stream_tube")
1842 (return-type "EmpathyTpTube*")
1844 '("EmpathyContact*" "contact")
1845 '("TpSocketAddressType" "type")
1846 '("const-gchar*" "hostname")
1848 '("const-gchar*" "service")
1852 (define-method accept_stream_tube
1853 (of-object "EmpathyTpTube")
1854 (c-name "empathy_tp_tube_accept_stream_tube")
1855 (return-type "none")
1857 '("TpSocketAddressType" "type")
1861 (define-method get_socket
1862 (of-object "EmpathyTpTube")
1863 (c-name "empathy_tp_tube_get_socket")
1864 (return-type "none")
1866 '("gchar**" "hostname")
1873 ;; From empathy-idle.h
1875 (define-function empathy_idle_get_type
1876 (c-name "empathy_idle_get_type")
1877 (return-type "GType")
1880 (define-function empathy_idle_new
1881 (c-name "empathy_idle_new")
1882 (is-constructor-of "EmpathyIdle")
1883 (return-type "EmpathyIdle*")
1886 (define-method get_state
1887 (of-object "EmpathyIdle")
1888 (c-name "empathy_idle_get_state")
1889 (return-type "McPresence")
1892 (define-method set_state
1893 (of-object "EmpathyIdle")
1894 (c-name "empathy_idle_set_state")
1895 (return-type "none")
1897 '("McPresence" "state")
1901 (define-method get_status
1902 (of-object "EmpathyIdle")
1903 (c-name "empathy_idle_get_status")
1904 (return-type "const-gchar*")
1907 (define-method set_status
1908 (of-object "EmpathyIdle")
1909 (c-name "empathy_idle_set_status")
1910 (return-type "none")
1912 '("const-gchar*" "status")
1916 (define-method get_flash_state
1917 (of-object "EmpathyIdle")
1918 (c-name "empathy_idle_get_flash_state")
1919 (return-type "McPresence")
1922 (define-method set_flash_state
1923 (of-object "EmpathyIdle")
1924 (c-name "empathy_idle_set_flash_state")
1925 (return-type "none")
1927 '("McPresence" "state")
1931 (define-method set_presence
1932 (of-object "EmpathyIdle")
1933 (c-name "empathy_idle_set_presence")
1934 (return-type "none")
1936 '("McPresence" "state")
1937 '("const-gchar*" "status")
1941 (define-method get_auto_away
1942 (of-object "EmpathyIdle")
1943 (c-name "empathy_idle_get_auto_away")
1944 (return-type "gboolean")
1947 (define-method set_auto_away
1948 (of-object "EmpathyIdle")
1949 (c-name "empathy_idle_set_auto_away")
1950 (return-type "none")
1952 '("gboolean" "auto_away")
1956 (define-method get_use_nm
1957 (of-object "EmpathyIdle")
1958 (c-name "empathy_idle_get_use_nm")
1959 (return-type "gboolean")
1962 (define-method set_use_nm
1963 (of-object "EmpathyIdle")
1964 (c-name "empathy_idle_set_use_nm")
1965 (return-type "none")
1967 '("gboolean" "use_nm")
1973 ;; From empathy-log-manager.h
1975 (define-function empathy_log_manager_get_type
1976 (c-name "empathy_log_manager_get_type")
1977 (return-type "GType")
1980 (define-function empathy_log_manager_new
1981 (c-name "empathy_log_manager_new")
1982 (is-constructor-of "EmpathyLogManager")
1983 (return-type "EmpathyLogManager*")
1986 (define-method add_message
1987 (of-object "EmpathyLogManager")
1988 (c-name "empathy_log_manager_add_message")
1989 (return-type "none")
1991 '("const-gchar*" "chat_id")
1992 '("gboolean" "chatroom")
1993 '("EmpathyMessage*" "message")
1997 (define-method exists
1998 (of-object "EmpathyLogManager")
1999 (c-name "empathy_log_manager_exists")
2000 (return-type "gboolean")
2002 '("McAccount*" "account")
2003 '("const-gchar*" "chat_id")
2004 '("gboolean" "chatroom")
2008 (define-method get_dates
2009 (of-object "EmpathyLogManager")
2010 (c-name "empathy_log_manager_get_dates")
2011 (return-type "GList*")
2013 '("McAccount*" "account")
2014 '("const-gchar*" "chat_id")
2015 '("gboolean" "chatroom")
2019 (define-method get_messages_for_file
2020 (of-object "EmpathyLogManager")
2021 (c-name "empathy_log_manager_get_messages_for_file")
2022 (return-type "GList*")
2024 '("const-gchar*" "filename")
2028 (define-method get_messages_for_date
2029 (of-object "EmpathyLogManager")
2030 (c-name "empathy_log_manager_get_messages_for_date")
2031 (return-type "GList*")
2033 '("McAccount*" "account")
2034 '("const-gchar*" "chat_id")
2035 '("gboolean" "chatroom")
2036 '("const-gchar*" "date")
2040 (define-method get_last_messages
2041 (of-object "EmpathyLogManager")
2042 (c-name "empathy_log_manager_get_last_messages")
2043 (return-type "GList*")
2045 '("McAccount*" "account")
2046 '("const-gchar*" "chat_id")
2047 '("gboolean" "chatroom")
2051 (define-method get_messages_for_file
2052 (of-object "EmpathyLogManager")
2053 (c-name "empathy_log_manager_get_messages_for_file")
2054 (return-type "GList*")
2056 '("const-gchar*" "filename")
2060 (define-method get_chats
2061 (of-object "EmpathyLogManager")
2062 (c-name "empathy_log_manager_get_chats")
2063 (return-type "GList*")
2065 '("McAccount*" "account")
2069 (define-method search_new
2070 (of-object "EmpathyLogManager")
2071 (c-name "empathy_log_manager_search_new")
2072 (return-type "GList*")
2074 '("const-gchar*" "text")
2078 (define-function empathy_log_manager_search_free
2079 (c-name "empathy_log_manager_search_free")
2080 (return-type "none")
2086 (define-function empathy_log_manager_get_date_readable
2087 (c-name "empathy_log_manager_get_date_readable")
2088 (return-type "gchar*")
2090 '("const-gchar*" "date")
2096 ;; From empathy-irc-network-manager.h
2098 (define-function empathy_irc_network_manager_get_type
2099 (c-name "empathy_irc_network_manager_get_type")
2100 (return-type "GType")
2103 (define-function empathy_irc_network_manager_new
2104 (c-name "empathy_irc_network_manager_new")
2105 (is-constructor-of "EmpathyIrcNetworkManager")
2106 (return-type "EmpathyIrcNetworkManager*")
2108 '("const-gchar*" "global_file")
2109 '("const-gchar*" "user_file")
2114 (of-object "EmpathyIrcNetworkManager")
2115 (c-name "empathy_irc_network_manager_add")
2116 (return-type "none")
2118 '("EmpathyIrcNetwork*" "network")
2122 (define-method remove
2123 (of-object "EmpathyIrcNetworkManager")
2124 (c-name "empathy_irc_network_manager_remove")
2125 (return-type "none")
2127 '("EmpathyIrcNetwork*" "network")
2131 (define-method get_networks
2132 (of-object "EmpathyIrcNetworkManager")
2133 (c-name "empathy_irc_network_manager_get_networks")
2134 (return-type "GSList*")
2137 (define-method find_network_by_address
2138 (of-object "EmpathyIrcNetworkManager")
2139 (c-name "empathy_irc_network_manager_find_network_by_address")
2140 (return-type "EmpathyIrcNetwork*")
2142 '("const-gchar*" "address")
2148 ;; From empathy-irc-network.h
2150 (define-function empathy_irc_network_get_type
2151 (c-name "empathy_irc_network_get_type")
2152 (return-type "GType")
2155 (define-function empathy_irc_network_new
2156 (c-name "empathy_irc_network_new")
2157 (is-constructor-of "EmpathyIrcNetwork")
2158 (return-type "EmpathyIrcNetwork*")
2160 '("const-gchar*" "name")
2164 (define-method get_servers
2165 (of-object "EmpathyIrcNetwork")
2166 (c-name "empathy_irc_network_get_servers")
2167 (return-type "GSList*")
2170 (define-method append_server
2171 (of-object "EmpathyIrcNetwork")
2172 (c-name "empathy_irc_network_append_server")
2173 (return-type "none")
2175 '("EmpathyIrcServer*" "server")
2179 (define-method remove_server
2180 (of-object "EmpathyIrcNetwork")
2181 (c-name "empathy_irc_network_remove_server")
2182 (return-type "none")
2184 '("EmpathyIrcServer*" "server")
2188 (define-method set_server_position
2189 (of-object "EmpathyIrcNetwork")
2190 (c-name "empathy_irc_network_set_server_position")
2191 (return-type "none")
2193 '("EmpathyIrcServer*" "server")
2200 ;; From empathy-irc-server.h
2202 (define-function empathy_irc_server_get_type
2203 (c-name "empathy_irc_server_get_type")
2204 (return-type "GType")
2207 (define-function empathy_irc_server_new
2208 (c-name "empathy_irc_server_new")
2209 (is-constructor-of "EmpathyIrcServer")
2210 (return-type "EmpathyIrcServer*")
2212 '("const-gchar*" "address")
2220 ;; From empathy-tube-handler.h
2222 (define-function empathy_tube_handler_get_type
2223 (c-name "empathy_tube_handler_get_type")
2224 (return-type "GType")
2227 (define-function empathy_tube_handler_new
2228 (c-name "empathy_tube_handler_new")
2229 (is-constructor-of "EmpathyTubeHandler")
2230 (return-type "EmpathyTubeHandler*")
2232 '("TpTubeType" "type")
2233 '("const-gchar*" "service")
2237 (define-function empathy_tube_handler_build_bus_name
2238 (c-name "empathy_tube_handler_build_bus_name")
2239 (return-type "gchar*")
2241 '("TpTubeType" "type")
2242 '("const-gchar*" "service")
2246 (define-function empathy_tube_handler_build_object_path
2247 (c-name "empathy_tube_handler_build_object_path")
2248 (return-type "gchar*")
2250 '("TpTubeType" "type")
2251 '("const-gchar*" "service")
2257 ;; From empathy-dispatcher.h
2259 (define-function empathy_dispatcher_get_type
2260 (c-name "empathy_dispatcher_get_type")
2261 (return-type "GType")
2264 (define-function empathy_dispatcher_new
2265 (c-name "empathy_dispatcher_new")
2266 (is-constructor-of "EmpathyDispatcher")
2267 (return-type "EmpathyDispatcher*")
2270 (define-method channel_process
2271 (of-object "EmpathyDispatcher")
2272 (c-name "empathy_dispatcher_channel_process")
2273 (return-type "none")
2275 '("TpChannel*" "channel")
2279 (define-function empathy_dispatcher_tube_get_type
2280 (c-name "empathy_dispatcher_tube_get_type")
2281 (return-type "GType")
2285 (of-object "EmpathyDispatcherTube")
2286 (c-name "empathy_dispatcher_tube_ref")
2287 (return-type "EmpathyDispatcherTube*")
2290 (define-method unref
2291 (of-object "EmpathyDispatcherTube")
2292 (c-name "empathy_dispatcher_tube_unref")
2293 (return-type "none")
2296 (define-method tube_process
2297 (of-object "EmpathyDispatcher")
2298 (c-name "empathy_dispatcher_tube_process")
2299 (return-type "none")
2301 '("EmpathyDispatcherTube*" "tube")