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_presence_get_default_message
502 (c-name "empathy_presence_get_default_message")
503 (return-type "const-gchar*")
505 '("McPresence" "presence")
509 (define-function empathy_presence_to_str
510 (c-name "empathy_presence_to_str")
511 (return-type "const-gchar*")
513 '("McPresence" "presence")
517 (define-function empathy_presence_from_str
518 (c-name "empathy_presence_from_str")
519 (return-type "McPresence")
521 '("const-gchar*" "str")
525 (define-function empathy_file_lookup
526 (c-name "empathy_file_lookup")
527 (return-type "gchar*")
529 '("const-gchar*" "filename")
530 '("const-gchar*" "subdir")
534 (define-function empathy_run_until_ready
535 (c-name "empathy_run_until_ready")
538 '("gpointer" "object")
542 (define-function empathy_run_until_ready_full
543 (c-name "empathy_run_until_ready_full")
546 '("gpointer" "object")
547 '("const-gchar*" "signal")
548 '("EmpathyRunUntilReadyFunc" "func")
549 '("gpointer" "user_data")
550 '("GMainLoop**" "loop")
554 (define-function empathy_channel_get_account
555 (c-name "empathy_channel_get_account")
556 (return-type "McAccount*")
558 '("TpChannel*" "channel")
562 (define-function empathy_connect_to_account_status_changed
563 (c-name "empathy_connect_to_account_status_changed")
564 (return-type "gpointer")
566 '("MissionControl*" "mc")
567 '("GCallback" "handler")
568 '("gpointer" "user_data")
569 '("GClosureNotify" "free_func")
573 (define-function empathy_disconnect_account_status_changed
574 (c-name "empathy_disconnect_account_status_changed")
577 '("gpointer" "token")
581 (define-function empathy_proxy_equal
582 (c-name "empathy_proxy_equal")
583 (return-type "gboolean")
585 '("gconstpointer" "a")
586 '("gconstpointer" "b")
590 (define-function empathy_proxy_hash
591 (c-name "empathy_proxy_hash")
592 (return-type "guint")
594 '("gconstpointer" "key")
600 ;; From empathy-message.h
602 (define-function empathy_message_get_type
603 (c-name "empathy_message_get_type")
604 (return-type "GType")
607 (define-function empathy_message_new
608 (c-name "empathy_message_new")
609 (is-constructor-of "EmpathyMessage")
610 (return-type "EmpathyMessage*")
612 '("const-gchar*" "body")
616 (define-method get_tptype
617 (of-object "EmpathyMessage")
618 (c-name "empathy_message_get_tptype")
619 (return-type "TpChannelTextMessageType")
622 (define-method set_tptype
623 (of-object "EmpathyMessage")
624 (c-name "empathy_message_set_tptype")
627 '("TpChannelTextMessageType" "type")
631 (define-method get_sender
632 (of-object "EmpathyMessage")
633 (c-name "empathy_message_get_sender")
634 (return-type "EmpathyContact*")
637 (define-method set_sender
638 (of-object "EmpathyMessage")
639 (c-name "empathy_message_set_sender")
642 '("EmpathyContact*" "contact")
646 (define-method get_receiver
647 (of-object "EmpathyMessage")
648 (c-name "empathy_message_get_receiver")
649 (return-type "EmpathyContact*")
652 (define-method set_receiver
653 (of-object "EmpathyMessage")
654 (c-name "empathy_message_set_receiver")
657 '("EmpathyContact*" "contact")
661 (define-method get_body
662 (of-object "EmpathyMessage")
663 (c-name "empathy_message_get_body")
664 (return-type "const-gchar*")
667 (define-method set_body
668 (of-object "EmpathyMessage")
669 (c-name "empathy_message_set_body")
672 '("const-gchar*" "body")
676 (define-method get_timestamp
677 (of-object "EmpathyMessage")
678 (c-name "empathy_message_get_timestamp")
679 (return-type "time_t")
682 (define-method set_timestamp
683 (of-object "EmpathyMessage")
684 (c-name "empathy_message_set_timestamp")
687 '("time_t" "timestamp")
691 (define-method get_date_and_time
692 (of-object "EmpathyMessage")
693 (c-name "empathy_message_get_date_and_time")
694 (return-type "GDate*")
696 '("time_t*" "timestamp")
700 (define-method should_highlight
701 (of-object "EmpathyMessage")
702 (c-name "empathy_message_should_highlight")
703 (return-type "gboolean")
706 (define-function empathy_message_type_from_str
707 (c-name "empathy_message_type_from_str")
708 (return-type "TpChannelTextMessageType")
710 '("const-gchar*" "type_str")
714 (define-function empathy_message_type_to_str
715 (c-name "empathy_message_type_to_str")
716 (return-type "const-gchar*")
718 '("TpChannelTextMessageType" "type")
724 ;; From empathy-chatroom-manager.h
726 (define-function empathy_chatroom_manager_get_type
727 (c-name "empathy_chatroom_manager_get_type")
728 (return-type "GType")
731 (define-function empathy_chatroom_manager_new
732 (c-name "empathy_chatroom_manager_new")
733 (is-constructor-of "EmpathyChatroomManager")
734 (return-type "EmpathyChatroomManager*")
738 (of-object "EmpathyChatroomManager")
739 (c-name "empathy_chatroom_manager_add")
740 (return-type "gboolean")
742 '("EmpathyChatroom*" "chatroom")
746 (define-method remove
747 (of-object "EmpathyChatroomManager")
748 (c-name "empathy_chatroom_manager_remove")
751 '("EmpathyChatroom*" "chatroom")
756 (of-object "EmpathyChatroomManager")
757 (c-name "empathy_chatroom_manager_find")
758 (return-type "EmpathyChatroom*")
760 '("McAccount*" "account")
761 '("const-gchar*" "room")
765 (define-method get_chatrooms
766 (of-object "EmpathyChatroomManager")
767 (c-name "empathy_chatroom_manager_get_chatrooms")
768 (return-type "GList*")
770 '("McAccount*" "account")
774 (define-method get_count
775 (of-object "EmpathyChatroomManager")
776 (c-name "empathy_chatroom_manager_get_count")
777 (return-type "guint")
779 '("McAccount*" "account")
784 (of-object "EmpathyChatroomManager")
785 (c-name "empathy_chatroom_manager_store")
791 ;; From empathy-chatroom.h
793 (define-function empathy_chatroom_get_type
794 (c-name "empathy_chatroom_get_type")
795 (return-type "GType")
798 (define-function empathy_chatroom_new
799 (c-name "empathy_chatroom_new")
800 (is-constructor-of "EmpathyChatroom")
801 (return-type "EmpathyChatroom*")
803 '("McAccount*" "account")
804 '("const-gchar*" "room")
808 (define-function empathy_chatroom_new_full
809 (c-name "empathy_chatroom_new_full")
810 (return-type "EmpathyChatroom*")
812 '("McAccount*" "account")
813 '("const-gchar*" "room")
814 '("const-gchar*" "name")
815 '("gboolean" "auto_connect")
819 (define-method get_account
820 (of-object "EmpathyChatroom")
821 (c-name "empathy_chatroom_get_account")
822 (return-type "McAccount*")
825 (define-method set_account
826 (of-object "EmpathyChatroom")
827 (c-name "empathy_chatroom_set_account")
830 '("McAccount*" "account")
834 (define-method get_room
835 (of-object "EmpathyChatroom")
836 (c-name "empathy_chatroom_get_room")
837 (return-type "const-gchar*")
840 (define-method set_room
841 (of-object "EmpathyChatroom")
842 (c-name "empathy_chatroom_set_room")
845 '("const-gchar*" "room")
849 (define-method get_name
850 (of-object "EmpathyChatroom")
851 (c-name "empathy_chatroom_get_name")
852 (return-type "const-gchar*")
855 (define-method set_name
856 (of-object "EmpathyChatroom")
857 (c-name "empathy_chatroom_set_name")
860 '("const-gchar*" "name")
864 (define-method get_auto_connect
865 (of-object "EmpathyChatroom")
866 (c-name "empathy_chatroom_get_auto_connect")
867 (return-type "gboolean")
870 (define-method set_auto_connect
871 (of-object "EmpathyChatroom")
872 (c-name "empathy_chatroom_set_auto_connect")
875 '("gboolean" "auto_connect")
879 (define-function empathy_chatroom_equal
880 (c-name "empathy_chatroom_equal")
881 (return-type "gboolean")
883 '("gconstpointer" "v1")
884 '("gconstpointer" "v2")
890 ;; From empathy-contact.h
892 (define-function empathy_contact_get_type
893 (c-name "empathy_contact_get_type")
894 (return-type "GType")
897 (define-function empathy_contact_new
898 (c-name "empathy_contact_new")
899 (is-constructor-of "EmpathyContact")
900 (return-type "EmpathyContact*")
902 '("McAccount*" "account")
906 (define-function empathy_contact_new_full
907 (c-name "empathy_contact_new_full")
908 (return-type "EmpathyContact*")
910 '("McAccount*" "account")
911 '("const-gchar*" "id")
912 '("const-gchar*" "name")
916 (define-method get_id
917 (of-object "EmpathyContact")
918 (c-name "empathy_contact_get_id")
919 (return-type "const-gchar*")
922 (define-method set_id
923 (of-object "EmpathyContact")
924 (c-name "empathy_contact_set_id")
927 '("const-gchar*" "id")
931 (define-method get_name
932 (of-object "EmpathyContact")
933 (c-name "empathy_contact_get_name")
934 (return-type "const-gchar*")
937 (define-method set_name
938 (of-object "EmpathyContact")
939 (c-name "empathy_contact_set_name")
942 '("const-gchar*" "name")
946 (define-method get_avatar
947 (of-object "EmpathyContact")
948 (c-name "empathy_contact_get_avatar")
949 (return-type "EmpathyAvatar*")
952 (define-method set_avatar
953 (of-object "EmpathyContact")
954 (c-name "empathy_contact_set_avatar")
957 '("EmpathyAvatar*" "avatar")
961 (define-method get_account
962 (of-object "EmpathyContact")
963 (c-name "empathy_contact_get_account")
964 (return-type "McAccount*")
967 (define-method set_account
968 (of-object "EmpathyContact")
969 (c-name "empathy_contact_set_account")
972 '("McAccount*" "account")
976 (define-method get_presence
977 (of-object "EmpathyContact")
978 (c-name "empathy_contact_get_presence")
979 (return-type "McPresence")
982 (define-method set_presence
983 (of-object "EmpathyContact")
984 (c-name "empathy_contact_set_presence")
987 '("McPresence" "presence")
991 (define-method get_presence_message
992 (of-object "EmpathyContact")
993 (c-name "empathy_contact_get_presence_message")
994 (return-type "const-gchar*")
997 (define-method set_presence_message
998 (of-object "EmpathyContact")
999 (c-name "empathy_contact_set_presence_message")
1000 (return-type "none")
1002 '("const-gchar*" "message")
1006 (define-method get_handle
1007 (of-object "EmpathyContact")
1008 (c-name "empathy_contact_get_handle")
1009 (return-type "guint")
1012 (define-method set_handle
1013 (of-object "EmpathyContact")
1014 (c-name "empathy_contact_set_handle")
1015 (return-type "none")
1021 (define-method get_capabilities
1022 (of-object "EmpathyContact")
1023 (c-name "empathy_contact_get_capabilities")
1024 (return-type "EmpathyCapabilities")
1027 (define-method set_capabilities
1028 (of-object "EmpathyContact")
1029 (c-name "empathy_contact_set_capabilities")
1030 (return-type "none")
1032 '("EmpathyCapabilities" "capabilities")
1036 (define-method get_ready
1037 (of-object "EmpathyContact")
1038 (c-name "empathy_contact_get_ready")
1039 (return-type "EmpathyContactReady")
1042 (define-method is_user
1043 (of-object "EmpathyContact")
1044 (c-name "empathy_contact_is_user")
1045 (return-type "gboolean")
1048 (define-method set_is_user
1049 (of-object "EmpathyContact")
1050 (c-name "empathy_contact_set_is_user")
1051 (return-type "none")
1053 '("gboolean" "is_user")
1057 (define-method is_online
1058 (of-object "EmpathyContact")
1059 (c-name "empathy_contact_is_online")
1060 (return-type "gboolean")
1063 (define-method get_status
1064 (of-object "EmpathyContact")
1065 (c-name "empathy_contact_get_status")
1066 (return-type "const-gchar*")
1069 (define-method can_voip
1070 (of-object "EmpathyContact")
1071 (c-name "empathy_contact_can_voip")
1072 (return-type "gboolean")
1075 (define-function empathy_contact_equal
1076 (c-name "empathy_contact_equal")
1077 (return-type "gboolean")
1079 '("gconstpointer" "v1")
1080 '("gconstpointer" "v2")
1084 (define-function empathy_contact_hash
1085 (c-name "empathy_contact_hash")
1086 (return-type "guint")
1088 '("gconstpointer" "key")
1092 (define-method run_until_ready
1093 (of-object "EmpathyContact")
1094 (c-name "empathy_contact_run_until_ready")
1095 (return-type "none")
1097 '("EmpathyContactReady" "ready")
1098 '("GMainLoop**" "loop")
1104 ;; From empathy-contact-groups.h
1106 (define-function empathy_contact_groups_get_all
1107 (c-name "empathy_contact_groups_get_all")
1108 (return-type "none")
1111 (define-function empathy_contact_group_get_expanded
1112 (c-name "empathy_contact_group_get_expanded")
1113 (return-type "gboolean")
1115 '("const-gchar*" "group")
1119 (define-function empathy_contact_group_set_expanded
1120 (c-name "empathy_contact_group_set_expanded")
1121 (return-type "none")
1123 '("const-gchar*" "group")
1124 '("gboolean" "expanded")
1130 ;; From empathy-contact-list.h
1132 (define-function empathy_contact_list_get_type
1133 (c-name "empathy_contact_list_get_type")
1134 (return-type "GType")
1138 (of-object "EmpathyContactList")
1139 (c-name "empathy_contact_list_add")
1140 (return-type "none")
1142 '("EmpathyContact*" "contact")
1143 '("const-gchar*" "message")
1147 (define-method remove
1148 (of-object "EmpathyContactList")
1149 (c-name "empathy_contact_list_remove")
1150 (return-type "none")
1152 '("EmpathyContact*" "contact")
1153 '("const-gchar*" "message")
1157 (define-method get_members
1158 (of-object "EmpathyContactList")
1159 (c-name "empathy_contact_list_get_members")
1160 (return-type "GList*")
1163 (define-method get_pendings
1164 (of-object "EmpathyContactList")
1165 (c-name "empathy_contact_list_get_pendings")
1166 (return-type "GList*")
1169 (define-method get_all_groups
1170 (of-object "EmpathyContactList")
1171 (c-name "empathy_contact_list_get_all_groups")
1172 (return-type "GList*")
1175 (define-method get_groups
1176 (of-object "EmpathyContactList")
1177 (c-name "empathy_contact_list_get_groups")
1178 (return-type "GList*")
1180 '("EmpathyContact*" "contact")
1184 (define-method add_to_group
1185 (of-object "EmpathyContactList")
1186 (c-name "empathy_contact_list_add_to_group")
1187 (return-type "none")
1189 '("EmpathyContact*" "contact")
1190 '("const-gchar*" "group")
1194 (define-method remove_from_group
1195 (of-object "EmpathyContactList")
1196 (c-name "empathy_contact_list_remove_from_group")
1197 (return-type "none")
1199 '("EmpathyContact*" "contact")
1200 '("const-gchar*" "group")
1204 (define-method rename_group
1205 (of-object "EmpathyContactList")
1206 (c-name "empathy_contact_list_rename_group")
1207 (return-type "none")
1209 '("const-gchar*" "old_group")
1210 '("const-gchar*" "new_group")
1214 (define-method remove_group
1215 (of-object "EmpathyContactList")
1216 (c-name "empathy_contact_list_remove_group")
1217 (return-type "none")
1219 '("const-gchar*" "group")
1225 ;; From empathy-contact-manager.h
1227 (define-function empathy_contact_manager_get_type
1228 (c-name "empathy_contact_manager_get_type")
1229 (return-type "GType")
1232 (define-function empathy_contact_manager_new
1233 (c-name "empathy_contact_manager_new")
1234 (is-constructor-of "EmpathyContactManager")
1235 (return-type "EmpathyContactManager*")
1238 (define-method get_list
1239 (of-object "EmpathyContactManager")
1240 (c-name "empathy_contact_manager_get_list")
1241 (return-type "EmpathyTpContactList*")
1243 '("McAccount*" "account")
1249 ;; From empathy-contact-factory.h
1251 (define-function empathy_contact_factory_get_type
1252 (c-name "empathy_contact_factory_get_type")
1253 (return-type "GType")
1256 (define-function empathy_contact_factory_new
1257 (c-name "empathy_contact_factory_new")
1258 (is-constructor-of "EmpathyContactFactory")
1259 (return-type "EmpathyContactFactory*")
1262 (define-method get_tp_factory
1263 (of-object "EmpathyContactFactory")
1264 (c-name "empathy_contact_factory_get_tp_factory")
1265 (return-type "EmpathyTpContactFactory*")
1267 '("McAccount*" "account")
1271 (define-method get_user
1272 (of-object "EmpathyContactFactory")
1273 (c-name "empathy_contact_factory_get_user")
1274 (return-type "EmpathyContact*")
1276 '("McAccount*" "account")
1280 (define-method get_from_id
1281 (of-object "EmpathyContactFactory")
1282 (c-name "empathy_contact_factory_get_from_id")
1283 (return-type "EmpathyContact*")
1285 '("McAccount*" "account")
1286 '("const-gchar*" "id")
1290 (define-method get_from_handle
1291 (of-object "EmpathyContactFactory")
1292 (c-name "empathy_contact_factory_get_from_handle")
1293 (return-type "EmpathyContact*")
1295 '("McAccount*" "account")
1300 (define-method get_from_handles
1301 (of-object "EmpathyContactFactory")
1302 (c-name "empathy_contact_factory_get_from_handles")
1303 (return-type "GList*")
1305 '("McAccount*" "account")
1306 '("const-GArray*" "handles")
1310 (define-method set_alias
1311 (of-object "EmpathyContactFactory")
1312 (c-name "empathy_contact_factory_set_alias")
1313 (return-type "none")
1315 '("EmpathyContact*" "contact")
1316 '("const-gchar*" "alias")
1320 (define-method set_avatar
1321 (of-object "EmpathyContactFactory")
1322 (c-name "empathy_contact_factory_set_avatar")
1323 (return-type "none")
1325 '("McAccount*" "account")
1326 '("const-gchar*" "data")
1328 '("const-gchar*" "mime_type")
1334 ;; From empathy-tp-contact-factory.h
1336 (define-function empathy_tp_contact_factory_get_type
1337 (c-name "empathy_tp_contact_factory_get_type")
1338 (return-type "GType")
1341 (define-function empathy_tp_contact_factory_new
1342 (c-name "empathy_tp_contact_factory_new")
1343 (is-constructor-of "EmpathyTpContactFactory")
1344 (return-type "EmpathyTpContactFactory*")
1346 '("McAccount*" "account")
1350 (define-method get_user
1351 (of-object "EmpathyTpContactFactory")
1352 (c-name "empathy_tp_contact_factory_get_user")
1353 (return-type "EmpathyContact*")
1356 (define-method get_from_id
1357 (of-object "EmpathyTpContactFactory")
1358 (c-name "empathy_tp_contact_factory_get_from_id")
1359 (return-type "EmpathyContact*")
1361 '("const-gchar*" "id")
1365 (define-method get_from_handle
1366 (of-object "EmpathyTpContactFactory")
1367 (c-name "empathy_tp_contact_factory_get_from_handle")
1368 (return-type "EmpathyContact*")
1374 (define-method get_from_handles
1375 (of-object "EmpathyTpContactFactory")
1376 (c-name "empathy_tp_contact_factory_get_from_handles")
1377 (return-type "GList*")
1379 '("const-GArray*" "handles")
1383 (define-method set_alias
1384 (of-object "EmpathyTpContactFactory")
1385 (c-name "empathy_tp_contact_factory_set_alias")
1386 (return-type "none")
1388 '("EmpathyContact*" "contact")
1389 '("const-gchar*" "alias")
1393 (define-method set_avatar
1394 (of-object "EmpathyTpContactFactory")
1395 (c-name "empathy_tp_contact_factory_set_avatar")
1396 (return-type "none")
1398 '("const-gchar*" "data")
1400 '("const-gchar*" "mime_type")
1404 (define-method is_ready
1405 (of-object "EmpathyTpContactFactory")
1406 (c-name "empathy_tp_contact_factory_is_ready")
1407 (return-type "gboolean")
1412 ;; From empathy-tp-group.h
1414 (define-function empathy_tp_group_get_type
1415 (c-name "empathy_tp_group_get_type")
1416 (return-type "GType")
1419 (define-function empathy_tp_group_new
1420 (c-name "empathy_tp_group_new")
1421 (is-constructor-of "EmpathyTpGroup")
1422 (return-type "EmpathyTpGroup*")
1424 '("TpChannel*" "channel")
1428 (define-method close
1429 (of-object "EmpathyTpGroup")
1430 (c-name "empathy_tp_group_close")
1431 (return-type "none")
1434 (define-method add_members
1435 (of-object "EmpathyTpGroup")
1436 (c-name "empathy_tp_group_add_members")
1437 (return-type "none")
1439 '("GList*" "contacts")
1440 '("const-gchar*" "message")
1444 (define-method add_member
1445 (of-object "EmpathyTpGroup")
1446 (c-name "empathy_tp_group_add_member")
1447 (return-type "none")
1449 '("EmpathyContact*" "contact")
1450 '("const-gchar*" "message")
1454 (define-method remove_members
1455 (of-object "EmpathyTpGroup")
1456 (c-name "empathy_tp_group_remove_members")
1457 (return-type "none")
1459 '("GList*" "contacts")
1460 '("const-gchar*" "message")
1464 (define-method remove_member
1465 (of-object "EmpathyTpGroup")
1466 (c-name "empathy_tp_group_remove_member")
1467 (return-type "none")
1469 '("EmpathyContact*" "contact")
1470 '("const-gchar*" "message")
1474 (define-method get_members
1475 (of-object "EmpathyTpGroup")
1476 (c-name "empathy_tp_group_get_members")
1477 (return-type "GList*")
1480 (define-method get_local_pendings
1481 (of-object "EmpathyTpGroup")
1482 (c-name "empathy_tp_group_get_local_pendings")
1483 (return-type "GList*")
1486 (define-method get_remote_pendings
1487 (of-object "EmpathyTpGroup")
1488 (c-name "empathy_tp_group_get_remote_pendings")
1489 (return-type "GList*")
1492 (define-method get_name
1493 (of-object "EmpathyTpGroup")
1494 (c-name "empathy_tp_group_get_name")
1495 (return-type "const-gchar*")
1498 (define-method get_self_contact
1499 (of-object "EmpathyTpGroup")
1500 (c-name "empathy_tp_group_get_self_contact")
1501 (return-type "EmpathyContact*")
1504 (define-method is_member
1505 (of-object "EmpathyTpGroup")
1506 (c-name "empathy_tp_group_is_member")
1507 (return-type "gboolean")
1509 '("EmpathyContact*" "contact")
1513 (define-method is_ready
1514 (of-object "EmpathyTpGroup")
1515 (c-name "empathy_tp_group_is_ready")
1516 (return-type "gboolean")
1519 (define-method get_invitation
1520 (of-object "EmpathyTpGroup")
1521 (c-name "empathy_tp_group_get_invitation")
1522 (return-type "EmpathyPendingInfo*")
1524 '("EmpathyContact**" "remote_contact")
1528 (define-function empathy_pending_info_new
1529 (c-name "empathy_pending_info_new")
1530 (is-constructor-of "EmpathyPendingInfo")
1531 (return-type "EmpathyPendingInfo*")
1533 '("EmpathyContact*" "member")
1534 '("EmpathyContact*" "actor")
1535 '("const-gchar*" "message")
1540 (of-object "EmpathyPendingInfo")
1541 (c-name "empathy_pending_info_free")
1542 (return-type "none")
1547 ;; From empathy-tp-contact-list.h
1549 (define-function empathy_tp_contact_list_get_type
1550 (c-name "empathy_tp_contact_list_get_type")
1551 (return-type "GType")
1554 (define-function empathy_tp_contact_list_new
1555 (c-name "empathy_tp_contact_list_new")
1556 (is-constructor-of "EmpathyTpContactList")
1557 (return-type "EmpathyTpContactList*")
1559 '("McAccount*" "account")
1563 (define-method get_account
1564 (of-object "EmpathyTpContactList")
1565 (c-name "empathy_tp_contact_list_get_account")
1566 (return-type "McAccount*")
1571 ;; From empathy-tp-chat.h
1573 (define-function empathy_tp_chat_get_type
1574 (c-name "empathy_tp_chat_get_type")
1575 (return-type "GType")
1578 (define-function empathy_tp_chat_new
1579 (c-name "empathy_tp_chat_new")
1580 (is-constructor-of "EmpathyTpChat")
1581 (return-type "EmpathyTpChat*")
1583 '("TpChannel*" "channel")
1587 (define-method get_id
1588 (of-object "EmpathyTpChat")
1589 (c-name "empathy_tp_chat_get_id")
1590 (return-type "const-gchar*")
1593 (define-method get_remote_contact
1594 (of-object "EmpathyTpChat")
1595 (c-name "empathy_tp_chat_get_remote_contact")
1596 (return-type "EmpathyContact*")
1599 (define-method get_account
1600 (of-object "EmpathyTpChat")
1601 (c-name "empathy_tp_chat_get_account")
1602 (return-type "McAccount*")
1605 (define-method get_channel
1606 (of-object "EmpathyTpChat")
1607 (c-name "empathy_tp_chat_get_channel")
1608 (return-type "TpChannel*")
1611 (define-method is_ready
1612 (of-object "EmpathyTpChat")
1613 (c-name "empathy_tp_chat_is_ready")
1614 (return-type "gboolean")
1617 (define-method get_members_count
1618 (of-object "EmpathyTpChat")
1619 (c-name "empathy_tp_chat_get_members_count")
1620 (return-type "guint")
1623 (define-method set_acknowledge
1624 (of-object "EmpathyTpChat")
1625 (c-name "empathy_tp_chat_set_acknowledge")
1626 (return-type "none")
1628 '("gboolean" "acknowledge")
1632 (define-method emit_pendings
1633 (of-object "EmpathyTpChat")
1634 (c-name "empathy_tp_chat_emit_pendings")
1635 (return-type "none")
1639 (of-object "EmpathyTpChat")
1640 (c-name "empathy_tp_chat_send")
1641 (return-type "none")
1643 '("EmpathyMessage*" "message")
1647 (define-method set_state
1648 (of-object "EmpathyTpChat")
1649 (c-name "empathy_tp_chat_set_state")
1650 (return-type "none")
1652 '("TpChannelChatState" "state")
1656 (define-method set_property
1657 (of-object "EmpathyTpChat")
1658 (c-name "empathy_tp_chat_set_property")
1659 (return-type "none")
1661 '("const-gchar*" "name")
1662 '("const-GValue*" "value")
1668 ;; From empathy-tp-roomlist.h
1670 (define-function empathy_tp_roomlist_get_type
1671 (c-name "empathy_tp_roomlist_get_type")
1672 (return-type "GType")
1675 (define-function empathy_tp_roomlist_new
1676 (c-name "empathy_tp_roomlist_new")
1677 (is-constructor-of "EmpathyTpRoomlist")
1678 (return-type "EmpathyTpRoomlist*")
1680 '("McAccount*" "account")
1684 (define-method is_listing
1685 (of-object "EmpathyTpRoomlist")
1686 (c-name "empathy_tp_roomlist_is_listing")
1687 (return-type "gboolean")
1690 (define-method start
1691 (of-object "EmpathyTpRoomlist")
1692 (c-name "empathy_tp_roomlist_start")
1693 (return-type "none")
1697 (of-object "EmpathyTpRoomlist")
1698 (c-name "empathy_tp_roomlist_stop")
1699 (return-type "none")
1704 ;; From empathy-tp-call.h
1706 (define-function empathy_tp_call_get_type
1707 (c-name "empathy_tp_call_get_type")
1708 (return-type "GType")
1711 (define-function empathy_tp_call_new
1712 (c-name "empathy_tp_call_new")
1713 (is-constructor-of "EmpathyTpCall")
1714 (return-type "EmpathyTpCall*")
1716 '("TpChannel*" "channel")
1720 (define-method accept_incoming_call
1721 (of-object "EmpathyTpCall")
1722 (c-name "empathy_tp_call_accept_incoming_call")
1723 (return-type "none")
1726 (define-method request_video_stream_direction
1727 (of-object "EmpathyTpCall")
1728 (c-name "empathy_tp_call_request_video_stream_direction")
1729 (return-type "none")
1731 '("gboolean" "is_sending")
1735 (define-method add_preview_video
1736 (of-object "EmpathyTpCall")
1737 (c-name "empathy_tp_call_add_preview_video")
1738 (return-type "none")
1740 '("guint" "preview_video_socket_id")
1744 (define-method remove_preview_video
1745 (of-object "EmpathyTpCall")
1746 (c-name "empathy_tp_call_remove_preview_video")
1747 (return-type "none")
1749 '("guint" "preview_video_socket_id")
1753 (define-method add_output_video
1754 (of-object "EmpathyTpCall")
1755 (c-name "empathy_tp_call_add_output_video")
1756 (return-type "none")
1758 '("guint" "output_video_socket_id")
1762 (define-method set_output_volume
1763 (of-object "EmpathyTpCall")
1764 (c-name "empathy_tp_call_set_output_volume")
1765 (return-type "none")
1771 (define-method mute_output
1772 (of-object "EmpathyTpCall")
1773 (c-name "empathy_tp_call_mute_output")
1774 (return-type "none")
1776 '("gboolean" "is_muted")
1780 (define-method mute_input
1781 (of-object "EmpathyTpCall")
1782 (c-name "empathy_tp_call_mute_input")
1783 (return-type "none")
1785 '("gboolean" "is_muted")
1789 (define-method start_tone
1790 (of-object "EmpathyTpCall")
1791 (c-name "empathy_tp_call_start_tone")
1792 (return-type "none")
1794 '("TpDTMFEvent" "event")
1798 (define-method stop_tone
1799 (of-object "EmpathyTpCall")
1800 (c-name "empathy_tp_call_stop_tone")
1801 (return-type "none")
1806 ;; From empathy-tp-tube.h
1808 (define-function empathy_tp_tube_get_type
1809 (c-name "empathy_tp_tube_get_type")
1810 (return-type "GType")
1813 (define-function empathy_tp_tube_new
1814 (c-name "empathy_tp_tube_new")
1815 (is-constructor-of "EmpathyTpTube")
1816 (return-type "EmpathyTpTube*")
1818 '("TpChannel*" "channel")
1819 '("guint" "tube_id")
1823 (define-function empathy_tp_tube_new_stream_tube
1824 (c-name "empathy_tp_tube_new_stream_tube")
1825 (return-type "EmpathyTpTube*")
1827 '("EmpathyContact*" "contact")
1828 '("TpSocketAddressType" "type")
1829 '("const-gchar*" "hostname")
1831 '("const-gchar*" "service")
1835 (define-method accept_stream_tube
1836 (of-object "EmpathyTpTube")
1837 (c-name "empathy_tp_tube_accept_stream_tube")
1838 (return-type "none")
1840 '("TpSocketAddressType" "type")
1844 (define-method get_socket
1845 (of-object "EmpathyTpTube")
1846 (c-name "empathy_tp_tube_get_socket")
1847 (return-type "none")
1849 '("gchar**" "hostname")
1856 ;; From empathy-idle.h
1858 (define-function empathy_idle_get_type
1859 (c-name "empathy_idle_get_type")
1860 (return-type "GType")
1863 (define-function empathy_idle_new
1864 (c-name "empathy_idle_new")
1865 (is-constructor-of "EmpathyIdle")
1866 (return-type "EmpathyIdle*")
1869 (define-method get_state
1870 (of-object "EmpathyIdle")
1871 (c-name "empathy_idle_get_state")
1872 (return-type "McPresence")
1875 (define-method set_state
1876 (of-object "EmpathyIdle")
1877 (c-name "empathy_idle_set_state")
1878 (return-type "none")
1880 '("McPresence" "state")
1884 (define-method get_status
1885 (of-object "EmpathyIdle")
1886 (c-name "empathy_idle_get_status")
1887 (return-type "const-gchar*")
1890 (define-method set_status
1891 (of-object "EmpathyIdle")
1892 (c-name "empathy_idle_set_status")
1893 (return-type "none")
1895 '("const-gchar*" "status")
1899 (define-method get_flash_state
1900 (of-object "EmpathyIdle")
1901 (c-name "empathy_idle_get_flash_state")
1902 (return-type "McPresence")
1905 (define-method set_flash_state
1906 (of-object "EmpathyIdle")
1907 (c-name "empathy_idle_set_flash_state")
1908 (return-type "none")
1910 '("McPresence" "state")
1914 (define-method set_presence
1915 (of-object "EmpathyIdle")
1916 (c-name "empathy_idle_set_presence")
1917 (return-type "none")
1919 '("McPresence" "state")
1920 '("const-gchar*" "status")
1924 (define-method get_auto_away
1925 (of-object "EmpathyIdle")
1926 (c-name "empathy_idle_get_auto_away")
1927 (return-type "gboolean")
1930 (define-method set_auto_away
1931 (of-object "EmpathyIdle")
1932 (c-name "empathy_idle_set_auto_away")
1933 (return-type "none")
1935 '("gboolean" "auto_away")
1939 (define-method get_use_nm
1940 (of-object "EmpathyIdle")
1941 (c-name "empathy_idle_get_use_nm")
1942 (return-type "gboolean")
1945 (define-method set_use_nm
1946 (of-object "EmpathyIdle")
1947 (c-name "empathy_idle_set_use_nm")
1948 (return-type "none")
1950 '("gboolean" "use_nm")
1956 ;; From empathy-log-manager.h
1958 (define-function empathy_log_manager_get_type
1959 (c-name "empathy_log_manager_get_type")
1960 (return-type "GType")
1963 (define-function empathy_log_manager_new
1964 (c-name "empathy_log_manager_new")
1965 (is-constructor-of "EmpathyLogManager")
1966 (return-type "EmpathyLogManager*")
1969 (define-method add_message
1970 (of-object "EmpathyLogManager")
1971 (c-name "empathy_log_manager_add_message")
1972 (return-type "none")
1974 '("const-gchar*" "chat_id")
1975 '("gboolean" "chatroom")
1976 '("EmpathyMessage*" "message")
1980 (define-method exists
1981 (of-object "EmpathyLogManager")
1982 (c-name "empathy_log_manager_exists")
1983 (return-type "gboolean")
1985 '("McAccount*" "account")
1986 '("const-gchar*" "chat_id")
1987 '("gboolean" "chatroom")
1991 (define-method get_dates
1992 (of-object "EmpathyLogManager")
1993 (c-name "empathy_log_manager_get_dates")
1994 (return-type "GList*")
1996 '("McAccount*" "account")
1997 '("const-gchar*" "chat_id")
1998 '("gboolean" "chatroom")
2002 (define-method get_messages_for_file
2003 (of-object "EmpathyLogManager")
2004 (c-name "empathy_log_manager_get_messages_for_file")
2005 (return-type "GList*")
2007 '("const-gchar*" "filename")
2011 (define-method get_messages_for_date
2012 (of-object "EmpathyLogManager")
2013 (c-name "empathy_log_manager_get_messages_for_date")
2014 (return-type "GList*")
2016 '("McAccount*" "account")
2017 '("const-gchar*" "chat_id")
2018 '("gboolean" "chatroom")
2019 '("const-gchar*" "date")
2023 (define-method get_last_messages
2024 (of-object "EmpathyLogManager")
2025 (c-name "empathy_log_manager_get_last_messages")
2026 (return-type "GList*")
2028 '("McAccount*" "account")
2029 '("const-gchar*" "chat_id")
2030 '("gboolean" "chatroom")
2034 (define-method get_messages_for_file
2035 (of-object "EmpathyLogManager")
2036 (c-name "empathy_log_manager_get_messages_for_file")
2037 (return-type "GList*")
2039 '("const-gchar*" "filename")
2043 (define-method get_chats
2044 (of-object "EmpathyLogManager")
2045 (c-name "empathy_log_manager_get_chats")
2046 (return-type "GList*")
2048 '("McAccount*" "account")
2052 (define-method search_new
2053 (of-object "EmpathyLogManager")
2054 (c-name "empathy_log_manager_search_new")
2055 (return-type "GList*")
2057 '("const-gchar*" "text")
2061 (define-function empathy_log_manager_search_free
2062 (c-name "empathy_log_manager_search_free")
2063 (return-type "none")
2069 (define-function empathy_log_manager_get_date_readable
2070 (c-name "empathy_log_manager_get_date_readable")
2071 (return-type "gchar*")
2073 '("const-gchar*" "date")
2079 ;; From empathy-irc-network-manager.h
2081 (define-function empathy_irc_network_manager_get_type
2082 (c-name "empathy_irc_network_manager_get_type")
2083 (return-type "GType")
2086 (define-function empathy_irc_network_manager_new
2087 (c-name "empathy_irc_network_manager_new")
2088 (is-constructor-of "EmpathyIrcNetworkManager")
2089 (return-type "EmpathyIrcNetworkManager*")
2091 '("const-gchar*" "global_file")
2092 '("const-gchar*" "user_file")
2097 (of-object "EmpathyIrcNetworkManager")
2098 (c-name "empathy_irc_network_manager_add")
2099 (return-type "none")
2101 '("EmpathyIrcNetwork*" "network")
2105 (define-method remove
2106 (of-object "EmpathyIrcNetworkManager")
2107 (c-name "empathy_irc_network_manager_remove")
2108 (return-type "none")
2110 '("EmpathyIrcNetwork*" "network")
2114 (define-method get_networks
2115 (of-object "EmpathyIrcNetworkManager")
2116 (c-name "empathy_irc_network_manager_get_networks")
2117 (return-type "GSList*")
2120 (define-method find_network_by_address
2121 (of-object "EmpathyIrcNetworkManager")
2122 (c-name "empathy_irc_network_manager_find_network_by_address")
2123 (return-type "EmpathyIrcNetwork*")
2125 '("const-gchar*" "address")
2131 ;; From empathy-irc-network.h
2133 (define-function empathy_irc_network_get_type
2134 (c-name "empathy_irc_network_get_type")
2135 (return-type "GType")
2138 (define-function empathy_irc_network_new
2139 (c-name "empathy_irc_network_new")
2140 (is-constructor-of "EmpathyIrcNetwork")
2141 (return-type "EmpathyIrcNetwork*")
2143 '("const-gchar*" "name")
2147 (define-method get_servers
2148 (of-object "EmpathyIrcNetwork")
2149 (c-name "empathy_irc_network_get_servers")
2150 (return-type "GSList*")
2153 (define-method append_server
2154 (of-object "EmpathyIrcNetwork")
2155 (c-name "empathy_irc_network_append_server")
2156 (return-type "none")
2158 '("EmpathyIrcServer*" "server")
2162 (define-method remove_server
2163 (of-object "EmpathyIrcNetwork")
2164 (c-name "empathy_irc_network_remove_server")
2165 (return-type "none")
2167 '("EmpathyIrcServer*" "server")
2171 (define-method set_server_position
2172 (of-object "EmpathyIrcNetwork")
2173 (c-name "empathy_irc_network_set_server_position")
2174 (return-type "none")
2176 '("EmpathyIrcServer*" "server")
2183 ;; From empathy-irc-server.h
2185 (define-function empathy_irc_server_get_type
2186 (c-name "empathy_irc_server_get_type")
2187 (return-type "GType")
2190 (define-function empathy_irc_server_new
2191 (c-name "empathy_irc_server_new")
2192 (is-constructor-of "EmpathyIrcServer")
2193 (return-type "EmpathyIrcServer*")
2195 '("const-gchar*" "address")
2203 ;; From empathy-tube-handler.h
2205 (define-function empathy_tube_handler_get_type
2206 (c-name "empathy_tube_handler_get_type")
2207 (return-type "GType")
2210 (define-function empathy_tube_handler_new
2211 (c-name "empathy_tube_handler_new")
2212 (is-constructor-of "EmpathyTubeHandler")
2213 (return-type "EmpathyTubeHandler*")
2215 '("TpTubeType" "type")
2216 '("const-gchar*" "service")
2220 (define-function empathy_tube_handler_build_bus_name
2221 (c-name "empathy_tube_handler_build_bus_name")
2222 (return-type "gchar*")
2224 '("TpTubeType" "type")
2225 '("const-gchar*" "service")
2229 (define-function empathy_tube_handler_build_object_path
2230 (c-name "empathy_tube_handler_build_object_path")
2231 (return-type "gchar*")
2233 '("TpTubeType" "type")
2234 '("const-gchar*" "service")
2240 ;; From empathy-dispatcher.h
2242 (define-function empathy_dispatcher_get_type
2243 (c-name "empathy_dispatcher_get_type")
2244 (return-type "GType")
2247 (define-function empathy_dispatcher_new
2248 (c-name "empathy_dispatcher_new")
2249 (is-constructor-of "EmpathyDispatcher")
2250 (return-type "EmpathyDispatcher*")
2253 (define-method channel_process
2254 (of-object "EmpathyDispatcher")
2255 (c-name "empathy_dispatcher_channel_process")
2256 (return-type "none")
2258 '("TpChannel*" "channel")
2262 (define-function empathy_dispatcher_tube_get_type
2263 (c-name "empathy_dispatcher_tube_get_type")
2264 (return-type "GType")
2268 (of-object "EmpathyDispatcherTube")
2269 (c-name "empathy_dispatcher_tube_ref")
2270 (return-type "EmpathyDispatcherTube*")
2273 (define-method unref
2274 (of-object "EmpathyDispatcherTube")
2275 (c-name "empathy_dispatcher_tube_unref")
2276 (return-type "none")
2279 (define-method tube_process
2280 (of-object "EmpathyDispatcher")
2281 (c-name "empathy_dispatcher_tube_process")
2282 (return-type "none")
2284 '("EmpathyDispatcherTube*" "tube")
2288 (define-function empathy_dispatcher_call_with_contact
2289 (c-name "empathy_dispatcher_call_with_contact")
2290 (return-type "none")
2292 '("EmpathyContact*" "contact")
2296 (define-function empathy_dispatcher_call_with_contact_id
2297 (c-name "empathy_dispatcher_call_with_contact_id")
2298 (return-type "none")
2300 '("McAccount*" "account")
2301 '("const-gchar*" "contact_id")
2305 (define-function empathy_dispatcher_chat_with_contact_id
2306 (c-name "empathy_dispatcher_chat_with_contact_id")
2307 (return-type "none")
2309 '("McAccount*" "account")
2310 '("const-gchar*" "contact_id")
2314 (define-function empathy_dispatcher_chat_with_contact
2315 (c-name "empathy_dispatcher_chat_with_contact")
2316 (return-type "none")
2318 '("EmpathyContact*" "contact")