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 LogManager
69 (c-name "EmpathyLogManager")
70 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
73 (define-object Message
76 (c-name "EmpathyMessage")
77 (gtype-id "EMPATHY_TYPE_MESSAGE")
80 (define-object Presence
83 (c-name "EmpathyPresence")
84 (gtype-id "EMPATHY_TYPE_PRESENCE")
90 (c-name "EmpathyTpCall")
91 (gtype-id "EMPATHY_TYPE_TP_CALL")
97 (c-name "EmpathyTpChat")
98 (gtype-id "EMPATHY_TYPE_TP_CHAT")
101 (define-object TpChatroom
102 (in-module "Empathy")
103 (parent "EmpathyTpChat")
104 (implements "EmpathyContactList")
105 (c-name "EmpathyTpChatroom")
106 (gtype-id "EMPATHY_TYPE_TP_CHATROOM")
109 (define-object TpContactFactory
110 (in-module "Empathy")
112 (c-name "EmpathyTpContactFactory")
113 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
116 (define-object TpContactList
117 (in-module "Empathy")
119 (implements "EmpathyContactList")
120 (c-name "EmpathyTpContactList")
121 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
124 (define-object TpGroup
125 (in-module "Empathy")
127 (c-name "EmpathyTpGroup")
128 (gtype-id "EMPATHY_TYPE_TP_GROUP")
131 (define-object TpRoomlist
132 (in-module "Empathy")
134 (c-name "EmpathyTpRoomlist")
135 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
138 ;; Enumerations and flags ...
140 (define-flags Capabilities
141 (in-module "Empathy")
142 (c-name "EmpathyCapabilities")
143 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
145 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
146 '("video" "EMPATHY_CAPABILITIES_VIDEO")
150 (define-enum MessageType
151 (in-module "Empathy")
152 (c-name "EmpathyMessageType")
153 (gtype-id "EMPATHY_TYPE_MESSAGE_TYPE")
155 '("normal" "EMPATHY_MESSAGE_TYPE_NORMAL")
156 '("action" "EMPATHY_MESSAGE_TYPE_ACTION")
157 '("notice" "EMPATHY_MESSAGE_TYPE_NOTICE")
158 '("auto-reply" "EMPATHY_MESSAGE_TYPE_AUTO_REPLY")
159 '("last" "EMPATHY_MESSAGE_TYPE_LAST")
163 (define-enum TpCallStatus
164 (in-module "Empathy")
165 (c-name "EmpathyTpCallStatus")
166 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
168 '("preparing" "EMPATHY_TP_CALL_STATUS_PREPARING")
169 '("ringing" "EMPATHY_TP_CALL_STATUS_RINGING")
170 '("running" "EMPATHY_TP_CALL_STATUS_RUNNING")
174 (define-enum RegExType
175 (in-module "Empathy")
176 (c-name "EmpathyRegExType")
177 (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
179 '("as-is" "EMPATHY_REGEX_AS_IS")
180 '("browser" "EMPATHY_REGEX_BROWSER")
181 '("email" "EMPATHY_REGEX_EMAIL")
182 '("other" "EMPATHY_REGEX_OTHER")
183 '("all" "EMPATHY_REGEX_ALL")
188 ;; From empathy-avatar.h
190 (define-function empathy_avatar_get_type
191 (c-name "empathy_avatar_get_type")
192 (return-type "GType")
195 (define-function empathy_avatar_new
196 (c-name "empathy_avatar_new")
197 (is-constructor-of "EmpathyAvatar")
198 (return-type "EmpathyAvatar*")
200 '("const-guchar*" "avatar")
201 '("const-gsize" "len")
202 '("const-gchar*" "format")
203 '("const-gchar*" "token")
207 (define-function empathy_avatar_new_from_cache
208 (c-name "empathy_avatar_new_from_cache")
209 (return-type "EmpathyAvatar*")
211 '("const-gchar*" "token")
216 (of-object "EmpathyAvatar")
217 (c-name "empathy_avatar_ref")
218 (return-type "EmpathyAvatar*")
222 (of-object "EmpathyAvatar")
223 (c-name "empathy_avatar_unref")
229 ;; From empathy-chandler.h
231 (define-function empathy_chandler_get_type
232 (c-name "empathy_chandler_get_type")
233 (return-type "GType")
236 (define-function empathy_chandler_new
237 (c-name "empathy_chandler_new")
238 (is-constructor-of "EmpathyChandler")
239 (return-type "EmpathyChandler*")
241 '("const-gchar*" "bus_name")
242 '("const-gchar*" "object_path")
248 ;; From empathy-chatroom.h
250 (define-function empathy_chatroom_get_type
251 (c-name "empathy_chatroom_get_type")
252 (return-type "GType")
255 (define-function empathy_chatroom_new
256 (c-name "empathy_chatroom_new")
257 (is-constructor-of "EmpathyChatroom")
258 (return-type "EmpathyChatroom*")
260 '("McAccount*" "account")
261 '("const-gchar*" "room")
265 (define-function empathy_chatroom_new_full
266 (c-name "empathy_chatroom_new_full")
267 (return-type "EmpathyChatroom*")
269 '("McAccount*" "account")
270 '("const-gchar*" "room")
271 '("const-gchar*" "name")
272 '("gboolean" "auto_connect")
276 (define-method get_account
277 (of-object "EmpathyChatroom")
278 (c-name "empathy_chatroom_get_account")
279 (return-type "McAccount*")
282 (define-method set_account
283 (of-object "EmpathyChatroom")
284 (c-name "empathy_chatroom_set_account")
287 '("McAccount*" "account")
291 (define-method get_room
292 (of-object "EmpathyChatroom")
293 (c-name "empathy_chatroom_get_room")
294 (return-type "const-gchar*")
297 (define-method set_room
298 (of-object "EmpathyChatroom")
299 (c-name "empathy_chatroom_set_room")
302 '("const-gchar*" "room")
306 (define-method get_name
307 (of-object "EmpathyChatroom")
308 (c-name "empathy_chatroom_get_name")
309 (return-type "const-gchar*")
312 (define-method set_name
313 (of-object "EmpathyChatroom")
314 (c-name "empathy_chatroom_set_name")
317 '("const-gchar*" "name")
321 (define-method get_auto_connect
322 (of-object "EmpathyChatroom")
323 (c-name "empathy_chatroom_get_auto_connect")
324 (return-type "gboolean")
327 (define-method set_auto_connect
328 (of-object "EmpathyChatroom")
329 (c-name "empathy_chatroom_set_auto_connect")
332 '("gboolean" "auto_connect")
336 (define-function empathy_chatroom_equal
337 (c-name "empathy_chatroom_equal")
338 (return-type "gboolean")
340 '("gconstpointer" "v1")
341 '("gconstpointer" "v2")
347 ;; From empathy-chatroom-manager.h
349 (define-function empathy_chatroom_manager_get_type
350 (c-name "empathy_chatroom_manager_get_type")
351 (return-type "GType")
354 (define-function empathy_chatroom_manager_new
355 (c-name "empathy_chatroom_manager_new")
356 (is-constructor-of "EmpathyChatroomManager")
357 (return-type "EmpathyChatroomManager*")
361 (of-object "EmpathyChatroomManager")
362 (c-name "empathy_chatroom_manager_add")
363 (return-type "gboolean")
365 '("EmpathyChatroom*" "chatroom")
369 (define-method remove
370 (of-object "EmpathyChatroomManager")
371 (c-name "empathy_chatroom_manager_remove")
374 '("EmpathyChatroom*" "chatroom")
379 (of-object "EmpathyChatroomManager")
380 (c-name "empathy_chatroom_manager_find")
381 (return-type "EmpathyChatroom*")
383 '("McAccount*" "account")
384 '("const-gchar*" "room")
388 (define-method get_chatrooms
389 (of-object "EmpathyChatroomManager")
390 (c-name "empathy_chatroom_manager_get_chatrooms")
391 (return-type "GList*")
393 '("McAccount*" "account")
397 (define-method get_count
398 (of-object "EmpathyChatroomManager")
399 (c-name "empathy_chatroom_manager_get_count")
400 (return-type "guint")
402 '("McAccount*" "account")
407 (of-object "EmpathyChatroomManager")
408 (c-name "empathy_chatroom_manager_store")
414 ;; From empathy-contact-factory.h
416 (define-function empathy_contact_factory_get_type
417 (c-name "empathy_contact_factory_get_type")
418 (return-type "GType")
421 (define-function empathy_contact_factory_new
422 (c-name "empathy_contact_factory_new")
423 (is-constructor-of "EmpathyContactFactory")
424 (return-type "EmpathyContactFactory*")
427 (define-method get_user
428 (of-object "EmpathyContactFactory")
429 (c-name "empathy_contact_factory_get_user")
430 (return-type "EmpathyContact*")
432 '("McAccount*" "account")
436 (define-method get_from_id
437 (of-object "EmpathyContactFactory")
438 (c-name "empathy_contact_factory_get_from_id")
439 (return-type "EmpathyContact*")
441 '("McAccount*" "account")
442 '("const-gchar*" "id")
446 (define-method get_from_handle
447 (of-object "EmpathyContactFactory")
448 (c-name "empathy_contact_factory_get_from_handle")
449 (return-type "EmpathyContact*")
451 '("McAccount*" "account")
456 (define-method get_from_handles
457 (of-object "EmpathyContactFactory")
458 (c-name "empathy_contact_factory_get_from_handles")
459 (return-type "GList*")
461 '("McAccount*" "account")
462 '("GArray*" "handles")
466 (define-method set_alias
467 (of-object "EmpathyContactFactory")
468 (c-name "empathy_contact_factory_set_alias")
471 '("EmpathyContact*" "contact")
472 '("const-gchar*" "alias")
476 (define-method set_avatar
477 (of-object "EmpathyContactFactory")
478 (c-name "empathy_contact_factory_set_avatar")
481 '("McAccount*" "account")
482 '("const-gchar*" "data")
484 '("const-gchar*" "mime_type")
490 ;; From empathy-contact-groups.h
492 (define-function empathy_contact_groups_get_all
493 (c-name "empathy_contact_groups_get_all")
497 (define-function empathy_contact_group_get_expanded
498 (c-name "empathy_contact_group_get_expanded")
499 (return-type "gboolean")
501 '("const-gchar*" "group")
505 (define-function empathy_contact_group_set_expanded
506 (c-name "empathy_contact_group_set_expanded")
509 '("const-gchar*" "group")
510 '("gboolean" "expanded")
516 ;; From empathy-contact.h
518 (define-function empathy_contact_get_type
519 (c-name "empathy_contact_get_type")
520 (return-type "GType")
523 (define-function empathy_contact_new
524 (c-name "empathy_contact_new")
525 (is-constructor-of "EmpathyContact")
526 (return-type "EmpathyContact*")
528 '("McAccount*" "account")
532 (define-function empathy_contact_new_full
533 (c-name "empathy_contact_new_full")
534 (return-type "EmpathyContact*")
536 '("McAccount*" "account")
537 '("const-gchar*" "id")
538 '("const-gchar*" "name")
542 (define-method get_id
543 (of-object "EmpathyContact")
544 (c-name "empathy_contact_get_id")
545 (return-type "const-gchar*")
548 (define-method set_id
549 (of-object "EmpathyContact")
550 (c-name "empathy_contact_set_id")
553 '("const-gchar*" "id")
557 (define-method get_name
558 (of-object "EmpathyContact")
559 (c-name "empathy_contact_get_name")
560 (return-type "const-gchar*")
563 (define-method set_name
564 (of-object "EmpathyContact")
565 (c-name "empathy_contact_set_name")
568 '("const-gchar*" "name")
572 (define-method get_avatar
573 (of-object "EmpathyContact")
574 (c-name "empathy_contact_get_avatar")
575 (return-type "EmpathyAvatar*")
578 (define-method set_avatar
579 (of-object "EmpathyContact")
580 (c-name "empathy_contact_set_avatar")
583 '("EmpathyAvatar*" "avatar")
587 (define-method get_account
588 (of-object "EmpathyContact")
589 (c-name "empathy_contact_get_account")
590 (return-type "McAccount*")
593 (define-method set_account
594 (of-object "EmpathyContact")
595 (c-name "empathy_contact_set_account")
598 '("McAccount*" "account")
602 (define-method get_presence
603 (of-object "EmpathyContact")
604 (c-name "empathy_contact_get_presence")
605 (return-type "EmpathyPresence*")
608 (define-method set_presence
609 (of-object "EmpathyContact")
610 (c-name "empathy_contact_set_presence")
613 '("EmpathyPresence*" "presence")
617 (define-method get_handle
618 (of-object "EmpathyContact")
619 (c-name "empathy_contact_get_handle")
620 (return-type "guint")
623 (define-method set_handle
624 (of-object "EmpathyContact")
625 (c-name "empathy_contact_set_handle")
632 (define-method get_capabilities
633 (of-object "EmpathyContact")
634 (c-name "empathy_contact_get_capabilities")
635 (return-type "EmpathyCapabilities")
638 (define-method set_capabilities
639 (of-object "EmpathyContact")
640 (c-name "empathy_contact_set_capabilities")
643 '("EmpathyCapabilities" "capabilities")
647 (define-method is_user
648 (of-object "EmpathyContact")
649 (c-name "empathy_contact_is_user")
650 (return-type "gboolean")
653 (define-method set_is_user
654 (of-object "EmpathyContact")
655 (c-name "empathy_contact_set_is_user")
658 '("gboolean" "is_user")
662 (define-method is_online
663 (of-object "EmpathyContact")
664 (c-name "empathy_contact_is_online")
665 (return-type "gboolean")
668 (define-method get_status
669 (of-object "EmpathyContact")
670 (c-name "empathy_contact_get_status")
671 (return-type "const-gchar*")
674 (define-method can_voip
675 (of-object "EmpathyContact")
676 (c-name "empathy_contact_can_voip")
677 (return-type "gboolean")
680 (define-function empathy_contact_equal
681 (c-name "empathy_contact_equal")
682 (return-type "gboolean")
684 '("gconstpointer" "v1")
685 '("gconstpointer" "v2")
689 (define-function empathy_contact_hash
690 (c-name "empathy_contact_hash")
691 (return-type "guint")
693 '("gconstpointer" "key")
699 ;; From empathy-contact-list.h
701 (define-function empathy_contact_list_get_type
702 (c-name "empathy_contact_list_get_type")
703 (return-type "GType")
707 (of-object "EmpathyContactList")
708 (c-name "empathy_contact_list_add")
711 '("EmpathyContact*" "contact")
712 '("const-gchar*" "message")
716 (define-method remove
717 (of-object "EmpathyContactList")
718 (c-name "empathy_contact_list_remove")
721 '("EmpathyContact*" "contact")
722 '("const-gchar*" "message")
726 (define-method get_members
727 (of-object "EmpathyContactList")
728 (c-name "empathy_contact_list_get_members")
729 (return-type "GList*")
732 (define-method get_pendings
733 (of-object "EmpathyContactList")
734 (c-name "empathy_contact_list_get_pendings")
735 (return-type "GList*")
738 (define-method get_all_groups
739 (of-object "EmpathyContactList")
740 (c-name "empathy_contact_list_get_all_groups")
741 (return-type "GList*")
744 (define-method get_groups
745 (of-object "EmpathyContactList")
746 (c-name "empathy_contact_list_get_groups")
747 (return-type "GList*")
749 '("EmpathyContact*" "contact")
753 (define-method add_to_group
754 (of-object "EmpathyContactList")
755 (c-name "empathy_contact_list_add_to_group")
758 '("EmpathyContact*" "contact")
759 '("const-gchar*" "group")
763 (define-method remove_from_group
764 (of-object "EmpathyContactList")
765 (c-name "empathy_contact_list_remove_from_group")
768 '("EmpathyContact*" "contact")
769 '("const-gchar*" "group")
773 (define-method rename_group
774 (of-object "EmpathyContactList")
775 (c-name "empathy_contact_list_rename_group")
778 '("const-gchar*" "old_group")
779 '("const-gchar*" "new_group")
783 (define-method remove_group
784 (of-object "EmpathyContactList")
785 (c-name "empathy_contact_list_remove_group")
788 '("const-gchar*" "group")
794 ;; From empathy-contact-manager.h
796 (define-function empathy_contact_manager_get_type
797 (c-name "empathy_contact_manager_get_type")
798 (return-type "GType")
801 (define-function empathy_contact_manager_new
802 (c-name "empathy_contact_manager_new")
803 (is-constructor-of "EmpathyContactManager")
804 (return-type "EmpathyContactManager*")
807 (define-method get_list
808 (of-object "EmpathyContactManager")
809 (c-name "empathy_contact_manager_get_list")
810 (return-type "EmpathyTpContactList*")
812 '("McAccount*" "account")
818 ;; From empathy-debug.h
820 (define-function empathy_debug_impl
821 (c-name "empathy_debug_impl")
824 '("const-gchar*" "domain")
825 '("const-gchar*" "msg")
830 (define-function empathy_debug_set_log_file_from_env
831 (c-name "empathy_debug_set_log_file_from_env")
837 ;; From empathy-filter.h
839 (define-function empathy_filter_get_type
840 (c-name "empathy_filter_get_type")
841 (return-type "GType")
844 (define-function empathy_filter_new
845 (c-name "empathy_filter_new")
846 (is-constructor-of "EmpathyFilter")
847 (return-type "EmpathyFilter*")
849 '("const-gchar*" "bus_name")
850 '("const-gchar*" "object_path")
851 '("const-gchar*" "channel_type")
852 '("guint" "priority")
857 (define-method process
858 (of-object "EmpathyFilter")
859 (c-name "empathy_filter_process")
862 '("TpChan*" "tp_chan")
863 '("gboolean" "process")
869 ;; From empathy-idle.h
871 (define-function empathy_idle_get_type
872 (c-name "empathy_idle_get_type")
873 (return-type "GType")
876 (define-function empathy_idle_new
877 (c-name "empathy_idle_new")
878 (is-constructor-of "EmpathyIdle")
879 (return-type "EmpathyIdle*")
882 (define-method get_state
883 (of-object "EmpathyIdle")
884 (c-name "empathy_idle_get_state")
885 (return-type "McPresence")
888 (define-method set_state
889 (of-object "EmpathyIdle")
890 (c-name "empathy_idle_set_state")
893 '("McPresence" "state")
897 (define-method get_status
898 (of-object "EmpathyIdle")
899 (c-name "empathy_idle_get_status")
900 (return-type "const-gchar*")
903 (define-method set_status
904 (of-object "EmpathyIdle")
905 (c-name "empathy_idle_set_status")
908 '("const-gchar*" "status")
912 (define-method get_flash_state
913 (of-object "EmpathyIdle")
914 (c-name "empathy_idle_get_flash_state")
915 (return-type "McPresence")
918 (define-method set_flash_state
919 (of-object "EmpathyIdle")
920 (c-name "empathy_idle_set_flash_state")
923 '("McPresence" "state")
927 (define-method set_presence
928 (of-object "EmpathyIdle")
929 (c-name "empathy_idle_set_presence")
932 '("McPresence" "state")
933 '("const-gchar*" "status")
937 (define-method get_auto_away
938 (of-object "EmpathyIdle")
939 (c-name "empathy_idle_get_auto_away")
940 (return-type "gboolean")
943 (define-method set_auto_away
944 (of-object "EmpathyIdle")
945 (c-name "empathy_idle_set_auto_away")
948 '("gboolean" "auto_away")
952 (define-method get_use_nm
953 (of-object "EmpathyIdle")
954 (c-name "empathy_idle_get_use_nm")
955 (return-type "gboolean")
958 (define-method set_use_nm
959 (of-object "EmpathyIdle")
960 (c-name "empathy_idle_set_use_nm")
963 '("gboolean" "use_nm")
969 ;; From empathy-log-manager.h
971 (define-function empathy_log_manager_get_type
972 (c-name "empathy_log_manager_get_type")
973 (return-type "GType")
976 (define-function empathy_log_manager_new
977 (c-name "empathy_log_manager_new")
978 (is-constructor-of "EmpathyLogManager")
979 (return-type "EmpathyLogManager*")
982 (define-method add_message
983 (of-object "EmpathyLogManager")
984 (c-name "empathy_log_manager_add_message")
987 '("const-gchar*" "chat_id")
988 '("gboolean" "chatroom")
989 '("EmpathyMessage*" "message")
993 (define-method exists
994 (of-object "EmpathyLogManager")
995 (c-name "empathy_log_manager_exists")
996 (return-type "gboolean")
998 '("McAccount*" "account")
999 '("const-gchar*" "chat_id")
1000 '("gboolean" "chatroom")
1004 (define-method get_dates
1005 (of-object "EmpathyLogManager")
1006 (c-name "empathy_log_manager_get_dates")
1007 (return-type "GList*")
1009 '("McAccount*" "account")
1010 '("const-gchar*" "chat_id")
1011 '("gboolean" "chatroom")
1015 (define-method get_messages_for_file
1016 (of-object "EmpathyLogManager")
1017 (c-name "empathy_log_manager_get_messages_for_file")
1018 (return-type "GList*")
1020 '("const-gchar*" "filename")
1024 (define-method get_messages_for_date
1025 (of-object "EmpathyLogManager")
1026 (c-name "empathy_log_manager_get_messages_for_date")
1027 (return-type "GList*")
1029 '("McAccount*" "account")
1030 '("const-gchar*" "chat_id")
1031 '("gboolean" "chatroom")
1032 '("const-gchar*" "date")
1036 (define-method get_last_messages
1037 (of-object "EmpathyLogManager")
1038 (c-name "empathy_log_manager_get_last_messages")
1039 (return-type "GList*")
1041 '("McAccount*" "account")
1042 '("const-gchar*" "chat_id")
1043 '("gboolean" "chatroom")
1047 (define-method get_messages_for_file
1048 (of-object "EmpathyLogManager")
1049 (c-name "empathy_log_manager_get_messages_for_file")
1050 (return-type "GList*")
1052 '("const-gchar*" "filename")
1056 (define-method get_chats
1057 (of-object "EmpathyLogManager")
1058 (c-name "empathy_log_manager_get_chats")
1059 (return-type "GList*")
1061 '("McAccount*" "account")
1065 (define-method search_new
1066 (of-object "EmpathyLogManager")
1067 (c-name "empathy_log_manager_search_new")
1068 (return-type "GList*")
1070 '("const-gchar*" "text")
1074 (define-function empathy_log_manager_search_free
1075 (c-name "empathy_log_manager_search_free")
1076 (return-type "none")
1082 (define-function empathy_log_manager_get_date_readable
1083 (c-name "empathy_log_manager_get_date_readable")
1084 (return-type "gchar*")
1086 '("const-gchar*" "date")
1092 ;; From empathy-message.h
1094 (define-function empathy_message_get_gtype
1095 (c-name "empathy_message_get_gtype")
1096 (return-type "GType")
1099 (define-function empathy_message_new
1100 (c-name "empathy_message_new")
1101 (is-constructor-of "EmpathyMessage")
1102 (return-type "EmpathyMessage*")
1104 '("const-gchar*" "body")
1108 (define-method get_type
1109 (of-object "EmpathyMessage")
1110 (c-name "empathy_message_get_type")
1111 (return-type "EmpathyMessageType")
1114 (define-method set_type
1115 (of-object "EmpathyMessage")
1116 (c-name "empathy_message_set_type")
1117 (return-type "none")
1119 '("EmpathyMessageType" "type")
1123 (define-method get_sender
1124 (of-object "EmpathyMessage")
1125 (c-name "empathy_message_get_sender")
1126 (return-type "EmpathyContact*")
1129 (define-method set_sender
1130 (of-object "EmpathyMessage")
1131 (c-name "empathy_message_set_sender")
1132 (return-type "none")
1134 '("EmpathyContact*" "contact")
1138 (define-method get_receiver
1139 (of-object "EmpathyMessage")
1140 (c-name "empathy_message_get_receiver")
1141 (return-type "EmpathyContact*")
1144 (define-method set_receiver
1145 (of-object "EmpathyMessage")
1146 (c-name "empathy_message_set_receiver")
1147 (return-type "none")
1149 '("EmpathyContact*" "contact")
1153 (define-method get_body
1154 (of-object "EmpathyMessage")
1155 (c-name "empathy_message_get_body")
1156 (return-type "const-gchar*")
1159 (define-method set_body
1160 (of-object "EmpathyMessage")
1161 (c-name "empathy_message_set_body")
1162 (return-type "none")
1164 '("const-gchar*" "body")
1168 (define-method get_timestamp
1169 (of-object "EmpathyMessage")
1170 (c-name "empathy_message_get_timestamp")
1171 (return-type "time_t")
1174 (define-method set_timestamp
1175 (of-object "EmpathyMessage")
1176 (c-name "empathy_message_set_timestamp")
1177 (return-type "none")
1179 '("time_t" "timestamp")
1183 (define-method get_date_and_time
1184 (of-object "EmpathyMessage")
1185 (c-name "empathy_message_get_date_and_time")
1186 (return-type "GDate*")
1188 '("time_t*" "timestamp")
1192 (define-function empathy_message_type_from_str
1193 (c-name "empathy_message_type_from_str")
1194 (return-type "EmpathyMessageType")
1196 '("const-gchar*" "type_str")
1200 (define-method to_str
1201 (of-object "EmpathyMessageType")
1202 (c-name "empathy_message_type_to_str")
1203 (return-type "const-gchar*")
1208 ;; From empathy-presence.h
1210 (define-function empathy_presence_get_type
1211 (c-name "empathy_presence_get_type")
1212 (return-type "GType")
1215 (define-function empathy_presence_new
1216 (c-name "empathy_presence_new")
1217 (is-constructor-of "EmpathyPresence")
1218 (return-type "EmpathyPresence*")
1221 (define-function empathy_presence_new_full
1222 (c-name "empathy_presence_new_full")
1223 (return-type "EmpathyPresence*")
1225 '("McPresence" "state")
1226 '("const-gchar*" "status")
1230 (define-method get_state
1231 (of-object "EmpathyPresence")
1232 (c-name "empathy_presence_get_state")
1233 (return-type "McPresence")
1236 (define-method get_status
1237 (of-object "EmpathyPresence")
1238 (c-name "empathy_presence_get_status")
1239 (return-type "const-gchar*")
1242 (define-method set_state
1243 (of-object "EmpathyPresence")
1244 (c-name "empathy_presence_set_state")
1245 (return-type "none")
1247 '("McPresence" "state")
1251 (define-method set_status
1252 (of-object "EmpathyPresence")
1253 (c-name "empathy_presence_set_status")
1254 (return-type "none")
1256 '("const-gchar*" "status")
1260 (define-function empathy_presence_sort_func
1261 (c-name "empathy_presence_sort_func")
1262 (return-type "gint")
1264 '("gconstpointer" "a")
1265 '("gconstpointer" "b")
1269 (define-function empathy_presence_state_get_default_status
1270 (c-name "empathy_presence_state_get_default_status")
1271 (return-type "const-gchar*")
1273 '("McPresence" "state")
1277 (define-function empathy_presence_state_to_str
1278 (c-name "empathy_presence_state_to_str")
1279 (return-type "const-gchar*")
1281 '("McPresence" "state")
1285 (define-function empathy_presence_state_from_str
1286 (c-name "empathy_presence_state_from_str")
1287 (return-type "McPresence")
1289 '("const-gchar*" "str")
1295 ;; From empathy-status-presets.h
1297 (define-function empathy_status_presets_get_all
1298 (c-name "empathy_status_presets_get_all")
1299 (return-type "none")
1302 (define-function empathy_status_presets_get
1303 (c-name "empathy_status_presets_get")
1304 (return-type "GList*")
1306 '("McPresence" "state")
1307 '("gint" "max_number")
1311 (define-function empathy_status_presets_set_last
1312 (c-name "empathy_status_presets_set_last")
1313 (return-type "none")
1315 '("McPresence" "state")
1316 '("const-gchar*" "status")
1320 (define-function empathy_status_presets_remove
1321 (c-name "empathy_status_presets_remove")
1322 (return-type "none")
1324 '("McPresence" "state")
1325 '("const-gchar*" "status")
1329 (define-function empathy_status_presets_reset
1330 (c-name "empathy_status_presets_reset")
1331 (return-type "none")
1334 (define-function empathy_status_presets_get_default_state
1335 (c-name "empathy_status_presets_get_default_state")
1336 (return-type "McPresence")
1339 (define-function empathy_status_presets_get_default_status
1340 (c-name "empathy_status_presets_get_default_status")
1341 (return-type "const-gchar*")
1344 (define-function empathy_status_presets_set_default
1345 (c-name "empathy_status_presets_set_default")
1346 (return-type "none")
1348 '("McPresence" "state")
1349 '("const-gchar*" "status")
1353 (define-function empathy_status_presets_clear_default
1354 (c-name "empathy_status_presets_clear_default")
1355 (return-type "none")
1360 ;; From empathy-time.h
1362 (define-function empathy_time_get_current
1363 (c-name "empathy_time_get_current")
1364 (return-type "time_t")
1367 (define-function empathy_time_get_local_time
1368 (c-name "empathy_time_get_local_time")
1369 (return-type "time_t")
1371 '("struct-tm*" "tm")
1375 (define-function empathy_time_parse
1376 (c-name "empathy_time_parse")
1377 (return-type "time_t")
1379 '("const-gchar*" "str")
1383 (define-function empathy_time_to_string_utc
1384 (c-name "empathy_time_to_string_utc")
1385 (return-type "gchar*")
1388 '("const-gchar*" "format")
1392 (define-function empathy_time_to_string_local
1393 (c-name "empathy_time_to_string_local")
1394 (return-type "gchar*")
1397 '("const-gchar*" "format")
1403 ;; From empathy-tp-call.h
1405 (define-function empathy_tp_call_get_type
1406 (c-name "empathy_tp_call_get_type")
1407 (return-type "GType")
1410 (define-function empathy_tp_call_new
1411 (c-name "empathy_tp_call_new")
1412 (is-constructor-of "EmpathyTpCall")
1413 (return-type "EmpathyTpCall*")
1415 '("McAccount*" "account")
1416 '("TpChan*" "tp_chan")
1420 (define-method is_incoming
1421 (of-object "EmpathyTpCall")
1422 (c-name "empathy_tp_call_is_incoming")
1423 (return-type "gboolean")
1426 (define-method get_status
1427 (of-object "EmpathyTpCall")
1428 (c-name "empathy_tp_call_get_status")
1429 (return-type "EmpathyTpCallStatus")
1432 (define-method get_contact
1433 (of-object "EmpathyTpCall")
1434 (c-name "empathy_tp_call_get_contact")
1435 (return-type "EmpathyContact*")
1438 (define-method accept
1439 (of-object "EmpathyTpCall")
1440 (c-name "empathy_tp_call_accept")
1441 (return-type "none")
1444 (define-method invite
1445 (of-object "EmpathyTpCall")
1446 (c-name "empathy_tp_call_invite")
1447 (return-type "none")
1449 '("EmpathyContact*" "contact")
1453 (define-method request_streams
1454 (of-object "EmpathyTpCall")
1455 (c-name "empathy_tp_call_request_streams")
1456 (return-type "none")
1458 '("gboolean" "audio")
1459 '("gboolean" "video")
1463 (define-method send_video
1464 (of-object "EmpathyTpCall")
1465 (c-name "empathy_tp_call_send_video")
1466 (return-type "none")
1468 '("gboolean" "send")
1472 (define-method add_preview_window
1473 (of-object "EmpathyTpCall")
1474 (c-name "empathy_tp_call_add_preview_window")
1475 (return-type "none")
1477 '("guint" "socket_id")
1481 (define-method remove_preview_window
1482 (of-object "EmpathyTpCall")
1483 (c-name "empathy_tp_call_remove_preview_window")
1484 (return-type "none")
1486 '("guint" "socket_id")
1490 (define-method set_output_window
1491 (of-object "EmpathyTpCall")
1492 (c-name "empathy_tp_call_set_output_window")
1493 (return-type "none")
1495 '("guint" "socket_id")
1499 (define-method set_output_volume
1500 (of-object "EmpathyTpCall")
1501 (c-name "empathy_tp_call_set_output_volume")
1502 (return-type "none")
1508 (define-method mute_output
1509 (of-object "EmpathyTpCall")
1510 (c-name "empathy_tp_call_mute_output")
1511 (return-type "none")
1513 '("gboolean" "is_muted")
1517 (define-method mute_input
1518 (of-object "EmpathyTpCall")
1519 (c-name "empathy_tp_call_mute_input")
1520 (return-type "none")
1522 '("gboolean" "is_muted")
1528 ;; From empathy-tp-chat.h
1530 (define-function empathy_tp_chat_get_type
1531 (c-name "empathy_tp_chat_get_type")
1532 (return-type "GType")
1535 (define-function empathy_tp_chat_new
1536 (c-name "empathy_tp_chat_new")
1537 (is-constructor-of "EmpathyTpChat")
1538 (return-type "EmpathyTpChat*")
1540 '("McAccount*" "account")
1541 '("TpChan*" "tp_chan")
1545 (define-function empathy_tp_chat_new_with_contact
1546 (c-name "empathy_tp_chat_new_with_contact")
1547 (return-type "EmpathyTpChat*")
1549 '("EmpathyContact*" "contact")
1553 (define-method get_acknowledge
1554 (of-object "EmpathyTpChat")
1555 (c-name "empathy_tp_chat_get_acknowledge")
1556 (return-type "gboolean")
1559 (define-method set_acknowledge
1560 (of-object "EmpathyTpChat")
1561 (c-name "empathy_tp_chat_set_acknowledge")
1562 (return-type "none")
1564 '("gboolean" "acknowledge")
1568 (define-method get_account
1569 (of-object "EmpathyTpChat")
1570 (c-name "empathy_tp_chat_get_account")
1571 (return-type "McAccount*")
1574 (define-method get_channel
1575 (of-object "EmpathyTpChat")
1576 (c-name "empathy_tp_chat_get_channel")
1577 (return-type "TpChan*")
1580 (define-method get_pendings
1581 (of-object "EmpathyTpChat")
1582 (c-name "empathy_tp_chat_get_pendings")
1583 (return-type "GList*")
1587 (of-object "EmpathyTpChat")
1588 (c-name "empathy_tp_chat_send")
1589 (return-type "none")
1591 '("EmpathyMessage*" "message")
1595 (define-method set_state
1596 (of-object "EmpathyTpChat")
1597 (c-name "empathy_tp_chat_set_state")
1598 (return-type "none")
1600 '("TpChannelChatState" "state")
1604 (define-method get_id
1605 (of-object "EmpathyTpChat")
1606 (c-name "empathy_tp_chat_get_id")
1607 (return-type "const-gchar*")
1612 ;; From empathy-tp-chatroom.h
1614 (define-function empathy_tp_chatroom_get_type
1615 (c-name "empathy_tp_chatroom_get_type")
1616 (return-type "GType")
1619 (define-function empathy_tp_chatroom_new
1620 (c-name "empathy_tp_chatroom_new")
1621 (is-constructor-of "EmpathyTpChatroom")
1622 (return-type "EmpathyTpChatroom*")
1624 '("McAccount*" "account")
1625 '("TpChan*" "tp_chan")
1629 (define-method get_invitation
1630 (of-object "EmpathyTpChatroom")
1631 (c-name "empathy_tp_chatroom_get_invitation")
1632 (return-type "gboolean")
1634 '("EmpathyContact**" "contact")
1635 '("const-gchar**" "message")
1639 (define-method accept_invitation
1640 (of-object "EmpathyTpChatroom")
1641 (c-name "empathy_tp_chatroom_accept_invitation")
1642 (return-type "none")
1645 (define-method set_topic
1646 (of-object "EmpathyTpChatroom")
1647 (c-name "empathy_tp_chatroom_set_topic")
1648 (return-type "none")
1650 '("const-gchar*" "topic")
1656 ;; From empathy-tp-contact-factory.h
1658 (define-function empathy_tp_contact_factory_get_type
1659 (c-name "empathy_tp_contact_factory_get_type")
1660 (return-type "GType")
1663 (define-function empathy_tp_contact_factory_new
1664 (c-name "empathy_tp_contact_factory_new")
1665 (is-constructor-of "EmpathyTpContactFactory")
1666 (return-type "EmpathyTpContactFactory*")
1668 '("McAccount*" "account")
1672 (define-method get_user
1673 (of-object "EmpathyTpContactFactory")
1674 (c-name "empathy_tp_contact_factory_get_user")
1675 (return-type "EmpathyContact*")
1678 (define-method get_from_id
1679 (of-object "EmpathyTpContactFactory")
1680 (c-name "empathy_tp_contact_factory_get_from_id")
1681 (return-type "EmpathyContact*")
1683 '("const-gchar*" "id")
1687 (define-method get_from_handle
1688 (of-object "EmpathyTpContactFactory")
1689 (c-name "empathy_tp_contact_factory_get_from_handle")
1690 (return-type "EmpathyContact*")
1696 (define-method get_from_handles
1697 (of-object "EmpathyTpContactFactory")
1698 (c-name "empathy_tp_contact_factory_get_from_handles")
1699 (return-type "GList*")
1701 '("GArray*" "handles")
1705 (define-method set_alias
1706 (of-object "EmpathyTpContactFactory")
1707 (c-name "empathy_tp_contact_factory_set_alias")
1708 (return-type "none")
1710 '("EmpathyContact*" "contact")
1711 '("const-gchar*" "alias")
1715 (define-method set_avatar
1716 (of-object "EmpathyTpContactFactory")
1717 (c-name "empathy_tp_contact_factory_set_avatar")
1718 (return-type "none")
1720 '("const-gchar*" "data")
1722 '("const-gchar*" "mime_type")
1728 ;; From empathy-tp-contact-list.h
1730 (define-function empathy_tp_contact_list_get_type
1731 (c-name "empathy_tp_contact_list_get_type")
1732 (return-type "GType")
1735 (define-function empathy_tp_contact_list_new
1736 (c-name "empathy_tp_contact_list_new")
1737 (is-constructor-of "EmpathyTpContactList")
1738 (return-type "EmpathyTpContactList*")
1740 '("McAccount*" "account")
1744 (define-method get_account
1745 (of-object "EmpathyTpContactList")
1746 (c-name "empathy_tp_contact_list_get_account")
1747 (return-type "McAccount*")
1752 ;; From empathy-tp-group.h
1754 (define-function empathy_tp_group_get_type
1755 (c-name "empathy_tp_group_get_type")
1756 (return-type "GType")
1759 (define-function empathy_tp_group_new
1760 (c-name "empathy_tp_group_new")
1761 (is-constructor-of "EmpathyTpGroup")
1762 (return-type "EmpathyTpGroup*")
1764 '("McAccount*" "account")
1765 '("TpChan*" "tp_chan")
1769 (define-method close
1770 (of-object "EmpathyTpGroup")
1771 (c-name "empathy_tp_group_close")
1772 (return-type "none")
1775 (define-method add_members
1776 (of-object "EmpathyTpGroup")
1777 (c-name "empathy_tp_group_add_members")
1778 (return-type "none")
1780 '("GList*" "contacts")
1781 '("const-gchar*" "message")
1785 (define-method add_member
1786 (of-object "EmpathyTpGroup")
1787 (c-name "empathy_tp_group_add_member")
1788 (return-type "none")
1790 '("EmpathyContact*" "contact")
1791 '("const-gchar*" "message")
1795 (define-method remove_members
1796 (of-object "EmpathyTpGroup")
1797 (c-name "empathy_tp_group_remove_members")
1798 (return-type "none")
1800 '("GList*" "contacts")
1801 '("const-gchar*" "message")
1805 (define-method remove_member
1806 (of-object "EmpathyTpGroup")
1807 (c-name "empathy_tp_group_remove_member")
1808 (return-type "none")
1810 '("EmpathyContact*" "contact")
1811 '("const-gchar*" "message")
1815 (define-method get_members
1816 (of-object "EmpathyTpGroup")
1817 (c-name "empathy_tp_group_get_members")
1818 (return-type "GList*")
1821 (define-method get_local_pendings
1822 (of-object "EmpathyTpGroup")
1823 (c-name "empathy_tp_group_get_local_pendings")
1824 (return-type "GList*")
1827 (define-method get_remote_pendings
1828 (of-object "EmpathyTpGroup")
1829 (c-name "empathy_tp_group_get_remote_pendings")
1830 (return-type "GList*")
1833 (define-method get_name
1834 (of-object "EmpathyTpGroup")
1835 (c-name "empathy_tp_group_get_name")
1836 (return-type "const-gchar*")
1839 (define-method get_self_contact
1840 (of-object "EmpathyTpGroup")
1841 (c-name "empathy_tp_group_get_self_contact")
1842 (return-type "EmpathyContact*")
1845 (define-method get_object_path
1846 (of-object "EmpathyTpGroup")
1847 (c-name "empathy_tp_group_get_object_path")
1848 (return-type "const-gchar*")
1851 (define-method is_member
1852 (of-object "EmpathyTpGroup")
1853 (c-name "empathy_tp_group_is_member")
1854 (return-type "gboolean")
1856 '("EmpathyContact*" "contact")
1860 (define-function empathy_pending_info_new
1861 (c-name "empathy_pending_info_new")
1862 (is-constructor-of "EmpathyPendingInfo")
1863 (return-type "EmpathyPendingInfo*")
1865 '("EmpathyContact*" "member")
1866 '("EmpathyContact*" "actor")
1867 '("const-gchar*" "message")
1872 (of-object "EmpathyPendingInfo")
1873 (c-name "empathy_pending_info_free")
1874 (return-type "none")
1879 ;; From empathy-tp-roomlist.h
1881 (define-function empathy_tp_roomlist_get_type
1882 (c-name "empathy_tp_roomlist_get_type")
1883 (return-type "GType")
1886 (define-function empathy_tp_roomlist_new
1887 (c-name "empathy_tp_roomlist_new")
1888 (is-constructor-of "EmpathyTpRoomlist")
1889 (return-type "EmpathyTpRoomlist*")
1891 '("McAccount*" "account")
1895 (define-method is_listing
1896 (of-object "EmpathyTpRoomlist")
1897 (c-name "empathy_tp_roomlist_is_listing")
1898 (return-type "gboolean")
1901 (define-method start
1902 (of-object "EmpathyTpRoomlist")
1903 (c-name "empathy_tp_roomlist_start")
1904 (return-type "none")
1908 (of-object "EmpathyTpRoomlist")
1909 (c-name "empathy_tp_roomlist_stop")
1910 (return-type "none")
1915 ;; From empathy-utils.h
1917 (define-function empathy_substring
1918 (c-name "empathy_substring")
1919 (return-type "gchar*")
1921 '("const-gchar*" "str")
1927 (define-function empathy_regex_match
1928 (c-name "empathy_regex_match")
1929 (return-type "gint")
1931 '("EmpathyRegExType" "type")
1932 '("const-gchar*" "msg")
1933 '("GArray*" "start")
1938 (define-function empathy_strcasecmp
1939 (c-name "empathy_strcasecmp")
1940 (return-type "gint")
1942 '("const-gchar*" "s1")
1943 '("const-gchar*" "s2")
1947 (define-function empathy_strncasecmp
1948 (c-name "empathy_strncasecmp")
1949 (return-type "gint")
1951 '("const-gchar*" "s1")
1952 '("const-gchar*" "s2")
1957 (define-function empathy_xml_validate
1958 (c-name "empathy_xml_validate")
1959 (return-type "gboolean")
1962 '("const-gchar*" "dtd_filename")
1966 (define-function empathy_xml_node_get_child
1967 (c-name "empathy_xml_node_get_child")
1968 (return-type "xmlNodePtr")
1970 '("xmlNodePtr" "node")
1971 '("const-gchar*" "child_name")
1975 (define-function empathy_xml_node_get_child_content
1976 (c-name "empathy_xml_node_get_child_content")
1977 (return-type "xmlChar*")
1979 '("xmlNodePtr" "node")
1980 '("const-gchar*" "child_name")
1984 (define-function empathy_xml_node_find_child_prop_value
1985 (c-name "empathy_xml_node_find_child_prop_value")
1986 (return-type "xmlNodePtr")
1988 '("xmlNodePtr" "node")
1989 '("const-gchar*" "prop_name")
1990 '("const-gchar*" "prop_value")
1994 (define-function empathy_account_hash
1995 (c-name "empathy_account_hash")
1996 (return-type "guint")
1998 '("gconstpointer" "key")
2002 (define-function empathy_account_equal
2003 (c-name "empathy_account_equal")
2004 (return-type "gboolean")
2006 '("gconstpointer" "a")
2007 '("gconstpointer" "b")
2011 (define-function empathy_mission_control_new
2012 (c-name "empathy_mission_control_new")
2013 (is-constructor-of "EmpathyMissionControl")
2014 (return-type "MissionControl*")
2017 (define-function empathy_inspect_handle
2018 (c-name "empathy_inspect_handle")
2019 (return-type "gchar*")
2021 '("McAccount*" "account")
2023 '("guint" "handle_type")
2027 (define-function empathy_inspect_channel
2028 (c-name "empathy_inspect_channel")
2029 (return-type "gchar*")
2031 '("McAccount*" "account")
2032 '("TpChan*" "tp_chan")
2036 (define-function empathy_call_contact
2037 (c-name "empathy_call_contact")
2038 (return-type "none")
2040 '("EmpathyContact*" "contact")
2044 (define-function empathy_chat_with_contact
2045 (c-name "empathy_chat_with_contact")
2046 (return-type "none")
2048 '("EmpathyContact*" "contact")
2052 (define-function empathy_chat_with_contact_id
2053 (c-name "empathy_chat_with_contact_id")
2054 (return-type "none")
2056 '("McAccount*" "account")
2057 '("const-gchar*" "contact_id")
2063 ;; From tp-stream-engine-gen.h
2065 (define-function dbus_g_proxy_begin_call
2066 (c-name "dbus_g_proxy_begin_call")
2067 (return-type "return")
2072 (define-function dbus_g_proxy_begin_call
2073 (c-name "dbus_g_proxy_begin_call")
2074 (return-type "return")
2079 (define-function dbus_g_proxy_begin_call
2080 (c-name "dbus_g_proxy_begin_call")
2081 (return-type "return")
2086 (define-function dbus_g_proxy_begin_call
2087 (c-name "dbus_g_proxy_begin_call")
2088 (return-type "return")
2093 (define-function dbus_g_proxy_begin_call
2094 (c-name "dbus_g_proxy_begin_call")
2095 (return-type "return")
2100 (define-function dbus_g_proxy_begin_call
2101 (c-name "dbus_g_proxy_begin_call")
2102 (return-type "return")
2107 (define-function dbus_g_proxy_begin_call
2108 (c-name "dbus_g_proxy_begin_call")
2109 (return-type "return")
2114 (define-function dbus_g_proxy_begin_call
2115 (c-name "dbus_g_proxy_begin_call")
2116 (return-type "return")