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 empathy_time_get_current
223 (c-name "empathy_time_get_current")
224 (return-type "time_t")
227 (define-function empathy_time_get_local_time
228 (c-name "empathy_time_get_local_time")
229 (return-type "time_t")
235 (define-function empathy_time_parse
236 (c-name "empathy_time_parse")
237 (return-type "time_t")
239 '("const-gchar*" "str")
243 (define-function empathy_time_to_string_utc
244 (c-name "empathy_time_to_string_utc")
245 (return-type "gchar*")
248 '("const-gchar*" "format")
252 (define-function empathy_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 empathy_status_presets_get_all
266 (c-name "empathy_status_presets_get_all")
270 (define-function empathy_status_presets_get
271 (c-name "empathy_status_presets_get")
272 (return-type "GList*")
274 '("McPresence" "state")
275 '("gint" "max_number")
279 (define-function empathy_status_presets_set_last
280 (c-name "empathy_status_presets_set_last")
283 '("McPresence" "state")
284 '("const-gchar*" "status")
288 (define-function empathy_status_presets_remove
289 (c-name "empathy_status_presets_remove")
292 '("McPresence" "state")
293 '("const-gchar*" "status")
297 (define-function empathy_status_presets_reset
298 (c-name "empathy_status_presets_reset")
302 (define-function empathy_status_presets_get_default_state
303 (c-name "empathy_status_presets_get_default_state")
304 (return-type "McPresence")
307 (define-function empathy_status_presets_get_default_status
308 (c-name "empathy_status_presets_get_default_status")
309 (return-type "const-gchar*")
312 (define-function empathy_status_presets_set_default
313 (c-name "empathy_status_presets_set_default")
316 '("McPresence" "state")
317 '("const-gchar*" "status")
321 (define-function empathy_status_presets_clear_default
322 (c-name "empathy_status_presets_clear_default")
328 ;; From empathy-debug.h
330 (define-function empathy_debug_flag_is_set
331 (c-name "empathy_debug_flag_is_set")
332 (return-type "gboolean")
334 '("EmpathyDebugFlags" "flag")
338 (define-function empathy_debug
339 (c-name "empathy_debug")
342 '("EmpathyDebugFlags" "flag")
343 '("const-gchar*" "format")
348 (define-function empathy_debug_set_flags
349 (c-name "empathy_debug_set_flags")
352 '("const-gchar*" "flags_string")
358 ;; From empathy-utils.h
360 (define-function empathy_substring
361 (c-name "empathy_substring")
362 (return-type "gchar*")
364 '("const-gchar*" "str")
370 (define-function empathy_regex_match
371 (c-name "empathy_regex_match")
374 '("EmpathyRegExType" "type")
375 '("const-gchar*" "msg")
381 (define-function empathy_strcasecmp
382 (c-name "empathy_strcasecmp")
385 '("const-gchar*" "s1")
386 '("const-gchar*" "s2")
390 (define-function empathy_strncasecmp
391 (c-name "empathy_strncasecmp")
394 '("const-gchar*" "s1")
395 '("const-gchar*" "s2")
400 (define-function empathy_xml_validate
401 (c-name "empathy_xml_validate")
402 (return-type "gboolean")
405 '("const-gchar*" "dtd_filename")
409 (define-function empathy_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 empathy_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 empathy_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 empathy_account_hash
438 (c-name "empathy_account_hash")
439 (return-type "guint")
441 '("gconstpointer" "key")
445 (define-function empathy_account_equal
446 (c-name "empathy_account_equal")
447 (return-type "gboolean")
449 '("gconstpointer" "a")
450 '("gconstpointer" "b")
454 (define-function empathy_mission_control_new
455 (c-name "empathy_mission_control_new")
456 (is-constructor-of "EmpathyMissionControl")
457 (return-type "MissionControl*")
460 (define-function empathy_presence_get_default_message
461 (c-name "empathy_presence_get_default_message")
462 (return-type "const-gchar*")
464 '("McPresence" "presence")
468 (define-function empathy_presence_to_str
469 (c-name "empathy_presence_to_str")
470 (return-type "const-gchar*")
472 '("McPresence" "presence")
476 (define-function empathy_presence_from_str
477 (c-name "empathy_presence_from_str")
478 (return-type "McPresence")
480 '("const-gchar*" "str")
484 (define-function empathy_file_lookup
485 (c-name "empathy_file_lookup")
486 (return-type "gchar*")
488 '("const-gchar*" "filename")
489 '("const-gchar*" "subdir")
493 (define-function empathy_run_until_ready
494 (c-name "empathy_run_until_ready")
497 '("gpointer" "object")
501 (define-function empathy_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 empathy_channel_get_account
514 (c-name "empathy_channel_get_account")
515 (return-type "McAccount*")
517 '("TpChannel*" "channel")
521 (define-function empathy_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 empathy_disconnect_account_status_changed
533 (c-name "empathy_disconnect_account_status_changed")
536 '("gpointer" "token")
540 (define-function empathy_proxy_equal
541 (c-name "empathy_proxy_equal")
542 (return-type "gboolean")
544 '("gconstpointer" "a")
545 '("gconstpointer" "b")
549 (define-function empathy_proxy_hash
550 (c-name "empathy_proxy_hash")
551 (return-type "guint")
553 '("gconstpointer" "key")
559 ;; From empathy-message.h
561 (define-function empathy_message_get_type
562 (c-name "empathy_message_get_type")
563 (return-type "GType")
566 (define-function empathy_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 empathy_message_type_from_str
666 (c-name "empathy_message_type_from_str")
667 (return-type "TpChannelTextMessageType")
669 '("const-gchar*" "type_str")
673 (define-function empathy_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 empathy_chatroom_manager_get_type
686 (c-name "empathy_chatroom_manager_get_type")
687 (return-type "GType")
690 (define-function empathy_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 empathy_chatroom_get_type
753 (c-name "empathy_chatroom_get_type")
754 (return-type "GType")
757 (define-function empathy_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 empathy_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 empathy_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 empathy_contact_get_type
852 (c-name "empathy_contact_get_type")
853 (return-type "GType")
856 (define-function empathy_contact_new
857 (c-name "empathy_contact_new")
858 (is-constructor-of "EmpathyContact")
859 (return-type "EmpathyContact*")
861 '("McAccount*" "account")
865 (define-function empathy_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 empathy_contact_equal
1035 (c-name "empathy_contact_equal")
1036 (return-type "gboolean")
1038 '("gconstpointer" "v1")
1039 '("gconstpointer" "v2")
1043 (define-function empathy_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 empathy_avatar_get_type
1083 (c-name "empathy_avatar_get_type")
1084 (return-type "GType")
1087 (define-function empathy_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")
1113 ;; From empathy-contact-groups.h
1115 (define-function empathy_contact_groups_get_all
1116 (c-name "empathy_contact_groups_get_all")
1117 (return-type "none")
1120 (define-function empathy_contact_group_get_expanded
1121 (c-name "empathy_contact_group_get_expanded")
1122 (return-type "gboolean")
1124 '("const-gchar*" "group")
1128 (define-function empathy_contact_group_set_expanded
1129 (c-name "empathy_contact_group_set_expanded")
1130 (return-type "none")
1132 '("const-gchar*" "group")
1133 '("gboolean" "expanded")
1139 ;; From empathy-contact-list.h
1141 (define-function empathy_contact_list_get_type
1142 (c-name "empathy_contact_list_get_type")
1143 (return-type "GType")
1147 (of-object "EmpathyContactList")
1148 (c-name "empathy_contact_list_add")
1149 (return-type "none")
1151 '("EmpathyContact*" "contact")
1152 '("const-gchar*" "message")
1156 (define-method remove
1157 (of-object "EmpathyContactList")
1158 (c-name "empathy_contact_list_remove")
1159 (return-type "none")
1161 '("EmpathyContact*" "contact")
1162 '("const-gchar*" "message")
1166 (define-method get_members
1167 (of-object "EmpathyContactList")
1168 (c-name "empathy_contact_list_get_members")
1169 (return-type "GList*")
1172 (define-method get_pendings
1173 (of-object "EmpathyContactList")
1174 (c-name "empathy_contact_list_get_pendings")
1175 (return-type "GList*")
1178 (define-method get_all_groups
1179 (of-object "EmpathyContactList")
1180 (c-name "empathy_contact_list_get_all_groups")
1181 (return-type "GList*")
1184 (define-method get_groups
1185 (of-object "EmpathyContactList")
1186 (c-name "empathy_contact_list_get_groups")
1187 (return-type "GList*")
1189 '("EmpathyContact*" "contact")
1193 (define-method add_to_group
1194 (of-object "EmpathyContactList")
1195 (c-name "empathy_contact_list_add_to_group")
1196 (return-type "none")
1198 '("EmpathyContact*" "contact")
1199 '("const-gchar*" "group")
1203 (define-method remove_from_group
1204 (of-object "EmpathyContactList")
1205 (c-name "empathy_contact_list_remove_from_group")
1206 (return-type "none")
1208 '("EmpathyContact*" "contact")
1209 '("const-gchar*" "group")
1213 (define-method rename_group
1214 (of-object "EmpathyContactList")
1215 (c-name "empathy_contact_list_rename_group")
1216 (return-type "none")
1218 '("const-gchar*" "old_group")
1219 '("const-gchar*" "new_group")
1223 (define-method remove_group
1224 (of-object "EmpathyContactList")
1225 (c-name "empathy_contact_list_remove_group")
1226 (return-type "none")
1228 '("const-gchar*" "group")
1234 ;; From empathy-contact-manager.h
1236 (define-function empathy_contact_manager_get_type
1237 (c-name "empathy_contact_manager_get_type")
1238 (return-type "GType")
1241 (define-function empathy_contact_manager_new
1242 (c-name "empathy_contact_manager_new")
1243 (is-constructor-of "EmpathyContactManager")
1244 (return-type "EmpathyContactManager*")
1247 (define-method get_list
1248 (of-object "EmpathyContactManager")
1249 (c-name "empathy_contact_manager_get_list")
1250 (return-type "EmpathyTpContactList*")
1252 '("McAccount*" "account")
1258 ;; From empathy-contact-factory.h
1260 (define-function empathy_contact_factory_get_type
1261 (c-name "empathy_contact_factory_get_type")
1262 (return-type "GType")
1265 (define-function empathy_contact_factory_new
1266 (c-name "empathy_contact_factory_new")
1267 (is-constructor-of "EmpathyContactFactory")
1268 (return-type "EmpathyContactFactory*")
1271 (define-method get_tp_factory
1272 (of-object "EmpathyContactFactory")
1273 (c-name "empathy_contact_factory_get_tp_factory")
1274 (return-type "EmpathyTpContactFactory*")
1276 '("McAccount*" "account")
1280 (define-method get_user
1281 (of-object "EmpathyContactFactory")
1282 (c-name "empathy_contact_factory_get_user")
1283 (return-type "EmpathyContact*")
1285 '("McAccount*" "account")
1289 (define-method get_from_id
1290 (of-object "EmpathyContactFactory")
1291 (c-name "empathy_contact_factory_get_from_id")
1292 (return-type "EmpathyContact*")
1294 '("McAccount*" "account")
1295 '("const-gchar*" "id")
1299 (define-method get_from_handle
1300 (of-object "EmpathyContactFactory")
1301 (c-name "empathy_contact_factory_get_from_handle")
1302 (return-type "EmpathyContact*")
1304 '("McAccount*" "account")
1309 (define-method get_from_handles
1310 (of-object "EmpathyContactFactory")
1311 (c-name "empathy_contact_factory_get_from_handles")
1312 (return-type "GList*")
1314 '("McAccount*" "account")
1315 '("const-GArray*" "handles")
1319 (define-method set_alias
1320 (of-object "EmpathyContactFactory")
1321 (c-name "empathy_contact_factory_set_alias")
1322 (return-type "none")
1324 '("EmpathyContact*" "contact")
1325 '("const-gchar*" "alias")
1329 (define-method set_avatar
1330 (of-object "EmpathyContactFactory")
1331 (c-name "empathy_contact_factory_set_avatar")
1332 (return-type "none")
1334 '("McAccount*" "account")
1335 '("const-gchar*" "data")
1337 '("const-gchar*" "mime_type")
1343 ;; From empathy-tp-contact-factory.h
1345 (define-function empathy_tp_contact_factory_get_type
1346 (c-name "empathy_tp_contact_factory_get_type")
1347 (return-type "GType")
1350 (define-function empathy_tp_contact_factory_new
1351 (c-name "empathy_tp_contact_factory_new")
1352 (is-constructor-of "EmpathyTpContactFactory")
1353 (return-type "EmpathyTpContactFactory*")
1355 '("McAccount*" "account")
1359 (define-method get_user
1360 (of-object "EmpathyTpContactFactory")
1361 (c-name "empathy_tp_contact_factory_get_user")
1362 (return-type "EmpathyContact*")
1365 (define-method get_from_id
1366 (of-object "EmpathyTpContactFactory")
1367 (c-name "empathy_tp_contact_factory_get_from_id")
1368 (return-type "EmpathyContact*")
1370 '("const-gchar*" "id")
1374 (define-method get_from_handle
1375 (of-object "EmpathyTpContactFactory")
1376 (c-name "empathy_tp_contact_factory_get_from_handle")
1377 (return-type "EmpathyContact*")
1383 (define-method get_from_handles
1384 (of-object "EmpathyTpContactFactory")
1385 (c-name "empathy_tp_contact_factory_get_from_handles")
1386 (return-type "GList*")
1388 '("const-GArray*" "handles")
1392 (define-method set_alias
1393 (of-object "EmpathyTpContactFactory")
1394 (c-name "empathy_tp_contact_factory_set_alias")
1395 (return-type "none")
1397 '("EmpathyContact*" "contact")
1398 '("const-gchar*" "alias")
1402 (define-method set_avatar
1403 (of-object "EmpathyTpContactFactory")
1404 (c-name "empathy_tp_contact_factory_set_avatar")
1405 (return-type "none")
1407 '("const-gchar*" "data")
1409 '("const-gchar*" "mime_type")
1413 (define-method is_ready
1414 (of-object "EmpathyTpContactFactory")
1415 (c-name "empathy_tp_contact_factory_is_ready")
1416 (return-type "gboolean")
1421 ;; From empathy-tp-group.h
1423 (define-function empathy_tp_group_get_type
1424 (c-name "empathy_tp_group_get_type")
1425 (return-type "GType")
1428 (define-function empathy_tp_group_new
1429 (c-name "empathy_tp_group_new")
1430 (is-constructor-of "EmpathyTpGroup")
1431 (return-type "EmpathyTpGroup*")
1433 '("TpChannel*" "channel")
1437 (define-method close
1438 (of-object "EmpathyTpGroup")
1439 (c-name "empathy_tp_group_close")
1440 (return-type "none")
1443 (define-method add_members
1444 (of-object "EmpathyTpGroup")
1445 (c-name "empathy_tp_group_add_members")
1446 (return-type "none")
1448 '("GList*" "contacts")
1449 '("const-gchar*" "message")
1453 (define-method add_member
1454 (of-object "EmpathyTpGroup")
1455 (c-name "empathy_tp_group_add_member")
1456 (return-type "none")
1458 '("EmpathyContact*" "contact")
1459 '("const-gchar*" "message")
1463 (define-method remove_members
1464 (of-object "EmpathyTpGroup")
1465 (c-name "empathy_tp_group_remove_members")
1466 (return-type "none")
1468 '("GList*" "contacts")
1469 '("const-gchar*" "message")
1473 (define-method remove_member
1474 (of-object "EmpathyTpGroup")
1475 (c-name "empathy_tp_group_remove_member")
1476 (return-type "none")
1478 '("EmpathyContact*" "contact")
1479 '("const-gchar*" "message")
1483 (define-method get_members
1484 (of-object "EmpathyTpGroup")
1485 (c-name "empathy_tp_group_get_members")
1486 (return-type "GList*")
1489 (define-method get_local_pendings
1490 (of-object "EmpathyTpGroup")
1491 (c-name "empathy_tp_group_get_local_pendings")
1492 (return-type "GList*")
1495 (define-method get_remote_pendings
1496 (of-object "EmpathyTpGroup")
1497 (c-name "empathy_tp_group_get_remote_pendings")
1498 (return-type "GList*")
1501 (define-method get_name
1502 (of-object "EmpathyTpGroup")
1503 (c-name "empathy_tp_group_get_name")
1504 (return-type "const-gchar*")
1507 (define-method get_self_contact
1508 (of-object "EmpathyTpGroup")
1509 (c-name "empathy_tp_group_get_self_contact")
1510 (return-type "EmpathyContact*")
1513 (define-method is_member
1514 (of-object "EmpathyTpGroup")
1515 (c-name "empathy_tp_group_is_member")
1516 (return-type "gboolean")
1518 '("EmpathyContact*" "contact")
1522 (define-method is_ready
1523 (of-object "EmpathyTpGroup")
1524 (c-name "empathy_tp_group_is_ready")
1525 (return-type "gboolean")
1528 (define-method get_invitation
1529 (of-object "EmpathyTpGroup")
1530 (c-name "empathy_tp_group_get_invitation")
1531 (return-type "EmpathyPendingInfo*")
1533 '("EmpathyContact**" "remote_contact")
1537 (define-function empathy_pending_info_new
1538 (c-name "empathy_pending_info_new")
1539 (is-constructor-of "EmpathyPendingInfo")
1540 (return-type "EmpathyPendingInfo*")
1542 '("EmpathyContact*" "member")
1543 '("EmpathyContact*" "actor")
1544 '("const-gchar*" "message")
1549 (of-object "EmpathyPendingInfo")
1550 (c-name "empathy_pending_info_free")
1551 (return-type "none")
1556 ;; From empathy-tp-contact-list.h
1558 (define-function empathy_tp_contact_list_get_type
1559 (c-name "empathy_tp_contact_list_get_type")
1560 (return-type "GType")
1563 (define-function empathy_tp_contact_list_new
1564 (c-name "empathy_tp_contact_list_new")
1565 (is-constructor-of "EmpathyTpContactList")
1566 (return-type "EmpathyTpContactList*")
1568 '("McAccount*" "account")
1572 (define-method get_account
1573 (of-object "EmpathyTpContactList")
1574 (c-name "empathy_tp_contact_list_get_account")
1575 (return-type "McAccount*")
1580 ;; From empathy-tp-chat.h
1582 (define-function empathy_tp_chat_get_type
1583 (c-name "empathy_tp_chat_get_type")
1584 (return-type "GType")
1587 (define-function empathy_tp_chat_new
1588 (c-name "empathy_tp_chat_new")
1589 (is-constructor-of "EmpathyTpChat")
1590 (return-type "EmpathyTpChat*")
1592 '("TpChannel*" "channel")
1596 (define-method get_id
1597 (of-object "EmpathyTpChat")
1598 (c-name "empathy_tp_chat_get_id")
1599 (return-type "const-gchar*")
1602 (define-method get_remote_contact
1603 (of-object "EmpathyTpChat")
1604 (c-name "empathy_tp_chat_get_remote_contact")
1605 (return-type "EmpathyContact*")
1608 (define-method get_account
1609 (of-object "EmpathyTpChat")
1610 (c-name "empathy_tp_chat_get_account")
1611 (return-type "McAccount*")
1614 (define-method get_channel
1615 (of-object "EmpathyTpChat")
1616 (c-name "empathy_tp_chat_get_channel")
1617 (return-type "TpChannel*")
1620 (define-method is_ready
1621 (of-object "EmpathyTpChat")
1622 (c-name "empathy_tp_chat_is_ready")
1623 (return-type "gboolean")
1626 (define-method get_members_count
1627 (of-object "EmpathyTpChat")
1628 (c-name "empathy_tp_chat_get_members_count")
1629 (return-type "guint")
1632 (define-method set_acknowledge
1633 (of-object "EmpathyTpChat")
1634 (c-name "empathy_tp_chat_set_acknowledge")
1635 (return-type "none")
1637 '("gboolean" "acknowledge")
1641 (define-method emit_pendings
1642 (of-object "EmpathyTpChat")
1643 (c-name "empathy_tp_chat_emit_pendings")
1644 (return-type "none")
1648 (of-object "EmpathyTpChat")
1649 (c-name "empathy_tp_chat_send")
1650 (return-type "none")
1652 '("EmpathyMessage*" "message")
1656 (define-method set_state
1657 (of-object "EmpathyTpChat")
1658 (c-name "empathy_tp_chat_set_state")
1659 (return-type "none")
1661 '("TpChannelChatState" "state")
1665 (define-method set_property
1666 (of-object "EmpathyTpChat")
1667 (c-name "empathy_tp_chat_set_property")
1668 (return-type "none")
1670 '("const-gchar*" "name")
1671 '("const-GValue*" "value")
1677 ;; From empathy-tp-roomlist.h
1679 (define-function empathy_tp_roomlist_get_type
1680 (c-name "empathy_tp_roomlist_get_type")
1681 (return-type "GType")
1684 (define-function empathy_tp_roomlist_new
1685 (c-name "empathy_tp_roomlist_new")
1686 (is-constructor-of "EmpathyTpRoomlist")
1687 (return-type "EmpathyTpRoomlist*")
1689 '("McAccount*" "account")
1693 (define-method is_listing
1694 (of-object "EmpathyTpRoomlist")
1695 (c-name "empathy_tp_roomlist_is_listing")
1696 (return-type "gboolean")
1699 (define-method start
1700 (of-object "EmpathyTpRoomlist")
1701 (c-name "empathy_tp_roomlist_start")
1702 (return-type "none")
1706 (of-object "EmpathyTpRoomlist")
1707 (c-name "empathy_tp_roomlist_stop")
1708 (return-type "none")
1713 ;; From empathy-tp-call.h
1715 (define-function empathy_tp_call_get_type
1716 (c-name "empathy_tp_call_get_type")
1717 (return-type "GType")
1720 (define-function empathy_tp_call_new
1721 (c-name "empathy_tp_call_new")
1722 (is-constructor-of "EmpathyTpCall")
1723 (return-type "EmpathyTpCall*")
1725 '("TpChannel*" "channel")
1729 (define-method accept_incoming_call
1730 (of-object "EmpathyTpCall")
1731 (c-name "empathy_tp_call_accept_incoming_call")
1732 (return-type "none")
1735 (define-method request_video_stream_direction
1736 (of-object "EmpathyTpCall")
1737 (c-name "empathy_tp_call_request_video_stream_direction")
1738 (return-type "none")
1740 '("gboolean" "is_sending")
1744 (define-method add_preview_video
1745 (of-object "EmpathyTpCall")
1746 (c-name "empathy_tp_call_add_preview_video")
1747 (return-type "none")
1749 '("guint" "preview_video_socket_id")
1753 (define-method remove_preview_video
1754 (of-object "EmpathyTpCall")
1755 (c-name "empathy_tp_call_remove_preview_video")
1756 (return-type "none")
1758 '("guint" "preview_video_socket_id")
1762 (define-method add_output_video
1763 (of-object "EmpathyTpCall")
1764 (c-name "empathy_tp_call_add_output_video")
1765 (return-type "none")
1767 '("guint" "output_video_socket_id")
1771 (define-method set_output_volume
1772 (of-object "EmpathyTpCall")
1773 (c-name "empathy_tp_call_set_output_volume")
1774 (return-type "none")
1780 (define-method mute_output
1781 (of-object "EmpathyTpCall")
1782 (c-name "empathy_tp_call_mute_output")
1783 (return-type "none")
1785 '("gboolean" "is_muted")
1789 (define-method mute_input
1790 (of-object "EmpathyTpCall")
1791 (c-name "empathy_tp_call_mute_input")
1792 (return-type "none")
1794 '("gboolean" "is_muted")
1798 (define-method start_tone
1799 (of-object "EmpathyTpCall")
1800 (c-name "empathy_tp_call_start_tone")
1801 (return-type "none")
1803 '("TpDTMFEvent" "event")
1807 (define-method stop_tone
1808 (of-object "EmpathyTpCall")
1809 (c-name "empathy_tp_call_stop_tone")
1810 (return-type "none")
1815 ;; From empathy-tp-tube.h
1817 (define-function empathy_tp_tube_get_type
1818 (c-name "empathy_tp_tube_get_type")
1819 (return-type "GType")
1822 (define-function empathy_tp_tube_new
1823 (c-name "empathy_tp_tube_new")
1824 (is-constructor-of "EmpathyTpTube")
1825 (return-type "EmpathyTpTube*")
1827 '("TpChannel*" "channel")
1828 '("guint" "tube_id")
1832 (define-function empathy_tp_tube_new_stream_tube
1833 (c-name "empathy_tp_tube_new_stream_tube")
1834 (return-type "EmpathyTpTube*")
1836 '("EmpathyContact*" "contact")
1837 '("TpSocketAddressType" "type")
1838 '("const-gchar*" "hostname")
1840 '("const-gchar*" "service")
1844 (define-method accept_stream_tube
1845 (of-object "EmpathyTpTube")
1846 (c-name "empathy_tp_tube_accept_stream_tube")
1847 (return-type "none")
1849 '("TpSocketAddressType" "type")
1853 (define-method get_socket
1854 (of-object "EmpathyTpTube")
1855 (c-name "empathy_tp_tube_get_socket")
1856 (return-type "none")
1858 '("gchar**" "hostname")
1865 ;; From empathy-idle.h
1867 (define-function empathy_idle_get_type
1868 (c-name "empathy_idle_get_type")
1869 (return-type "GType")
1872 (define-function empathy_idle_new
1873 (c-name "empathy_idle_new")
1874 (is-constructor-of "EmpathyIdle")
1875 (return-type "EmpathyIdle*")
1878 (define-method get_state
1879 (of-object "EmpathyIdle")
1880 (c-name "empathy_idle_get_state")
1881 (return-type "McPresence")
1884 (define-method set_state
1885 (of-object "EmpathyIdle")
1886 (c-name "empathy_idle_set_state")
1887 (return-type "none")
1889 '("McPresence" "state")
1893 (define-method get_status
1894 (of-object "EmpathyIdle")
1895 (c-name "empathy_idle_get_status")
1896 (return-type "const-gchar*")
1899 (define-method set_status
1900 (of-object "EmpathyIdle")
1901 (c-name "empathy_idle_set_status")
1902 (return-type "none")
1904 '("const-gchar*" "status")
1908 (define-method get_flash_state
1909 (of-object "EmpathyIdle")
1910 (c-name "empathy_idle_get_flash_state")
1911 (return-type "McPresence")
1914 (define-method set_flash_state
1915 (of-object "EmpathyIdle")
1916 (c-name "empathy_idle_set_flash_state")
1917 (return-type "none")
1919 '("McPresence" "state")
1923 (define-method set_presence
1924 (of-object "EmpathyIdle")
1925 (c-name "empathy_idle_set_presence")
1926 (return-type "none")
1928 '("McPresence" "state")
1929 '("const-gchar*" "status")
1933 (define-method get_auto_away
1934 (of-object "EmpathyIdle")
1935 (c-name "empathy_idle_get_auto_away")
1936 (return-type "gboolean")
1939 (define-method set_auto_away
1940 (of-object "EmpathyIdle")
1941 (c-name "empathy_idle_set_auto_away")
1942 (return-type "none")
1944 '("gboolean" "auto_away")
1948 (define-method get_use_nm
1949 (of-object "EmpathyIdle")
1950 (c-name "empathy_idle_get_use_nm")
1951 (return-type "gboolean")
1954 (define-method set_use_nm
1955 (of-object "EmpathyIdle")
1956 (c-name "empathy_idle_set_use_nm")
1957 (return-type "none")
1959 '("gboolean" "use_nm")
1965 ;; From empathy-log-manager.h
1967 (define-function empathy_log_manager_get_type
1968 (c-name "empathy_log_manager_get_type")
1969 (return-type "GType")
1972 (define-function empathy_log_manager_new
1973 (c-name "empathy_log_manager_new")
1974 (is-constructor-of "EmpathyLogManager")
1975 (return-type "EmpathyLogManager*")
1978 (define-method add_message
1979 (of-object "EmpathyLogManager")
1980 (c-name "empathy_log_manager_add_message")
1981 (return-type "none")
1983 '("const-gchar*" "chat_id")
1984 '("gboolean" "chatroom")
1985 '("EmpathyMessage*" "message")
1989 (define-method exists
1990 (of-object "EmpathyLogManager")
1991 (c-name "empathy_log_manager_exists")
1992 (return-type "gboolean")
1994 '("McAccount*" "account")
1995 '("const-gchar*" "chat_id")
1996 '("gboolean" "chatroom")
2000 (define-method get_dates
2001 (of-object "EmpathyLogManager")
2002 (c-name "empathy_log_manager_get_dates")
2003 (return-type "GList*")
2005 '("McAccount*" "account")
2006 '("const-gchar*" "chat_id")
2007 '("gboolean" "chatroom")
2011 (define-method get_messages_for_file
2012 (of-object "EmpathyLogManager")
2013 (c-name "empathy_log_manager_get_messages_for_file")
2014 (return-type "GList*")
2016 '("const-gchar*" "filename")
2020 (define-method get_messages_for_date
2021 (of-object "EmpathyLogManager")
2022 (c-name "empathy_log_manager_get_messages_for_date")
2023 (return-type "GList*")
2025 '("McAccount*" "account")
2026 '("const-gchar*" "chat_id")
2027 '("gboolean" "chatroom")
2028 '("const-gchar*" "date")
2032 (define-method get_last_messages
2033 (of-object "EmpathyLogManager")
2034 (c-name "empathy_log_manager_get_last_messages")
2035 (return-type "GList*")
2037 '("McAccount*" "account")
2038 '("const-gchar*" "chat_id")
2039 '("gboolean" "chatroom")
2043 (define-method get_messages_for_file
2044 (of-object "EmpathyLogManager")
2045 (c-name "empathy_log_manager_get_messages_for_file")
2046 (return-type "GList*")
2048 '("const-gchar*" "filename")
2052 (define-method get_chats
2053 (of-object "EmpathyLogManager")
2054 (c-name "empathy_log_manager_get_chats")
2055 (return-type "GList*")
2057 '("McAccount*" "account")
2061 (define-method search_new
2062 (of-object "EmpathyLogManager")
2063 (c-name "empathy_log_manager_search_new")
2064 (return-type "GList*")
2066 '("const-gchar*" "text")
2070 (define-function empathy_log_manager_search_free
2071 (c-name "empathy_log_manager_search_free")
2072 (return-type "none")
2078 (define-function empathy_log_manager_get_date_readable
2079 (c-name "empathy_log_manager_get_date_readable")
2080 (return-type "gchar*")
2082 '("const-gchar*" "date")
2088 ;; From empathy-irc-network-manager.h
2090 (define-function empathy_irc_network_manager_get_type
2091 (c-name "empathy_irc_network_manager_get_type")
2092 (return-type "GType")
2095 (define-function empathy_irc_network_manager_new
2096 (c-name "empathy_irc_network_manager_new")
2097 (is-constructor-of "EmpathyIrcNetworkManager")
2098 (return-type "EmpathyIrcNetworkManager*")
2100 '("const-gchar*" "global_file")
2101 '("const-gchar*" "user_file")
2106 (of-object "EmpathyIrcNetworkManager")
2107 (c-name "empathy_irc_network_manager_add")
2108 (return-type "none")
2110 '("EmpathyIrcNetwork*" "network")
2114 (define-method remove
2115 (of-object "EmpathyIrcNetworkManager")
2116 (c-name "empathy_irc_network_manager_remove")
2117 (return-type "none")
2119 '("EmpathyIrcNetwork*" "network")
2123 (define-method get_networks
2124 (of-object "EmpathyIrcNetworkManager")
2125 (c-name "empathy_irc_network_manager_get_networks")
2126 (return-type "GSList*")
2129 (define-method find_network_by_address
2130 (of-object "EmpathyIrcNetworkManager")
2131 (c-name "empathy_irc_network_manager_find_network_by_address")
2132 (return-type "EmpathyIrcNetwork*")
2134 '("const-gchar*" "address")
2140 ;; From empathy-irc-network.h
2142 (define-function empathy_irc_network_get_type
2143 (c-name "empathy_irc_network_get_type")
2144 (return-type "GType")
2147 (define-function empathy_irc_network_new
2148 (c-name "empathy_irc_network_new")
2149 (is-constructor-of "EmpathyIrcNetwork")
2150 (return-type "EmpathyIrcNetwork*")
2152 '("const-gchar*" "name")
2156 (define-method get_servers
2157 (of-object "EmpathyIrcNetwork")
2158 (c-name "empathy_irc_network_get_servers")
2159 (return-type "GSList*")
2162 (define-method append_server
2163 (of-object "EmpathyIrcNetwork")
2164 (c-name "empathy_irc_network_append_server")
2165 (return-type "none")
2167 '("EmpathyIrcServer*" "server")
2171 (define-method remove_server
2172 (of-object "EmpathyIrcNetwork")
2173 (c-name "empathy_irc_network_remove_server")
2174 (return-type "none")
2176 '("EmpathyIrcServer*" "server")
2180 (define-method set_server_position
2181 (of-object "EmpathyIrcNetwork")
2182 (c-name "empathy_irc_network_set_server_position")
2183 (return-type "none")
2185 '("EmpathyIrcServer*" "server")
2192 ;; From empathy-irc-server.h
2194 (define-function empathy_irc_server_get_type
2195 (c-name "empathy_irc_server_get_type")
2196 (return-type "GType")
2199 (define-function empathy_irc_server_new
2200 (c-name "empathy_irc_server_new")
2201 (is-constructor-of "EmpathyIrcServer")
2202 (return-type "EmpathyIrcServer*")
2204 '("const-gchar*" "address")
2212 ;; From empathy-tube-handler.h
2214 (define-function empathy_tube_handler_get_type
2215 (c-name "empathy_tube_handler_get_type")
2216 (return-type "GType")
2219 (define-function empathy_tube_handler_new
2220 (c-name "empathy_tube_handler_new")
2221 (is-constructor-of "EmpathyTubeHandler")
2222 (return-type "EmpathyTubeHandler*")
2224 '("TpTubeType" "type")
2225 '("const-gchar*" "service")
2229 (define-function empathy_tube_handler_build_bus_name
2230 (c-name "empathy_tube_handler_build_bus_name")
2231 (return-type "gchar*")
2233 '("TpTubeType" "type")
2234 '("const-gchar*" "service")
2238 (define-function empathy_tube_handler_build_object_path
2239 (c-name "empathy_tube_handler_build_object_path")
2240 (return-type "gchar*")
2242 '("TpTubeType" "type")
2243 '("const-gchar*" "service")
2249 ;; From empathy-dispatcher.h
2251 (define-function empathy_dispatcher_get_type
2252 (c-name "empathy_dispatcher_get_type")
2253 (return-type "GType")
2256 (define-function empathy_dispatcher_new
2257 (c-name "empathy_dispatcher_new")
2258 (is-constructor-of "EmpathyDispatcher")
2259 (return-type "EmpathyDispatcher*")
2262 (define-method channel_process
2263 (of-object "EmpathyDispatcher")
2264 (c-name "empathy_dispatcher_channel_process")
2265 (return-type "none")
2267 '("TpChannel*" "channel")
2271 (define-function empathy_dispatcher_tube_get_type
2272 (c-name "empathy_dispatcher_tube_get_type")
2273 (return-type "GType")
2277 (of-object "EmpathyDispatcherTube")
2278 (c-name "empathy_dispatcher_tube_ref")
2279 (return-type "EmpathyDispatcherTube*")
2282 (define-method unref
2283 (of-object "EmpathyDispatcherTube")
2284 (c-name "empathy_dispatcher_tube_unref")
2285 (return-type "none")
2288 (define-method tube_process
2289 (of-object "EmpathyDispatcher")
2290 (c-name "empathy_dispatcher_tube_process")
2291 (return-type "none")
2293 '("EmpathyDispatcherTube*" "tube")
2297 (define-function empathy_dispatcher_call_with_contact
2298 (c-name "empathy_dispatcher_call_with_contact")
2299 (return-type "none")
2301 '("EmpathyContact*" "contact")
2305 (define-function empathy_dispatcher_call_with_contact_id
2306 (c-name "empathy_dispatcher_call_with_contact_id")
2307 (return-type "none")
2309 '("McAccount*" "account")
2310 '("const-gchar*" "contact_id")
2314 (define-function empathy_dispatcher_chat_with_contact_id
2315 (c-name "empathy_dispatcher_chat_with_contact_id")
2316 (return-type "none")
2318 '("McAccount*" "account")
2319 '("const-gchar*" "contact_id")
2323 (define-function empathy_dispatcher_chat_with_contact
2324 (c-name "empathy_dispatcher_chat_with_contact")
2325 (return-type "none")
2327 '("EmpathyContact*" "contact")