2 ; object definitions ...
3 (define-object Chandler
6 (c-name "EmpathyChandler")
7 (gtype-id "EMPATHY_TYPE_CHANDLER")
10 (define-object Chatroom
13 (c-name "EmpathyChatroom")
14 (gtype-id "EMPATHY_TYPE_CHATROOM")
17 (define-object ChatroomManager
20 (c-name "EmpathyChatroomManager")
21 (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
24 (define-object Contact
27 (c-name "EmpathyContact")
28 (gtype-id "EMPATHY_TYPE_CONTACT")
31 (define-object ContactFactory
34 (c-name "EmpathyContactFactory")
35 (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
38 (define-interface ContactList
40 (c-name "EmpathyContactList")
41 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
44 (define-object ContactManager
47 (implements "EmpathyContactList")
48 (c-name "EmpathyContactManager")
49 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
55 (c-name "EmpathyFilter")
56 (gtype-id "EMPATHY_TYPE_FILTER")
62 (c-name "EmpathyIdle")
63 (gtype-id "EMPATHY_TYPE_IDLE")
66 (define-object IrcNetwork
69 (c-name "EmpathyIrcNetwork")
70 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
73 (define-object IrcNetworkManager
76 (c-name "EmpathyIrcNetworkManager")
77 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
80 (define-object IrcServer
83 (c-name "EmpathyIrcServer")
84 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
87 (define-object LogManager
90 (c-name "EmpathyLogManager")
91 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
94 (define-object Message
97 (c-name "EmpathyMessage")
98 (gtype-id "EMPATHY_TYPE_MESSAGE")
101 (define-object TpCall
102 (in-module "Empathy")
104 (c-name "EmpathyTpCall")
105 (gtype-id "EMPATHY_TYPE_TP_CALL")
108 (define-object TpChat
109 (in-module "Empathy")
111 (c-name "EmpathyTpChat")
112 (gtype-id "EMPATHY_TYPE_TP_CHAT")
115 (define-object TpChatroom
116 (in-module "Empathy")
117 (parent "EmpathyTpChat")
118 (implements "EmpathyContactList")
119 (c-name "EmpathyTpChatroom")
120 (gtype-id "EMPATHY_TYPE_TP_CHATROOM")
123 (define-object TpContactFactory
124 (in-module "Empathy")
126 (c-name "EmpathyTpContactFactory")
127 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
130 (define-object TpContactList
131 (in-module "Empathy")
133 (implements "EmpathyContactList")
134 (c-name "EmpathyTpContactList")
135 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
138 (define-object TpGroup
139 (in-module "Empathy")
141 (c-name "EmpathyTpGroup")
142 (gtype-id "EMPATHY_TYPE_TP_GROUP")
145 (define-object TpRoomlist
146 (in-module "Empathy")
148 (c-name "EmpathyTpRoomlist")
149 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
152 ;; Enumerations and flags ...
154 (define-flags Capabilities
155 (in-module "Empathy")
156 (c-name "EmpathyCapabilities")
157 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
159 '("none" "EMPATHY_CAPABILITIES_NONE")
160 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
161 '("video" "EMPATHY_CAPABILITIES_VIDEO")
162 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
166 (define-enum MessageType
167 (in-module "Empathy")
168 (c-name "EmpathyMessageType")
169 (gtype-id "EMPATHY_TYPE_MESSAGE_TYPE")
171 '("normal" "EMPATHY_MESSAGE_TYPE_NORMAL")
172 '("action" "EMPATHY_MESSAGE_TYPE_ACTION")
173 '("notice" "EMPATHY_MESSAGE_TYPE_NOTICE")
174 '("auto-reply" "EMPATHY_MESSAGE_TYPE_AUTO_REPLY")
175 '("last" "EMPATHY_MESSAGE_TYPE_LAST")
179 (define-enum TpCallStatus
180 (in-module "Empathy")
181 (c-name "EmpathyTpCallStatus")
182 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
184 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
185 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
186 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
187 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
191 (define-enum RegExType
192 (in-module "Empathy")
193 (c-name "EmpathyRegExType")
194 (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
196 '("as-is" "EMPATHY_REGEX_AS_IS")
197 '("browser" "EMPATHY_REGEX_BROWSER")
198 '("email" "EMPATHY_REGEX_EMAIL")
199 '("other" "EMPATHY_REGEX_OTHER")
200 '("all" "EMPATHY_REGEX_ALL")
205 ;; From empathy-avatar.h
207 (define-function empathy_avatar_get_type
208 (c-name "empathy_avatar_get_type")
209 (return-type "GType")
212 (define-function empathy_avatar_new
213 (c-name "empathy_avatar_new")
214 (is-constructor-of "EmpathyAvatar")
215 (return-type "EmpathyAvatar*")
217 '("const-guchar*" "avatar")
218 '("const-gsize" "len")
219 '("const-gchar*" "format")
220 '("const-gchar*" "token")
224 (define-function empathy_avatar_new_from_cache
225 (c-name "empathy_avatar_new_from_cache")
226 (return-type "EmpathyAvatar*")
228 '("const-gchar*" "token")
233 (of-object "EmpathyAvatar")
234 (c-name "empathy_avatar_ref")
235 (return-type "EmpathyAvatar*")
239 (of-object "EmpathyAvatar")
240 (c-name "empathy_avatar_unref")
246 ;; From empathy-chandler.h
248 (define-function empathy_chandler_get_type
249 (c-name "empathy_chandler_get_type")
250 (return-type "GType")
253 (define-function empathy_chandler_new
254 (c-name "empathy_chandler_new")
255 (is-constructor-of "EmpathyChandler")
256 (return-type "EmpathyChandler*")
258 '("const-gchar*" "bus_name")
259 '("const-gchar*" "object_path")
265 ;; From empathy-chatroom.h
267 (define-function empathy_chatroom_get_type
268 (c-name "empathy_chatroom_get_type")
269 (return-type "GType")
272 (define-function empathy_chatroom_new
273 (c-name "empathy_chatroom_new")
274 (is-constructor-of "EmpathyChatroom")
275 (return-type "EmpathyChatroom*")
277 '("McAccount*" "account")
278 '("const-gchar*" "room")
282 (define-function empathy_chatroom_new_full
283 (c-name "empathy_chatroom_new_full")
284 (return-type "EmpathyChatroom*")
286 '("McAccount*" "account")
287 '("const-gchar*" "room")
288 '("const-gchar*" "name")
289 '("gboolean" "auto_connect")
293 (define-method get_account
294 (of-object "EmpathyChatroom")
295 (c-name "empathy_chatroom_get_account")
296 (return-type "McAccount*")
299 (define-method set_account
300 (of-object "EmpathyChatroom")
301 (c-name "empathy_chatroom_set_account")
304 '("McAccount*" "account")
308 (define-method get_room
309 (of-object "EmpathyChatroom")
310 (c-name "empathy_chatroom_get_room")
311 (return-type "const-gchar*")
314 (define-method set_room
315 (of-object "EmpathyChatroom")
316 (c-name "empathy_chatroom_set_room")
319 '("const-gchar*" "room")
323 (define-method get_name
324 (of-object "EmpathyChatroom")
325 (c-name "empathy_chatroom_get_name")
326 (return-type "const-gchar*")
329 (define-method set_name
330 (of-object "EmpathyChatroom")
331 (c-name "empathy_chatroom_set_name")
334 '("const-gchar*" "name")
338 (define-method get_auto_connect
339 (of-object "EmpathyChatroom")
340 (c-name "empathy_chatroom_get_auto_connect")
341 (return-type "gboolean")
344 (define-method set_auto_connect
345 (of-object "EmpathyChatroom")
346 (c-name "empathy_chatroom_set_auto_connect")
349 '("gboolean" "auto_connect")
353 (define-function empathy_chatroom_equal
354 (c-name "empathy_chatroom_equal")
355 (return-type "gboolean")
357 '("gconstpointer" "v1")
358 '("gconstpointer" "v2")
364 ;; From empathy-chatroom-manager.h
366 (define-function empathy_chatroom_manager_get_type
367 (c-name "empathy_chatroom_manager_get_type")
368 (return-type "GType")
371 (define-function empathy_chatroom_manager_new
372 (c-name "empathy_chatroom_manager_new")
373 (is-constructor-of "EmpathyChatroomManager")
374 (return-type "EmpathyChatroomManager*")
378 (of-object "EmpathyChatroomManager")
379 (c-name "empathy_chatroom_manager_add")
380 (return-type "gboolean")
382 '("EmpathyChatroom*" "chatroom")
386 (define-method remove
387 (of-object "EmpathyChatroomManager")
388 (c-name "empathy_chatroom_manager_remove")
391 '("EmpathyChatroom*" "chatroom")
396 (of-object "EmpathyChatroomManager")
397 (c-name "empathy_chatroom_manager_find")
398 (return-type "EmpathyChatroom*")
400 '("McAccount*" "account")
401 '("const-gchar*" "room")
405 (define-method get_chatrooms
406 (of-object "EmpathyChatroomManager")
407 (c-name "empathy_chatroom_manager_get_chatrooms")
408 (return-type "GList*")
410 '("McAccount*" "account")
414 (define-method get_count
415 (of-object "EmpathyChatroomManager")
416 (c-name "empathy_chatroom_manager_get_count")
417 (return-type "guint")
419 '("McAccount*" "account")
424 (of-object "EmpathyChatroomManager")
425 (c-name "empathy_chatroom_manager_store")
431 ;; From empathy-contact-factory.h
433 (define-function empathy_contact_factory_get_type
434 (c-name "empathy_contact_factory_get_type")
435 (return-type "GType")
438 (define-function empathy_contact_factory_new
439 (c-name "empathy_contact_factory_new")
440 (is-constructor-of "EmpathyContactFactory")
441 (return-type "EmpathyContactFactory*")
444 (define-method get_user
445 (of-object "EmpathyContactFactory")
446 (c-name "empathy_contact_factory_get_user")
447 (return-type "EmpathyContact*")
449 '("McAccount*" "account")
453 (define-method get_from_id
454 (of-object "EmpathyContactFactory")
455 (c-name "empathy_contact_factory_get_from_id")
456 (return-type "EmpathyContact*")
458 '("McAccount*" "account")
459 '("const-gchar*" "id")
463 (define-method get_from_handle
464 (of-object "EmpathyContactFactory")
465 (c-name "empathy_contact_factory_get_from_handle")
466 (return-type "EmpathyContact*")
468 '("McAccount*" "account")
473 (define-method get_from_handles
474 (of-object "EmpathyContactFactory")
475 (c-name "empathy_contact_factory_get_from_handles")
476 (return-type "GList*")
478 '("McAccount*" "account")
479 '("GArray*" "handles")
483 (define-method set_alias
484 (of-object "EmpathyContactFactory")
485 (c-name "empathy_contact_factory_set_alias")
488 '("EmpathyContact*" "contact")
489 '("const-gchar*" "alias")
493 (define-method set_avatar
494 (of-object "EmpathyContactFactory")
495 (c-name "empathy_contact_factory_set_avatar")
498 '("McAccount*" "account")
499 '("const-gchar*" "data")
501 '("const-gchar*" "mime_type")
507 ;; From empathy-contact-groups.h
509 (define-function empathy_contact_groups_get_all
510 (c-name "empathy_contact_groups_get_all")
514 (define-function empathy_contact_group_get_expanded
515 (c-name "empathy_contact_group_get_expanded")
516 (return-type "gboolean")
518 '("const-gchar*" "group")
522 (define-function empathy_contact_group_set_expanded
523 (c-name "empathy_contact_group_set_expanded")
526 '("const-gchar*" "group")
527 '("gboolean" "expanded")
533 ;; From empathy-contact.h
535 (define-function empathy_contact_get_type
536 (c-name "empathy_contact_get_type")
537 (return-type "GType")
540 (define-function empathy_contact_new
541 (c-name "empathy_contact_new")
542 (is-constructor-of "EmpathyContact")
543 (return-type "EmpathyContact*")
545 '("McAccount*" "account")
549 (define-function empathy_contact_new_full
550 (c-name "empathy_contact_new_full")
551 (return-type "EmpathyContact*")
553 '("McAccount*" "account")
554 '("const-gchar*" "id")
555 '("const-gchar*" "name")
559 (define-method get_id
560 (of-object "EmpathyContact")
561 (c-name "empathy_contact_get_id")
562 (return-type "const-gchar*")
565 (define-method set_id
566 (of-object "EmpathyContact")
567 (c-name "empathy_contact_set_id")
570 '("const-gchar*" "id")
574 (define-method get_name
575 (of-object "EmpathyContact")
576 (c-name "empathy_contact_get_name")
577 (return-type "const-gchar*")
580 (define-method set_name
581 (of-object "EmpathyContact")
582 (c-name "empathy_contact_set_name")
585 '("const-gchar*" "name")
589 (define-method get_avatar
590 (of-object "EmpathyContact")
591 (c-name "empathy_contact_get_avatar")
592 (return-type "EmpathyAvatar*")
595 (define-method set_avatar
596 (of-object "EmpathyContact")
597 (c-name "empathy_contact_set_avatar")
600 '("EmpathyAvatar*" "avatar")
604 (define-method get_account
605 (of-object "EmpathyContact")
606 (c-name "empathy_contact_get_account")
607 (return-type "McAccount*")
610 (define-method set_account
611 (of-object "EmpathyContact")
612 (c-name "empathy_contact_set_account")
615 '("McAccount*" "account")
619 (define-method get_presence
620 (of-object "EmpathyContact")
621 (c-name "empathy_contact_get_presence")
622 (return-type "McPresence")
625 (define-method set_presence
626 (of-object "EmpathyContact")
627 (c-name "empathy_contact_set_presence")
630 '("McPresence" "presence")
634 (define-method get_presence_message
635 (of-object "EmpathyContact")
636 (c-name "empathy_contact_get_presence_message")
637 (return-type "const-gchar*")
640 (define-method set_presence_message
641 (of-object "EmpathyContact")
642 (c-name "empathy_contact_set_presence_message")
645 '("const-gchar*" "message")
649 (define-method get_handle
650 (of-object "EmpathyContact")
651 (c-name "empathy_contact_get_handle")
652 (return-type "guint")
655 (define-method set_handle
656 (of-object "EmpathyContact")
657 (c-name "empathy_contact_set_handle")
664 (define-method get_capabilities
665 (of-object "EmpathyContact")
666 (c-name "empathy_contact_get_capabilities")
667 (return-type "EmpathyCapabilities")
670 (define-method set_capabilities
671 (of-object "EmpathyContact")
672 (c-name "empathy_contact_set_capabilities")
675 '("EmpathyCapabilities" "capabilities")
679 (define-method is_user
680 (of-object "EmpathyContact")
681 (c-name "empathy_contact_is_user")
682 (return-type "gboolean")
685 (define-method set_is_user
686 (of-object "EmpathyContact")
687 (c-name "empathy_contact_set_is_user")
690 '("gboolean" "is_user")
694 (define-method is_online
695 (of-object "EmpathyContact")
696 (c-name "empathy_contact_is_online")
697 (return-type "gboolean")
700 (define-method get_status
701 (of-object "EmpathyContact")
702 (c-name "empathy_contact_get_status")
703 (return-type "const-gchar*")
706 (define-method can_voip
707 (of-object "EmpathyContact")
708 (c-name "empathy_contact_can_voip")
709 (return-type "gboolean")
712 (define-function empathy_contact_equal
713 (c-name "empathy_contact_equal")
714 (return-type "gboolean")
716 '("gconstpointer" "v1")
717 '("gconstpointer" "v2")
721 (define-function empathy_contact_hash
722 (c-name "empathy_contact_hash")
723 (return-type "guint")
725 '("gconstpointer" "key")
731 ;; From empathy-contact-list.h
733 (define-function empathy_contact_list_get_type
734 (c-name "empathy_contact_list_get_type")
735 (return-type "GType")
739 (of-object "EmpathyContactList")
740 (c-name "empathy_contact_list_add")
743 '("EmpathyContact*" "contact")
744 '("const-gchar*" "message")
748 (define-method remove
749 (of-object "EmpathyContactList")
750 (c-name "empathy_contact_list_remove")
753 '("EmpathyContact*" "contact")
754 '("const-gchar*" "message")
758 (define-method get_members
759 (of-object "EmpathyContactList")
760 (c-name "empathy_contact_list_get_members")
761 (return-type "GList*")
764 (define-method get_pendings
765 (of-object "EmpathyContactList")
766 (c-name "empathy_contact_list_get_pendings")
767 (return-type "GList*")
770 (define-method get_all_groups
771 (of-object "EmpathyContactList")
772 (c-name "empathy_contact_list_get_all_groups")
773 (return-type "GList*")
776 (define-method get_groups
777 (of-object "EmpathyContactList")
778 (c-name "empathy_contact_list_get_groups")
779 (return-type "GList*")
781 '("EmpathyContact*" "contact")
785 (define-method add_to_group
786 (of-object "EmpathyContactList")
787 (c-name "empathy_contact_list_add_to_group")
790 '("EmpathyContact*" "contact")
791 '("const-gchar*" "group")
795 (define-method remove_from_group
796 (of-object "EmpathyContactList")
797 (c-name "empathy_contact_list_remove_from_group")
800 '("EmpathyContact*" "contact")
801 '("const-gchar*" "group")
805 (define-method rename_group
806 (of-object "EmpathyContactList")
807 (c-name "empathy_contact_list_rename_group")
810 '("const-gchar*" "old_group")
811 '("const-gchar*" "new_group")
815 (define-method remove_group
816 (of-object "EmpathyContactList")
817 (c-name "empathy_contact_list_remove_group")
820 '("const-gchar*" "group")
826 ;; From empathy-contact-manager.h
828 (define-function empathy_contact_manager_get_type
829 (c-name "empathy_contact_manager_get_type")
830 (return-type "GType")
833 (define-function empathy_contact_manager_new
834 (c-name "empathy_contact_manager_new")
835 (is-constructor-of "EmpathyContactManager")
836 (return-type "EmpathyContactManager*")
839 (define-method get_list
840 (of-object "EmpathyContactManager")
841 (c-name "empathy_contact_manager_get_list")
842 (return-type "EmpathyTpContactList*")
844 '("McAccount*" "account")
850 ;; From empathy-debug.h
852 (define-function empathy_debug_impl
853 (c-name "empathy_debug_impl")
856 '("const-gchar*" "domain")
857 '("const-gchar*" "msg")
862 (define-function empathy_debug_set_log_file_from_env
863 (c-name "empathy_debug_set_log_file_from_env")
869 ;; From empathy-filter.h
871 (define-function empathy_filter_get_type
872 (c-name "empathy_filter_get_type")
873 (return-type "GType")
876 (define-function empathy_filter_new
877 (c-name "empathy_filter_new")
878 (is-constructor-of "EmpathyFilter")
879 (return-type "EmpathyFilter*")
881 '("const-gchar*" "bus_name")
882 '("const-gchar*" "object_path")
883 '("const-gchar*" "channel_type")
884 '("guint" "priority")
889 (define-method process
890 (of-object "EmpathyFilter")
891 (c-name "empathy_filter_process")
894 '("TpChan*" "tp_chan")
895 '("gboolean" "process")
901 ;; From empathy-idle.h
903 (define-function empathy_idle_get_type
904 (c-name "empathy_idle_get_type")
905 (return-type "GType")
908 (define-function empathy_idle_new
909 (c-name "empathy_idle_new")
910 (is-constructor-of "EmpathyIdle")
911 (return-type "EmpathyIdle*")
914 (define-method get_state
915 (of-object "EmpathyIdle")
916 (c-name "empathy_idle_get_state")
917 (return-type "McPresence")
920 (define-method set_state
921 (of-object "EmpathyIdle")
922 (c-name "empathy_idle_set_state")
925 '("McPresence" "state")
929 (define-method get_status
930 (of-object "EmpathyIdle")
931 (c-name "empathy_idle_get_status")
932 (return-type "const-gchar*")
935 (define-method set_status
936 (of-object "EmpathyIdle")
937 (c-name "empathy_idle_set_status")
940 '("const-gchar*" "status")
944 (define-method get_flash_state
945 (of-object "EmpathyIdle")
946 (c-name "empathy_idle_get_flash_state")
947 (return-type "McPresence")
950 (define-method set_flash_state
951 (of-object "EmpathyIdle")
952 (c-name "empathy_idle_set_flash_state")
955 '("McPresence" "state")
959 (define-method set_presence
960 (of-object "EmpathyIdle")
961 (c-name "empathy_idle_set_presence")
964 '("McPresence" "state")
965 '("const-gchar*" "status")
969 (define-method get_auto_away
970 (of-object "EmpathyIdle")
971 (c-name "empathy_idle_get_auto_away")
972 (return-type "gboolean")
975 (define-method set_auto_away
976 (of-object "EmpathyIdle")
977 (c-name "empathy_idle_set_auto_away")
980 '("gboolean" "auto_away")
984 (define-method get_use_nm
985 (of-object "EmpathyIdle")
986 (c-name "empathy_idle_get_use_nm")
987 (return-type "gboolean")
990 (define-method set_use_nm
991 (of-object "EmpathyIdle")
992 (c-name "empathy_idle_set_use_nm")
995 '("gboolean" "use_nm")
1001 ;; From empathy-irc-network.h
1003 (define-function empathy_irc_network_get_type
1004 (c-name "empathy_irc_network_get_type")
1005 (return-type "GType")
1008 (define-function empathy_irc_network_new
1009 (c-name "empathy_irc_network_new")
1010 (is-constructor-of "EmpathyIrcNetwork")
1011 (return-type "EmpathyIrcNetwork*")
1013 '("const-gchar*" "name")
1017 (define-method get_servers
1018 (of-object "EmpathyIrcNetwork")
1019 (c-name "empathy_irc_network_get_servers")
1020 (return-type "GSList*")
1023 (define-method append_server
1024 (of-object "EmpathyIrcNetwork")
1025 (c-name "empathy_irc_network_append_server")
1026 (return-type "none")
1028 '("EmpathyIrcServer*" "server")
1032 (define-method remove_server
1033 (of-object "EmpathyIrcNetwork")
1034 (c-name "empathy_irc_network_remove_server")
1035 (return-type "none")
1037 '("EmpathyIrcServer*" "server")
1041 (define-method set_server_position
1042 (of-object "EmpathyIrcNetwork")
1043 (c-name "empathy_irc_network_set_server_position")
1044 (return-type "none")
1046 '("EmpathyIrcServer*" "server")
1053 ;; From empathy-irc-network-manager.h
1055 (define-function empathy_irc_network_manager_get_type
1056 (c-name "empathy_irc_network_manager_get_type")
1057 (return-type "GType")
1060 (define-function empathy_irc_network_manager_new
1061 (c-name "empathy_irc_network_manager_new")
1062 (is-constructor-of "EmpathyIrcNetworkManager")
1063 (return-type "EmpathyIrcNetworkManager*")
1065 '("const-gchar*" "global_file")
1066 '("const-gchar*" "user_file")
1071 (of-object "EmpathyIrcNetworkManager")
1072 (c-name "empathy_irc_network_manager_add")
1073 (return-type "none")
1075 '("EmpathyIrcNetwork*" "network")
1079 (define-method remove
1080 (of-object "EmpathyIrcNetworkManager")
1081 (c-name "empathy_irc_network_manager_remove")
1082 (return-type "none")
1084 '("EmpathyIrcNetwork*" "network")
1088 (define-method get_networks
1089 (of-object "EmpathyIrcNetworkManager")
1090 (c-name "empathy_irc_network_manager_get_networks")
1091 (return-type "GSList*")
1094 (define-method find_network_by_address
1095 (of-object "EmpathyIrcNetworkManager")
1096 (c-name "empathy_irc_network_manager_find_network_by_address")
1097 (return-type "EmpathyIrcNetwork*")
1099 '("const-gchar*" "address")
1105 ;; From empathy-irc-server.h
1107 (define-function empathy_irc_server_get_type
1108 (c-name "empathy_irc_server_get_type")
1109 (return-type "GType")
1112 (define-function empathy_irc_server_new
1113 (c-name "empathy_irc_server_new")
1114 (is-constructor-of "EmpathyIrcServer")
1115 (return-type "EmpathyIrcServer*")
1117 '("const-gchar*" "address")
1125 ;; From empathy-log-manager.h
1127 (define-function empathy_log_manager_get_type
1128 (c-name "empathy_log_manager_get_type")
1129 (return-type "GType")
1132 (define-function empathy_log_manager_new
1133 (c-name "empathy_log_manager_new")
1134 (is-constructor-of "EmpathyLogManager")
1135 (return-type "EmpathyLogManager*")
1138 (define-method add_message
1139 (of-object "EmpathyLogManager")
1140 (c-name "empathy_log_manager_add_message")
1141 (return-type "none")
1143 '("const-gchar*" "chat_id")
1144 '("gboolean" "chatroom")
1145 '("EmpathyMessage*" "message")
1149 (define-method exists
1150 (of-object "EmpathyLogManager")
1151 (c-name "empathy_log_manager_exists")
1152 (return-type "gboolean")
1154 '("McAccount*" "account")
1155 '("const-gchar*" "chat_id")
1156 '("gboolean" "chatroom")
1160 (define-method get_dates
1161 (of-object "EmpathyLogManager")
1162 (c-name "empathy_log_manager_get_dates")
1163 (return-type "GList*")
1165 '("McAccount*" "account")
1166 '("const-gchar*" "chat_id")
1167 '("gboolean" "chatroom")
1171 (define-method get_messages_for_file
1172 (of-object "EmpathyLogManager")
1173 (c-name "empathy_log_manager_get_messages_for_file")
1174 (return-type "GList*")
1176 '("const-gchar*" "filename")
1180 (define-method get_messages_for_date
1181 (of-object "EmpathyLogManager")
1182 (c-name "empathy_log_manager_get_messages_for_date")
1183 (return-type "GList*")
1185 '("McAccount*" "account")
1186 '("const-gchar*" "chat_id")
1187 '("gboolean" "chatroom")
1188 '("const-gchar*" "date")
1192 (define-method get_last_messages
1193 (of-object "EmpathyLogManager")
1194 (c-name "empathy_log_manager_get_last_messages")
1195 (return-type "GList*")
1197 '("McAccount*" "account")
1198 '("const-gchar*" "chat_id")
1199 '("gboolean" "chatroom")
1203 (define-method get_messages_for_file
1204 (of-object "EmpathyLogManager")
1205 (c-name "empathy_log_manager_get_messages_for_file")
1206 (return-type "GList*")
1208 '("const-gchar*" "filename")
1212 (define-method get_chats
1213 (of-object "EmpathyLogManager")
1214 (c-name "empathy_log_manager_get_chats")
1215 (return-type "GList*")
1217 '("McAccount*" "account")
1221 (define-method search_new
1222 (of-object "EmpathyLogManager")
1223 (c-name "empathy_log_manager_search_new")
1224 (return-type "GList*")
1226 '("const-gchar*" "text")
1230 (define-function empathy_log_manager_search_free
1231 (c-name "empathy_log_manager_search_free")
1232 (return-type "none")
1238 (define-function empathy_log_manager_get_date_readable
1239 (c-name "empathy_log_manager_get_date_readable")
1240 (return-type "gchar*")
1242 '("const-gchar*" "date")
1248 ;; From empathy-message.h
1250 (define-function empathy_message_get_gtype
1251 (c-name "empathy_message_get_gtype")
1252 (return-type "GType")
1255 (define-function empathy_message_new
1256 (c-name "empathy_message_new")
1257 (is-constructor-of "EmpathyMessage")
1258 (return-type "EmpathyMessage*")
1260 '("const-gchar*" "body")
1264 (define-method get_type
1265 (of-object "EmpathyMessage")
1266 (c-name "empathy_message_get_type")
1267 (return-type "EmpathyMessageType")
1270 (define-method set_type
1271 (of-object "EmpathyMessage")
1272 (c-name "empathy_message_set_type")
1273 (return-type "none")
1275 '("EmpathyMessageType" "type")
1279 (define-method get_sender
1280 (of-object "EmpathyMessage")
1281 (c-name "empathy_message_get_sender")
1282 (return-type "EmpathyContact*")
1285 (define-method set_sender
1286 (of-object "EmpathyMessage")
1287 (c-name "empathy_message_set_sender")
1288 (return-type "none")
1290 '("EmpathyContact*" "contact")
1294 (define-method get_receiver
1295 (of-object "EmpathyMessage")
1296 (c-name "empathy_message_get_receiver")
1297 (return-type "EmpathyContact*")
1300 (define-method set_receiver
1301 (of-object "EmpathyMessage")
1302 (c-name "empathy_message_set_receiver")
1303 (return-type "none")
1305 '("EmpathyContact*" "contact")
1309 (define-method get_body
1310 (of-object "EmpathyMessage")
1311 (c-name "empathy_message_get_body")
1312 (return-type "const-gchar*")
1315 (define-method set_body
1316 (of-object "EmpathyMessage")
1317 (c-name "empathy_message_set_body")
1318 (return-type "none")
1320 '("const-gchar*" "body")
1324 (define-method get_timestamp
1325 (of-object "EmpathyMessage")
1326 (c-name "empathy_message_get_timestamp")
1327 (return-type "time_t")
1330 (define-method set_timestamp
1331 (of-object "EmpathyMessage")
1332 (c-name "empathy_message_set_timestamp")
1333 (return-type "none")
1335 '("time_t" "timestamp")
1339 (define-method get_date_and_time
1340 (of-object "EmpathyMessage")
1341 (c-name "empathy_message_get_date_and_time")
1342 (return-type "GDate*")
1344 '("time_t*" "timestamp")
1348 (define-function empathy_message_type_from_str
1349 (c-name "empathy_message_type_from_str")
1350 (return-type "EmpathyMessageType")
1352 '("const-gchar*" "type_str")
1356 (define-method to_str
1357 (of-object "EmpathyMessageType")
1358 (c-name "empathy_message_type_to_str")
1359 (return-type "const-gchar*")
1364 ;; From empathy-status-presets.h
1366 (define-function empathy_status_presets_get_all
1367 (c-name "empathy_status_presets_get_all")
1368 (return-type "none")
1371 (define-function empathy_status_presets_get
1372 (c-name "empathy_status_presets_get")
1373 (return-type "GList*")
1375 '("McPresence" "state")
1376 '("gint" "max_number")
1380 (define-function empathy_status_presets_set_last
1381 (c-name "empathy_status_presets_set_last")
1382 (return-type "none")
1384 '("McPresence" "state")
1385 '("const-gchar*" "status")
1389 (define-function empathy_status_presets_remove
1390 (c-name "empathy_status_presets_remove")
1391 (return-type "none")
1393 '("McPresence" "state")
1394 '("const-gchar*" "status")
1398 (define-function empathy_status_presets_reset
1399 (c-name "empathy_status_presets_reset")
1400 (return-type "none")
1403 (define-function empathy_status_presets_get_default_state
1404 (c-name "empathy_status_presets_get_default_state")
1405 (return-type "McPresence")
1408 (define-function empathy_status_presets_get_default_status
1409 (c-name "empathy_status_presets_get_default_status")
1410 (return-type "const-gchar*")
1413 (define-function empathy_status_presets_set_default
1414 (c-name "empathy_status_presets_set_default")
1415 (return-type "none")
1417 '("McPresence" "state")
1418 '("const-gchar*" "status")
1422 (define-function empathy_status_presets_clear_default
1423 (c-name "empathy_status_presets_clear_default")
1424 (return-type "none")
1429 ;; From empathy-time.h
1431 (define-function empathy_time_get_current
1432 (c-name "empathy_time_get_current")
1433 (return-type "time_t")
1436 (define-function empathy_time_get_local_time
1437 (c-name "empathy_time_get_local_time")
1438 (return-type "time_t")
1440 '("struct-tm*" "tm")
1444 (define-function empathy_time_parse
1445 (c-name "empathy_time_parse")
1446 (return-type "time_t")
1448 '("const-gchar*" "str")
1452 (define-function empathy_time_to_string_utc
1453 (c-name "empathy_time_to_string_utc")
1454 (return-type "gchar*")
1457 '("const-gchar*" "format")
1461 (define-function empathy_time_to_string_local
1462 (c-name "empathy_time_to_string_local")
1463 (return-type "gchar*")
1466 '("const-gchar*" "format")
1472 ;; From empathy-tp-call.h
1474 (define-function empathy_tp_call_get_type
1475 (c-name "empathy_tp_call_get_type")
1476 (return-type "GType")
1479 (define-function empathy_tp_call_new
1480 (c-name "empathy_tp_call_new")
1481 (is-constructor-of "EmpathyTpCall")
1482 (return-type "EmpathyTpCall*")
1484 '("TpConn*" "connection")
1485 '("TpChan*" "channel")
1489 (define-method accept_incoming_call
1490 (of-object "EmpathyTpCall")
1491 (c-name "empathy_tp_call_accept_incoming_call")
1492 (return-type "none")
1495 (define-method close_channel
1496 (of-object "EmpathyTpCall")
1497 (c-name "empathy_tp_call_close_channel")
1498 (return-type "none")
1501 (define-method request_video_stream_direction
1502 (of-object "EmpathyTpCall")
1503 (c-name "empathy_tp_call_request_video_stream_direction")
1504 (return-type "none")
1506 '("gboolean" "is_sending")
1510 (define-method add_preview_video
1511 (of-object "EmpathyTpCall")
1512 (c-name "empathy_tp_call_add_preview_video")
1513 (return-type "none")
1515 '("guint" "preview_video_socket_id")
1519 (define-method remove_preview_video
1520 (of-object "EmpathyTpCall")
1521 (c-name "empathy_tp_call_remove_preview_video")
1522 (return-type "none")
1524 '("guint" "preview_video_socket_id")
1528 (define-method add_output_video
1529 (of-object "EmpathyTpCall")
1530 (c-name "empathy_tp_call_add_output_video")
1531 (return-type "none")
1533 '("guint" "output_video_socket_id")
1537 (define-method set_output_volume
1538 (of-object "EmpathyTpCall")
1539 (c-name "empathy_tp_call_set_output_volume")
1540 (return-type "none")
1546 (define-method mute_output
1547 (of-object "EmpathyTpCall")
1548 (c-name "empathy_tp_call_mute_output")
1549 (return-type "none")
1551 '("gboolean" "is_muted")
1555 (define-method mute_input
1556 (of-object "EmpathyTpCall")
1557 (c-name "empathy_tp_call_mute_input")
1558 (return-type "none")
1560 '("gboolean" "is_muted")
1566 ;; From empathy-tp-chat.h
1568 (define-function empathy_tp_chat_get_type
1569 (c-name "empathy_tp_chat_get_type")
1570 (return-type "GType")
1573 (define-function empathy_tp_chat_new
1574 (c-name "empathy_tp_chat_new")
1575 (is-constructor-of "EmpathyTpChat")
1576 (return-type "EmpathyTpChat*")
1578 '("McAccount*" "account")
1579 '("TpChan*" "tp_chan")
1583 (define-function empathy_tp_chat_new_with_contact
1584 (c-name "empathy_tp_chat_new_with_contact")
1585 (return-type "EmpathyTpChat*")
1587 '("EmpathyContact*" "contact")
1591 (define-method get_acknowledge
1592 (of-object "EmpathyTpChat")
1593 (c-name "empathy_tp_chat_get_acknowledge")
1594 (return-type "gboolean")
1597 (define-method set_acknowledge
1598 (of-object "EmpathyTpChat")
1599 (c-name "empathy_tp_chat_set_acknowledge")
1600 (return-type "none")
1602 '("gboolean" "acknowledge")
1606 (define-method get_account
1607 (of-object "EmpathyTpChat")
1608 (c-name "empathy_tp_chat_get_account")
1609 (return-type "McAccount*")
1612 (define-method get_channel
1613 (of-object "EmpathyTpChat")
1614 (c-name "empathy_tp_chat_get_channel")
1615 (return-type "TpChan*")
1618 (define-method get_pendings
1619 (of-object "EmpathyTpChat")
1620 (c-name "empathy_tp_chat_get_pendings")
1621 (return-type "GList*")
1625 (of-object "EmpathyTpChat")
1626 (c-name "empathy_tp_chat_send")
1627 (return-type "none")
1629 '("EmpathyMessage*" "message")
1633 (define-method set_state
1634 (of-object "EmpathyTpChat")
1635 (c-name "empathy_tp_chat_set_state")
1636 (return-type "none")
1638 '("TpChannelChatState" "state")
1642 (define-method get_id
1643 (of-object "EmpathyTpChat")
1644 (c-name "empathy_tp_chat_get_id")
1645 (return-type "const-gchar*")
1650 ;; From empathy-tp-chatroom.h
1652 (define-function empathy_tp_chatroom_get_type
1653 (c-name "empathy_tp_chatroom_get_type")
1654 (return-type "GType")
1657 (define-function empathy_tp_chatroom_new
1658 (c-name "empathy_tp_chatroom_new")
1659 (is-constructor-of "EmpathyTpChatroom")
1660 (return-type "EmpathyTpChatroom*")
1662 '("McAccount*" "account")
1663 '("TpChan*" "tp_chan")
1667 (define-method get_invitation
1668 (of-object "EmpathyTpChatroom")
1669 (c-name "empathy_tp_chatroom_get_invitation")
1670 (return-type "gboolean")
1672 '("EmpathyContact**" "contact")
1673 '("const-gchar**" "message")
1677 (define-method accept_invitation
1678 (of-object "EmpathyTpChatroom")
1679 (c-name "empathy_tp_chatroom_accept_invitation")
1680 (return-type "none")
1683 (define-method set_topic
1684 (of-object "EmpathyTpChatroom")
1685 (c-name "empathy_tp_chatroom_set_topic")
1686 (return-type "none")
1688 '("const-gchar*" "topic")
1694 ;; From empathy-tp-contact-factory.h
1696 (define-function empathy_tp_contact_factory_get_type
1697 (c-name "empathy_tp_contact_factory_get_type")
1698 (return-type "GType")
1701 (define-function empathy_tp_contact_factory_new
1702 (c-name "empathy_tp_contact_factory_new")
1703 (is-constructor-of "EmpathyTpContactFactory")
1704 (return-type "EmpathyTpContactFactory*")
1706 '("McAccount*" "account")
1710 (define-method get_user
1711 (of-object "EmpathyTpContactFactory")
1712 (c-name "empathy_tp_contact_factory_get_user")
1713 (return-type "EmpathyContact*")
1716 (define-method get_from_id
1717 (of-object "EmpathyTpContactFactory")
1718 (c-name "empathy_tp_contact_factory_get_from_id")
1719 (return-type "EmpathyContact*")
1721 '("const-gchar*" "id")
1725 (define-method get_from_handle
1726 (of-object "EmpathyTpContactFactory")
1727 (c-name "empathy_tp_contact_factory_get_from_handle")
1728 (return-type "EmpathyContact*")
1734 (define-method get_from_handles
1735 (of-object "EmpathyTpContactFactory")
1736 (c-name "empathy_tp_contact_factory_get_from_handles")
1737 (return-type "GList*")
1739 '("GArray*" "handles")
1743 (define-method set_alias
1744 (of-object "EmpathyTpContactFactory")
1745 (c-name "empathy_tp_contact_factory_set_alias")
1746 (return-type "none")
1748 '("EmpathyContact*" "contact")
1749 '("const-gchar*" "alias")
1753 (define-method set_avatar
1754 (of-object "EmpathyTpContactFactory")
1755 (c-name "empathy_tp_contact_factory_set_avatar")
1756 (return-type "none")
1758 '("const-gchar*" "data")
1760 '("const-gchar*" "mime_type")
1766 ;; From empathy-tp-contact-list.h
1768 (define-function empathy_tp_contact_list_get_type
1769 (c-name "empathy_tp_contact_list_get_type")
1770 (return-type "GType")
1773 (define-function empathy_tp_contact_list_new
1774 (c-name "empathy_tp_contact_list_new")
1775 (is-constructor-of "EmpathyTpContactList")
1776 (return-type "EmpathyTpContactList*")
1778 '("McAccount*" "account")
1782 (define-method get_account
1783 (of-object "EmpathyTpContactList")
1784 (c-name "empathy_tp_contact_list_get_account")
1785 (return-type "McAccount*")
1790 ;; From empathy-tp-group.h
1792 (define-function empathy_tp_group_get_type
1793 (c-name "empathy_tp_group_get_type")
1794 (return-type "GType")
1797 (define-function empathy_tp_group_new
1798 (c-name "empathy_tp_group_new")
1799 (is-constructor-of "EmpathyTpGroup")
1800 (return-type "EmpathyTpGroup*")
1802 '("McAccount*" "account")
1803 '("TpChan*" "tp_chan")
1807 (define-method close
1808 (of-object "EmpathyTpGroup")
1809 (c-name "empathy_tp_group_close")
1810 (return-type "none")
1813 (define-method add_members
1814 (of-object "EmpathyTpGroup")
1815 (c-name "empathy_tp_group_add_members")
1816 (return-type "none")
1818 '("GList*" "contacts")
1819 '("const-gchar*" "message")
1823 (define-method add_member
1824 (of-object "EmpathyTpGroup")
1825 (c-name "empathy_tp_group_add_member")
1826 (return-type "none")
1828 '("EmpathyContact*" "contact")
1829 '("const-gchar*" "message")
1833 (define-method remove_members
1834 (of-object "EmpathyTpGroup")
1835 (c-name "empathy_tp_group_remove_members")
1836 (return-type "none")
1838 '("GList*" "contacts")
1839 '("const-gchar*" "message")
1843 (define-method remove_member
1844 (of-object "EmpathyTpGroup")
1845 (c-name "empathy_tp_group_remove_member")
1846 (return-type "none")
1848 '("EmpathyContact*" "contact")
1849 '("const-gchar*" "message")
1853 (define-method get_members
1854 (of-object "EmpathyTpGroup")
1855 (c-name "empathy_tp_group_get_members")
1856 (return-type "GList*")
1859 (define-method get_local_pendings
1860 (of-object "EmpathyTpGroup")
1861 (c-name "empathy_tp_group_get_local_pendings")
1862 (return-type "GList*")
1865 (define-method get_remote_pendings
1866 (of-object "EmpathyTpGroup")
1867 (c-name "empathy_tp_group_get_remote_pendings")
1868 (return-type "GList*")
1871 (define-method get_name
1872 (of-object "EmpathyTpGroup")
1873 (c-name "empathy_tp_group_get_name")
1874 (return-type "const-gchar*")
1877 (define-method get_self_contact
1878 (of-object "EmpathyTpGroup")
1879 (c-name "empathy_tp_group_get_self_contact")
1880 (return-type "EmpathyContact*")
1883 (define-method get_object_path
1884 (of-object "EmpathyTpGroup")
1885 (c-name "empathy_tp_group_get_object_path")
1886 (return-type "const-gchar*")
1889 (define-method get_channel
1890 (of-object "EmpathyTpGroup")
1891 (c-name "empathy_tp_group_get_channel")
1892 (return-type "TpChan*")
1895 (define-method is_member
1896 (of-object "EmpathyTpGroup")
1897 (c-name "empathy_tp_group_is_member")
1898 (return-type "gboolean")
1900 '("EmpathyContact*" "contact")
1904 (define-function empathy_pending_info_new
1905 (c-name "empathy_pending_info_new")
1906 (is-constructor-of "EmpathyPendingInfo")
1907 (return-type "EmpathyPendingInfo*")
1909 '("EmpathyContact*" "member")
1910 '("EmpathyContact*" "actor")
1911 '("const-gchar*" "message")
1916 (of-object "EmpathyPendingInfo")
1917 (c-name "empathy_pending_info_free")
1918 (return-type "none")
1923 ;; From empathy-tp-roomlist.h
1925 (define-function empathy_tp_roomlist_get_type
1926 (c-name "empathy_tp_roomlist_get_type")
1927 (return-type "GType")
1930 (define-function empathy_tp_roomlist_new
1931 (c-name "empathy_tp_roomlist_new")
1932 (is-constructor-of "EmpathyTpRoomlist")
1933 (return-type "EmpathyTpRoomlist*")
1935 '("McAccount*" "account")
1939 (define-method is_listing
1940 (of-object "EmpathyTpRoomlist")
1941 (c-name "empathy_tp_roomlist_is_listing")
1942 (return-type "gboolean")
1945 (define-method start
1946 (of-object "EmpathyTpRoomlist")
1947 (c-name "empathy_tp_roomlist_start")
1948 (return-type "none")
1952 (of-object "EmpathyTpRoomlist")
1953 (c-name "empathy_tp_roomlist_stop")
1954 (return-type "none")
1959 ;; From empathy-utils.h
1961 (define-function empathy_substring
1962 (c-name "empathy_substring")
1963 (return-type "gchar*")
1965 '("const-gchar*" "str")
1971 (define-function empathy_regex_match
1972 (c-name "empathy_regex_match")
1973 (return-type "gint")
1975 '("EmpathyRegExType" "type")
1976 '("const-gchar*" "msg")
1977 '("GArray*" "start")
1982 (define-function empathy_strcasecmp
1983 (c-name "empathy_strcasecmp")
1984 (return-type "gint")
1986 '("const-gchar*" "s1")
1987 '("const-gchar*" "s2")
1991 (define-function empathy_strncasecmp
1992 (c-name "empathy_strncasecmp")
1993 (return-type "gint")
1995 '("const-gchar*" "s1")
1996 '("const-gchar*" "s2")
2001 (define-function empathy_xml_validate
2002 (c-name "empathy_xml_validate")
2003 (return-type "gboolean")
2006 '("const-gchar*" "dtd_filename")
2010 (define-function empathy_xml_node_get_child
2011 (c-name "empathy_xml_node_get_child")
2012 (return-type "xmlNodePtr")
2014 '("xmlNodePtr" "node")
2015 '("const-gchar*" "child_name")
2019 (define-function empathy_xml_node_get_child_content
2020 (c-name "empathy_xml_node_get_child_content")
2021 (return-type "xmlChar*")
2023 '("xmlNodePtr" "node")
2024 '("const-gchar*" "child_name")
2028 (define-function empathy_xml_node_find_child_prop_value
2029 (c-name "empathy_xml_node_find_child_prop_value")
2030 (return-type "xmlNodePtr")
2032 '("xmlNodePtr" "node")
2033 '("const-gchar*" "prop_name")
2034 '("const-gchar*" "prop_value")
2038 (define-function empathy_account_hash
2039 (c-name "empathy_account_hash")
2040 (return-type "guint")
2042 '("gconstpointer" "key")
2046 (define-function empathy_account_equal
2047 (c-name "empathy_account_equal")
2048 (return-type "gboolean")
2050 '("gconstpointer" "a")
2051 '("gconstpointer" "b")
2055 (define-function empathy_mission_control_new
2056 (c-name "empathy_mission_control_new")
2057 (is-constructor-of "EmpathyMissionControl")
2058 (return-type "MissionControl*")
2061 (define-function empathy_inspect_handle
2062 (c-name "empathy_inspect_handle")
2063 (return-type "gchar*")
2065 '("McAccount*" "account")
2067 '("guint" "handle_type")
2071 (define-function empathy_inspect_channel
2072 (c-name "empathy_inspect_channel")
2073 (return-type "gchar*")
2075 '("McAccount*" "account")
2076 '("TpChan*" "tp_chan")
2080 (define-function empathy_call_with_contact
2081 (c-name "empathy_call_with_contact")
2082 (return-type "none")
2084 '("EmpathyContact*" "contact")
2088 (define-function empathy_call_with_contact_id
2089 (c-name "empathy_call_with_contact_id")
2090 (return-type "none")
2092 '("McAccount*" "account")
2093 '("const-gchar*" "contact_id")
2097 (define-function empathy_chat_with_contact
2098 (c-name "empathy_chat_with_contact")
2099 (return-type "none")
2101 '("EmpathyContact*" "contact")
2105 (define-function empathy_chat_with_contact_id
2106 (c-name "empathy_chat_with_contact_id")
2107 (return-type "none")
2109 '("McAccount*" "account")
2110 '("const-gchar*" "contact_id")
2114 (define-function empathy_presence_get_default_message
2115 (c-name "empathy_presence_get_default_message")
2116 (return-type "const-gchar*")
2118 '("McPresence" "presence")
2122 (define-function empathy_presence_to_str
2123 (c-name "empathy_presence_to_str")
2124 (return-type "const-gchar*")
2126 '("McPresence" "presence")
2130 (define-function empathy_presence_from_str
2131 (c-name "empathy_presence_from_str")
2132 (return-type "McPresence")
2134 '("const-gchar*" "str")