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")
557 (define-function connection_request_channel
558 (c-name "empathy_connection_request_channel")
561 '("TpConnection*" "proxy")
562 '("gint" "timeout_ms")
563 '("const-gchar*" "channel_type")
564 '("guint" "handle_type")
565 '("const-gchar*" "name")
566 '("gboolean" "suppress_handler")
567 '("empathy_connection_callback_for_request_channel" "callback")
568 '("gpointer" "user_data")
569 '("GDestroyNotify" "destroy")
570 '("GObject*" "weak_object")
576 ;; From empathy-message.h
578 (define-function message_get_type
579 (c-name "empathy_message_get_type")
580 (return-type "GType")
583 (define-function message_new
584 (c-name "empathy_message_new")
585 (is-constructor-of "EmpathyMessage")
586 (return-type "EmpathyMessage*")
588 '("const-gchar*" "body")
592 (define-method get_tptype
593 (of-object "EmpathyMessage")
594 (c-name "empathy_message_get_tptype")
595 (return-type "TpChannelTextMessageType")
598 (define-method set_tptype
599 (of-object "EmpathyMessage")
600 (c-name "empathy_message_set_tptype")
603 '("TpChannelTextMessageType" "type")
607 (define-method get_sender
608 (of-object "EmpathyMessage")
609 (c-name "empathy_message_get_sender")
610 (return-type "EmpathyContact*")
613 (define-method set_sender
614 (of-object "EmpathyMessage")
615 (c-name "empathy_message_set_sender")
618 '("EmpathyContact*" "contact")
622 (define-method get_receiver
623 (of-object "EmpathyMessage")
624 (c-name "empathy_message_get_receiver")
625 (return-type "EmpathyContact*")
628 (define-method set_receiver
629 (of-object "EmpathyMessage")
630 (c-name "empathy_message_set_receiver")
633 '("EmpathyContact*" "contact")
637 (define-method get_body
638 (of-object "EmpathyMessage")
639 (c-name "empathy_message_get_body")
640 (return-type "const-gchar*")
643 (define-method set_body
644 (of-object "EmpathyMessage")
645 (c-name "empathy_message_set_body")
648 '("const-gchar*" "body")
652 (define-method get_timestamp
653 (of-object "EmpathyMessage")
654 (c-name "empathy_message_get_timestamp")
655 (return-type "time_t")
658 (define-method set_timestamp
659 (of-object "EmpathyMessage")
660 (c-name "empathy_message_set_timestamp")
663 '("time_t" "timestamp")
667 (define-method get_date_and_time
668 (of-object "EmpathyMessage")
669 (c-name "empathy_message_get_date_and_time")
670 (return-type "GDate*")
672 '("time_t*" "timestamp")
676 (define-method should_highlight
677 (of-object "EmpathyMessage")
678 (c-name "empathy_message_should_highlight")
679 (return-type "gboolean")
682 (define-function message_type_from_str
683 (c-name "empathy_message_type_from_str")
684 (return-type "TpChannelTextMessageType")
686 '("const-gchar*" "type_str")
690 (define-function message_type_to_str
691 (c-name "empathy_message_type_to_str")
692 (return-type "const-gchar*")
694 '("TpChannelTextMessageType" "type")
700 ;; From empathy-chatroom-manager.h
702 (define-function chatroom_manager_get_type
703 (c-name "empathy_chatroom_manager_get_type")
704 (return-type "GType")
707 (define-function chatroom_manager_new
708 (c-name "empathy_chatroom_manager_new")
709 (is-constructor-of "EmpathyChatroomManager")
710 (return-type "EmpathyChatroomManager*")
714 (of-object "EmpathyChatroomManager")
715 (c-name "empathy_chatroom_manager_add")
716 (return-type "gboolean")
718 '("EmpathyChatroom*" "chatroom")
722 (define-method remove
723 (of-object "EmpathyChatroomManager")
724 (c-name "empathy_chatroom_manager_remove")
727 '("EmpathyChatroom*" "chatroom")
732 (of-object "EmpathyChatroomManager")
733 (c-name "empathy_chatroom_manager_find")
734 (return-type "EmpathyChatroom*")
736 '("McAccount*" "account")
737 '("const-gchar*" "room")
741 (define-method get_chatrooms
742 (of-object "EmpathyChatroomManager")
743 (c-name "empathy_chatroom_manager_get_chatrooms")
744 (return-type "GList*")
746 '("McAccount*" "account")
750 (define-method get_count
751 (of-object "EmpathyChatroomManager")
752 (c-name "empathy_chatroom_manager_get_count")
753 (return-type "guint")
755 '("McAccount*" "account")
760 (of-object "EmpathyChatroomManager")
761 (c-name "empathy_chatroom_manager_store")
767 ;; From empathy-chatroom.h
769 (define-function chatroom_get_type
770 (c-name "empathy_chatroom_get_type")
771 (return-type "GType")
774 (define-function chatroom_new
775 (c-name "empathy_chatroom_new")
776 (is-constructor-of "EmpathyChatroom")
777 (return-type "EmpathyChatroom*")
779 '("McAccount*" "account")
783 (define-function chatroom_new_full
784 (c-name "empathy_chatroom_new_full")
785 (return-type "EmpathyChatroom*")
787 '("McAccount*" "account")
788 '("const-gchar*" "room")
789 '("const-gchar*" "name")
790 '("gboolean" "auto_connect")
794 (define-method get_account
795 (of-object "EmpathyChatroom")
796 (c-name "empathy_chatroom_get_account")
797 (return-type "McAccount*")
800 (define-method set_account
801 (of-object "EmpathyChatroom")
802 (c-name "empathy_chatroom_set_account")
805 '("McAccount*" "account")
809 (define-method get_room
810 (of-object "EmpathyChatroom")
811 (c-name "empathy_chatroom_get_room")
812 (return-type "const-gchar*")
815 (define-method set_room
816 (of-object "EmpathyChatroom")
817 (c-name "empathy_chatroom_set_room")
820 '("const-gchar*" "room")
824 (define-method get_name
825 (of-object "EmpathyChatroom")
826 (c-name "empathy_chatroom_get_name")
827 (return-type "const-gchar*")
830 (define-method set_name
831 (of-object "EmpathyChatroom")
832 (c-name "empathy_chatroom_set_name")
835 '("const-gchar*" "name")
839 (define-method get_auto_connect
840 (of-object "EmpathyChatroom")
841 (c-name "empathy_chatroom_get_auto_connect")
842 (return-type "gboolean")
845 (define-method set_auto_connect
846 (of-object "EmpathyChatroom")
847 (c-name "empathy_chatroom_set_auto_connect")
850 '("gboolean" "auto_connect")
854 (define-function chatroom_equal
855 (c-name "empathy_chatroom_equal")
856 (return-type "gboolean")
858 '("gconstpointer" "v1")
859 '("gconstpointer" "v2")
865 ;; From empathy-contact.h
867 (define-function contact_get_type
868 (c-name "empathy_contact_get_type")
869 (return-type "GType")
872 (define-function contact_new
873 (c-name "empathy_contact_new")
874 (is-constructor-of "EmpathyContact")
875 (return-type "EmpathyContact*")
877 '("McAccount*" "account")
881 (define-function contact_new_full
882 (c-name "empathy_contact_new_full")
883 (return-type "EmpathyContact*")
885 '("McAccount*" "account")
886 '("const-gchar*" "id")
887 '("const-gchar*" "name")
891 (define-method get_id
892 (of-object "EmpathyContact")
893 (c-name "empathy_contact_get_id")
894 (return-type "const-gchar*")
897 (define-method set_id
898 (of-object "EmpathyContact")
899 (c-name "empathy_contact_set_id")
902 '("const-gchar*" "id")
906 (define-method get_name
907 (of-object "EmpathyContact")
908 (c-name "empathy_contact_get_name")
909 (return-type "const-gchar*")
912 (define-method set_name
913 (of-object "EmpathyContact")
914 (c-name "empathy_contact_set_name")
917 '("const-gchar*" "name")
921 (define-method get_avatar
922 (of-object "EmpathyContact")
923 (c-name "empathy_contact_get_avatar")
924 (return-type "EmpathyAvatar*")
927 (define-method set_avatar
928 (of-object "EmpathyContact")
929 (c-name "empathy_contact_set_avatar")
932 '("EmpathyAvatar*" "avatar")
936 (define-method get_account
937 (of-object "EmpathyContact")
938 (c-name "empathy_contact_get_account")
939 (return-type "McAccount*")
942 (define-method set_account
943 (of-object "EmpathyContact")
944 (c-name "empathy_contact_set_account")
947 '("McAccount*" "account")
951 (define-method get_presence
952 (of-object "EmpathyContact")
953 (c-name "empathy_contact_get_presence")
954 (return-type "McPresence")
957 (define-method set_presence
958 (of-object "EmpathyContact")
959 (c-name "empathy_contact_set_presence")
962 '("McPresence" "presence")
966 (define-method get_presence_message
967 (of-object "EmpathyContact")
968 (c-name "empathy_contact_get_presence_message")
969 (return-type "const-gchar*")
972 (define-method set_presence_message
973 (of-object "EmpathyContact")
974 (c-name "empathy_contact_set_presence_message")
977 '("const-gchar*" "message")
981 (define-method get_handle
982 (of-object "EmpathyContact")
983 (c-name "empathy_contact_get_handle")
984 (return-type "guint")
987 (define-method set_handle
988 (of-object "EmpathyContact")
989 (c-name "empathy_contact_set_handle")
996 (define-method get_capabilities
997 (of-object "EmpathyContact")
998 (c-name "empathy_contact_get_capabilities")
999 (return-type "EmpathyCapabilities")
1002 (define-method set_capabilities
1003 (of-object "EmpathyContact")
1004 (c-name "empathy_contact_set_capabilities")
1005 (return-type "none")
1007 '("EmpathyCapabilities" "capabilities")
1011 (define-method get_ready
1012 (of-object "EmpathyContact")
1013 (c-name "empathy_contact_get_ready")
1014 (return-type "EmpathyContactReady")
1017 (define-method is_user
1018 (of-object "EmpathyContact")
1019 (c-name "empathy_contact_is_user")
1020 (return-type "gboolean")
1023 (define-method set_is_user
1024 (of-object "EmpathyContact")
1025 (c-name "empathy_contact_set_is_user")
1026 (return-type "none")
1028 '("gboolean" "is_user")
1032 (define-method is_online
1033 (of-object "EmpathyContact")
1034 (c-name "empathy_contact_is_online")
1035 (return-type "gboolean")
1038 (define-method get_status
1039 (of-object "EmpathyContact")
1040 (c-name "empathy_contact_get_status")
1041 (return-type "const-gchar*")
1044 (define-method can_voip
1045 (of-object "EmpathyContact")
1046 (c-name "empathy_contact_can_voip")
1047 (return-type "gboolean")
1050 (define-function contact_equal
1051 (c-name "empathy_contact_equal")
1052 (return-type "gboolean")
1054 '("gconstpointer" "v1")
1055 '("gconstpointer" "v2")
1059 (define-function contact_hash
1060 (c-name "empathy_contact_hash")
1061 (return-type "guint")
1063 '("gconstpointer" "key")
1067 (define-method run_until_ready
1068 (of-object "EmpathyContact")
1069 (c-name "empathy_contact_run_until_ready")
1070 (return-type "none")
1072 '("EmpathyContactReady" "ready")
1073 '("GMainLoop**" "loop")
1077 (define-method load_avatar_data
1078 (of-object "EmpathyContact")
1079 (c-name "empathy_contact_load_avatar_data")
1080 (return-type "none")
1082 '("const-guchar*" "data")
1083 '("const-gsize" "len")
1084 '("const-gchar*" "format")
1085 '("const-gchar*" "token")
1089 (define-method load_avatar_cache
1090 (of-object "EmpathyContact")
1091 (c-name "empathy_contact_load_avatar_cache")
1092 (return-type "gboolean")
1094 '("const-gchar*" "token")
1098 (define-function avatar_get_type
1099 (c-name "empathy_avatar_get_type")
1100 (return-type "GType")
1103 (define-function avatar_new
1104 (c-name "empathy_avatar_new")
1105 (is-constructor-of "EmpathyAvatar")
1106 (return-type "EmpathyAvatar*")
1110 '("gchar*" "format")
1116 (of-object "EmpathyAvatar")
1117 (c-name "empathy_avatar_ref")
1118 (return-type "EmpathyAvatar*")
1121 (define-method unref
1122 (of-object "EmpathyAvatar")
1123 (c-name "empathy_avatar_unref")
1124 (return-type "none")
1127 (define-method save_to_file
1128 (of-object "EmpathyAvatar")
1129 (c-name "empathy_avatar_save_to_file")
1130 (return-type "gboolean")
1132 '("const-gchar*" "filename")
1133 '("GError**" "error")
1139 ;; From empathy-contact-groups.h
1141 (define-function contact_groups_get_all
1142 (c-name "empathy_contact_groups_get_all")
1143 (return-type "none")
1146 (define-function contact_group_get_expanded
1147 (c-name "empathy_contact_group_get_expanded")
1148 (return-type "gboolean")
1150 '("const-gchar*" "group")
1154 (define-function contact_group_set_expanded
1155 (c-name "empathy_contact_group_set_expanded")
1156 (return-type "none")
1158 '("const-gchar*" "group")
1159 '("gboolean" "expanded")
1165 ;; From empathy-contact-list.h
1167 (define-function contact_list_get_type
1168 (c-name "empathy_contact_list_get_type")
1169 (return-type "GType")
1173 (of-object "EmpathyContactList")
1174 (c-name "empathy_contact_list_add")
1175 (return-type "none")
1177 '("EmpathyContact*" "contact")
1178 '("const-gchar*" "message")
1182 (define-method remove
1183 (of-object "EmpathyContactList")
1184 (c-name "empathy_contact_list_remove")
1185 (return-type "none")
1187 '("EmpathyContact*" "contact")
1188 '("const-gchar*" "message")
1192 (define-method get_members
1193 (of-object "EmpathyContactList")
1194 (c-name "empathy_contact_list_get_members")
1195 (return-type "GList*")
1198 (define-method get_pendings
1199 (of-object "EmpathyContactList")
1200 (c-name "empathy_contact_list_get_pendings")
1201 (return-type "GList*")
1204 (define-method get_all_groups
1205 (of-object "EmpathyContactList")
1206 (c-name "empathy_contact_list_get_all_groups")
1207 (return-type "GList*")
1210 (define-method get_groups
1211 (of-object "EmpathyContactList")
1212 (c-name "empathy_contact_list_get_groups")
1213 (return-type "GList*")
1215 '("EmpathyContact*" "contact")
1219 (define-method add_to_group
1220 (of-object "EmpathyContactList")
1221 (c-name "empathy_contact_list_add_to_group")
1222 (return-type "none")
1224 '("EmpathyContact*" "contact")
1225 '("const-gchar*" "group")
1229 (define-method remove_from_group
1230 (of-object "EmpathyContactList")
1231 (c-name "empathy_contact_list_remove_from_group")
1232 (return-type "none")
1234 '("EmpathyContact*" "contact")
1235 '("const-gchar*" "group")
1239 (define-method rename_group
1240 (of-object "EmpathyContactList")
1241 (c-name "empathy_contact_list_rename_group")
1242 (return-type "none")
1244 '("const-gchar*" "old_group")
1245 '("const-gchar*" "new_group")
1249 (define-method remove_group
1250 (of-object "EmpathyContactList")
1251 (c-name "empathy_contact_list_remove_group")
1252 (return-type "none")
1254 '("const-gchar*" "group")
1260 ;; From empathy-contact-manager.h
1262 (define-function contact_manager_get_type
1263 (c-name "empathy_contact_manager_get_type")
1264 (return-type "GType")
1267 (define-function contact_manager_new
1268 (c-name "empathy_contact_manager_new")
1269 (is-constructor-of "EmpathyContactManager")
1270 (return-type "EmpathyContactManager*")
1273 (define-method get_list
1274 (of-object "EmpathyContactManager")
1275 (c-name "empathy_contact_manager_get_list")
1276 (return-type "EmpathyTpContactList*")
1278 '("McAccount*" "account")
1284 ;; From empathy-contact-factory.h
1286 (define-function contact_factory_get_type
1287 (c-name "empathy_contact_factory_get_type")
1288 (return-type "GType")
1291 (define-function contact_factory_new
1292 (c-name "empathy_contact_factory_new")
1293 (is-constructor-of "EmpathyContactFactory")
1294 (return-type "EmpathyContactFactory*")
1297 (define-method get_tp_factory
1298 (of-object "EmpathyContactFactory")
1299 (c-name "empathy_contact_factory_get_tp_factory")
1300 (return-type "EmpathyTpContactFactory*")
1302 '("McAccount*" "account")
1306 (define-method get_user
1307 (of-object "EmpathyContactFactory")
1308 (c-name "empathy_contact_factory_get_user")
1309 (return-type "EmpathyContact*")
1311 '("McAccount*" "account")
1315 (define-method get_from_id
1316 (of-object "EmpathyContactFactory")
1317 (c-name "empathy_contact_factory_get_from_id")
1318 (return-type "EmpathyContact*")
1320 '("McAccount*" "account")
1321 '("const-gchar*" "id")
1325 (define-method get_from_handle
1326 (of-object "EmpathyContactFactory")
1327 (c-name "empathy_contact_factory_get_from_handle")
1328 (return-type "EmpathyContact*")
1330 '("McAccount*" "account")
1335 (define-method get_from_handles
1336 (of-object "EmpathyContactFactory")
1337 (c-name "empathy_contact_factory_get_from_handles")
1338 (return-type "GList*")
1340 '("McAccount*" "account")
1341 '("const-GArray*" "handles")
1345 (define-method set_alias
1346 (of-object "EmpathyContactFactory")
1347 (c-name "empathy_contact_factory_set_alias")
1348 (return-type "none")
1350 '("EmpathyContact*" "contact")
1351 '("const-gchar*" "alias")
1355 (define-method set_avatar
1356 (of-object "EmpathyContactFactory")
1357 (c-name "empathy_contact_factory_set_avatar")
1358 (return-type "none")
1360 '("McAccount*" "account")
1361 '("const-gchar*" "data")
1363 '("const-gchar*" "mime_type")
1369 ;; From empathy-tp-contact-factory.h
1371 (define-function tp_contact_factory_get_type
1372 (c-name "empathy_tp_contact_factory_get_type")
1373 (return-type "GType")
1376 (define-function tp_contact_factory_new
1377 (c-name "empathy_tp_contact_factory_new")
1378 (is-constructor-of "EmpathyTpContactFactory")
1379 (return-type "EmpathyTpContactFactory*")
1381 '("McAccount*" "account")
1385 (define-method get_user
1386 (of-object "EmpathyTpContactFactory")
1387 (c-name "empathy_tp_contact_factory_get_user")
1388 (return-type "EmpathyContact*")
1391 (define-method get_from_id
1392 (of-object "EmpathyTpContactFactory")
1393 (c-name "empathy_tp_contact_factory_get_from_id")
1394 (return-type "EmpathyContact*")
1396 '("const-gchar*" "id")
1400 (define-method get_from_handle
1401 (of-object "EmpathyTpContactFactory")
1402 (c-name "empathy_tp_contact_factory_get_from_handle")
1403 (return-type "EmpathyContact*")
1409 (define-method get_from_handles
1410 (of-object "EmpathyTpContactFactory")
1411 (c-name "empathy_tp_contact_factory_get_from_handles")
1412 (return-type "GList*")
1414 '("const-GArray*" "handles")
1418 (define-method set_alias
1419 (of-object "EmpathyTpContactFactory")
1420 (c-name "empathy_tp_contact_factory_set_alias")
1421 (return-type "none")
1423 '("EmpathyContact*" "contact")
1424 '("const-gchar*" "alias")
1428 (define-method set_avatar
1429 (of-object "EmpathyTpContactFactory")
1430 (c-name "empathy_tp_contact_factory_set_avatar")
1431 (return-type "none")
1433 '("const-gchar*" "data")
1435 '("const-gchar*" "mime_type")
1439 (define-method is_ready
1440 (of-object "EmpathyTpContactFactory")
1441 (c-name "empathy_tp_contact_factory_is_ready")
1442 (return-type "gboolean")
1447 ;; From empathy-tp-group.h
1449 (define-function tp_group_get_type
1450 (c-name "empathy_tp_group_get_type")
1451 (return-type "GType")
1454 (define-function tp_group_new
1455 (c-name "empathy_tp_group_new")
1456 (is-constructor-of "EmpathyTpGroup")
1457 (return-type "EmpathyTpGroup*")
1459 '("TpChannel*" "channel")
1463 (define-method close
1464 (of-object "EmpathyTpGroup")
1465 (c-name "empathy_tp_group_close")
1466 (return-type "none")
1469 (define-method add_members
1470 (of-object "EmpathyTpGroup")
1471 (c-name "empathy_tp_group_add_members")
1472 (return-type "none")
1474 '("GList*" "contacts")
1475 '("const-gchar*" "message")
1479 (define-method add_member
1480 (of-object "EmpathyTpGroup")
1481 (c-name "empathy_tp_group_add_member")
1482 (return-type "none")
1484 '("EmpathyContact*" "contact")
1485 '("const-gchar*" "message")
1489 (define-method remove_members
1490 (of-object "EmpathyTpGroup")
1491 (c-name "empathy_tp_group_remove_members")
1492 (return-type "none")
1494 '("GList*" "contacts")
1495 '("const-gchar*" "message")
1499 (define-method remove_member
1500 (of-object "EmpathyTpGroup")
1501 (c-name "empathy_tp_group_remove_member")
1502 (return-type "none")
1504 '("EmpathyContact*" "contact")
1505 '("const-gchar*" "message")
1509 (define-method get_members
1510 (of-object "EmpathyTpGroup")
1511 (c-name "empathy_tp_group_get_members")
1512 (return-type "GList*")
1515 (define-method get_local_pendings
1516 (of-object "EmpathyTpGroup")
1517 (c-name "empathy_tp_group_get_local_pendings")
1518 (return-type "GList*")
1521 (define-method get_remote_pendings
1522 (of-object "EmpathyTpGroup")
1523 (c-name "empathy_tp_group_get_remote_pendings")
1524 (return-type "GList*")
1527 (define-method get_name
1528 (of-object "EmpathyTpGroup")
1529 (c-name "empathy_tp_group_get_name")
1530 (return-type "const-gchar*")
1533 (define-method get_self_contact
1534 (of-object "EmpathyTpGroup")
1535 (c-name "empathy_tp_group_get_self_contact")
1536 (return-type "EmpathyContact*")
1539 (define-method is_member
1540 (of-object "EmpathyTpGroup")
1541 (c-name "empathy_tp_group_is_member")
1542 (return-type "gboolean")
1544 '("EmpathyContact*" "contact")
1548 (define-method is_ready
1549 (of-object "EmpathyTpGroup")
1550 (c-name "empathy_tp_group_is_ready")
1551 (return-type "gboolean")
1554 (define-method get_invitation
1555 (of-object "EmpathyTpGroup")
1556 (c-name "empathy_tp_group_get_invitation")
1557 (return-type "EmpathyPendingInfo*")
1559 '("EmpathyContact**" "remote_contact")
1563 (define-function pending_info_new
1564 (c-name "empathy_pending_info_new")
1565 (is-constructor-of "EmpathyPendingInfo")
1566 (return-type "EmpathyPendingInfo*")
1568 '("EmpathyContact*" "member")
1569 '("EmpathyContact*" "actor")
1570 '("const-gchar*" "message")
1575 (of-object "EmpathyPendingInfo")
1576 (c-name "empathy_pending_info_free")
1577 (return-type "none")
1582 ;; From empathy-tp-contact-list.h
1584 (define-function tp_contact_list_get_type
1585 (c-name "empathy_tp_contact_list_get_type")
1586 (return-type "GType")
1589 (define-function tp_contact_list_new
1590 (c-name "empathy_tp_contact_list_new")
1591 (is-constructor-of "EmpathyTpContactList")
1592 (return-type "EmpathyTpContactList*")
1594 '("McAccount*" "account")
1598 (define-method get_account
1599 (of-object "EmpathyTpContactList")
1600 (c-name "empathy_tp_contact_list_get_account")
1601 (return-type "McAccount*")
1606 ;; From empathy-tp-chat.h
1608 (define-function tp_chat_get_type
1609 (c-name "empathy_tp_chat_get_type")
1610 (return-type "GType")
1613 (define-function tp_chat_new
1614 (c-name "empathy_tp_chat_new")
1615 (is-constructor-of "EmpathyTpChat")
1616 (return-type "EmpathyTpChat*")
1618 '("TpChannel*" "channel")
1622 (define-method get_id
1623 (of-object "EmpathyTpChat")
1624 (c-name "empathy_tp_chat_get_id")
1625 (return-type "const-gchar*")
1628 (define-method get_remote_contact
1629 (of-object "EmpathyTpChat")
1630 (c-name "empathy_tp_chat_get_remote_contact")
1631 (return-type "EmpathyContact*")
1634 (define-method get_account
1635 (of-object "EmpathyTpChat")
1636 (c-name "empathy_tp_chat_get_account")
1637 (return-type "McAccount*")
1640 (define-method get_channel
1641 (of-object "EmpathyTpChat")
1642 (c-name "empathy_tp_chat_get_channel")
1643 (return-type "TpChannel*")
1646 (define-method is_ready
1647 (of-object "EmpathyTpChat")
1648 (c-name "empathy_tp_chat_is_ready")
1649 (return-type "gboolean")
1652 (define-method get_members_count
1653 (of-object "EmpathyTpChat")
1654 (c-name "empathy_tp_chat_get_members_count")
1655 (return-type "guint")
1658 (define-method set_acknowledge
1659 (of-object "EmpathyTpChat")
1660 (c-name "empathy_tp_chat_set_acknowledge")
1661 (return-type "none")
1663 '("gboolean" "acknowledge")
1667 (define-method emit_pendings
1668 (of-object "EmpathyTpChat")
1669 (c-name "empathy_tp_chat_emit_pendings")
1670 (return-type "none")
1674 (of-object "EmpathyTpChat")
1675 (c-name "empathy_tp_chat_send")
1676 (return-type "none")
1678 '("EmpathyMessage*" "message")
1682 (define-method set_state
1683 (of-object "EmpathyTpChat")
1684 (c-name "empathy_tp_chat_set_state")
1685 (return-type "none")
1687 '("TpChannelChatState" "state")
1691 (define-method set_property
1692 (of-object "EmpathyTpChat")
1693 (c-name "empathy_tp_chat_set_property")
1694 (return-type "none")
1696 '("const-gchar*" "name")
1697 '("const-GValue*" "value")
1703 ;; From empathy-tp-roomlist.h
1705 (define-function tp_roomlist_get_type
1706 (c-name "empathy_tp_roomlist_get_type")
1707 (return-type "GType")
1710 (define-function tp_roomlist_new
1711 (c-name "empathy_tp_roomlist_new")
1712 (is-constructor-of "EmpathyTpRoomlist")
1713 (return-type "EmpathyTpRoomlist*")
1715 '("McAccount*" "account")
1719 (define-method is_listing
1720 (of-object "EmpathyTpRoomlist")
1721 (c-name "empathy_tp_roomlist_is_listing")
1722 (return-type "gboolean")
1725 (define-method start
1726 (of-object "EmpathyTpRoomlist")
1727 (c-name "empathy_tp_roomlist_start")
1728 (return-type "none")
1732 (of-object "EmpathyTpRoomlist")
1733 (c-name "empathy_tp_roomlist_stop")
1734 (return-type "none")
1739 ;; From empathy-tp-call.h
1741 (define-function tp_call_get_type
1742 (c-name "empathy_tp_call_get_type")
1743 (return-type "GType")
1746 (define-function tp_call_new
1747 (c-name "empathy_tp_call_new")
1748 (is-constructor-of "EmpathyTpCall")
1749 (return-type "EmpathyTpCall*")
1751 '("TpChannel*" "channel")
1755 (define-method accept_incoming_call
1756 (of-object "EmpathyTpCall")
1757 (c-name "empathy_tp_call_accept_incoming_call")
1758 (return-type "none")
1761 (define-method request_video_stream_direction
1762 (of-object "EmpathyTpCall")
1763 (c-name "empathy_tp_call_request_video_stream_direction")
1764 (return-type "none")
1766 '("gboolean" "is_sending")
1770 (define-method add_preview_video
1771 (of-object "EmpathyTpCall")
1772 (c-name "empathy_tp_call_add_preview_video")
1773 (return-type "none")
1775 '("guint" "preview_video_socket_id")
1779 (define-method remove_preview_video
1780 (of-object "EmpathyTpCall")
1781 (c-name "empathy_tp_call_remove_preview_video")
1782 (return-type "none")
1784 '("guint" "preview_video_socket_id")
1788 (define-method add_output_video
1789 (of-object "EmpathyTpCall")
1790 (c-name "empathy_tp_call_add_output_video")
1791 (return-type "none")
1793 '("guint" "output_video_socket_id")
1797 (define-method set_output_volume
1798 (of-object "EmpathyTpCall")
1799 (c-name "empathy_tp_call_set_output_volume")
1800 (return-type "none")
1806 (define-method mute_output
1807 (of-object "EmpathyTpCall")
1808 (c-name "empathy_tp_call_mute_output")
1809 (return-type "none")
1811 '("gboolean" "is_muted")
1815 (define-method mute_input
1816 (of-object "EmpathyTpCall")
1817 (c-name "empathy_tp_call_mute_input")
1818 (return-type "none")
1820 '("gboolean" "is_muted")
1824 (define-method start_tone
1825 (of-object "EmpathyTpCall")
1826 (c-name "empathy_tp_call_start_tone")
1827 (return-type "none")
1829 '("TpDTMFEvent" "event")
1833 (define-method stop_tone
1834 (of-object "EmpathyTpCall")
1835 (c-name "empathy_tp_call_stop_tone")
1836 (return-type "none")
1839 (define-method has_dtmf
1840 (of-object "EmpathyTpCall")
1841 (c-name "empathy_tp_call_has_dtmf")
1842 (return-type "gboolean")
1847 ;; From empathy-tp-tube.h
1849 (define-function tp_tube_get_type
1850 (c-name "empathy_tp_tube_get_type")
1851 (return-type "GType")
1854 (define-function tp_tube_new
1855 (c-name "empathy_tp_tube_new")
1856 (is-constructor-of "EmpathyTpTube")
1857 (return-type "EmpathyTpTube*")
1859 '("TpChannel*" "channel")
1860 '("guint" "tube_id")
1864 (define-function tp_tube_new_stream_tube
1865 (c-name "empathy_tp_tube_new_stream_tube")
1866 (return-type "EmpathyTpTube*")
1868 '("EmpathyContact*" "contact")
1869 '("TpSocketAddressType" "type")
1870 '("const-gchar*" "hostname")
1872 '("const-gchar*" "service")
1876 (define-method accept_stream_tube
1877 (of-object "EmpathyTpTube")
1878 (c-name "empathy_tp_tube_accept_stream_tube")
1879 (return-type "none")
1881 '("TpSocketAddressType" "type")
1885 (define-method get_socket
1886 (of-object "EmpathyTpTube")
1887 (c-name "empathy_tp_tube_get_socket")
1888 (return-type "none")
1890 '("gchar**" "hostname")
1897 ;; From empathy-idle.h
1899 (define-function idle_get_type
1900 (c-name "empathy_idle_get_type")
1901 (return-type "GType")
1904 (define-function idle_new
1905 (c-name "empathy_idle_new")
1906 (is-constructor-of "EmpathyIdle")
1907 (return-type "EmpathyIdle*")
1910 (define-method get_state
1911 (of-object "EmpathyIdle")
1912 (c-name "empathy_idle_get_state")
1913 (return-type "McPresence")
1916 (define-method set_state
1917 (of-object "EmpathyIdle")
1918 (c-name "empathy_idle_set_state")
1919 (return-type "none")
1921 '("McPresence" "state")
1925 (define-method get_status
1926 (of-object "EmpathyIdle")
1927 (c-name "empathy_idle_get_status")
1928 (return-type "const-gchar*")
1931 (define-method set_status
1932 (of-object "EmpathyIdle")
1933 (c-name "empathy_idle_set_status")
1934 (return-type "none")
1936 '("const-gchar*" "status")
1940 (define-method get_flash_state
1941 (of-object "EmpathyIdle")
1942 (c-name "empathy_idle_get_flash_state")
1943 (return-type "McPresence")
1946 (define-method set_flash_state
1947 (of-object "EmpathyIdle")
1948 (c-name "empathy_idle_set_flash_state")
1949 (return-type "none")
1951 '("McPresence" "state")
1955 (define-method set_presence
1956 (of-object "EmpathyIdle")
1957 (c-name "empathy_idle_set_presence")
1958 (return-type "none")
1960 '("McPresence" "state")
1961 '("const-gchar*" "status")
1965 (define-method get_auto_away
1966 (of-object "EmpathyIdle")
1967 (c-name "empathy_idle_get_auto_away")
1968 (return-type "gboolean")
1971 (define-method set_auto_away
1972 (of-object "EmpathyIdle")
1973 (c-name "empathy_idle_set_auto_away")
1974 (return-type "none")
1976 '("gboolean" "auto_away")
1980 (define-method get_use_nm
1981 (of-object "EmpathyIdle")
1982 (c-name "empathy_idle_get_use_nm")
1983 (return-type "gboolean")
1986 (define-method set_use_nm
1987 (of-object "EmpathyIdle")
1988 (c-name "empathy_idle_set_use_nm")
1989 (return-type "none")
1991 '("gboolean" "use_nm")
1997 ;; From empathy-log-manager.h
1999 (define-function log_manager_get_type
2000 (c-name "empathy_log_manager_get_type")
2001 (return-type "GType")
2004 (define-function log_manager_new
2005 (c-name "empathy_log_manager_new")
2006 (is-constructor-of "EmpathyLogManager")
2007 (return-type "EmpathyLogManager*")
2010 (define-method add_message
2011 (of-object "EmpathyLogManager")
2012 (c-name "empathy_log_manager_add_message")
2013 (return-type "none")
2015 '("const-gchar*" "chat_id")
2016 '("gboolean" "chatroom")
2017 '("EmpathyMessage*" "message")
2021 (define-method exists
2022 (of-object "EmpathyLogManager")
2023 (c-name "empathy_log_manager_exists")
2024 (return-type "gboolean")
2026 '("McAccount*" "account")
2027 '("const-gchar*" "chat_id")
2028 '("gboolean" "chatroom")
2032 (define-method get_dates
2033 (of-object "EmpathyLogManager")
2034 (c-name "empathy_log_manager_get_dates")
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_messages_for_date
2053 (of-object "EmpathyLogManager")
2054 (c-name "empathy_log_manager_get_messages_for_date")
2055 (return-type "GList*")
2057 '("McAccount*" "account")
2058 '("const-gchar*" "chat_id")
2059 '("gboolean" "chatroom")
2060 '("const-gchar*" "date")
2064 (define-method get_last_messages
2065 (of-object "EmpathyLogManager")
2066 (c-name "empathy_log_manager_get_last_messages")
2067 (return-type "GList*")
2069 '("McAccount*" "account")
2070 '("const-gchar*" "chat_id")
2071 '("gboolean" "chatroom")
2075 (define-method get_messages_for_file
2076 (of-object "EmpathyLogManager")
2077 (c-name "empathy_log_manager_get_messages_for_file")
2078 (return-type "GList*")
2080 '("const-gchar*" "filename")
2084 (define-method get_chats
2085 (of-object "EmpathyLogManager")
2086 (c-name "empathy_log_manager_get_chats")
2087 (return-type "GList*")
2089 '("McAccount*" "account")
2093 (define-method search_new
2094 (of-object "EmpathyLogManager")
2095 (c-name "empathy_log_manager_search_new")
2096 (return-type "GList*")
2098 '("const-gchar*" "text")
2102 (define-function log_manager_search_free
2103 (c-name "empathy_log_manager_search_free")
2104 (return-type "none")
2110 (define-function log_manager_get_date_readable
2111 (c-name "empathy_log_manager_get_date_readable")
2112 (return-type "gchar*")
2114 '("const-gchar*" "date")
2120 ;; From empathy-irc-network-manager.h
2122 (define-function irc_network_manager_get_type
2123 (c-name "empathy_irc_network_manager_get_type")
2124 (return-type "GType")
2127 (define-function irc_network_manager_new
2128 (c-name "empathy_irc_network_manager_new")
2129 (is-constructor-of "EmpathyIrcNetworkManager")
2130 (return-type "EmpathyIrcNetworkManager*")
2132 '("const-gchar*" "global_file")
2133 '("const-gchar*" "user_file")
2138 (of-object "EmpathyIrcNetworkManager")
2139 (c-name "empathy_irc_network_manager_add")
2140 (return-type "none")
2142 '("EmpathyIrcNetwork*" "network")
2146 (define-method remove
2147 (of-object "EmpathyIrcNetworkManager")
2148 (c-name "empathy_irc_network_manager_remove")
2149 (return-type "none")
2151 '("EmpathyIrcNetwork*" "network")
2155 (define-method get_networks
2156 (of-object "EmpathyIrcNetworkManager")
2157 (c-name "empathy_irc_network_manager_get_networks")
2158 (return-type "GSList*")
2161 (define-method find_network_by_address
2162 (of-object "EmpathyIrcNetworkManager")
2163 (c-name "empathy_irc_network_manager_find_network_by_address")
2164 (return-type "EmpathyIrcNetwork*")
2166 '("const-gchar*" "address")
2172 ;; From empathy-irc-network.h
2174 (define-function irc_network_get_type
2175 (c-name "empathy_irc_network_get_type")
2176 (return-type "GType")
2179 (define-function irc_network_new
2180 (c-name "empathy_irc_network_new")
2181 (is-constructor-of "EmpathyIrcNetwork")
2182 (return-type "EmpathyIrcNetwork*")
2184 '("const-gchar*" "name")
2188 (define-method get_servers
2189 (of-object "EmpathyIrcNetwork")
2190 (c-name "empathy_irc_network_get_servers")
2191 (return-type "GSList*")
2194 (define-method append_server
2195 (of-object "EmpathyIrcNetwork")
2196 (c-name "empathy_irc_network_append_server")
2197 (return-type "none")
2199 '("EmpathyIrcServer*" "server")
2203 (define-method remove_server
2204 (of-object "EmpathyIrcNetwork")
2205 (c-name "empathy_irc_network_remove_server")
2206 (return-type "none")
2208 '("EmpathyIrcServer*" "server")
2212 (define-method set_server_position
2213 (of-object "EmpathyIrcNetwork")
2214 (c-name "empathy_irc_network_set_server_position")
2215 (return-type "none")
2217 '("EmpathyIrcServer*" "server")
2224 ;; From empathy-irc-server.h
2226 (define-function irc_server_get_type
2227 (c-name "empathy_irc_server_get_type")
2228 (return-type "GType")
2231 (define-function irc_server_new
2232 (c-name "empathy_irc_server_new")
2233 (is-constructor-of "EmpathyIrcServer")
2234 (return-type "EmpathyIrcServer*")
2236 '("const-gchar*" "address")
2244 ;; From empathy-tube-handler.h
2246 (define-function tube_handler_get_type
2247 (c-name "empathy_tube_handler_get_type")
2248 (return-type "GType")
2251 (define-function tube_handler_new
2252 (c-name "empathy_tube_handler_new")
2253 (is-constructor-of "EmpathyTubeHandler")
2254 (return-type "EmpathyTubeHandler*")
2256 '("TpTubeType" "type")
2257 '("const-gchar*" "service")
2261 (define-function tube_handler_build_bus_name
2262 (c-name "empathy_tube_handler_build_bus_name")
2263 (return-type "gchar*")
2265 '("TpTubeType" "type")
2266 '("const-gchar*" "service")
2270 (define-function tube_handler_build_object_path
2271 (c-name "empathy_tube_handler_build_object_path")
2272 (return-type "gchar*")
2274 '("TpTubeType" "type")
2275 '("const-gchar*" "service")
2281 ;; From empathy-dispatcher.h
2283 (define-function dispatcher_get_type
2284 (c-name "empathy_dispatcher_get_type")
2285 (return-type "GType")
2288 (define-function dispatcher_new
2289 (c-name "empathy_dispatcher_new")
2290 (is-constructor-of "EmpathyDispatcher")
2291 (return-type "EmpathyDispatcher*")
2294 (define-method channel_process
2295 (of-object "EmpathyDispatcher")
2296 (c-name "empathy_dispatcher_channel_process")
2297 (return-type "none")
2299 '("TpChannel*" "channel")
2303 (define-function dispatcher_tube_get_type
2304 (c-name "empathy_dispatcher_tube_get_type")
2305 (return-type "GType")
2309 (of-object "EmpathyDispatcherTube")
2310 (c-name "empathy_dispatcher_tube_ref")
2311 (return-type "EmpathyDispatcherTube*")
2314 (define-method unref
2315 (of-object "EmpathyDispatcherTube")
2316 (c-name "empathy_dispatcher_tube_unref")
2317 (return-type "none")
2320 (define-method tube_process
2321 (of-object "EmpathyDispatcher")
2322 (c-name "empathy_dispatcher_tube_process")
2323 (return-type "none")
2325 '("EmpathyDispatcherTube*" "tube")
2329 (define-function dispatcher_call_with_contact
2330 (c-name "empathy_dispatcher_call_with_contact")
2331 (return-type "none")
2333 '("EmpathyContact*" "contact")
2337 (define-function dispatcher_call_with_contact_id
2338 (c-name "empathy_dispatcher_call_with_contact_id")
2339 (return-type "none")
2341 '("McAccount*" "account")
2342 '("const-gchar*" "contact_id")
2346 (define-function dispatcher_chat_with_contact_id
2347 (c-name "empathy_dispatcher_chat_with_contact_id")
2348 (return-type "none")
2350 '("McAccount*" "account")
2351 '("const-gchar*" "contact_id")
2355 (define-function dispatcher_chat_with_contact
2356 (c-name "empathy_dispatcher_chat_with_contact")
2357 (return-type "none")
2359 '("EmpathyContact*" "contact")