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-time.h
222 (define-function time_get_current
223 (c-name "empathy_time_get_current")
224 (return-type "time_t")
227 (define-function time_get_local_time
228 (c-name "empathy_time_get_local_time")
229 (return-type "time_t")
235 (define-function time_parse
236 (c-name "empathy_time_parse")
237 (return-type "time_t")
239 '("const-gchar*" "str")
243 (define-function time_to_string_utc
244 (c-name "empathy_time_to_string_utc")
245 (return-type "gchar*")
248 '("const-gchar*" "format")
252 (define-function time_to_string_local
253 (c-name "empathy_time_to_string_local")
254 (return-type "gchar*")
257 '("const-gchar*" "format")
263 ;; From empathy-status-presets.h
265 (define-function status_presets_get_all
266 (c-name "empathy_status_presets_get_all")
270 (define-function status_presets_get
271 (c-name "empathy_status_presets_get")
272 (return-type "GList*")
274 '("McPresence" "state")
275 '("gint" "max_number")
279 (define-function status_presets_set_last
280 (c-name "empathy_status_presets_set_last")
283 '("McPresence" "state")
284 '("const-gchar*" "status")
288 (define-function status_presets_remove
289 (c-name "empathy_status_presets_remove")
292 '("McPresence" "state")
293 '("const-gchar*" "status")
297 (define-function status_presets_reset
298 (c-name "empathy_status_presets_reset")
302 (define-function status_presets_get_default_state
303 (c-name "empathy_status_presets_get_default_state")
304 (return-type "McPresence")
307 (define-function status_presets_get_default_status
308 (c-name "empathy_status_presets_get_default_status")
309 (return-type "const-gchar*")
312 (define-function status_presets_set_default
313 (c-name "empathy_status_presets_set_default")
316 '("McPresence" "state")
317 '("const-gchar*" "status")
321 (define-function status_presets_clear_default
322 (c-name "empathy_status_presets_clear_default")
328 ;; From empathy-debug.h
330 (define-function debug_flag_is_set
331 (c-name "empathy_debug_flag_is_set")
332 (return-type "gboolean")
334 '("EmpathyDebugFlags" "flag")
338 (define-function debug
339 (c-name "empathy_debug")
342 '("EmpathyDebugFlags" "flag")
343 '("const-gchar*" "format")
348 (define-function debug_set_flags
349 (c-name "empathy_debug_set_flags")
352 '("const-gchar*" "flags_string")
358 ;; From empathy-utils.h
360 (define-function substring
361 (c-name "empathy_substring")
362 (return-type "gchar*")
364 '("const-gchar*" "str")
370 (define-function regex_match
371 (c-name "empathy_regex_match")
374 '("EmpathyRegExType" "type")
375 '("const-gchar*" "msg")
381 (define-function strcasecmp
382 (c-name "empathy_strcasecmp")
385 '("const-gchar*" "s1")
386 '("const-gchar*" "s2")
390 (define-function strncasecmp
391 (c-name "empathy_strncasecmp")
394 '("const-gchar*" "s1")
395 '("const-gchar*" "s2")
400 (define-function xml_validate
401 (c-name "empathy_xml_validate")
402 (return-type "gboolean")
405 '("const-gchar*" "dtd_filename")
409 (define-function xml_node_get_child
410 (c-name "empathy_xml_node_get_child")
411 (return-type "xmlNodePtr")
413 '("xmlNodePtr" "node")
414 '("const-gchar*" "child_name")
418 (define-function xml_node_get_child_content
419 (c-name "empathy_xml_node_get_child_content")
420 (return-type "xmlChar*")
422 '("xmlNodePtr" "node")
423 '("const-gchar*" "child_name")
427 (define-function xml_node_find_child_prop_value
428 (c-name "empathy_xml_node_find_child_prop_value")
429 (return-type "xmlNodePtr")
431 '("xmlNodePtr" "node")
432 '("const-gchar*" "prop_name")
433 '("const-gchar*" "prop_value")
437 (define-function account_hash
438 (c-name "empathy_account_hash")
439 (return-type "guint")
441 '("gconstpointer" "key")
445 (define-function account_equal
446 (c-name "empathy_account_equal")
447 (return-type "gboolean")
449 '("gconstpointer" "a")
450 '("gconstpointer" "b")
454 (define-function mission_control_new
455 (c-name "empathy_mission_control_new")
456 (is-constructor-of "EmpathyMissionControl")
457 (return-type "MissionControl*")
460 (define-function presence_get_default_message
461 (c-name "empathy_presence_get_default_message")
462 (return-type "const-gchar*")
464 '("McPresence" "presence")
468 (define-function presence_to_str
469 (c-name "empathy_presence_to_str")
470 (return-type "const-gchar*")
472 '("McPresence" "presence")
476 (define-function presence_from_str
477 (c-name "empathy_presence_from_str")
478 (return-type "McPresence")
480 '("const-gchar*" "str")
484 (define-function file_lookup
485 (c-name "empathy_file_lookup")
486 (return-type "gchar*")
488 '("const-gchar*" "filename")
489 '("const-gchar*" "subdir")
493 (define-function run_until_ready
494 (c-name "empathy_run_until_ready")
497 '("gpointer" "object")
501 (define-function run_until_ready_full
502 (c-name "empathy_run_until_ready_full")
505 '("gpointer" "object")
506 '("const-gchar*" "signal")
507 '("EmpathyRunUntilReadyFunc" "func")
508 '("gpointer" "user_data")
509 '("GMainLoop**" "loop")
513 (define-function channel_get_account
514 (c-name "empathy_channel_get_account")
515 (return-type "McAccount*")
517 '("TpChannel*" "channel")
521 (define-function connect_to_account_status_changed
522 (c-name "empathy_connect_to_account_status_changed")
523 (return-type "gpointer")
525 '("MissionControl*" "mc")
526 '("GCallback" "handler")
527 '("gpointer" "user_data")
528 '("GClosureNotify" "free_func")
532 (define-function disconnect_account_status_changed
533 (c-name "empathy_disconnect_account_status_changed")
536 '("gpointer" "token")
540 (define-function proxy_equal
541 (c-name "empathy_proxy_equal")
542 (return-type "gboolean")
544 '("gconstpointer" "a")
545 '("gconstpointer" "b")
549 (define-function proxy_hash
550 (c-name "empathy_proxy_hash")
551 (return-type "guint")
553 '("gconstpointer" "key")
559 ;; From empathy-message.h
561 (define-function message_get_type
562 (c-name "empathy_message_get_type")
563 (return-type "GType")
566 (define-function message_new
567 (c-name "empathy_message_new")
568 (is-constructor-of "EmpathyMessage")
569 (return-type "EmpathyMessage*")
571 '("const-gchar*" "body")
575 (define-method get_tptype
576 (of-object "EmpathyMessage")
577 (c-name "empathy_message_get_tptype")
578 (return-type "TpChannelTextMessageType")
581 (define-method set_tptype
582 (of-object "EmpathyMessage")
583 (c-name "empathy_message_set_tptype")
586 '("TpChannelTextMessageType" "type")
590 (define-method get_sender
591 (of-object "EmpathyMessage")
592 (c-name "empathy_message_get_sender")
593 (return-type "EmpathyContact*")
596 (define-method set_sender
597 (of-object "EmpathyMessage")
598 (c-name "empathy_message_set_sender")
601 '("EmpathyContact*" "contact")
605 (define-method get_receiver
606 (of-object "EmpathyMessage")
607 (c-name "empathy_message_get_receiver")
608 (return-type "EmpathyContact*")
611 (define-method set_receiver
612 (of-object "EmpathyMessage")
613 (c-name "empathy_message_set_receiver")
616 '("EmpathyContact*" "contact")
620 (define-method get_body
621 (of-object "EmpathyMessage")
622 (c-name "empathy_message_get_body")
623 (return-type "const-gchar*")
626 (define-method set_body
627 (of-object "EmpathyMessage")
628 (c-name "empathy_message_set_body")
631 '("const-gchar*" "body")
635 (define-method get_timestamp
636 (of-object "EmpathyMessage")
637 (c-name "empathy_message_get_timestamp")
638 (return-type "time_t")
641 (define-method set_timestamp
642 (of-object "EmpathyMessage")
643 (c-name "empathy_message_set_timestamp")
646 '("time_t" "timestamp")
650 (define-method get_date_and_time
651 (of-object "EmpathyMessage")
652 (c-name "empathy_message_get_date_and_time")
653 (return-type "GDate*")
655 '("time_t*" "timestamp")
659 (define-method should_highlight
660 (of-object "EmpathyMessage")
661 (c-name "empathy_message_should_highlight")
662 (return-type "gboolean")
665 (define-function message_type_from_str
666 (c-name "empathy_message_type_from_str")
667 (return-type "TpChannelTextMessageType")
669 '("const-gchar*" "type_str")
673 (define-function message_type_to_str
674 (c-name "empathy_message_type_to_str")
675 (return-type "const-gchar*")
677 '("TpChannelTextMessageType" "type")
683 ;; From empathy-chatroom-manager.h
685 (define-function chatroom_manager_get_type
686 (c-name "empathy_chatroom_manager_get_type")
687 (return-type "GType")
690 (define-function chatroom_manager_new
691 (c-name "empathy_chatroom_manager_new")
692 (is-constructor-of "EmpathyChatroomManager")
693 (return-type "EmpathyChatroomManager*")
697 (of-object "EmpathyChatroomManager")
698 (c-name "empathy_chatroom_manager_add")
699 (return-type "gboolean")
701 '("EmpathyChatroom*" "chatroom")
705 (define-method remove
706 (of-object "EmpathyChatroomManager")
707 (c-name "empathy_chatroom_manager_remove")
710 '("EmpathyChatroom*" "chatroom")
715 (of-object "EmpathyChatroomManager")
716 (c-name "empathy_chatroom_manager_find")
717 (return-type "EmpathyChatroom*")
719 '("McAccount*" "account")
720 '("const-gchar*" "room")
724 (define-method get_chatrooms
725 (of-object "EmpathyChatroomManager")
726 (c-name "empathy_chatroom_manager_get_chatrooms")
727 (return-type "GList*")
729 '("McAccount*" "account")
733 (define-method get_count
734 (of-object "EmpathyChatroomManager")
735 (c-name "empathy_chatroom_manager_get_count")
736 (return-type "guint")
738 '("McAccount*" "account")
743 (of-object "EmpathyChatroomManager")
744 (c-name "empathy_chatroom_manager_store")
750 ;; From empathy-chatroom.h
752 (define-function chatroom_get_type
753 (c-name "empathy_chatroom_get_type")
754 (return-type "GType")
757 (define-function chatroom_new
758 (c-name "empathy_chatroom_new")
759 (is-constructor-of "EmpathyChatroom")
760 (return-type "EmpathyChatroom*")
762 '("McAccount*" "account")
763 '("const-gchar*" "room")
767 (define-function chatroom_new_full
768 (c-name "empathy_chatroom_new_full")
769 (return-type "EmpathyChatroom*")
771 '("McAccount*" "account")
772 '("const-gchar*" "room")
773 '("const-gchar*" "name")
774 '("gboolean" "auto_connect")
778 (define-method get_account
779 (of-object "EmpathyChatroom")
780 (c-name "empathy_chatroom_get_account")
781 (return-type "McAccount*")
784 (define-method set_account
785 (of-object "EmpathyChatroom")
786 (c-name "empathy_chatroom_set_account")
789 '("McAccount*" "account")
793 (define-method get_room
794 (of-object "EmpathyChatroom")
795 (c-name "empathy_chatroom_get_room")
796 (return-type "const-gchar*")
799 (define-method set_room
800 (of-object "EmpathyChatroom")
801 (c-name "empathy_chatroom_set_room")
804 '("const-gchar*" "room")
808 (define-method get_name
809 (of-object "EmpathyChatroom")
810 (c-name "empathy_chatroom_get_name")
811 (return-type "const-gchar*")
814 (define-method set_name
815 (of-object "EmpathyChatroom")
816 (c-name "empathy_chatroom_set_name")
819 '("const-gchar*" "name")
823 (define-method get_auto_connect
824 (of-object "EmpathyChatroom")
825 (c-name "empathy_chatroom_get_auto_connect")
826 (return-type "gboolean")
829 (define-method set_auto_connect
830 (of-object "EmpathyChatroom")
831 (c-name "empathy_chatroom_set_auto_connect")
834 '("gboolean" "auto_connect")
838 (define-function chatroom_equal
839 (c-name "empathy_chatroom_equal")
840 (return-type "gboolean")
842 '("gconstpointer" "v1")
843 '("gconstpointer" "v2")
849 ;; From empathy-contact.h
851 (define-function contact_get_type
852 (c-name "empathy_contact_get_type")
853 (return-type "GType")
856 (define-function contact_new
857 (c-name "empathy_contact_new")
858 (is-constructor-of "EmpathyContact")
859 (return-type "EmpathyContact*")
861 '("McAccount*" "account")
865 (define-function contact_new_full
866 (c-name "empathy_contact_new_full")
867 (return-type "EmpathyContact*")
869 '("McAccount*" "account")
870 '("const-gchar*" "id")
871 '("const-gchar*" "name")
875 (define-method get_id
876 (of-object "EmpathyContact")
877 (c-name "empathy_contact_get_id")
878 (return-type "const-gchar*")
881 (define-method set_id
882 (of-object "EmpathyContact")
883 (c-name "empathy_contact_set_id")
886 '("const-gchar*" "id")
890 (define-method get_name
891 (of-object "EmpathyContact")
892 (c-name "empathy_contact_get_name")
893 (return-type "const-gchar*")
896 (define-method set_name
897 (of-object "EmpathyContact")
898 (c-name "empathy_contact_set_name")
901 '("const-gchar*" "name")
905 (define-method get_avatar
906 (of-object "EmpathyContact")
907 (c-name "empathy_contact_get_avatar")
908 (return-type "EmpathyAvatar*")
911 (define-method set_avatar
912 (of-object "EmpathyContact")
913 (c-name "empathy_contact_set_avatar")
916 '("EmpathyAvatar*" "avatar")
920 (define-method get_account
921 (of-object "EmpathyContact")
922 (c-name "empathy_contact_get_account")
923 (return-type "McAccount*")
926 (define-method set_account
927 (of-object "EmpathyContact")
928 (c-name "empathy_contact_set_account")
931 '("McAccount*" "account")
935 (define-method get_presence
936 (of-object "EmpathyContact")
937 (c-name "empathy_contact_get_presence")
938 (return-type "McPresence")
941 (define-method set_presence
942 (of-object "EmpathyContact")
943 (c-name "empathy_contact_set_presence")
946 '("McPresence" "presence")
950 (define-method get_presence_message
951 (of-object "EmpathyContact")
952 (c-name "empathy_contact_get_presence_message")
953 (return-type "const-gchar*")
956 (define-method set_presence_message
957 (of-object "EmpathyContact")
958 (c-name "empathy_contact_set_presence_message")
961 '("const-gchar*" "message")
965 (define-method get_handle
966 (of-object "EmpathyContact")
967 (c-name "empathy_contact_get_handle")
968 (return-type "guint")
971 (define-method set_handle
972 (of-object "EmpathyContact")
973 (c-name "empathy_contact_set_handle")
980 (define-method get_capabilities
981 (of-object "EmpathyContact")
982 (c-name "empathy_contact_get_capabilities")
983 (return-type "EmpathyCapabilities")
986 (define-method set_capabilities
987 (of-object "EmpathyContact")
988 (c-name "empathy_contact_set_capabilities")
991 '("EmpathyCapabilities" "capabilities")
995 (define-method get_ready
996 (of-object "EmpathyContact")
997 (c-name "empathy_contact_get_ready")
998 (return-type "EmpathyContactReady")
1001 (define-method is_user
1002 (of-object "EmpathyContact")
1003 (c-name "empathy_contact_is_user")
1004 (return-type "gboolean")
1007 (define-method set_is_user
1008 (of-object "EmpathyContact")
1009 (c-name "empathy_contact_set_is_user")
1010 (return-type "none")
1012 '("gboolean" "is_user")
1016 (define-method is_online
1017 (of-object "EmpathyContact")
1018 (c-name "empathy_contact_is_online")
1019 (return-type "gboolean")
1022 (define-method get_status
1023 (of-object "EmpathyContact")
1024 (c-name "empathy_contact_get_status")
1025 (return-type "const-gchar*")
1028 (define-method can_voip
1029 (of-object "EmpathyContact")
1030 (c-name "empathy_contact_can_voip")
1031 (return-type "gboolean")
1034 (define-function contact_equal
1035 (c-name "empathy_contact_equal")
1036 (return-type "gboolean")
1038 '("gconstpointer" "v1")
1039 '("gconstpointer" "v2")
1043 (define-function contact_hash
1044 (c-name "empathy_contact_hash")
1045 (return-type "guint")
1047 '("gconstpointer" "key")
1051 (define-method run_until_ready
1052 (of-object "EmpathyContact")
1053 (c-name "empathy_contact_run_until_ready")
1054 (return-type "none")
1056 '("EmpathyContactReady" "ready")
1057 '("GMainLoop**" "loop")
1061 (define-method load_avatar_data
1062 (of-object "EmpathyContact")
1063 (c-name "empathy_contact_load_avatar_data")
1064 (return-type "none")
1066 '("const-guchar*" "data")
1067 '("const-gsize" "len")
1068 '("const-gchar*" "format")
1069 '("const-gchar*" "token")
1073 (define-method load_avatar_cache
1074 (of-object "EmpathyContact")
1075 (c-name "empathy_contact_load_avatar_cache")
1076 (return-type "gboolean")
1078 '("const-gchar*" "token")
1082 (define-function avatar_get_type
1083 (c-name "empathy_avatar_get_type")
1084 (return-type "GType")
1087 (define-function avatar_new
1088 (c-name "empathy_avatar_new")
1089 (is-constructor-of "EmpathyAvatar")
1090 (return-type "EmpathyAvatar*")
1094 '("gchar*" "format")
1100 (of-object "EmpathyAvatar")
1101 (c-name "empathy_avatar_ref")
1102 (return-type "EmpathyAvatar*")
1105 (define-method unref
1106 (of-object "EmpathyAvatar")
1107 (c-name "empathy_avatar_unref")
1108 (return-type "none")
1111 (define-method save_to_file
1112 (of-object "EmpathyAvatar")
1113 (c-name "empathy_avatar_save_to_file")
1114 (return-type "gboolean")
1116 '("const-gchar*" "filename")
1117 '("GError**" "error")
1123 ;; From empathy-contact-groups.h
1125 (define-function contact_groups_get_all
1126 (c-name "empathy_contact_groups_get_all")
1127 (return-type "none")
1130 (define-function contact_group_get_expanded
1131 (c-name "empathy_contact_group_get_expanded")
1132 (return-type "gboolean")
1134 '("const-gchar*" "group")
1138 (define-function contact_group_set_expanded
1139 (c-name "empathy_contact_group_set_expanded")
1140 (return-type "none")
1142 '("const-gchar*" "group")
1143 '("gboolean" "expanded")
1149 ;; From empathy-contact-list.h
1151 (define-function contact_list_get_type
1152 (c-name "empathy_contact_list_get_type")
1153 (return-type "GType")
1157 (of-object "EmpathyContactList")
1158 (c-name "empathy_contact_list_add")
1159 (return-type "none")
1161 '("EmpathyContact*" "contact")
1162 '("const-gchar*" "message")
1166 (define-method remove
1167 (of-object "EmpathyContactList")
1168 (c-name "empathy_contact_list_remove")
1169 (return-type "none")
1171 '("EmpathyContact*" "contact")
1172 '("const-gchar*" "message")
1176 (define-method get_members
1177 (of-object "EmpathyContactList")
1178 (c-name "empathy_contact_list_get_members")
1179 (return-type "GList*")
1182 (define-method get_pendings
1183 (of-object "EmpathyContactList")
1184 (c-name "empathy_contact_list_get_pendings")
1185 (return-type "GList*")
1188 (define-method get_all_groups
1189 (of-object "EmpathyContactList")
1190 (c-name "empathy_contact_list_get_all_groups")
1191 (return-type "GList*")
1194 (define-method get_groups
1195 (of-object "EmpathyContactList")
1196 (c-name "empathy_contact_list_get_groups")
1197 (return-type "GList*")
1199 '("EmpathyContact*" "contact")
1203 (define-method add_to_group
1204 (of-object "EmpathyContactList")
1205 (c-name "empathy_contact_list_add_to_group")
1206 (return-type "none")
1208 '("EmpathyContact*" "contact")
1209 '("const-gchar*" "group")
1213 (define-method remove_from_group
1214 (of-object "EmpathyContactList")
1215 (c-name "empathy_contact_list_remove_from_group")
1216 (return-type "none")
1218 '("EmpathyContact*" "contact")
1219 '("const-gchar*" "group")
1223 (define-method rename_group
1224 (of-object "EmpathyContactList")
1225 (c-name "empathy_contact_list_rename_group")
1226 (return-type "none")
1228 '("const-gchar*" "old_group")
1229 '("const-gchar*" "new_group")
1233 (define-method remove_group
1234 (of-object "EmpathyContactList")
1235 (c-name "empathy_contact_list_remove_group")
1236 (return-type "none")
1238 '("const-gchar*" "group")
1244 ;; From empathy-contact-manager.h
1246 (define-function contact_manager_get_type
1247 (c-name "empathy_contact_manager_get_type")
1248 (return-type "GType")
1251 (define-function contact_manager_new
1252 (c-name "empathy_contact_manager_new")
1253 (is-constructor-of "EmpathyContactManager")
1254 (return-type "EmpathyContactManager*")
1257 (define-method get_list
1258 (of-object "EmpathyContactManager")
1259 (c-name "empathy_contact_manager_get_list")
1260 (return-type "EmpathyTpContactList*")
1262 '("McAccount*" "account")
1268 ;; From empathy-contact-factory.h
1270 (define-function contact_factory_get_type
1271 (c-name "empathy_contact_factory_get_type")
1272 (return-type "GType")
1275 (define-function contact_factory_new
1276 (c-name "empathy_contact_factory_new")
1277 (is-constructor-of "EmpathyContactFactory")
1278 (return-type "EmpathyContactFactory*")
1281 (define-method get_tp_factory
1282 (of-object "EmpathyContactFactory")
1283 (c-name "empathy_contact_factory_get_tp_factory")
1284 (return-type "EmpathyTpContactFactory*")
1286 '("McAccount*" "account")
1290 (define-method get_user
1291 (of-object "EmpathyContactFactory")
1292 (c-name "empathy_contact_factory_get_user")
1293 (return-type "EmpathyContact*")
1295 '("McAccount*" "account")
1299 (define-method get_from_id
1300 (of-object "EmpathyContactFactory")
1301 (c-name "empathy_contact_factory_get_from_id")
1302 (return-type "EmpathyContact*")
1304 '("McAccount*" "account")
1305 '("const-gchar*" "id")
1309 (define-method get_from_handle
1310 (of-object "EmpathyContactFactory")
1311 (c-name "empathy_contact_factory_get_from_handle")
1312 (return-type "EmpathyContact*")
1314 '("McAccount*" "account")
1319 (define-method get_from_handles
1320 (of-object "EmpathyContactFactory")
1321 (c-name "empathy_contact_factory_get_from_handles")
1322 (return-type "GList*")
1324 '("McAccount*" "account")
1325 '("const-GArray*" "handles")
1329 (define-method set_alias
1330 (of-object "EmpathyContactFactory")
1331 (c-name "empathy_contact_factory_set_alias")
1332 (return-type "none")
1334 '("EmpathyContact*" "contact")
1335 '("const-gchar*" "alias")
1339 (define-method set_avatar
1340 (of-object "EmpathyContactFactory")
1341 (c-name "empathy_contact_factory_set_avatar")
1342 (return-type "none")
1344 '("McAccount*" "account")
1345 '("const-gchar*" "data")
1347 '("const-gchar*" "mime_type")
1353 ;; From empathy-tp-contact-factory.h
1355 (define-function tp_contact_factory_get_type
1356 (c-name "empathy_tp_contact_factory_get_type")
1357 (return-type "GType")
1360 (define-function tp_contact_factory_new
1361 (c-name "empathy_tp_contact_factory_new")
1362 (is-constructor-of "EmpathyTpContactFactory")
1363 (return-type "EmpathyTpContactFactory*")
1365 '("McAccount*" "account")
1369 (define-method get_user
1370 (of-object "EmpathyTpContactFactory")
1371 (c-name "empathy_tp_contact_factory_get_user")
1372 (return-type "EmpathyContact*")
1375 (define-method get_from_id
1376 (of-object "EmpathyTpContactFactory")
1377 (c-name "empathy_tp_contact_factory_get_from_id")
1378 (return-type "EmpathyContact*")
1380 '("const-gchar*" "id")
1384 (define-method get_from_handle
1385 (of-object "EmpathyTpContactFactory")
1386 (c-name "empathy_tp_contact_factory_get_from_handle")
1387 (return-type "EmpathyContact*")
1393 (define-method get_from_handles
1394 (of-object "EmpathyTpContactFactory")
1395 (c-name "empathy_tp_contact_factory_get_from_handles")
1396 (return-type "GList*")
1398 '("const-GArray*" "handles")
1402 (define-method set_alias
1403 (of-object "EmpathyTpContactFactory")
1404 (c-name "empathy_tp_contact_factory_set_alias")
1405 (return-type "none")
1407 '("EmpathyContact*" "contact")
1408 '("const-gchar*" "alias")
1412 (define-method set_avatar
1413 (of-object "EmpathyTpContactFactory")
1414 (c-name "empathy_tp_contact_factory_set_avatar")
1415 (return-type "none")
1417 '("const-gchar*" "data")
1419 '("const-gchar*" "mime_type")
1423 (define-method is_ready
1424 (of-object "EmpathyTpContactFactory")
1425 (c-name "empathy_tp_contact_factory_is_ready")
1426 (return-type "gboolean")
1431 ;; From empathy-tp-group.h
1433 (define-function tp_group_get_type
1434 (c-name "empathy_tp_group_get_type")
1435 (return-type "GType")
1438 (define-function tp_group_new
1439 (c-name "empathy_tp_group_new")
1440 (is-constructor-of "EmpathyTpGroup")
1441 (return-type "EmpathyTpGroup*")
1443 '("TpChannel*" "channel")
1447 (define-method close
1448 (of-object "EmpathyTpGroup")
1449 (c-name "empathy_tp_group_close")
1450 (return-type "none")
1453 (define-method add_members
1454 (of-object "EmpathyTpGroup")
1455 (c-name "empathy_tp_group_add_members")
1456 (return-type "none")
1458 '("GList*" "contacts")
1459 '("const-gchar*" "message")
1463 (define-method add_member
1464 (of-object "EmpathyTpGroup")
1465 (c-name "empathy_tp_group_add_member")
1466 (return-type "none")
1468 '("EmpathyContact*" "contact")
1469 '("const-gchar*" "message")
1473 (define-method remove_members
1474 (of-object "EmpathyTpGroup")
1475 (c-name "empathy_tp_group_remove_members")
1476 (return-type "none")
1478 '("GList*" "contacts")
1479 '("const-gchar*" "message")
1483 (define-method remove_member
1484 (of-object "EmpathyTpGroup")
1485 (c-name "empathy_tp_group_remove_member")
1486 (return-type "none")
1488 '("EmpathyContact*" "contact")
1489 '("const-gchar*" "message")
1493 (define-method get_members
1494 (of-object "EmpathyTpGroup")
1495 (c-name "empathy_tp_group_get_members")
1496 (return-type "GList*")
1499 (define-method get_local_pendings
1500 (of-object "EmpathyTpGroup")
1501 (c-name "empathy_tp_group_get_local_pendings")
1502 (return-type "GList*")
1505 (define-method get_remote_pendings
1506 (of-object "EmpathyTpGroup")
1507 (c-name "empathy_tp_group_get_remote_pendings")
1508 (return-type "GList*")
1511 (define-method get_name
1512 (of-object "EmpathyTpGroup")
1513 (c-name "empathy_tp_group_get_name")
1514 (return-type "const-gchar*")
1517 (define-method get_self_contact
1518 (of-object "EmpathyTpGroup")
1519 (c-name "empathy_tp_group_get_self_contact")
1520 (return-type "EmpathyContact*")
1523 (define-method is_member
1524 (of-object "EmpathyTpGroup")
1525 (c-name "empathy_tp_group_is_member")
1526 (return-type "gboolean")
1528 '("EmpathyContact*" "contact")
1532 (define-method is_ready
1533 (of-object "EmpathyTpGroup")
1534 (c-name "empathy_tp_group_is_ready")
1535 (return-type "gboolean")
1538 (define-method get_invitation
1539 (of-object "EmpathyTpGroup")
1540 (c-name "empathy_tp_group_get_invitation")
1541 (return-type "EmpathyPendingInfo*")
1543 '("EmpathyContact**" "remote_contact")
1547 (define-function pending_info_new
1548 (c-name "empathy_pending_info_new")
1549 (is-constructor-of "EmpathyPendingInfo")
1550 (return-type "EmpathyPendingInfo*")
1552 '("EmpathyContact*" "member")
1553 '("EmpathyContact*" "actor")
1554 '("const-gchar*" "message")
1559 (of-object "EmpathyPendingInfo")
1560 (c-name "empathy_pending_info_free")
1561 (return-type "none")
1566 ;; From empathy-tp-contact-list.h
1568 (define-function tp_contact_list_get_type
1569 (c-name "empathy_tp_contact_list_get_type")
1570 (return-type "GType")
1573 (define-function tp_contact_list_new
1574 (c-name "empathy_tp_contact_list_new")
1575 (is-constructor-of "EmpathyTpContactList")
1576 (return-type "EmpathyTpContactList*")
1578 '("McAccount*" "account")
1582 (define-method get_account
1583 (of-object "EmpathyTpContactList")
1584 (c-name "empathy_tp_contact_list_get_account")
1585 (return-type "McAccount*")
1590 ;; From empathy-tp-chat.h
1592 (define-function tp_chat_get_type
1593 (c-name "empathy_tp_chat_get_type")
1594 (return-type "GType")
1597 (define-function tp_chat_new
1598 (c-name "empathy_tp_chat_new")
1599 (is-constructor-of "EmpathyTpChat")
1600 (return-type "EmpathyTpChat*")
1602 '("TpChannel*" "channel")
1606 (define-method get_id
1607 (of-object "EmpathyTpChat")
1608 (c-name "empathy_tp_chat_get_id")
1609 (return-type "const-gchar*")
1612 (define-method get_remote_contact
1613 (of-object "EmpathyTpChat")
1614 (c-name "empathy_tp_chat_get_remote_contact")
1615 (return-type "EmpathyContact*")
1618 (define-method get_account
1619 (of-object "EmpathyTpChat")
1620 (c-name "empathy_tp_chat_get_account")
1621 (return-type "McAccount*")
1624 (define-method get_channel
1625 (of-object "EmpathyTpChat")
1626 (c-name "empathy_tp_chat_get_channel")
1627 (return-type "TpChannel*")
1630 (define-method is_ready
1631 (of-object "EmpathyTpChat")
1632 (c-name "empathy_tp_chat_is_ready")
1633 (return-type "gboolean")
1636 (define-method get_members_count
1637 (of-object "EmpathyTpChat")
1638 (c-name "empathy_tp_chat_get_members_count")
1639 (return-type "guint")
1642 (define-method set_acknowledge
1643 (of-object "EmpathyTpChat")
1644 (c-name "empathy_tp_chat_set_acknowledge")
1645 (return-type "none")
1647 '("gboolean" "acknowledge")
1651 (define-method emit_pendings
1652 (of-object "EmpathyTpChat")
1653 (c-name "empathy_tp_chat_emit_pendings")
1654 (return-type "none")
1658 (of-object "EmpathyTpChat")
1659 (c-name "empathy_tp_chat_send")
1660 (return-type "none")
1662 '("EmpathyMessage*" "message")
1666 (define-method set_state
1667 (of-object "EmpathyTpChat")
1668 (c-name "empathy_tp_chat_set_state")
1669 (return-type "none")
1671 '("TpChannelChatState" "state")
1675 (define-method set_property
1676 (of-object "EmpathyTpChat")
1677 (c-name "empathy_tp_chat_set_property")
1678 (return-type "none")
1680 '("const-gchar*" "name")
1681 '("const-GValue*" "value")
1687 ;; From empathy-tp-roomlist.h
1689 (define-function tp_roomlist_get_type
1690 (c-name "empathy_tp_roomlist_get_type")
1691 (return-type "GType")
1694 (define-function tp_roomlist_new
1695 (c-name "empathy_tp_roomlist_new")
1696 (is-constructor-of "EmpathyTpRoomlist")
1697 (return-type "EmpathyTpRoomlist*")
1699 '("McAccount*" "account")
1703 (define-method is_listing
1704 (of-object "EmpathyTpRoomlist")
1705 (c-name "empathy_tp_roomlist_is_listing")
1706 (return-type "gboolean")
1709 (define-method start
1710 (of-object "EmpathyTpRoomlist")
1711 (c-name "empathy_tp_roomlist_start")
1712 (return-type "none")
1716 (of-object "EmpathyTpRoomlist")
1717 (c-name "empathy_tp_roomlist_stop")
1718 (return-type "none")
1723 ;; From empathy-tp-call.h
1725 (define-function tp_call_get_type
1726 (c-name "empathy_tp_call_get_type")
1727 (return-type "GType")
1730 (define-function tp_call_new
1731 (c-name "empathy_tp_call_new")
1732 (is-constructor-of "EmpathyTpCall")
1733 (return-type "EmpathyTpCall*")
1735 '("TpChannel*" "channel")
1739 (define-method accept_incoming_call
1740 (of-object "EmpathyTpCall")
1741 (c-name "empathy_tp_call_accept_incoming_call")
1742 (return-type "none")
1745 (define-method request_video_stream_direction
1746 (of-object "EmpathyTpCall")
1747 (c-name "empathy_tp_call_request_video_stream_direction")
1748 (return-type "none")
1750 '("gboolean" "is_sending")
1754 (define-method add_preview_video
1755 (of-object "EmpathyTpCall")
1756 (c-name "empathy_tp_call_add_preview_video")
1757 (return-type "none")
1759 '("guint" "preview_video_socket_id")
1763 (define-method remove_preview_video
1764 (of-object "EmpathyTpCall")
1765 (c-name "empathy_tp_call_remove_preview_video")
1766 (return-type "none")
1768 '("guint" "preview_video_socket_id")
1772 (define-method add_output_video
1773 (of-object "EmpathyTpCall")
1774 (c-name "empathy_tp_call_add_output_video")
1775 (return-type "none")
1777 '("guint" "output_video_socket_id")
1781 (define-method set_output_volume
1782 (of-object "EmpathyTpCall")
1783 (c-name "empathy_tp_call_set_output_volume")
1784 (return-type "none")
1790 (define-method mute_output
1791 (of-object "EmpathyTpCall")
1792 (c-name "empathy_tp_call_mute_output")
1793 (return-type "none")
1795 '("gboolean" "is_muted")
1799 (define-method mute_input
1800 (of-object "EmpathyTpCall")
1801 (c-name "empathy_tp_call_mute_input")
1802 (return-type "none")
1804 '("gboolean" "is_muted")
1808 (define-method start_tone
1809 (of-object "EmpathyTpCall")
1810 (c-name "empathy_tp_call_start_tone")
1811 (return-type "none")
1813 '("TpDTMFEvent" "event")
1817 (define-method stop_tone
1818 (of-object "EmpathyTpCall")
1819 (c-name "empathy_tp_call_stop_tone")
1820 (return-type "none")
1823 (define-method has_dtmf
1824 (of-object "EmpathyTpCall")
1825 (c-name "empathy_tp_call_has_dtmf")
1826 (return-type "gboolean")
1831 ;; From empathy-tp-tube.h
1833 (define-function tp_tube_get_type
1834 (c-name "empathy_tp_tube_get_type")
1835 (return-type "GType")
1838 (define-function tp_tube_new
1839 (c-name "empathy_tp_tube_new")
1840 (is-constructor-of "EmpathyTpTube")
1841 (return-type "EmpathyTpTube*")
1843 '("TpChannel*" "channel")
1844 '("guint" "tube_id")
1848 (define-function tp_tube_new_stream_tube
1849 (c-name "empathy_tp_tube_new_stream_tube")
1850 (return-type "EmpathyTpTube*")
1852 '("EmpathyContact*" "contact")
1853 '("TpSocketAddressType" "type")
1854 '("const-gchar*" "hostname")
1856 '("const-gchar*" "service")
1860 (define-method accept_stream_tube
1861 (of-object "EmpathyTpTube")
1862 (c-name "empathy_tp_tube_accept_stream_tube")
1863 (return-type "none")
1865 '("TpSocketAddressType" "type")
1869 (define-method get_socket
1870 (of-object "EmpathyTpTube")
1871 (c-name "empathy_tp_tube_get_socket")
1872 (return-type "none")
1874 '("gchar**" "hostname")
1881 ;; From empathy-idle.h
1883 (define-function idle_get_type
1884 (c-name "empathy_idle_get_type")
1885 (return-type "GType")
1888 (define-function idle_new
1889 (c-name "empathy_idle_new")
1890 (is-constructor-of "EmpathyIdle")
1891 (return-type "EmpathyIdle*")
1894 (define-method get_state
1895 (of-object "EmpathyIdle")
1896 (c-name "empathy_idle_get_state")
1897 (return-type "McPresence")
1900 (define-method set_state
1901 (of-object "EmpathyIdle")
1902 (c-name "empathy_idle_set_state")
1903 (return-type "none")
1905 '("McPresence" "state")
1909 (define-method get_status
1910 (of-object "EmpathyIdle")
1911 (c-name "empathy_idle_get_status")
1912 (return-type "const-gchar*")
1915 (define-method set_status
1916 (of-object "EmpathyIdle")
1917 (c-name "empathy_idle_set_status")
1918 (return-type "none")
1920 '("const-gchar*" "status")
1924 (define-method get_flash_state
1925 (of-object "EmpathyIdle")
1926 (c-name "empathy_idle_get_flash_state")
1927 (return-type "McPresence")
1930 (define-method set_flash_state
1931 (of-object "EmpathyIdle")
1932 (c-name "empathy_idle_set_flash_state")
1933 (return-type "none")
1935 '("McPresence" "state")
1939 (define-method set_presence
1940 (of-object "EmpathyIdle")
1941 (c-name "empathy_idle_set_presence")
1942 (return-type "none")
1944 '("McPresence" "state")
1945 '("const-gchar*" "status")
1949 (define-method get_auto_away
1950 (of-object "EmpathyIdle")
1951 (c-name "empathy_idle_get_auto_away")
1952 (return-type "gboolean")
1955 (define-method set_auto_away
1956 (of-object "EmpathyIdle")
1957 (c-name "empathy_idle_set_auto_away")
1958 (return-type "none")
1960 '("gboolean" "auto_away")
1964 (define-method get_use_nm
1965 (of-object "EmpathyIdle")
1966 (c-name "empathy_idle_get_use_nm")
1967 (return-type "gboolean")
1970 (define-method set_use_nm
1971 (of-object "EmpathyIdle")
1972 (c-name "empathy_idle_set_use_nm")
1973 (return-type "none")
1975 '("gboolean" "use_nm")
1981 ;; From empathy-log-manager.h
1983 (define-function log_manager_get_type
1984 (c-name "empathy_log_manager_get_type")
1985 (return-type "GType")
1988 (define-function log_manager_new
1989 (c-name "empathy_log_manager_new")
1990 (is-constructor-of "EmpathyLogManager")
1991 (return-type "EmpathyLogManager*")
1994 (define-method add_message
1995 (of-object "EmpathyLogManager")
1996 (c-name "empathy_log_manager_add_message")
1997 (return-type "none")
1999 '("const-gchar*" "chat_id")
2000 '("gboolean" "chatroom")
2001 '("EmpathyMessage*" "message")
2005 (define-method exists
2006 (of-object "EmpathyLogManager")
2007 (c-name "empathy_log_manager_exists")
2008 (return-type "gboolean")
2010 '("McAccount*" "account")
2011 '("const-gchar*" "chat_id")
2012 '("gboolean" "chatroom")
2016 (define-method get_dates
2017 (of-object "EmpathyLogManager")
2018 (c-name "empathy_log_manager_get_dates")
2019 (return-type "GList*")
2021 '("McAccount*" "account")
2022 '("const-gchar*" "chat_id")
2023 '("gboolean" "chatroom")
2027 (define-method get_messages_for_file
2028 (of-object "EmpathyLogManager")
2029 (c-name "empathy_log_manager_get_messages_for_file")
2030 (return-type "GList*")
2032 '("const-gchar*" "filename")
2036 (define-method get_messages_for_date
2037 (of-object "EmpathyLogManager")
2038 (c-name "empathy_log_manager_get_messages_for_date")
2039 (return-type "GList*")
2041 '("McAccount*" "account")
2042 '("const-gchar*" "chat_id")
2043 '("gboolean" "chatroom")
2044 '("const-gchar*" "date")
2048 (define-method get_last_messages
2049 (of-object "EmpathyLogManager")
2050 (c-name "empathy_log_manager_get_last_messages")
2051 (return-type "GList*")
2053 '("McAccount*" "account")
2054 '("const-gchar*" "chat_id")
2055 '("gboolean" "chatroom")
2059 (define-method get_messages_for_file
2060 (of-object "EmpathyLogManager")
2061 (c-name "empathy_log_manager_get_messages_for_file")
2062 (return-type "GList*")
2064 '("const-gchar*" "filename")
2068 (define-method get_chats
2069 (of-object "EmpathyLogManager")
2070 (c-name "empathy_log_manager_get_chats")
2071 (return-type "GList*")
2073 '("McAccount*" "account")
2077 (define-method search_new
2078 (of-object "EmpathyLogManager")
2079 (c-name "empathy_log_manager_search_new")
2080 (return-type "GList*")
2082 '("const-gchar*" "text")
2086 (define-function log_manager_search_free
2087 (c-name "empathy_log_manager_search_free")
2088 (return-type "none")
2094 (define-function log_manager_get_date_readable
2095 (c-name "empathy_log_manager_get_date_readable")
2096 (return-type "gchar*")
2098 '("const-gchar*" "date")
2104 ;; From empathy-irc-network-manager.h
2106 (define-function irc_network_manager_get_type
2107 (c-name "empathy_irc_network_manager_get_type")
2108 (return-type "GType")
2111 (define-function irc_network_manager_new
2112 (c-name "empathy_irc_network_manager_new")
2113 (is-constructor-of "EmpathyIrcNetworkManager")
2114 (return-type "EmpathyIrcNetworkManager*")
2116 '("const-gchar*" "global_file")
2117 '("const-gchar*" "user_file")
2122 (of-object "EmpathyIrcNetworkManager")
2123 (c-name "empathy_irc_network_manager_add")
2124 (return-type "none")
2126 '("EmpathyIrcNetwork*" "network")
2130 (define-method remove
2131 (of-object "EmpathyIrcNetworkManager")
2132 (c-name "empathy_irc_network_manager_remove")
2133 (return-type "none")
2135 '("EmpathyIrcNetwork*" "network")
2139 (define-method get_networks
2140 (of-object "EmpathyIrcNetworkManager")
2141 (c-name "empathy_irc_network_manager_get_networks")
2142 (return-type "GSList*")
2145 (define-method find_network_by_address
2146 (of-object "EmpathyIrcNetworkManager")
2147 (c-name "empathy_irc_network_manager_find_network_by_address")
2148 (return-type "EmpathyIrcNetwork*")
2150 '("const-gchar*" "address")
2156 ;; From empathy-irc-network.h
2158 (define-function irc_network_get_type
2159 (c-name "empathy_irc_network_get_type")
2160 (return-type "GType")
2163 (define-function irc_network_new
2164 (c-name "empathy_irc_network_new")
2165 (is-constructor-of "EmpathyIrcNetwork")
2166 (return-type "EmpathyIrcNetwork*")
2168 '("const-gchar*" "name")
2172 (define-method get_servers
2173 (of-object "EmpathyIrcNetwork")
2174 (c-name "empathy_irc_network_get_servers")
2175 (return-type "GSList*")
2178 (define-method append_server
2179 (of-object "EmpathyIrcNetwork")
2180 (c-name "empathy_irc_network_append_server")
2181 (return-type "none")
2183 '("EmpathyIrcServer*" "server")
2187 (define-method remove_server
2188 (of-object "EmpathyIrcNetwork")
2189 (c-name "empathy_irc_network_remove_server")
2190 (return-type "none")
2192 '("EmpathyIrcServer*" "server")
2196 (define-method set_server_position
2197 (of-object "EmpathyIrcNetwork")
2198 (c-name "empathy_irc_network_set_server_position")
2199 (return-type "none")
2201 '("EmpathyIrcServer*" "server")
2208 ;; From empathy-irc-server.h
2210 (define-function irc_server_get_type
2211 (c-name "empathy_irc_server_get_type")
2212 (return-type "GType")
2215 (define-function irc_server_new
2216 (c-name "empathy_irc_server_new")
2217 (is-constructor-of "EmpathyIrcServer")
2218 (return-type "EmpathyIrcServer*")
2220 '("const-gchar*" "address")
2228 ;; From empathy-tube-handler.h
2230 (define-function tube_handler_get_type
2231 (c-name "empathy_tube_handler_get_type")
2232 (return-type "GType")
2235 (define-function tube_handler_new
2236 (c-name "empathy_tube_handler_new")
2237 (is-constructor-of "EmpathyTubeHandler")
2238 (return-type "EmpathyTubeHandler*")
2240 '("TpTubeType" "type")
2241 '("const-gchar*" "service")
2245 (define-function tube_handler_build_bus_name
2246 (c-name "empathy_tube_handler_build_bus_name")
2247 (return-type "gchar*")
2249 '("TpTubeType" "type")
2250 '("const-gchar*" "service")
2254 (define-function tube_handler_build_object_path
2255 (c-name "empathy_tube_handler_build_object_path")
2256 (return-type "gchar*")
2258 '("TpTubeType" "type")
2259 '("const-gchar*" "service")
2265 ;; From empathy-dispatcher.h
2267 (define-function dispatcher_get_type
2268 (c-name "empathy_dispatcher_get_type")
2269 (return-type "GType")
2272 (define-function dispatcher_new
2273 (c-name "empathy_dispatcher_new")
2274 (is-constructor-of "EmpathyDispatcher")
2275 (return-type "EmpathyDispatcher*")
2278 (define-method channel_process
2279 (of-object "EmpathyDispatcher")
2280 (c-name "empathy_dispatcher_channel_process")
2281 (return-type "none")
2283 '("TpChannel*" "channel")
2287 (define-function dispatcher_tube_get_type
2288 (c-name "empathy_dispatcher_tube_get_type")
2289 (return-type "GType")
2293 (of-object "EmpathyDispatcherTube")
2294 (c-name "empathy_dispatcher_tube_ref")
2295 (return-type "EmpathyDispatcherTube*")
2298 (define-method unref
2299 (of-object "EmpathyDispatcherTube")
2300 (c-name "empathy_dispatcher_tube_unref")
2301 (return-type "none")
2304 (define-method tube_process
2305 (of-object "EmpathyDispatcher")
2306 (c-name "empathy_dispatcher_tube_process")
2307 (return-type "none")
2309 '("EmpathyDispatcherTube*" "tube")
2313 (define-function dispatcher_call_with_contact
2314 (c-name "empathy_dispatcher_call_with_contact")
2315 (return-type "none")
2317 '("EmpathyContact*" "contact")
2321 (define-function dispatcher_call_with_contact_id
2322 (c-name "empathy_dispatcher_call_with_contact_id")
2323 (return-type "none")
2325 '("McAccount*" "account")
2326 '("const-gchar*" "contact_id")
2330 (define-function dispatcher_chat_with_contact_id
2331 (c-name "empathy_dispatcher_chat_with_contact_id")
2332 (return-type "none")
2334 '("McAccount*" "account")
2335 '("const-gchar*" "contact_id")
2339 (define-function dispatcher_chat_with_contact
2340 (c-name "empathy_dispatcher_chat_with_contact")
2341 (return-type "none")
2343 '("EmpathyContact*" "contact")