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")
27 (c-name "EmpathyConf")
28 (gtype-id "EMPATHY_TYPE_CONF")
31 (define-object Contact
34 (c-name "EmpathyContact")
35 (gtype-id "EMPATHY_TYPE_CONTACT")
38 (define-object ContactFactory
41 (c-name "EmpathyContactFactory")
42 (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
45 (define-interface ContactList
47 (c-name "EmpathyContactList")
48 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
51 (define-object ContactManager
54 (implements "EmpathyContactList")
55 (c-name "EmpathyContactManager")
56 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
62 (c-name "EmpathyFilter")
63 (gtype-id "EMPATHY_TYPE_FILTER")
69 (c-name "EmpathyIdle")
70 (gtype-id "EMPATHY_TYPE_IDLE")
73 (define-object LogManager
76 (c-name "EmpathyLogManager")
77 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
80 (define-object Message
83 (c-name "EmpathyMessage")
84 (gtype-id "EMPATHY_TYPE_MESSAGE")
87 (define-object Presence
90 (c-name "EmpathyPresence")
91 (gtype-id "EMPATHY_TYPE_PRESENCE")
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 TpChatroom
109 (in-module "Empathy")
110 (parent "EmpathyTpChat")
111 (implements "EmpathyContactList")
112 (c-name "EmpathyTpChatroom")
113 (gtype-id "EMPATHY_TYPE_TP_CHATROOM")
116 (define-object TpContactFactory
117 (in-module "Empathy")
119 (c-name "EmpathyTpContactFactory")
120 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
123 (define-object TpContactList
124 (in-module "Empathy")
126 (implements "EmpathyContactList")
127 (c-name "EmpathyTpContactList")
128 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
131 (define-object TpGroup
132 (in-module "Empathy")
134 (c-name "EmpathyTpGroup")
135 (gtype-id "EMPATHY_TYPE_TP_GROUP")
138 (define-object TpRoomlist
139 (in-module "Empathy")
141 (c-name "EmpathyTpRoomlist")
142 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
145 ;; Enumerations and flags ...
147 (define-flags Capabilities
148 (in-module "Empathy")
149 (c-name "EmpathyCapabilities")
150 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
152 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
153 '("video" "EMPATHY_CAPABILITIES_VIDEO")
157 (define-enum MessageType
158 (in-module "Empathy")
159 (c-name "EmpathyMessageType")
160 (gtype-id "EMPATHY_TYPE_MESSAGE_TYPE")
162 '("normal" "EMPATHY_MESSAGE_TYPE_NORMAL")
163 '("action" "EMPATHY_MESSAGE_TYPE_ACTION")
164 '("notice" "EMPATHY_MESSAGE_TYPE_NOTICE")
165 '("auto-reply" "EMPATHY_MESSAGE_TYPE_AUTO_REPLY")
166 '("last" "EMPATHY_MESSAGE_TYPE_LAST")
170 (define-enum TpCallStatus
171 (in-module "Empathy")
172 (c-name "EmpathyTpCallStatus")
173 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
175 '("preparing" "EMPATHY_TP_CALL_STATUS_PREPARING")
176 '("ringing" "EMPATHY_TP_CALL_STATUS_RINGING")
177 '("running" "EMPATHY_TP_CALL_STATUS_RUNNING")
181 (define-enum RegExType
182 (in-module "Empathy")
183 (c-name "EmpathyRegExType")
184 (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
186 '("as-is" "EMPATHY_REGEX_AS_IS")
187 '("browser" "EMPATHY_REGEX_BROWSER")
188 '("email" "EMPATHY_REGEX_EMAIL")
189 '("other" "EMPATHY_REGEX_OTHER")
190 '("all" "EMPATHY_REGEX_ALL")
195 ;; From empathy-avatar.h
197 (define-function empathy_avatar_get_type
198 (c-name "empathy_avatar_get_type")
199 (return-type "GType")
202 (define-function empathy_avatar_new
203 (c-name "empathy_avatar_new")
204 (is-constructor-of "EmpathyAvatar")
205 (return-type "EmpathyAvatar*")
207 '("const-guchar*" "avatar")
208 '("const-gsize" "len")
209 '("const-gchar*" "format")
210 '("const-gchar*" "token")
214 (define-function empathy_avatar_new_from_cache
215 (c-name "empathy_avatar_new_from_cache")
216 (return-type "EmpathyAvatar*")
218 '("const-gchar*" "token")
223 (of-object "EmpathyAvatar")
224 (c-name "empathy_avatar_ref")
225 (return-type "EmpathyAvatar*")
229 (of-object "EmpathyAvatar")
230 (c-name "empathy_avatar_unref")
236 ;; From empathy-chandler.h
238 (define-function empathy_chandler_get_type
239 (c-name "empathy_chandler_get_type")
240 (return-type "GType")
243 (define-function empathy_chandler_new
244 (c-name "empathy_chandler_new")
245 (is-constructor-of "EmpathyChandler")
246 (return-type "EmpathyChandler*")
248 '("const-gchar*" "bus_name")
249 '("const-gchar*" "object_path")
255 ;; From empathy-chatroom.h
257 (define-function empathy_chatroom_get_type
258 (c-name "empathy_chatroom_get_type")
259 (return-type "GType")
262 (define-function empathy_chatroom_new
263 (c-name "empathy_chatroom_new")
264 (is-constructor-of "EmpathyChatroom")
265 (return-type "EmpathyChatroom*")
267 '("McAccount*" "account")
268 '("const-gchar*" "room")
272 (define-function empathy_chatroom_new_full
273 (c-name "empathy_chatroom_new_full")
274 (return-type "EmpathyChatroom*")
276 '("McAccount*" "account")
277 '("const-gchar*" "room")
278 '("const-gchar*" "name")
279 '("gboolean" "auto_connect")
283 (define-method get_account
284 (of-object "EmpathyChatroom")
285 (c-name "empathy_chatroom_get_account")
286 (return-type "McAccount*")
289 (define-method set_account
290 (of-object "EmpathyChatroom")
291 (c-name "empathy_chatroom_set_account")
294 '("McAccount*" "account")
298 (define-method get_room
299 (of-object "EmpathyChatroom")
300 (c-name "empathy_chatroom_get_room")
301 (return-type "const-gchar*")
304 (define-method set_room
305 (of-object "EmpathyChatroom")
306 (c-name "empathy_chatroom_set_room")
309 '("const-gchar*" "room")
313 (define-method get_name
314 (of-object "EmpathyChatroom")
315 (c-name "empathy_chatroom_get_name")
316 (return-type "const-gchar*")
319 (define-method set_name
320 (of-object "EmpathyChatroom")
321 (c-name "empathy_chatroom_set_name")
324 '("const-gchar*" "name")
328 (define-method get_auto_connect
329 (of-object "EmpathyChatroom")
330 (c-name "empathy_chatroom_get_auto_connect")
331 (return-type "gboolean")
334 (define-method set_auto_connect
335 (of-object "EmpathyChatroom")
336 (c-name "empathy_chatroom_set_auto_connect")
339 '("gboolean" "auto_connect")
343 (define-function empathy_chatroom_equal
344 (c-name "empathy_chatroom_equal")
345 (return-type "gboolean")
347 '("gconstpointer" "v1")
348 '("gconstpointer" "v2")
354 ;; From empathy-chatroom-manager.h
356 (define-function empathy_chatroom_manager_get_type
357 (c-name "empathy_chatroom_manager_get_type")
358 (return-type "GType")
361 (define-function empathy_chatroom_manager_new
362 (c-name "empathy_chatroom_manager_new")
363 (is-constructor-of "EmpathyChatroomManager")
364 (return-type "EmpathyChatroomManager*")
368 (of-object "EmpathyChatroomManager")
369 (c-name "empathy_chatroom_manager_add")
370 (return-type "gboolean")
372 '("EmpathyChatroom*" "chatroom")
376 (define-method remove
377 (of-object "EmpathyChatroomManager")
378 (c-name "empathy_chatroom_manager_remove")
381 '("EmpathyChatroom*" "chatroom")
386 (of-object "EmpathyChatroomManager")
387 (c-name "empathy_chatroom_manager_find")
388 (return-type "EmpathyChatroom*")
390 '("McAccount*" "account")
391 '("const-gchar*" "room")
395 (define-method get_chatrooms
396 (of-object "EmpathyChatroomManager")
397 (c-name "empathy_chatroom_manager_get_chatrooms")
398 (return-type "GList*")
400 '("McAccount*" "account")
404 (define-method get_count
405 (of-object "EmpathyChatroomManager")
406 (c-name "empathy_chatroom_manager_get_count")
407 (return-type "guint")
409 '("McAccount*" "account")
414 (of-object "EmpathyChatroomManager")
415 (c-name "empathy_chatroom_manager_store")
421 ;; From empathy-conf.h
423 (define-function empathy_conf_get_type
424 (c-name "empathy_conf_get_type")
425 (return-type "GType")
428 (define-function empathy_conf_get
429 (c-name "empathy_conf_get")
430 (return-type "EmpathyConf*")
433 (define-function empathy_conf_shutdown
434 (c-name "empathy_conf_shutdown")
438 (define-method notify_add
439 (of-object "EmpathyConf")
440 (c-name "empathy_conf_notify_add")
441 (return-type "guint")
443 '("const-gchar*" "key")
444 '("EmpathyConfNotifyFunc" "func")
449 (define-method notify_remove
450 (of-object "EmpathyConf")
451 (c-name "empathy_conf_notify_remove")
452 (return-type "gboolean")
458 (define-method set_int
459 (of-object "EmpathyConf")
460 (c-name "empathy_conf_set_int")
461 (return-type "gboolean")
463 '("const-gchar*" "key")
468 (define-method get_int
469 (of-object "EmpathyConf")
470 (c-name "empathy_conf_get_int")
471 (return-type "gboolean")
473 '("const-gchar*" "key")
478 (define-method set_bool
479 (of-object "EmpathyConf")
480 (c-name "empathy_conf_set_bool")
481 (return-type "gboolean")
483 '("const-gchar*" "key")
484 '("gboolean" "value")
488 (define-method get_bool
489 (of-object "EmpathyConf")
490 (c-name "empathy_conf_get_bool")
491 (return-type "gboolean")
493 '("const-gchar*" "key")
494 '("gboolean*" "value")
498 (define-method set_string
499 (of-object "EmpathyConf")
500 (c-name "empathy_conf_set_string")
501 (return-type "gboolean")
503 '("const-gchar*" "key")
504 '("const-gchar*" "value")
508 (define-method get_string
509 (of-object "EmpathyConf")
510 (c-name "empathy_conf_get_string")
511 (return-type "gboolean")
513 '("const-gchar*" "key")
518 (define-method set_string_list
519 (of-object "EmpathyConf")
520 (c-name "empathy_conf_set_string_list")
521 (return-type "gboolean")
523 '("const-gchar*" "key")
528 (define-method get_string_list
529 (of-object "EmpathyConf")
530 (c-name "empathy_conf_get_string_list")
531 (return-type "gboolean")
533 '("const-gchar*" "key")
534 '("GSList**" "value")
540 ;; From empathy-contact-factory.h
542 (define-function empathy_contact_factory_get_type
543 (c-name "empathy_contact_factory_get_type")
544 (return-type "GType")
547 (define-function empathy_contact_factory_new
548 (c-name "empathy_contact_factory_new")
549 (is-constructor-of "EmpathyContactFactory")
550 (return-type "EmpathyContactFactory*")
553 (define-method get_user
554 (of-object "EmpathyContactFactory")
555 (c-name "empathy_contact_factory_get_user")
556 (return-type "EmpathyContact*")
558 '("McAccount*" "account")
562 (define-method get_from_id
563 (of-object "EmpathyContactFactory")
564 (c-name "empathy_contact_factory_get_from_id")
565 (return-type "EmpathyContact*")
567 '("McAccount*" "account")
568 '("const-gchar*" "id")
572 (define-method get_from_handle
573 (of-object "EmpathyContactFactory")
574 (c-name "empathy_contact_factory_get_from_handle")
575 (return-type "EmpathyContact*")
577 '("McAccount*" "account")
582 (define-method get_from_handles
583 (of-object "EmpathyContactFactory")
584 (c-name "empathy_contact_factory_get_from_handles")
585 (return-type "GList*")
587 '("McAccount*" "account")
588 '("GArray*" "handles")
592 (define-method set_alias
593 (of-object "EmpathyContactFactory")
594 (c-name "empathy_contact_factory_set_alias")
597 '("EmpathyContact*" "contact")
598 '("const-gchar*" "alias")
602 (define-method set_avatar
603 (of-object "EmpathyContactFactory")
604 (c-name "empathy_contact_factory_set_avatar")
607 '("McAccount*" "account")
608 '("const-gchar*" "data")
610 '("const-gchar*" "mime_type")
616 ;; From empathy-contact.h
618 (define-function empathy_contact_get_type
619 (c-name "empathy_contact_get_type")
620 (return-type "GType")
623 (define-function empathy_contact_new
624 (c-name "empathy_contact_new")
625 (is-constructor-of "EmpathyContact")
626 (return-type "EmpathyContact*")
628 '("McAccount*" "account")
632 (define-function empathy_contact_new_full
633 (c-name "empathy_contact_new_full")
634 (return-type "EmpathyContact*")
636 '("McAccount*" "account")
637 '("const-gchar*" "id")
638 '("const-gchar*" "name")
642 (define-method get_id
643 (of-object "EmpathyContact")
644 (c-name "empathy_contact_get_id")
645 (return-type "const-gchar*")
648 (define-method set_id
649 (of-object "EmpathyContact")
650 (c-name "empathy_contact_set_id")
653 '("const-gchar*" "id")
657 (define-method get_name
658 (of-object "EmpathyContact")
659 (c-name "empathy_contact_get_name")
660 (return-type "const-gchar*")
663 (define-method set_name
664 (of-object "EmpathyContact")
665 (c-name "empathy_contact_set_name")
668 '("const-gchar*" "name")
672 (define-method get_avatar
673 (of-object "EmpathyContact")
674 (c-name "empathy_contact_get_avatar")
675 (return-type "EmpathyAvatar*")
678 (define-method set_avatar
679 (of-object "EmpathyContact")
680 (c-name "empathy_contact_set_avatar")
683 '("EmpathyAvatar*" "avatar")
687 (define-method get_account
688 (of-object "EmpathyContact")
689 (c-name "empathy_contact_get_account")
690 (return-type "McAccount*")
693 (define-method set_account
694 (of-object "EmpathyContact")
695 (c-name "empathy_contact_set_account")
698 '("McAccount*" "account")
702 (define-method get_presence
703 (of-object "EmpathyContact")
704 (c-name "empathy_contact_get_presence")
705 (return-type "EmpathyPresence*")
708 (define-method set_presence
709 (of-object "EmpathyContact")
710 (c-name "empathy_contact_set_presence")
713 '("EmpathyPresence*" "presence")
717 (define-method get_handle
718 (of-object "EmpathyContact")
719 (c-name "empathy_contact_get_handle")
720 (return-type "guint")
723 (define-method set_handle
724 (of-object "EmpathyContact")
725 (c-name "empathy_contact_set_handle")
732 (define-method get_capabilities
733 (of-object "EmpathyContact")
734 (c-name "empathy_contact_get_capabilities")
735 (return-type "EmpathyCapabilities")
738 (define-method set_capabilities
739 (of-object "EmpathyContact")
740 (c-name "empathy_contact_set_capabilities")
743 '("EmpathyCapabilities" "capabilities")
747 (define-method is_user
748 (of-object "EmpathyContact")
749 (c-name "empathy_contact_is_user")
750 (return-type "gboolean")
753 (define-method set_is_user
754 (of-object "EmpathyContact")
755 (c-name "empathy_contact_set_is_user")
758 '("gboolean" "is_user")
762 (define-method is_online
763 (of-object "EmpathyContact")
764 (c-name "empathy_contact_is_online")
765 (return-type "gboolean")
768 (define-method get_status
769 (of-object "EmpathyContact")
770 (c-name "empathy_contact_get_status")
771 (return-type "const-gchar*")
774 (define-method can_voip
775 (of-object "EmpathyContact")
776 (c-name "empathy_contact_can_voip")
777 (return-type "gboolean")
780 (define-function empathy_contact_equal
781 (c-name "empathy_contact_equal")
782 (return-type "gboolean")
784 '("gconstpointer" "v1")
785 '("gconstpointer" "v2")
789 (define-function empathy_contact_hash
790 (c-name "empathy_contact_hash")
791 (return-type "guint")
793 '("gconstpointer" "key")
799 ;; From empathy-contact-list.h
801 (define-function empathy_contact_list_get_type
802 (c-name "empathy_contact_list_get_type")
803 (return-type "GType")
807 (of-object "EmpathyContactList")
808 (c-name "empathy_contact_list_add")
811 '("EmpathyContact*" "contact")
812 '("const-gchar*" "message")
816 (define-method remove
817 (of-object "EmpathyContactList")
818 (c-name "empathy_contact_list_remove")
821 '("EmpathyContact*" "contact")
822 '("const-gchar*" "message")
826 (define-method get_members
827 (of-object "EmpathyContactList")
828 (c-name "empathy_contact_list_get_members")
829 (return-type "GList*")
832 (define-method get_pendings
833 (of-object "EmpathyContactList")
834 (c-name "empathy_contact_list_get_pendings")
835 (return-type "GList*")
838 (define-method get_all_groups
839 (of-object "EmpathyContactList")
840 (c-name "empathy_contact_list_get_all_groups")
841 (return-type "GList*")
844 (define-method get_groups
845 (of-object "EmpathyContactList")
846 (c-name "empathy_contact_list_get_groups")
847 (return-type "GList*")
849 '("EmpathyContact*" "contact")
853 (define-method add_to_group
854 (of-object "EmpathyContactList")
855 (c-name "empathy_contact_list_add_to_group")
858 '("EmpathyContact*" "contact")
859 '("const-gchar*" "group")
863 (define-method remove_from_group
864 (of-object "EmpathyContactList")
865 (c-name "empathy_contact_list_remove_from_group")
868 '("EmpathyContact*" "contact")
869 '("const-gchar*" "group")
873 (define-method rename_group
874 (of-object "EmpathyContactList")
875 (c-name "empathy_contact_list_rename_group")
878 '("const-gchar*" "old_group")
879 '("const-gchar*" "new_group")
883 (define-method remove_group
884 (of-object "EmpathyContactList")
885 (c-name "empathy_contact_list_remove_group")
888 '("const-gchar*" "group")
894 ;; From empathy-contact-manager.h
896 (define-function empathy_contact_manager_get_type
897 (c-name "empathy_contact_manager_get_type")
898 (return-type "GType")
901 (define-function empathy_contact_manager_new
902 (c-name "empathy_contact_manager_new")
903 (is-constructor-of "EmpathyContactManager")
904 (return-type "EmpathyContactManager*")
907 (define-method get_list
908 (of-object "EmpathyContactManager")
909 (c-name "empathy_contact_manager_get_list")
910 (return-type "EmpathyTpContactList*")
912 '("McAccount*" "account")
918 ;; From empathy-debug.h
920 (define-function empathy_debug_impl
921 (c-name "empathy_debug_impl")
924 '("const-gchar*" "domain")
925 '("const-gchar*" "msg")
930 (define-function empathy_debug_set_log_file_from_env
931 (c-name "empathy_debug_set_log_file_from_env")
937 ;; From empathy-filter.h
939 (define-function empathy_filter_get_type
940 (c-name "empathy_filter_get_type")
941 (return-type "GType")
944 (define-function empathy_filter_new
945 (c-name "empathy_filter_new")
946 (is-constructor-of "EmpathyFilter")
947 (return-type "EmpathyFilter*")
949 '("const-gchar*" "bus_name")
950 '("const-gchar*" "object_path")
951 '("const-gchar*" "channel_type")
952 '("guint" "priority")
957 (define-method process
958 (of-object "EmpathyFilter")
959 (c-name "empathy_filter_process")
962 '("TpChan*" "tp_chan")
963 '("gboolean" "process")
969 ;; From empathy-idle.h
971 (define-function empathy_idle_get_type
972 (c-name "empathy_idle_get_type")
973 (return-type "GType")
976 (define-function empathy_idle_new
977 (c-name "empathy_idle_new")
978 (is-constructor-of "EmpathyIdle")
979 (return-type "EmpathyIdle*")
982 (define-method get_state
983 (of-object "EmpathyIdle")
984 (c-name "empathy_idle_get_state")
985 (return-type "McPresence")
988 (define-method set_state
989 (of-object "EmpathyIdle")
990 (c-name "empathy_idle_set_state")
993 '("McPresence" "state")
997 (define-method get_status
998 (of-object "EmpathyIdle")
999 (c-name "empathy_idle_get_status")
1000 (return-type "const-gchar*")
1003 (define-method set_status
1004 (of-object "EmpathyIdle")
1005 (c-name "empathy_idle_set_status")
1006 (return-type "none")
1008 '("const-gchar*" "status")
1012 (define-method get_flash_state
1013 (of-object "EmpathyIdle")
1014 (c-name "empathy_idle_get_flash_state")
1015 (return-type "McPresence")
1018 (define-method set_flash_state
1019 (of-object "EmpathyIdle")
1020 (c-name "empathy_idle_set_flash_state")
1021 (return-type "none")
1023 '("McPresence" "state")
1027 (define-method set_presence
1028 (of-object "EmpathyIdle")
1029 (c-name "empathy_idle_set_presence")
1030 (return-type "none")
1032 '("McPresence" "state")
1033 '("const-gchar*" "status")
1037 (define-method get_auto_away
1038 (of-object "EmpathyIdle")
1039 (c-name "empathy_idle_get_auto_away")
1040 (return-type "gboolean")
1043 (define-method set_auto_away
1044 (of-object "EmpathyIdle")
1045 (c-name "empathy_idle_set_auto_away")
1046 (return-type "none")
1048 '("gboolean" "auto_away")
1052 (define-method get_use_nm
1053 (of-object "EmpathyIdle")
1054 (c-name "empathy_idle_get_use_nm")
1055 (return-type "gboolean")
1058 (define-method set_use_nm
1059 (of-object "EmpathyIdle")
1060 (c-name "empathy_idle_set_use_nm")
1061 (return-type "none")
1063 '("gboolean" "use_nm")
1069 ;; From empathy-log-manager.h
1071 (define-function empathy_log_manager_get_type
1072 (c-name "empathy_log_manager_get_type")
1073 (return-type "GType")
1076 (define-function empathy_log_manager_new
1077 (c-name "empathy_log_manager_new")
1078 (is-constructor-of "EmpathyLogManager")
1079 (return-type "EmpathyLogManager*")
1082 (define-method add_message
1083 (of-object "EmpathyLogManager")
1084 (c-name "empathy_log_manager_add_message")
1085 (return-type "none")
1087 '("const-gchar*" "chat_id")
1088 '("gboolean" "chatroom")
1089 '("EmpathyMessage*" "message")
1093 (define-method exists
1094 (of-object "EmpathyLogManager")
1095 (c-name "empathy_log_manager_exists")
1096 (return-type "gboolean")
1098 '("McAccount*" "account")
1099 '("const-gchar*" "chat_id")
1100 '("gboolean" "chatroom")
1104 (define-method get_dates
1105 (of-object "EmpathyLogManager")
1106 (c-name "empathy_log_manager_get_dates")
1107 (return-type "GList*")
1109 '("McAccount*" "account")
1110 '("const-gchar*" "chat_id")
1111 '("gboolean" "chatroom")
1115 (define-method get_messages_for_file
1116 (of-object "EmpathyLogManager")
1117 (c-name "empathy_log_manager_get_messages_for_file")
1118 (return-type "GList*")
1120 '("const-gchar*" "filename")
1124 (define-method get_messages_for_date
1125 (of-object "EmpathyLogManager")
1126 (c-name "empathy_log_manager_get_messages_for_date")
1127 (return-type "GList*")
1129 '("McAccount*" "account")
1130 '("const-gchar*" "chat_id")
1131 '("gboolean" "chatroom")
1132 '("const-gchar*" "date")
1136 (define-method get_last_messages
1137 (of-object "EmpathyLogManager")
1138 (c-name "empathy_log_manager_get_last_messages")
1139 (return-type "GList*")
1141 '("McAccount*" "account")
1142 '("const-gchar*" "chat_id")
1143 '("gboolean" "chatroom")
1147 (define-method get_messages_for_file
1148 (of-object "EmpathyLogManager")
1149 (c-name "empathy_log_manager_get_messages_for_file")
1150 (return-type "GList*")
1152 '("const-gchar*" "filename")
1156 (define-method get_chats
1157 (of-object "EmpathyLogManager")
1158 (c-name "empathy_log_manager_get_chats")
1159 (return-type "GList*")
1161 '("McAccount*" "account")
1165 (define-method search_new
1166 (of-object "EmpathyLogManager")
1167 (c-name "empathy_log_manager_search_new")
1168 (return-type "GList*")
1170 '("const-gchar*" "text")
1174 (define-function empathy_log_manager_search_free
1175 (c-name "empathy_log_manager_search_free")
1176 (return-type "none")
1182 (define-function empathy_log_manager_get_date_readable
1183 (c-name "empathy_log_manager_get_date_readable")
1184 (return-type "gchar*")
1186 '("const-gchar*" "date")
1192 ;; From empathy-message.h
1194 (define-function empathy_message_get_gtype
1195 (c-name "empathy_message_get_gtype")
1196 (return-type "GType")
1199 (define-function empathy_message_new
1200 (c-name "empathy_message_new")
1201 (is-constructor-of "EmpathyMessage")
1202 (return-type "EmpathyMessage*")
1204 '("const-gchar*" "body")
1208 (define-method get_type
1209 (of-object "EmpathyMessage")
1210 (c-name "empathy_message_get_type")
1211 (return-type "EmpathyMessageType")
1214 (define-method set_type
1215 (of-object "EmpathyMessage")
1216 (c-name "empathy_message_set_type")
1217 (return-type "none")
1219 '("EmpathyMessageType" "type")
1223 (define-method get_sender
1224 (of-object "EmpathyMessage")
1225 (c-name "empathy_message_get_sender")
1226 (return-type "EmpathyContact*")
1229 (define-method set_sender
1230 (of-object "EmpathyMessage")
1231 (c-name "empathy_message_set_sender")
1232 (return-type "none")
1234 '("EmpathyContact*" "contact")
1238 (define-method get_receiver
1239 (of-object "EmpathyMessage")
1240 (c-name "empathy_message_get_receiver")
1241 (return-type "EmpathyContact*")
1244 (define-method set_receiver
1245 (of-object "EmpathyMessage")
1246 (c-name "empathy_message_set_receiver")
1247 (return-type "none")
1249 '("EmpathyContact*" "contact")
1253 (define-method get_body
1254 (of-object "EmpathyMessage")
1255 (c-name "empathy_message_get_body")
1256 (return-type "const-gchar*")
1259 (define-method set_body
1260 (of-object "EmpathyMessage")
1261 (c-name "empathy_message_set_body")
1262 (return-type "none")
1264 '("const-gchar*" "body")
1268 (define-method get_timestamp
1269 (of-object "EmpathyMessage")
1270 (c-name "empathy_message_get_timestamp")
1271 (return-type "time_t")
1274 (define-method set_timestamp
1275 (of-object "EmpathyMessage")
1276 (c-name "empathy_message_set_timestamp")
1277 (return-type "none")
1279 '("time_t" "timestamp")
1283 (define-method get_date_and_time
1284 (of-object "EmpathyMessage")
1285 (c-name "empathy_message_get_date_and_time")
1286 (return-type "GDate*")
1288 '("time_t*" "timestamp")
1292 (define-function empathy_message_type_from_str
1293 (c-name "empathy_message_type_from_str")
1294 (return-type "EmpathyMessageType")
1296 '("const-gchar*" "type_str")
1300 (define-method to_str
1301 (of-object "EmpathyMessageType")
1302 (c-name "empathy_message_type_to_str")
1303 (return-type "const-gchar*")
1308 ;; From empathy-presence.h
1310 (define-function empathy_presence_get_type
1311 (c-name "empathy_presence_get_type")
1312 (return-type "GType")
1315 (define-function empathy_presence_new
1316 (c-name "empathy_presence_new")
1317 (is-constructor-of "EmpathyPresence")
1318 (return-type "EmpathyPresence*")
1321 (define-function empathy_presence_new_full
1322 (c-name "empathy_presence_new_full")
1323 (return-type "EmpathyPresence*")
1325 '("McPresence" "state")
1326 '("const-gchar*" "status")
1330 (define-method get_state
1331 (of-object "EmpathyPresence")
1332 (c-name "empathy_presence_get_state")
1333 (return-type "McPresence")
1336 (define-method get_status
1337 (of-object "EmpathyPresence")
1338 (c-name "empathy_presence_get_status")
1339 (return-type "const-gchar*")
1342 (define-method set_state
1343 (of-object "EmpathyPresence")
1344 (c-name "empathy_presence_set_state")
1345 (return-type "none")
1347 '("McPresence" "state")
1351 (define-method set_status
1352 (of-object "EmpathyPresence")
1353 (c-name "empathy_presence_set_status")
1354 (return-type "none")
1356 '("const-gchar*" "status")
1360 (define-function empathy_presence_sort_func
1361 (c-name "empathy_presence_sort_func")
1362 (return-type "gint")
1364 '("gconstpointer" "a")
1365 '("gconstpointer" "b")
1369 (define-function empathy_presence_state_get_default_status
1370 (c-name "empathy_presence_state_get_default_status")
1371 (return-type "const-gchar*")
1373 '("McPresence" "state")
1377 (define-function empathy_presence_state_to_str
1378 (c-name "empathy_presence_state_to_str")
1379 (return-type "const-gchar*")
1381 '("McPresence" "state")
1385 (define-function empathy_presence_state_from_str
1386 (c-name "empathy_presence_state_from_str")
1387 (return-type "McPresence")
1389 '("const-gchar*" "str")
1395 ;; From empathy-time.h
1397 (define-function empathy_time_get_current
1398 (c-name "empathy_time_get_current")
1399 (return-type "time_t")
1402 (define-function empathy_time_get_local_time
1403 (c-name "empathy_time_get_local_time")
1404 (return-type "time_t")
1406 '("struct-tm*" "tm")
1410 (define-function empathy_time_parse
1411 (c-name "empathy_time_parse")
1412 (return-type "time_t")
1414 '("const-gchar*" "str")
1418 (define-function empathy_time_to_string_utc
1419 (c-name "empathy_time_to_string_utc")
1420 (return-type "gchar*")
1423 '("const-gchar*" "format")
1427 (define-function empathy_time_to_string_local
1428 (c-name "empathy_time_to_string_local")
1429 (return-type "gchar*")
1432 '("const-gchar*" "format")
1438 ;; From empathy-tp-call.h
1440 (define-function empathy_tp_call_get_type
1441 (c-name "empathy_tp_call_get_type")
1442 (return-type "GType")
1445 (define-function empathy_tp_call_new
1446 (c-name "empathy_tp_call_new")
1447 (is-constructor-of "EmpathyTpCall")
1448 (return-type "EmpathyTpCall*")
1450 '("McAccount*" "account")
1451 '("TpChan*" "tp_chan")
1455 (define-method is_incoming
1456 (of-object "EmpathyTpCall")
1457 (c-name "empathy_tp_call_is_incoming")
1458 (return-type "gboolean")
1461 (define-method get_status
1462 (of-object "EmpathyTpCall")
1463 (c-name "empathy_tp_call_get_status")
1464 (return-type "EmpathyTpCallStatus")
1467 (define-method get_contact
1468 (of-object "EmpathyTpCall")
1469 (c-name "empathy_tp_call_get_contact")
1470 (return-type "EmpathyContact*")
1473 (define-method accept
1474 (of-object "EmpathyTpCall")
1475 (c-name "empathy_tp_call_accept")
1476 (return-type "none")
1479 (define-method invite
1480 (of-object "EmpathyTpCall")
1481 (c-name "empathy_tp_call_invite")
1482 (return-type "none")
1484 '("EmpathyContact*" "contact")
1488 (define-method request_streams
1489 (of-object "EmpathyTpCall")
1490 (c-name "empathy_tp_call_request_streams")
1491 (return-type "none")
1493 '("gboolean" "audio")
1494 '("gboolean" "video")
1498 (define-method send_video
1499 (of-object "EmpathyTpCall")
1500 (c-name "empathy_tp_call_send_video")
1501 (return-type "none")
1503 '("gboolean" "send")
1507 (define-method add_preview_window
1508 (of-object "EmpathyTpCall")
1509 (c-name "empathy_tp_call_add_preview_window")
1510 (return-type "none")
1512 '("guint" "socket_id")
1516 (define-method remove_preview_window
1517 (of-object "EmpathyTpCall")
1518 (c-name "empathy_tp_call_remove_preview_window")
1519 (return-type "none")
1521 '("guint" "socket_id")
1525 (define-method set_output_window
1526 (of-object "EmpathyTpCall")
1527 (c-name "empathy_tp_call_set_output_window")
1528 (return-type "none")
1530 '("guint" "socket_id")
1534 (define-method set_output_volume
1535 (of-object "EmpathyTpCall")
1536 (c-name "empathy_tp_call_set_output_volume")
1537 (return-type "none")
1543 (define-method mute_output
1544 (of-object "EmpathyTpCall")
1545 (c-name "empathy_tp_call_mute_output")
1546 (return-type "none")
1548 '("gboolean" "is_muted")
1552 (define-method mute_input
1553 (of-object "EmpathyTpCall")
1554 (c-name "empathy_tp_call_mute_input")
1555 (return-type "none")
1557 '("gboolean" "is_muted")
1563 ;; From empathy-tp-chat.h
1565 (define-function empathy_tp_chat_get_type
1566 (c-name "empathy_tp_chat_get_type")
1567 (return-type "GType")
1570 (define-function empathy_tp_chat_new
1571 (c-name "empathy_tp_chat_new")
1572 (is-constructor-of "EmpathyTpChat")
1573 (return-type "EmpathyTpChat*")
1575 '("McAccount*" "account")
1576 '("TpChan*" "tp_chan")
1580 (define-function empathy_tp_chat_new_with_contact
1581 (c-name "empathy_tp_chat_new_with_contact")
1582 (return-type "EmpathyTpChat*")
1584 '("EmpathyContact*" "contact")
1588 (define-method get_acknowledge
1589 (of-object "EmpathyTpChat")
1590 (c-name "empathy_tp_chat_get_acknowledge")
1591 (return-type "gboolean")
1594 (define-method set_acknowledge
1595 (of-object "EmpathyTpChat")
1596 (c-name "empathy_tp_chat_set_acknowledge")
1597 (return-type "none")
1599 '("gboolean" "acknowledge")
1603 (define-method get_account
1604 (of-object "EmpathyTpChat")
1605 (c-name "empathy_tp_chat_get_account")
1606 (return-type "McAccount*")
1609 (define-method get_channel
1610 (of-object "EmpathyTpChat")
1611 (c-name "empathy_tp_chat_get_channel")
1612 (return-type "TpChan*")
1615 (define-method get_pendings
1616 (of-object "EmpathyTpChat")
1617 (c-name "empathy_tp_chat_get_pendings")
1618 (return-type "GList*")
1622 (of-object "EmpathyTpChat")
1623 (c-name "empathy_tp_chat_send")
1624 (return-type "none")
1626 '("EmpathyMessage*" "message")
1630 (define-method set_state
1631 (of-object "EmpathyTpChat")
1632 (c-name "empathy_tp_chat_set_state")
1633 (return-type "none")
1635 '("TpChannelChatState" "state")
1639 (define-method get_id
1640 (of-object "EmpathyTpChat")
1641 (c-name "empathy_tp_chat_get_id")
1642 (return-type "const-gchar*")
1647 ;; From empathy-tp-chatroom.h
1649 (define-function empathy_tp_chatroom_get_type
1650 (c-name "empathy_tp_chatroom_get_type")
1651 (return-type "GType")
1654 (define-function empathy_tp_chatroom_new
1655 (c-name "empathy_tp_chatroom_new")
1656 (is-constructor-of "EmpathyTpChatroom")
1657 (return-type "EmpathyTpChatroom*")
1659 '("McAccount*" "account")
1660 '("TpChan*" "tp_chan")
1664 (define-method get_invitation
1665 (of-object "EmpathyTpChatroom")
1666 (c-name "empathy_tp_chatroom_get_invitation")
1667 (return-type "gboolean")
1669 '("EmpathyContact**" "contact")
1670 '("const-gchar**" "message")
1674 (define-method accept_invitation
1675 (of-object "EmpathyTpChatroom")
1676 (c-name "empathy_tp_chatroom_accept_invitation")
1677 (return-type "none")
1680 (define-method set_topic
1681 (of-object "EmpathyTpChatroom")
1682 (c-name "empathy_tp_chatroom_set_topic")
1683 (return-type "none")
1685 '("const-gchar*" "topic")
1691 ;; From empathy-tp-contact-factory.h
1693 (define-function empathy_tp_contact_factory_get_type
1694 (c-name "empathy_tp_contact_factory_get_type")
1695 (return-type "GType")
1698 (define-function empathy_tp_contact_factory_new
1699 (c-name "empathy_tp_contact_factory_new")
1700 (is-constructor-of "EmpathyTpContactFactory")
1701 (return-type "EmpathyTpContactFactory*")
1703 '("McAccount*" "account")
1707 (define-method get_user
1708 (of-object "EmpathyTpContactFactory")
1709 (c-name "empathy_tp_contact_factory_get_user")
1710 (return-type "EmpathyContact*")
1713 (define-method get_from_id
1714 (of-object "EmpathyTpContactFactory")
1715 (c-name "empathy_tp_contact_factory_get_from_id")
1716 (return-type "EmpathyContact*")
1718 '("const-gchar*" "id")
1722 (define-method get_from_handle
1723 (of-object "EmpathyTpContactFactory")
1724 (c-name "empathy_tp_contact_factory_get_from_handle")
1725 (return-type "EmpathyContact*")
1731 (define-method get_from_handles
1732 (of-object "EmpathyTpContactFactory")
1733 (c-name "empathy_tp_contact_factory_get_from_handles")
1734 (return-type "GList*")
1736 '("GArray*" "handles")
1740 (define-method set_alias
1741 (of-object "EmpathyTpContactFactory")
1742 (c-name "empathy_tp_contact_factory_set_alias")
1743 (return-type "none")
1745 '("EmpathyContact*" "contact")
1746 '("const-gchar*" "alias")
1750 (define-method set_avatar
1751 (of-object "EmpathyTpContactFactory")
1752 (c-name "empathy_tp_contact_factory_set_avatar")
1753 (return-type "none")
1755 '("const-gchar*" "data")
1757 '("const-gchar*" "mime_type")
1763 ;; From empathy-tp-contact-list.h
1765 (define-function empathy_tp_contact_list_get_type
1766 (c-name "empathy_tp_contact_list_get_type")
1767 (return-type "GType")
1770 (define-function empathy_tp_contact_list_new
1771 (c-name "empathy_tp_contact_list_new")
1772 (is-constructor-of "EmpathyTpContactList")
1773 (return-type "EmpathyTpContactList*")
1775 '("McAccount*" "account")
1779 (define-method get_account
1780 (of-object "EmpathyTpContactList")
1781 (c-name "empathy_tp_contact_list_get_account")
1782 (return-type "McAccount*")
1787 ;; From empathy-tp-group.h
1789 (define-function empathy_tp_group_get_type
1790 (c-name "empathy_tp_group_get_type")
1791 (return-type "GType")
1794 (define-function empathy_tp_group_new
1795 (c-name "empathy_tp_group_new")
1796 (is-constructor-of "EmpathyTpGroup")
1797 (return-type "EmpathyTpGroup*")
1799 '("McAccount*" "account")
1800 '("TpChan*" "tp_chan")
1804 (define-method close
1805 (of-object "EmpathyTpGroup")
1806 (c-name "empathy_tp_group_close")
1807 (return-type "none")
1810 (define-method add_members
1811 (of-object "EmpathyTpGroup")
1812 (c-name "empathy_tp_group_add_members")
1813 (return-type "none")
1815 '("GList*" "contacts")
1816 '("const-gchar*" "message")
1820 (define-method add_member
1821 (of-object "EmpathyTpGroup")
1822 (c-name "empathy_tp_group_add_member")
1823 (return-type "none")
1825 '("EmpathyContact*" "contact")
1826 '("const-gchar*" "message")
1830 (define-method remove_members
1831 (of-object "EmpathyTpGroup")
1832 (c-name "empathy_tp_group_remove_members")
1833 (return-type "none")
1835 '("GList*" "contacts")
1836 '("const-gchar*" "message")
1840 (define-method remove_member
1841 (of-object "EmpathyTpGroup")
1842 (c-name "empathy_tp_group_remove_member")
1843 (return-type "none")
1845 '("EmpathyContact*" "contact")
1846 '("const-gchar*" "message")
1850 (define-method get_members
1851 (of-object "EmpathyTpGroup")
1852 (c-name "empathy_tp_group_get_members")
1853 (return-type "GList*")
1856 (define-method get_local_pendings
1857 (of-object "EmpathyTpGroup")
1858 (c-name "empathy_tp_group_get_local_pendings")
1859 (return-type "GList*")
1862 (define-method get_remote_pendings
1863 (of-object "EmpathyTpGroup")
1864 (c-name "empathy_tp_group_get_remote_pendings")
1865 (return-type "GList*")
1868 (define-method get_name
1869 (of-object "EmpathyTpGroup")
1870 (c-name "empathy_tp_group_get_name")
1871 (return-type "const-gchar*")
1874 (define-method get_self_contact
1875 (of-object "EmpathyTpGroup")
1876 (c-name "empathy_tp_group_get_self_contact")
1877 (return-type "EmpathyContact*")
1880 (define-method get_object_path
1881 (of-object "EmpathyTpGroup")
1882 (c-name "empathy_tp_group_get_object_path")
1883 (return-type "const-gchar*")
1886 (define-method is_member
1887 (of-object "EmpathyTpGroup")
1888 (c-name "empathy_tp_group_is_member")
1889 (return-type "gboolean")
1891 '("EmpathyContact*" "contact")
1895 (define-function empathy_pending_info_new
1896 (c-name "empathy_pending_info_new")
1897 (is-constructor-of "EmpathyPendingInfo")
1898 (return-type "EmpathyPendingInfo*")
1900 '("EmpathyContact*" "member")
1901 '("EmpathyContact*" "actor")
1902 '("const-gchar*" "message")
1907 (of-object "EmpathyPendingInfo")
1908 (c-name "empathy_pending_info_free")
1909 (return-type "none")
1914 ;; From empathy-tp-roomlist.h
1916 (define-function empathy_tp_roomlist_get_type
1917 (c-name "empathy_tp_roomlist_get_type")
1918 (return-type "GType")
1921 (define-function empathy_tp_roomlist_new
1922 (c-name "empathy_tp_roomlist_new")
1923 (is-constructor-of "EmpathyTpRoomlist")
1924 (return-type "EmpathyTpRoomlist*")
1926 '("McAccount*" "account")
1930 (define-method is_listing
1931 (of-object "EmpathyTpRoomlist")
1932 (c-name "empathy_tp_roomlist_is_listing")
1933 (return-type "gboolean")
1936 (define-method start
1937 (of-object "EmpathyTpRoomlist")
1938 (c-name "empathy_tp_roomlist_start")
1939 (return-type "none")
1943 (of-object "EmpathyTpRoomlist")
1944 (c-name "empathy_tp_roomlist_stop")
1945 (return-type "none")
1950 ;; From empathy-utils.h
1952 (define-function empathy_substring
1953 (c-name "empathy_substring")
1954 (return-type "gchar*")
1956 '("const-gchar*" "str")
1962 (define-function empathy_regex_match
1963 (c-name "empathy_regex_match")
1964 (return-type "gint")
1966 '("EmpathyRegExType" "type")
1967 '("const-gchar*" "msg")
1968 '("GArray*" "start")
1973 (define-function empathy_strcasecmp
1974 (c-name "empathy_strcasecmp")
1975 (return-type "gint")
1977 '("const-gchar*" "s1")
1978 '("const-gchar*" "s2")
1982 (define-function empathy_strncasecmp
1983 (c-name "empathy_strncasecmp")
1984 (return-type "gint")
1986 '("const-gchar*" "s1")
1987 '("const-gchar*" "s2")
1992 (define-function empathy_xml_validate
1993 (c-name "empathy_xml_validate")
1994 (return-type "gboolean")
1997 '("const-gchar*" "dtd_filename")
2001 (define-function empathy_xml_node_get_child
2002 (c-name "empathy_xml_node_get_child")
2003 (return-type "xmlNodePtr")
2005 '("xmlNodePtr" "node")
2006 '("const-gchar*" "child_name")
2010 (define-function empathy_xml_node_get_child_content
2011 (c-name "empathy_xml_node_get_child_content")
2012 (return-type "xmlChar*")
2014 '("xmlNodePtr" "node")
2015 '("const-gchar*" "child_name")
2019 (define-function empathy_xml_node_find_child_prop_value
2020 (c-name "empathy_xml_node_find_child_prop_value")
2021 (return-type "xmlNodePtr")
2023 '("xmlNodePtr" "node")
2024 '("const-gchar*" "prop_name")
2025 '("const-gchar*" "prop_value")
2029 (define-function empathy_account_hash
2030 (c-name "empathy_account_hash")
2031 (return-type "guint")
2033 '("gconstpointer" "key")
2037 (define-function empathy_account_equal
2038 (c-name "empathy_account_equal")
2039 (return-type "gboolean")
2041 '("gconstpointer" "a")
2042 '("gconstpointer" "b")
2046 (define-function empathy_mission_control_new
2047 (c-name "empathy_mission_control_new")
2048 (is-constructor-of "EmpathyMissionControl")
2049 (return-type "MissionControl*")
2052 (define-function empathy_inspect_handle
2053 (c-name "empathy_inspect_handle")
2054 (return-type "gchar*")
2056 '("McAccount*" "account")
2058 '("guint" "handle_type")
2062 (define-function empathy_inspect_channel
2063 (c-name "empathy_inspect_channel")
2064 (return-type "gchar*")
2066 '("McAccount*" "account")
2067 '("TpChan*" "tp_chan")
2071 (define-function empathy_call_contact
2072 (c-name "empathy_call_contact")
2073 (return-type "none")
2075 '("EmpathyContact*" "contact")
2079 (define-function empathy_chat_with_contact
2080 (c-name "empathy_chat_with_contact")
2081 (return-type "none")
2083 '("EmpathyContact*" "contact")
2087 (define-function empathy_chat_with_contact_id
2088 (c-name "empathy_chat_with_contact_id")
2089 (return-type "none")
2091 '("McAccount*" "account")
2092 '("const-gchar*" "contact_id")
2098 ;; From tp-stream-engine-gen.h
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")
2121 (define-function dbus_g_proxy_begin_call
2122 (c-name "dbus_g_proxy_begin_call")
2123 (return-type "return")
2128 (define-function dbus_g_proxy_begin_call
2129 (c-name "dbus_g_proxy_begin_call")
2130 (return-type "return")
2135 (define-function dbus_g_proxy_begin_call
2136 (c-name "dbus_g_proxy_begin_call")
2137 (return-type "return")
2142 (define-function dbus_g_proxy_begin_call
2143 (c-name "dbus_g_proxy_begin_call")
2144 (return-type "return")
2149 (define-function dbus_g_proxy_begin_call
2150 (c-name "dbus_g_proxy_begin_call")
2151 (return-type "return")