4 (define-interface ContactList
6 (c-name "EmpathyContactList")
7 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
10 ; object definitions ...
11 (define-object Chandler
14 (c-name "EmpathyChandler")
15 (gtype-id "EMPATHY_TYPE_CHANDLER")
18 (define-object Chatroom
21 (c-name "EmpathyChatroom")
22 (gtype-id "EMPATHY_TYPE_CHATROOM")
25 (define-object ChatroomManager
28 (c-name "EmpathyChatroomManager")
29 (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
35 (c-name "EmpathyConf")
36 (gtype-id "EMPATHY_TYPE_CONF")
39 (define-object Contact
42 (c-name "EmpathyContact")
43 (gtype-id "EMPATHY_TYPE_CONTACT")
46 (define-object ContactFactory
49 (c-name "EmpathyContactFactory")
50 (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
53 (define-object ContactManager
56 (c-name "EmpathyContactManager")
57 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
58 (implements "EmpathyContactList")
64 (c-name "EmpathyFilter")
65 (gtype-id "EMPATHY_TYPE_FILTER")
71 (c-name "EmpathyIdle")
72 (gtype-id "EMPATHY_TYPE_IDLE")
75 (define-object LogManager
78 (c-name "EmpathyLogManager")
79 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
82 (define-object Message
85 (c-name "EmpathyMessage")
86 (gtype-id "EMPATHY_TYPE_MESSAGE")
89 (define-object Presence
92 (c-name "EmpathyPresence")
93 (gtype-id "EMPATHY_TYPE_PRESENCE")
99 (c-name "EmpathyTpChat")
100 (gtype-id "EMPATHY_TYPE_TP_CHAT")
103 (define-object TpChatroom
104 (in-module "Empathy")
105 (parent "EmpathyTpChat")
106 (c-name "EmpathyTpChatroom")
107 (gtype-id "EMPATHY_TYPE_TP_CHATROOM")
108 (implements "EmpathyContactList")
111 (define-object TpContactList
112 (in-module "Empathy")
114 (c-name "EmpathyTpContactList")
115 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
116 (implements "EmpathyContactList")
119 (define-object TpGroup
120 (in-module "Empathy")
122 (c-name "EmpathyTpGroup")
123 (gtype-id "EMPATHY_TYPE_TP_GROUP")
126 (define-object TpRoomlist
127 (in-module "Empathy")
129 (c-name "EmpathyTpRoomlist")
130 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
133 ;; Enumerations and flags ...
135 (define-enum MessageType
136 (in-module "Empathy")
137 (c-name "EmpathyMessageType")
138 (gtype-id "EMPATHY_TYPE_MESSAGE_TYPE")
140 '("normal" "EMPATHY_MESSAGE_TYPE_NORMAL")
141 '("action" "EMPATHY_MESSAGE_TYPE_ACTION")
142 '("notice" "EMPATHY_MESSAGE_TYPE_NOTICE")
143 '("auto-reply" "EMPATHY_MESSAGE_TYPE_AUTO_REPLY")
144 '("last" "EMPATHY_MESSAGE_TYPE_LAST")
148 (define-enum RegExType
149 (in-module "Empathy")
150 (c-name "EmpathyRegExType")
151 (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
153 '("as-is" "EMPATHY_REGEX_AS_IS")
154 '("browser" "EMPATHY_REGEX_BROWSER")
155 '("email" "EMPATHY_REGEX_EMAIL")
156 '("other" "EMPATHY_REGEX_OTHER")
157 '("all" "EMPATHY_REGEX_ALL")
162 ;; From empathy-avatar.h
164 (define-function empathy_avatar_get_type
165 (c-name "empathy_avatar_get_type")
166 (return-type "GType")
169 (define-function empathy_avatar_new
170 (c-name "empathy_avatar_new")
171 (is-constructor-of "EmpathyAvatar")
172 (return-type "EmpathyAvatar*")
174 '("guchar*" "avatar")
181 (of-object "EmpathyAvatar")
182 (c-name "empathy_avatar_ref")
183 (return-type "EmpathyAvatar*")
187 (of-object "EmpathyAvatar")
188 (c-name "empathy_avatar_unref")
194 ;; From empathy-chandler.h
196 (define-function empathy_chandler_get_type
197 (c-name "empathy_chandler_get_type")
198 (return-type "GType")
201 (define-function empathy_chandler_new
202 (c-name "empathy_chandler_new")
203 (is-constructor-of "EmpathyChandler")
204 (return-type "EmpathyChandler*")
206 '("const-gchar*" "bus_name")
207 '("const-gchar*" "object_path")
213 ;; From empathy-chatroom.h
215 (define-function empathy_chatroom_get_type
216 (c-name "empathy_chatroom_get_type")
217 (return-type "GType")
220 (define-function empathy_chatroom_new
221 (c-name "empathy_chatroom_new")
222 (is-constructor-of "EmpathyChatroom")
223 (return-type "EmpathyChatroom*")
225 '("McAccount*" "account")
226 '("const-gchar*" "room")
230 (define-function empathy_chatroom_new_full
231 (c-name "empathy_chatroom_new_full")
232 (return-type "EmpathyChatroom*")
234 '("McAccount*" "account")
235 '("const-gchar*" "room")
236 '("const-gchar*" "name")
237 '("gboolean" "auto_connect")
241 (define-method get_account
242 (of-object "EmpathyChatroom")
243 (c-name "empathy_chatroom_get_account")
244 (return-type "McAccount*")
247 (define-method set_account
248 (of-object "EmpathyChatroom")
249 (c-name "empathy_chatroom_set_account")
252 '("McAccount*" "account")
256 (define-method get_room
257 (of-object "EmpathyChatroom")
258 (c-name "empathy_chatroom_get_room")
259 (return-type "const-gchar*")
262 (define-method set_room
263 (of-object "EmpathyChatroom")
264 (c-name "empathy_chatroom_set_room")
267 '("const-gchar*" "room")
271 (define-method get_name
272 (of-object "EmpathyChatroom")
273 (c-name "empathy_chatroom_get_name")
274 (return-type "const-gchar*")
277 (define-method set_name
278 (of-object "EmpathyChatroom")
279 (c-name "empathy_chatroom_set_name")
282 '("const-gchar*" "name")
286 (define-method get_auto_connect
287 (of-object "EmpathyChatroom")
288 (c-name "empathy_chatroom_get_auto_connect")
289 (return-type "gboolean")
292 (define-method set_auto_connect
293 (of-object "EmpathyChatroom")
294 (c-name "empathy_chatroom_set_auto_connect")
297 '("gboolean" "auto_connect")
301 (define-function empathy_chatroom_equal
302 (c-name "empathy_chatroom_equal")
303 (return-type "gboolean")
305 '("gconstpointer" "v1")
306 '("gconstpointer" "v2")
312 ;; From empathy-chatroom-manager.h
314 (define-function empathy_chatroom_manager_get_type
315 (c-name "empathy_chatroom_manager_get_type")
316 (return-type "GType")
319 (define-function empathy_chatroom_manager_new
320 (c-name "empathy_chatroom_manager_new")
321 (is-constructor-of "EmpathyChatroomManager")
322 (return-type "EmpathyChatroomManager*")
326 (of-object "EmpathyChatroomManager")
327 (c-name "empathy_chatroom_manager_add")
328 (return-type "gboolean")
330 '("EmpathyChatroom*" "chatroom")
334 (define-method remove
335 (of-object "EmpathyChatroomManager")
336 (c-name "empathy_chatroom_manager_remove")
339 '("EmpathyChatroom*" "chatroom")
344 (of-object "EmpathyChatroomManager")
345 (c-name "empathy_chatroom_manager_find")
346 (return-type "EmpathyChatroom*")
348 '("McAccount*" "account")
349 '("const-gchar*" "room")
353 (define-method get_chatrooms
354 (of-object "EmpathyChatroomManager")
355 (c-name "empathy_chatroom_manager_get_chatrooms")
356 (return-type "GList*")
358 '("McAccount*" "account")
362 (define-method get_count
363 (of-object "EmpathyChatroomManager")
364 (c-name "empathy_chatroom_manager_get_count")
365 (return-type "guint")
367 '("McAccount*" "account")
372 (of-object "EmpathyChatroomManager")
373 (c-name "empathy_chatroom_manager_store")
379 ;; From empathy-conf.h
381 (define-function empathy_conf_get_type
382 (c-name "empathy_conf_get_type")
383 (return-type "GType")
386 (define-function empathy_conf_get
387 (c-name "empathy_conf_get")
388 (return-type "EmpathyConf*")
391 (define-function empathy_conf_shutdown
392 (c-name "empathy_conf_shutdown")
396 (define-method notify_add
397 (of-object "EmpathyConf")
398 (c-name "empathy_conf_notify_add")
399 (return-type "guint")
401 '("const-gchar*" "key")
402 '("EmpathyConfNotifyFunc" "func")
407 (define-method notify_remove
408 (of-object "EmpathyConf")
409 (c-name "empathy_conf_notify_remove")
410 (return-type "gboolean")
416 (define-method set_int
417 (of-object "EmpathyConf")
418 (c-name "empathy_conf_set_int")
419 (return-type "gboolean")
421 '("const-gchar*" "key")
426 (define-method get_int
427 (of-object "EmpathyConf")
428 (c-name "empathy_conf_get_int")
429 (return-type "gboolean")
431 '("const-gchar*" "key")
436 (define-method set_bool
437 (of-object "EmpathyConf")
438 (c-name "empathy_conf_set_bool")
439 (return-type "gboolean")
441 '("const-gchar*" "key")
442 '("gboolean" "value")
446 (define-method get_bool
447 (of-object "EmpathyConf")
448 (c-name "empathy_conf_get_bool")
449 (return-type "gboolean")
451 '("const-gchar*" "key")
452 '("gboolean*" "value")
456 (define-method set_string
457 (of-object "EmpathyConf")
458 (c-name "empathy_conf_set_string")
459 (return-type "gboolean")
461 '("const-gchar*" "key")
462 '("const-gchar*" "value")
466 (define-method get_string
467 (of-object "EmpathyConf")
468 (c-name "empathy_conf_get_string")
469 (return-type "gboolean")
471 '("const-gchar*" "key")
476 (define-method set_string_list
477 (of-object "EmpathyConf")
478 (c-name "empathy_conf_set_string_list")
479 (return-type "gboolean")
481 '("const-gchar*" "key")
486 (define-method get_string_list
487 (of-object "EmpathyConf")
488 (c-name "empathy_conf_get_string_list")
489 (return-type "gboolean")
491 '("const-gchar*" "key")
492 '("GSList**" "value")
498 ;; From empathy-contact-factory.h
500 (define-function empathy_contact_factory_get_type
501 (c-name "empathy_contact_factory_get_type")
502 (return-type "GType")
505 (define-function empathy_contact_factory_new
506 (c-name "empathy_contact_factory_new")
507 (is-constructor-of "EmpathyContactFactory")
508 (return-type "EmpathyContactFactory*")
511 (define-method get_user
512 (of-object "EmpathyContactFactory")
513 (c-name "empathy_contact_factory_get_user")
514 (return-type "EmpathyContact*")
516 '("McAccount*" "account")
520 (define-method get_from_id
521 (of-object "EmpathyContactFactory")
522 (c-name "empathy_contact_factory_get_from_id")
523 (return-type "EmpathyContact*")
525 '("McAccount*" "account")
526 '("const-gchar*" "id")
530 (define-method get_from_handle
531 (of-object "EmpathyContactFactory")
532 (c-name "empathy_contact_factory_get_from_handle")
533 (return-type "EmpathyContact*")
535 '("McAccount*" "account")
540 (define-method get_from_handles
541 (of-object "EmpathyContactFactory")
542 (c-name "empathy_contact_factory_get_from_handles")
543 (return-type "GList*")
545 '("McAccount*" "account")
546 '("GArray*" "handles")
550 (define-method set_alias
551 (of-object "EmpathyContactFactory")
552 (c-name "empathy_contact_factory_set_alias")
555 '("EmpathyContact*" "contact")
556 '("const-gchar*" "name")
562 ;; From empathy-contact.h
564 (define-function empathy_contact_get_type
565 (c-name "empathy_contact_get_type")
566 (return-type "GType")
569 (define-function empathy_contact_new
570 (c-name "empathy_contact_new")
571 (is-constructor-of "EmpathyContact")
572 (return-type "EmpathyContact*")
574 '("McAccount*" "account")
578 (define-function empathy_contact_new_full
579 (c-name "empathy_contact_new_full")
580 (return-type "EmpathyContact*")
582 '("McAccount*" "account")
583 '("const-gchar*" "id")
584 '("const-gchar*" "name")
588 (define-method get_id
589 (of-object "EmpathyContact")
590 (c-name "empathy_contact_get_id")
591 (return-type "const-gchar*")
594 (define-method set_id
595 (of-object "EmpathyContact")
596 (c-name "empathy_contact_set_id")
599 '("const-gchar*" "id")
603 (define-method get_name
604 (of-object "EmpathyContact")
605 (c-name "empathy_contact_get_name")
606 (return-type "const-gchar*")
609 (define-method set_name
610 (of-object "EmpathyContact")
611 (c-name "empathy_contact_set_name")
614 '("const-gchar*" "name")
618 (define-method get_avatar
619 (of-object "EmpathyContact")
620 (c-name "empathy_contact_get_avatar")
621 (return-type "EmpathyAvatar*")
624 (define-method set_avatar
625 (of-object "EmpathyContact")
626 (c-name "empathy_contact_set_avatar")
629 '("EmpathyAvatar*" "avatar")
633 (define-method get_account
634 (of-object "EmpathyContact")
635 (c-name "empathy_contact_get_account")
636 (return-type "McAccount*")
639 (define-method set_account
640 (of-object "EmpathyContact")
641 (c-name "empathy_contact_set_account")
644 '("McAccount*" "account")
648 (define-method get_presence
649 (of-object "EmpathyContact")
650 (c-name "empathy_contact_get_presence")
651 (return-type "EmpathyPresence*")
654 (define-method set_presence
655 (of-object "EmpathyContact")
656 (c-name "empathy_contact_set_presence")
659 '("EmpathyPresence*" "presence")
663 (define-method get_handle
664 (of-object "EmpathyContact")
665 (c-name "empathy_contact_get_handle")
666 (return-type "guint")
669 (define-method set_handle
670 (of-object "EmpathyContact")
671 (c-name "empathy_contact_set_handle")
678 (define-method is_user
679 (of-object "EmpathyContact")
680 (c-name "empathy_contact_is_user")
681 (return-type "gboolean")
684 (define-method set_is_user
685 (of-object "EmpathyContact")
686 (c-name "empathy_contact_set_is_user")
689 '("gboolean" "is_user")
693 (define-method is_online
694 (of-object "EmpathyContact")
695 (c-name "empathy_contact_is_online")
696 (return-type "gboolean")
699 (define-method get_status
700 (of-object "EmpathyContact")
701 (c-name "empathy_contact_get_status")
702 (return-type "const-gchar*")
705 (define-function empathy_contact_equal
706 (c-name "empathy_contact_equal")
707 (return-type "gboolean")
709 '("gconstpointer" "v1")
710 '("gconstpointer" "v2")
714 (define-function empathy_contact_hash
715 (c-name "empathy_contact_hash")
716 (return-type "guint")
718 '("gconstpointer" "key")
724 ;; From empathy-contact-list.h
726 (define-function empathy_contact_list_get_type
727 (c-name "empathy_contact_list_get_type")
728 (return-type "GType")
732 (of-object "EmpathyContactList")
733 (c-name "empathy_contact_list_add")
736 '("EmpathyContact*" "contact")
737 '("const-gchar*" "message")
741 (define-method remove
742 (of-object "EmpathyContactList")
743 (c-name "empathy_contact_list_remove")
746 '("EmpathyContact*" "contact")
747 '("const-gchar*" "message")
751 (define-method get_members
752 (of-object "EmpathyContactList")
753 (c-name "empathy_contact_list_get_members")
754 (return-type "GList*")
757 (define-method get_pendings
758 (of-object "EmpathyContactList")
759 (c-name "empathy_contact_list_get_pendings")
760 (return-type "GList*")
763 (define-method get_all_groups
764 (of-object "EmpathyContactList")
765 (c-name "empathy_contact_list_get_all_groups")
766 (return-type "GList*")
769 (define-method get_groups
770 (of-object "EmpathyContactList")
771 (c-name "empathy_contact_list_get_groups")
772 (return-type "GList*")
774 '("EmpathyContact*" "contact")
778 (define-method add_to_group
779 (of-object "EmpathyContactList")
780 (c-name "empathy_contact_list_add_to_group")
783 '("EmpathyContact*" "contact")
784 '("const-gchar*" "group")
788 (define-method remove_from_group
789 (of-object "EmpathyContactList")
790 (c-name "empathy_contact_list_remove_from_group")
793 '("EmpathyContact*" "contact")
794 '("const-gchar*" "group")
798 (define-method rename_group
799 (of-object "EmpathyContactList")
800 (c-name "empathy_contact_list_rename_group")
803 '("const-gchar*" "old_group")
804 '("const-gchar*" "new_group")
810 ;; From empathy-contact-manager.h
812 (define-function empathy_contact_manager_get_type
813 (c-name "empathy_contact_manager_get_type")
814 (return-type "GType")
817 (define-function empathy_contact_manager_new
818 (c-name "empathy_contact_manager_new")
819 (is-constructor-of "EmpathyContactManager")
820 (return-type "EmpathyContactManager*")
823 (define-method get_list
824 (of-object "EmpathyContactManager")
825 (c-name "empathy_contact_manager_get_list")
826 (return-type "EmpathyTpContactList*")
828 '("McAccount*" "account")
834 ;; From empathy-debug.h
836 (define-function empathy_debug_impl
837 (c-name "empathy_debug_impl")
840 '("const-gchar*" "domain")
841 '("const-gchar*" "msg")
846 (define-function empathy_debug_set_log_file_from_env
847 (c-name "empathy_debug_set_log_file_from_env")
853 ;; From empathy-filter.h
855 (define-function empathy_filter_get_type
856 (c-name "empathy_filter_get_type")
857 (return-type "GType")
860 (define-function empathy_filter_new
861 (c-name "empathy_filter_new")
862 (is-constructor-of "EmpathyFilter")
863 (return-type "EmpathyFilter*")
865 '("const-gchar*" "bus_name")
866 '("const-gchar*" "object_path")
867 '("const-gchar*" "channel_type")
868 '("guint" "priority")
873 (define-method process
874 (of-object "EmpathyFilter")
875 (c-name "empathy_filter_process")
878 '("TpChan*" "tp_chan")
879 '("gboolean" "process")
885 ;; From empathy-idle.h
887 (define-function empathy_idle_get_type
888 (c-name "empathy_idle_get_type")
889 (return-type "GType")
892 (define-function empathy_idle_new
893 (c-name "empathy_idle_new")
894 (is-constructor-of "EmpathyIdle")
895 (return-type "EmpathyIdle*")
898 (define-method get_state
899 (of-object "EmpathyIdle")
900 (c-name "empathy_idle_get_state")
901 (return-type "McPresence")
904 (define-method set_state
905 (of-object "EmpathyIdle")
906 (c-name "empathy_idle_set_state")
909 '("McPresence" "state")
913 (define-method get_status
914 (of-object "EmpathyIdle")
915 (c-name "empathy_idle_get_status")
916 (return-type "const-gchar*")
919 (define-method set_status
920 (of-object "EmpathyIdle")
921 (c-name "empathy_idle_set_status")
924 '("const-gchar*" "status")
928 (define-method get_flash_state
929 (of-object "EmpathyIdle")
930 (c-name "empathy_idle_get_flash_state")
931 (return-type "McPresence")
934 (define-method set_flash_state
935 (of-object "EmpathyIdle")
936 (c-name "empathy_idle_set_flash_state")
939 '("McPresence" "state")
943 (define-method set_presence
944 (of-object "EmpathyIdle")
945 (c-name "empathy_idle_set_presence")
948 '("McPresence" "state")
949 '("const-gchar*" "status")
955 ;; From empathy-log-manager.h
957 (define-function empathy_log_manager_get_type
958 (c-name "empathy_log_manager_get_type")
959 (return-type "GType")
962 (define-function empathy_log_manager_new
963 (c-name "empathy_log_manager_new")
964 (is-constructor-of "EmpathyLogManager")
965 (return-type "EmpathyLogManager*")
968 (define-method add_message
969 (of-object "EmpathyLogManager")
970 (c-name "empathy_log_manager_add_message")
973 '("const-gchar*" "chat_id")
974 '("gboolean" "chatroom")
975 '("EmpathyMessage*" "message")
979 (define-method exists
980 (of-object "EmpathyLogManager")
981 (c-name "empathy_log_manager_exists")
982 (return-type "gboolean")
984 '("McAccount*" "account")
985 '("const-gchar*" "chat_id")
986 '("gboolean" "chatroom")
990 (define-method get_dates
991 (of-object "EmpathyLogManager")
992 (c-name "empathy_log_manager_get_dates")
993 (return-type "GList*")
995 '("McAccount*" "account")
996 '("const-gchar*" "chat_id")
997 '("gboolean" "chatroom")
1001 (define-method get_messages_for_file
1002 (of-object "EmpathyLogManager")
1003 (c-name "empathy_log_manager_get_messages_for_file")
1004 (return-type "GList*")
1006 '("const-gchar*" "filename")
1010 (define-method get_messages_for_date
1011 (of-object "EmpathyLogManager")
1012 (c-name "empathy_log_manager_get_messages_for_date")
1013 (return-type "GList*")
1015 '("McAccount*" "account")
1016 '("const-gchar*" "chat_id")
1017 '("gboolean" "chatroom")
1018 '("const-gchar*" "date")
1022 (define-method get_last_messages
1023 (of-object "EmpathyLogManager")
1024 (c-name "empathy_log_manager_get_last_messages")
1025 (return-type "GList*")
1027 '("McAccount*" "account")
1028 '("const-gchar*" "chat_id")
1029 '("gboolean" "chatroom")
1033 (define-method get_messages_for_file
1034 (of-object "EmpathyLogManager")
1035 (c-name "empathy_log_manager_get_messages_for_file")
1036 (return-type "GList*")
1038 '("const-gchar*" "filename")
1042 (define-method get_chats
1043 (of-object "EmpathyLogManager")
1044 (c-name "empathy_log_manager_get_chats")
1045 (return-type "GList*")
1047 '("McAccount*" "account")
1051 (define-method search_new
1052 (of-object "EmpathyLogManager")
1053 (c-name "empathy_log_manager_search_new")
1054 (return-type "GList*")
1056 '("const-gchar*" "text")
1060 (define-function empathy_log_manager_search_free
1061 (c-name "empathy_log_manager_search_free")
1062 (return-type "none")
1068 (define-function empathy_log_manager_get_date_readable
1069 (c-name "empathy_log_manager_get_date_readable")
1070 (return-type "gchar*")
1072 '("const-gchar*" "date")
1078 ;; From empathy-message.h
1080 (define-function empathy_message_get_gtype
1081 (c-name "empathy_message_get_gtype")
1082 (return-type "GType")
1085 (define-function empathy_message_new
1086 (c-name "empathy_message_new")
1087 (is-constructor-of "EmpathyMessage")
1088 (return-type "EmpathyMessage*")
1090 '("const-gchar*" "body")
1094 (define-method get_type
1095 (of-object "EmpathyMessage")
1096 (c-name "empathy_message_get_type")
1097 (return-type "EmpathyMessageType")
1100 (define-method set_type
1101 (of-object "EmpathyMessage")
1102 (c-name "empathy_message_set_type")
1103 (return-type "none")
1105 '("EmpathyMessageType" "type")
1109 (define-method get_sender
1110 (of-object "EmpathyMessage")
1111 (c-name "empathy_message_get_sender")
1112 (return-type "EmpathyContact*")
1115 (define-method set_sender
1116 (of-object "EmpathyMessage")
1117 (c-name "empathy_message_set_sender")
1118 (return-type "none")
1120 '("EmpathyContact*" "contact")
1124 (define-method get_receiver
1125 (of-object "EmpathyMessage")
1126 (c-name "empathy_message_get_receiver")
1127 (return-type "EmpathyContact*")
1130 (define-method set_receiver
1131 (of-object "EmpathyMessage")
1132 (c-name "empathy_message_set_receiver")
1133 (return-type "none")
1135 '("EmpathyContact*" "contact")
1139 (define-method get_body
1140 (of-object "EmpathyMessage")
1141 (c-name "empathy_message_get_body")
1142 (return-type "const-gchar*")
1145 (define-method set_body
1146 (of-object "EmpathyMessage")
1147 (c-name "empathy_message_set_body")
1148 (return-type "none")
1150 '("const-gchar*" "body")
1154 (define-method get_timestamp
1155 (of-object "EmpathyMessage")
1156 (c-name "empathy_message_get_timestamp")
1157 (return-type "EmpathyTime")
1160 (define-method set_timestamp
1161 (of-object "EmpathyMessage")
1162 (c-name "empathy_message_set_timestamp")
1163 (return-type "none")
1165 '("EmpathyTime" "timestamp")
1169 (define-function empathy_message_type_from_str
1170 (c-name "empathy_message_type_from_str")
1171 (return-type "EmpathyMessageType")
1173 '("const-gchar*" "type_str")
1177 (define-method to_str
1178 (of-object "EmpathyMessageType")
1179 (c-name "empathy_message_type_to_str")
1180 (return-type "const-gchar*")
1185 ;; From empathy-presence.h
1187 (define-function empathy_presence_get_type
1188 (c-name "empathy_presence_get_type")
1189 (return-type "GType")
1192 (define-function empathy_presence_new
1193 (c-name "empathy_presence_new")
1194 (is-constructor-of "EmpathyPresence")
1195 (return-type "EmpathyPresence*")
1198 (define-function empathy_presence_new_full
1199 (c-name "empathy_presence_new_full")
1200 (return-type "EmpathyPresence*")
1202 '("McPresence" "state")
1203 '("const-gchar*" "status")
1207 (define-method get_state
1208 (of-object "EmpathyPresence")
1209 (c-name "empathy_presence_get_state")
1210 (return-type "McPresence")
1213 (define-method get_status
1214 (of-object "EmpathyPresence")
1215 (c-name "empathy_presence_get_status")
1216 (return-type "const-gchar*")
1219 (define-method set_state
1220 (of-object "EmpathyPresence")
1221 (c-name "empathy_presence_set_state")
1222 (return-type "none")
1224 '("McPresence" "state")
1228 (define-method set_status
1229 (of-object "EmpathyPresence")
1230 (c-name "empathy_presence_set_status")
1231 (return-type "none")
1233 '("const-gchar*" "status")
1237 (define-function empathy_presence_sort_func
1238 (c-name "empathy_presence_sort_func")
1239 (return-type "gint")
1241 '("gconstpointer" "a")
1242 '("gconstpointer" "b")
1246 (define-function empathy_presence_state_get_default_status
1247 (c-name "empathy_presence_state_get_default_status")
1248 (return-type "const-gchar*")
1250 '("McPresence" "state")
1254 (define-function empathy_presence_state_to_str
1255 (c-name "empathy_presence_state_to_str")
1256 (return-type "const-gchar*")
1258 '("McPresence" "state")
1262 (define-function empathy_presence_state_from_str
1263 (c-name "empathy_presence_state_from_str")
1264 (return-type "McPresence")
1266 '("const-gchar*" "str")
1272 ;; From empathy-time.h
1274 (define-function empathy_time_get_current
1275 (c-name "empathy_time_get_current")
1276 (return-type "EmpathyTime")
1279 (define-function empathy_time_get_local_time
1280 (c-name "empathy_time_get_local_time")
1281 (return-type "time_t")
1283 '("struct-tm*" "tm")
1287 (define-function empathy_time_parse
1288 (c-name "empathy_time_parse")
1289 (return-type "EmpathyTime")
1291 '("const-gchar*" "str")
1295 (define-function empathy_time_parse_format
1296 (c-name "empathy_time_parse_format")
1297 (return-type "EmpathyTime")
1299 '("const-gchar*" "str")
1300 '("const-gchar*" "format")
1304 (define-method to_string_utc
1305 (of-object "EmpathyTime")
1306 (c-name "empathy_time_to_string_utc")
1307 (return-type "gchar*")
1309 '("const-gchar*" "format")
1313 (define-method to_string_local
1314 (of-object "EmpathyTime")
1315 (c-name "empathy_time_to_string_local")
1316 (return-type "gchar*")
1318 '("const-gchar*" "format")
1324 ;; From empathy-tp-chat.h
1326 (define-function empathy_tp_chat_get_type
1327 (c-name "empathy_tp_chat_get_type")
1328 (return-type "GType")
1331 (define-function empathy_tp_chat_new
1332 (c-name "empathy_tp_chat_new")
1333 (is-constructor-of "EmpathyTpChat")
1334 (return-type "EmpathyTpChat*")
1336 '("McAccount*" "account")
1337 '("TpChan*" "tp_chan")
1341 (define-function empathy_tp_chat_new_with_contact
1342 (c-name "empathy_tp_chat_new_with_contact")
1343 (return-type "EmpathyTpChat*")
1345 '("EmpathyContact*" "contact")
1349 (define-method get_acknowledge
1350 (of-object "EmpathyTpChat")
1351 (c-name "empathy_tp_chat_get_acknowledge")
1352 (return-type "gboolean")
1355 (define-method set_acknowledge
1356 (of-object "EmpathyTpChat")
1357 (c-name "empathy_tp_chat_set_acknowledge")
1358 (return-type "none")
1360 '("gboolean" "acknowledge")
1364 (define-method get_channel
1365 (of-object "EmpathyTpChat")
1366 (c-name "empathy_tp_chat_get_channel")
1367 (return-type "TpChan*")
1370 (define-method get_pendings
1371 (of-object "EmpathyTpChat")
1372 (c-name "empathy_tp_chat_get_pendings")
1373 (return-type "GList*")
1377 (of-object "EmpathyTpChat")
1378 (c-name "empathy_tp_chat_send")
1379 (return-type "none")
1381 '("EmpathyMessage*" "message")
1385 (define-method set_state
1386 (of-object "EmpathyTpChat")
1387 (c-name "empathy_tp_chat_set_state")
1388 (return-type "none")
1390 '("TelepathyChannelChatState" "state")
1394 (define-method get_id
1395 (of-object "EmpathyTpChat")
1396 (c-name "empathy_tp_chat_get_id")
1397 (return-type "const-gchar*")
1402 ;; From empathy-tp-chatroom.h
1404 (define-function empathy_tp_chatroom_get_type
1405 (c-name "empathy_tp_chatroom_get_type")
1406 (return-type "GType")
1409 (define-function empathy_tp_chatroom_new
1410 (c-name "empathy_tp_chatroom_new")
1411 (is-constructor-of "EmpathyTpChatroom")
1412 (return-type "EmpathyTpChatroom*")
1414 '("McAccount*" "account")
1415 '("TpChan*" "tp_chan")
1419 (define-method get_invitation
1420 (of-object "EmpathyTpChatroom")
1421 (c-name "empathy_tp_chatroom_get_invitation")
1422 (return-type "gboolean")
1424 '("EmpathyContact**" "contact")
1425 '("const-gchar**" "message")
1429 (define-method accept_invitation
1430 (of-object "EmpathyTpChatroom")
1431 (c-name "empathy_tp_chatroom_accept_invitation")
1432 (return-type "none")
1435 (define-method set_topic
1436 (of-object "EmpathyTpChatroom")
1437 (c-name "empathy_tp_chatroom_set_topic")
1438 (return-type "none")
1440 '("const-gchar*" "topic")
1446 ;; From empathy-tp-contact-list.h
1448 (define-function empathy_tp_contact_list_get_type
1449 (c-name "empathy_tp_contact_list_get_type")
1450 (return-type "GType")
1453 (define-function empathy_tp_contact_list_new
1454 (c-name "empathy_tp_contact_list_new")
1455 (is-constructor-of "EmpathyTpContactList")
1456 (return-type "EmpathyTpContactList*")
1458 '("McAccount*" "account")
1462 (define-method get_account
1463 (of-object "EmpathyTpContactList")
1464 (c-name "empathy_tp_contact_list_get_account")
1465 (return-type "McAccount*")
1470 ;; From empathy-tp-group.h
1472 (define-function empathy_tp_group_get_type
1473 (c-name "empathy_tp_group_get_type")
1474 (return-type "GType")
1477 (define-function empathy_tp_group_new
1478 (c-name "empathy_tp_group_new")
1479 (is-constructor-of "EmpathyTpGroup")
1480 (return-type "EmpathyTpGroup*")
1482 '("McAccount*" "account")
1483 '("TpChan*" "tp_chan")
1487 (define-method close
1488 (of-object "EmpathyTpGroup")
1489 (c-name "empathy_tp_group_close")
1490 (return-type "none")
1493 (define-method add_members
1494 (of-object "EmpathyTpGroup")
1495 (c-name "empathy_tp_group_add_members")
1496 (return-type "none")
1498 '("GList*" "contacts")
1499 '("const-gchar*" "message")
1503 (define-method add_member
1504 (of-object "EmpathyTpGroup")
1505 (c-name "empathy_tp_group_add_member")
1506 (return-type "none")
1508 '("EmpathyContact*" "contact")
1509 '("const-gchar*" "message")
1513 (define-method remove_members
1514 (of-object "EmpathyTpGroup")
1515 (c-name "empathy_tp_group_remove_members")
1516 (return-type "none")
1518 '("GList*" "contacts")
1519 '("const-gchar*" "message")
1523 (define-method remove_member
1524 (of-object "EmpathyTpGroup")
1525 (c-name "empathy_tp_group_remove_member")
1526 (return-type "none")
1528 '("EmpathyContact*" "contact")
1529 '("const-gchar*" "message")
1533 (define-method get_members
1534 (of-object "EmpathyTpGroup")
1535 (c-name "empathy_tp_group_get_members")
1536 (return-type "GList*")
1539 (define-method get_local_pendings
1540 (of-object "EmpathyTpGroup")
1541 (c-name "empathy_tp_group_get_local_pendings")
1542 (return-type "GList*")
1545 (define-method get_remote_pendings
1546 (of-object "EmpathyTpGroup")
1547 (c-name "empathy_tp_group_get_remote_pendings")
1548 (return-type "GList*")
1551 (define-method get_name
1552 (of-object "EmpathyTpGroup")
1553 (c-name "empathy_tp_group_get_name")
1554 (return-type "const-gchar*")
1557 (define-method get_self_contact
1558 (of-object "EmpathyTpGroup")
1559 (c-name "empathy_tp_group_get_self_contact")
1560 (return-type "EmpathyContact*")
1563 (define-method get_object_path
1564 (of-object "EmpathyTpGroup")
1565 (c-name "empathy_tp_group_get_object_path")
1566 (return-type "const-gchar*")
1569 (define-method is_member
1570 (of-object "EmpathyTpGroup")
1571 (c-name "empathy_tp_group_is_member")
1572 (return-type "gboolean")
1574 '("EmpathyContact*" "contact")
1578 (define-function empathy_pending_info_new
1579 (c-name "empathy_pending_info_new")
1580 (is-constructor-of "EmpathyPendingInfo")
1581 (return-type "EmpathyPendingInfo*")
1583 '("EmpathyContact*" "member")
1584 '("EmpathyContact*" "actor")
1585 '("const-gchar*" "message")
1590 (of-object "EmpathyPendingInfo")
1591 (c-name "empathy_pending_info_free")
1592 (return-type "none")
1597 ;; From empathy-tp-roomlist.h
1599 (define-function empathy_tp_roomlist_get_type
1600 (c-name "empathy_tp_roomlist_get_type")
1601 (return-type "GType")
1604 (define-function empathy_tp_roomlist_new
1605 (c-name "empathy_tp_roomlist_new")
1606 (is-constructor-of "EmpathyTpRoomlist")
1607 (return-type "EmpathyTpRoomlist*")
1609 '("McAccount*" "account")
1613 (define-method is_listing
1614 (of-object "EmpathyTpRoomlist")
1615 (c-name "empathy_tp_roomlist_is_listing")
1616 (return-type "gboolean")
1619 (define-method start
1620 (of-object "EmpathyTpRoomlist")
1621 (c-name "empathy_tp_roomlist_start")
1622 (return-type "none")
1626 (of-object "EmpathyTpRoomlist")
1627 (c-name "empathy_tp_roomlist_stop")
1628 (return-type "none")
1633 ;; From empathy-utils.h
1635 (define-function empathy_substring
1636 (c-name "empathy_substring")
1637 (return-type "gchar*")
1639 '("const-gchar*" "str")
1645 (define-function empathy_regex_match
1646 (c-name "empathy_regex_match")
1647 (return-type "gint")
1649 '("EmpathyRegExType" "type")
1650 '("const-gchar*" "msg")
1651 '("GArray*" "start")
1656 (define-function empathy_strcasecmp
1657 (c-name "empathy_strcasecmp")
1658 (return-type "gint")
1660 '("const-gchar*" "s1")
1661 '("const-gchar*" "s2")
1665 (define-function empathy_strncasecmp
1666 (c-name "empathy_strncasecmp")
1667 (return-type "gint")
1669 '("const-gchar*" "s1")
1670 '("const-gchar*" "s2")
1675 (define-function empathy_xml_validate
1676 (c-name "empathy_xml_validate")
1677 (return-type "gboolean")
1680 '("const-gchar*" "dtd_filename")
1684 (define-function empathy_xml_node_get_child
1685 (c-name "empathy_xml_node_get_child")
1686 (return-type "xmlNodePtr")
1688 '("xmlNodePtr" "node")
1689 '("const-gchar*" "child_name")
1693 (define-function empathy_xml_node_get_child_content
1694 (c-name "empathy_xml_node_get_child_content")
1695 (return-type "xmlChar*")
1697 '("xmlNodePtr" "node")
1698 '("const-gchar*" "child_name")
1702 (define-function empathy_xml_node_find_child_prop_value
1703 (c-name "empathy_xml_node_find_child_prop_value")
1704 (return-type "xmlNodePtr")
1706 '("xmlNodePtr" "node")
1707 '("const-gchar*" "prop_name")
1708 '("const-gchar*" "prop_value")
1712 (define-function empathy_account_hash
1713 (c-name "empathy_account_hash")
1714 (return-type "guint")
1716 '("gconstpointer" "key")
1720 (define-function empathy_account_equal
1721 (c-name "empathy_account_equal")
1722 (return-type "gboolean")
1724 '("gconstpointer" "a")
1725 '("gconstpointer" "b")
1729 (define-function empathy_mission_control_new
1730 (c-name "empathy_mission_control_new")
1731 (is-constructor-of "EmpathyMissionControl")
1732 (return-type "MissionControl*")
1735 (define-function empathy_inspect_handle
1736 (c-name "empathy_inspect_handle")
1737 (return-type "gchar*")
1739 '("McAccount*" "account")
1741 '("guint" "handle_type")
1745 (define-function empathy_inspect_channel
1746 (c-name "empathy_inspect_channel")
1747 (return-type "gchar*")
1749 '("McAccount*" "account")
1750 '("TpChan*" "tp_chan")
1754 (define-function empathy_strdiff
1755 (c-name "empathy_strdiff")
1756 (return-type "gboolean")
1758 '("const-gchar*" "left")
1759 '("const-gchar*" "right")