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 ContactManager
49 (c-name "EmpathyContactManager")
50 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
51 (implements "EmpathyContactList")
57 (c-name "EmpathyFilter")
58 (gtype-id "EMPATHY_TYPE_FILTER")
64 (c-name "EmpathyIdle")
65 (gtype-id "EMPATHY_TYPE_IDLE")
68 (define-object LogManager
71 (c-name "EmpathyLogManager")
72 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
75 (define-object Message
78 (c-name "EmpathyMessage")
79 (gtype-id "EMPATHY_TYPE_MESSAGE")
82 (define-object Presence
85 (c-name "EmpathyPresence")
86 (gtype-id "EMPATHY_TYPE_PRESENCE")
92 (c-name "EmpathyTpChat")
93 (gtype-id "EMPATHY_TYPE_TP_CHAT")
96 (define-object TpChatroom
98 (parent "EmpathyTpChat")
99 (c-name "EmpathyTpChatroom")
100 (gtype-id "EMPATHY_TYPE_TP_CHATROOM")
101 (implements "EmpathyContactList")
104 (define-object TpContactList
105 (in-module "Empathy")
107 (c-name "EmpathyTpContactList")
108 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
109 (implements "EmpathyContactList")
112 (define-object TpGroup
113 (in-module "Empathy")
115 (c-name "EmpathyTpGroup")
116 (gtype-id "EMPATHY_TYPE_TP_GROUP")
119 ;; Enumerations and flags ...
121 (define-flags Subscription
122 (in-module "Empathy")
123 (c-name "EmpathySubscription")
124 (gtype-id "EMPATHY_TYPE_SUBSCRIPTION")
126 '("none" "EMPATHY_SUBSCRIPTION_NONE")
127 '("to" "EMPATHY_SUBSCRIPTION_TO")
128 '("from" "EMPATHY_SUBSCRIPTION_FROM")
129 '("both" "EMPATHY_SUBSCRIPTION_BOTH")
133 (define-enum MessageType
134 (in-module "Empathy")
135 (c-name "EmpathyMessageType")
136 (gtype-id "EMPATHY_TYPE_MESSAGE_TYPE")
138 '("normal" "EMPATHY_MESSAGE_TYPE_NORMAL")
139 '("action" "EMPATHY_MESSAGE_TYPE_ACTION")
140 '("notice" "EMPATHY_MESSAGE_TYPE_NOTICE")
141 '("auto-reply" "EMPATHY_MESSAGE_TYPE_AUTO_REPLY")
142 '("last" "EMPATHY_MESSAGE_TYPE_LAST")
146 (define-enum RegExType
147 (in-module "Empathy")
148 (c-name "EmpathyRegExType")
149 (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
151 '("as-is" "EMPATHY_REGEX_AS_IS")
152 '("browser" "EMPATHY_REGEX_BROWSER")
153 '("email" "EMPATHY_REGEX_EMAIL")
154 '("other" "EMPATHY_REGEX_OTHER")
155 '("all" "EMPATHY_REGEX_ALL")
160 ;; From empathy-avatar.h
162 (define-function empathy_avatar_get_gtype
163 (c-name "empathy_avatar_get_gtype")
164 (return-type "GType")
167 (define-function empathy_avatar_new
168 (c-name "empathy_avatar_new")
169 (is-constructor-of "EmpathyAvatar")
170 (return-type "EmpathyAvatar*")
172 '("guchar*" "avatar")
179 (of-object "EmpathyAvatar")
180 (c-name "empathy_avatar_ref")
181 (return-type "EmpathyAvatar*")
185 (of-object "EmpathyAvatar")
186 (c-name "empathy_avatar_unref")
192 ;; From empathy-chandler-glue.h
194 (define-function dbus_glib_marshal_empathy_chandler_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_POINTER
195 (c-name "dbus_glib_marshal_empathy_chandler_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_POINTER")
198 '("GClosure*" "closure")
199 '("GValue*" "return_value")
200 '("guint" "n_param_values")
201 '("const-GValue*" "param_values")
202 '("gpointer" "invocation_hint")
203 '("gpointer" "marshal_data")
209 ;; From empathy-chandler.h
211 (define-function empathy_chandler_get_type
212 (c-name "empathy_chandler_get_type")
213 (return-type "GType")
216 (define-function empathy_chandler_new
217 (c-name "empathy_chandler_new")
218 (is-constructor-of "EmpathyChandler")
219 (return-type "EmpathyChandler*")
221 '("const-gchar*" "bus_name")
222 '("const-gchar*" "object_path")
228 ;; From empathy-chatroom-manager.h
230 (define-function empathy_chatroom_manager_get_type
231 (c-name "empathy_chatroom_manager_get_type")
232 (return-type "GType")
235 (define-function empathy_chatroom_manager_new
236 (c-name "empathy_chatroom_manager_new")
237 (is-constructor-of "EmpathyChatroomManager")
238 (return-type "EmpathyChatroomManager*")
242 (of-object "EmpathyChatroomManager")
243 (c-name "empathy_chatroom_manager_add")
244 (return-type "gboolean")
246 '("EmpathyChatroom*" "chatroom")
250 (define-method remove
251 (of-object "EmpathyChatroomManager")
252 (c-name "empathy_chatroom_manager_remove")
255 '("EmpathyChatroom*" "chatroom")
260 (of-object "EmpathyChatroomManager")
261 (c-name "empathy_chatroom_manager_find")
262 (return-type "EmpathyChatroom*")
264 '("McAccount*" "account")
265 '("const-gchar*" "room")
269 (define-method get_chatrooms
270 (of-object "EmpathyChatroomManager")
271 (c-name "empathy_chatroom_manager_get_chatrooms")
272 (return-type "GList*")
274 '("McAccount*" "account")
278 (define-method get_count
279 (of-object "EmpathyChatroomManager")
280 (c-name "empathy_chatroom_manager_get_count")
281 (return-type "guint")
283 '("McAccount*" "account")
288 (of-object "EmpathyChatroomManager")
289 (c-name "empathy_chatroom_manager_store")
295 ;; From empathy-chatroom.h
297 (define-function empathy_chatroom_get_type
298 (c-name "empathy_chatroom_get_type")
299 (return-type "GType")
302 (define-function empathy_chatroom_new
303 (c-name "empathy_chatroom_new")
304 (is-constructor-of "EmpathyChatroom")
305 (return-type "EmpathyChatroom*")
307 '("McAccount*" "account")
308 '("const-gchar*" "room")
312 (define-function empathy_chatroom_new_full
313 (c-name "empathy_chatroom_new_full")
314 (return-type "EmpathyChatroom*")
316 '("McAccount*" "account")
317 '("const-gchar*" "room")
318 '("const-gchar*" "name")
319 '("gboolean" "auto_connect")
323 (define-method get_account
324 (of-object "EmpathyChatroom")
325 (c-name "empathy_chatroom_get_account")
326 (return-type "McAccount*")
329 (define-method set_account
330 (of-object "EmpathyChatroom")
331 (c-name "empathy_chatroom_set_account")
334 '("McAccount*" "account")
338 (define-method get_room
339 (of-object "EmpathyChatroom")
340 (c-name "empathy_chatroom_get_room")
341 (return-type "const-gchar*")
344 (define-method set_room
345 (of-object "EmpathyChatroom")
346 (c-name "empathy_chatroom_set_room")
349 '("const-gchar*" "room")
353 (define-method get_name
354 (of-object "EmpathyChatroom")
355 (c-name "empathy_chatroom_get_name")
356 (return-type "const-gchar*")
359 (define-method set_name
360 (of-object "EmpathyChatroom")
361 (c-name "empathy_chatroom_set_name")
364 '("const-gchar*" "name")
368 (define-method get_auto_connect
369 (of-object "EmpathyChatroom")
370 (c-name "empathy_chatroom_get_auto_connect")
371 (return-type "gboolean")
374 (define-method set_auto_connect
375 (of-object "EmpathyChatroom")
376 (c-name "empathy_chatroom_set_auto_connect")
379 '("gboolean" "auto_connect")
383 (define-function empathy_chatroom_equal
384 (c-name "empathy_chatroom_equal")
385 (return-type "gboolean")
387 '("gconstpointer" "v1")
388 '("gconstpointer" "v2")
394 ;; From empathy-conf.h
396 (define-function empathy_conf_get_type
397 (c-name "empathy_conf_get_type")
398 (return-type "GType")
401 (define-function empathy_conf_get
402 (c-name "empathy_conf_get")
403 (return-type "EmpathyConf*")
406 (define-function empathy_conf_shutdown
407 (c-name "empathy_conf_shutdown")
411 (define-method notify_add
412 (of-object "EmpathyConf")
413 (c-name "empathy_conf_notify_add")
414 (return-type "guint")
416 '("const-gchar*" "key")
417 '("EmpathyConfNotifyFunc" "func")
422 (define-method notify_remove
423 (of-object "EmpathyConf")
424 (c-name "empathy_conf_notify_remove")
425 (return-type "gboolean")
431 (define-method set_int
432 (of-object "EmpathyConf")
433 (c-name "empathy_conf_set_int")
434 (return-type "gboolean")
436 '("const-gchar*" "key")
441 (define-method get_int
442 (of-object "EmpathyConf")
443 (c-name "empathy_conf_get_int")
444 (return-type "gboolean")
446 '("const-gchar*" "key")
451 (define-method set_bool
452 (of-object "EmpathyConf")
453 (c-name "empathy_conf_set_bool")
454 (return-type "gboolean")
456 '("const-gchar*" "key")
457 '("gboolean" "value")
461 (define-method get_bool
462 (of-object "EmpathyConf")
463 (c-name "empathy_conf_get_bool")
464 (return-type "gboolean")
466 '("const-gchar*" "key")
467 '("gboolean*" "value")
471 (define-method set_string
472 (of-object "EmpathyConf")
473 (c-name "empathy_conf_set_string")
474 (return-type "gboolean")
476 '("const-gchar*" "key")
477 '("const-gchar*" "value")
481 (define-method get_string
482 (of-object "EmpathyConf")
483 (c-name "empathy_conf_get_string")
484 (return-type "gboolean")
486 '("const-gchar*" "key")
491 (define-method set_string_list
492 (of-object "EmpathyConf")
493 (c-name "empathy_conf_set_string_list")
494 (return-type "gboolean")
496 '("const-gchar*" "key")
501 (define-method get_string_list
502 (of-object "EmpathyConf")
503 (c-name "empathy_conf_get_string_list")
504 (return-type "gboolean")
506 '("const-gchar*" "key")
507 '("GSList**" "value")
513 ;; From empathy-contact-list.h
515 (define-function contact_list_get_type
516 (c-name "empathy_contact_list_get_type")
517 (return-type "GType")
520 (define-method list_info_new
521 (of-object "EmpathyContact")
522 (c-name "empathy_contact_list_info_new")
523 (return-type "EmpathyContactListInfo*")
525 '("const-gchar*" "message")
530 (of-object "EmpathyContactListInfo")
531 (c-name "empathy_contact_list_info_free")
536 (of-object "EmpathyContactList")
537 (c-name "empathy_contact_list_setup")
542 (of-object "EmpathyContactList")
543 (c-name "empathy_contact_list_find")
544 (return-type "EmpathyContact*")
546 '("const-gchar*" "id")
551 (of-object "EmpathyContactList")
552 (c-name "empathy_contact_list_add")
555 '("EmpathyContact*" "contact")
556 '("const-gchar*" "message")
560 (define-method remove
561 (of-object "EmpathyContactList")
562 (c-name "empathy_contact_list_remove")
565 '("EmpathyContact*" "contact")
566 '("const-gchar*" "message")
570 (define-method get_members
571 (of-object "EmpathyContactList")
572 (c-name "empathy_contact_list_get_members")
573 (return-type "GList*")
576 (define-method get_local_pending
577 (of-object "EmpathyContactList")
578 (c-name "empathy_contact_list_get_local_pending")
579 (return-type "GList*")
582 (define-method process_pending
583 (of-object "EmpathyContactList")
584 (c-name "empathy_contact_list_process_pending")
587 '("EmpathyContact*" "contact")
588 '("gboolean" "accept")
592 (define-virtual setup
593 (of-object "EmpathyContactList")
598 (of-object "EmpathyContactList")
599 (return-type "EmpathyContact*")
601 '("const-gchar*" "id")
606 (of-object "EmpathyContactList")
609 '("EmpathyContact*" "contact")
610 '("const-gchar*" "message")
614 (define-virtual remove
615 (of-object "EmpathyContactList")
618 '("EmpathyContact*" "contact")
619 '("const-gchar*" "message")
623 (define-virtual get_members
624 (of-object "EmpathyContactList")
625 (return-type "GList*")
628 (define-virtual get_local_pending
629 (of-object "EmpathyContactList")
630 (return-type "GList*")
633 (define-virtual process_pending
634 (of-object "EmpathyContactList")
637 '("EmpathyContact*" "contact")
638 '("gboolean" "accept")
642 ;; From empathy-contact-manager.h
644 (define-function empathy_contact_manager_get_type
645 (c-name "empathy_contact_manager_get_type")
646 (return-type "GType")
649 (define-function empathy_contact_manager_new
650 (c-name "empathy_contact_manager_new")
651 (is-constructor-of "EmpathyContactManager")
652 (return-type "EmpathyContactManager*")
655 (define-method get_list
656 (of-object "EmpathyContactManager")
657 (c-name "empathy_contact_manager_get_list")
658 (return-type "EmpathyTpContactList*")
660 '("McAccount*" "account")
664 (define-method get_user
665 (of-object "EmpathyContactManager")
666 (c-name "empathy_contact_manager_get_user")
667 (return-type "EmpathyContact*")
669 '("McAccount*" "account")
673 (define-method create
674 (of-object "EmpathyContactManager")
675 (c-name "empathy_contact_manager_create")
676 (return-type "EmpathyContact*")
678 '("McAccount*" "account")
679 '("const-gchar*" "id")
683 (define-method rename_group
684 (of-object "EmpathyContactManager")
685 (c-name "empathy_contact_manager_rename_group")
688 '("const-gchar*" "old_group")
689 '("const-gchar*" "new_group")
693 (define-method get_groups
694 (of-object "EmpathyContactManager")
695 (c-name "empathy_contact_manager_get_groups")
696 (return-type "GList*")
701 ;; From empathy-contact.h
703 (define-function empathy_contact_get_gtype
704 (c-name "empathy_contact_get_gtype")
705 (return-type "GType")
708 (define-function empathy_contact_new
709 (c-name "empathy_contact_new")
710 (is-constructor-of "EmpathyContact")
711 (return-type "EmpathyContact*")
713 '("McAccount*" "account")
717 (define-function empathy_contact_new_full
718 (c-name "empathy_contact_new_full")
719 (return-type "EmpathyContact*")
721 '("McAccount*" "account")
722 '("const-gchar*" "id")
723 '("const-gchar*" "name")
727 (define-method get_id
728 (of-object "EmpathyContact")
729 (c-name "empathy_contact_get_id")
730 (return-type "const-gchar*")
733 (define-method get_name
734 (of-object "EmpathyContact")
735 (c-name "empathy_contact_get_name")
736 (return-type "const-gchar*")
739 (define-method get_avatar
740 (of-object "EmpathyContact")
741 (c-name "empathy_contact_get_avatar")
742 (return-type "EmpathyAvatar*")
745 (define-method get_account
746 (of-object "EmpathyContact")
747 (c-name "empathy_contact_get_account")
748 (return-type "McAccount*")
751 (define-method get_presence
752 (of-object "EmpathyContact")
753 (c-name "empathy_contact_get_presence")
754 (return-type "EmpathyPresence*")
757 (define-method get_groups
758 (of-object "EmpathyContact")
759 (c-name "empathy_contact_get_groups")
760 (return-type "GList*")
763 (define-method get_subscription
764 (of-object "EmpathyContact")
765 (c-name "empathy_contact_get_subscription")
766 (return-type "EmpathySubscription")
769 (define-method get_handle
770 (of-object "EmpathyContact")
771 (c-name "empathy_contact_get_handle")
772 (return-type "guint")
775 (define-method is_user
776 (of-object "EmpathyContact")
777 (c-name "empathy_contact_is_user")
778 (return-type "gboolean")
781 (define-method set_id
782 (of-object "EmpathyContact")
783 (c-name "empathy_contact_set_id")
786 '("const-gchar*" "id")
790 (define-method set_name
791 (of-object "EmpathyContact")
792 (c-name "empathy_contact_set_name")
795 '("const-gchar*" "name")
799 (define-method set_avatar
800 (of-object "EmpathyContact")
801 (c-name "empathy_contact_set_avatar")
804 '("EmpathyAvatar*" "avatar")
808 (define-method set_account
809 (of-object "EmpathyContact")
810 (c-name "empathy_contact_set_account")
813 '("McAccount*" "account")
817 (define-method set_presence
818 (of-object "EmpathyContact")
819 (c-name "empathy_contact_set_presence")
822 '("EmpathyPresence*" "presence")
826 (define-method set_groups
827 (of-object "EmpathyContact")
828 (c-name "empathy_contact_set_groups")
831 '("GList*" "categories")
835 (define-method set_subscription
836 (of-object "EmpathyContact")
837 (c-name "empathy_contact_set_subscription")
840 '("EmpathySubscription" "subscription")
844 (define-method set_handle
845 (of-object "EmpathyContact")
846 (c-name "empathy_contact_set_handle")
853 (define-method set_is_user
854 (of-object "EmpathyContact")
855 (c-name "empathy_contact_set_is_user")
858 '("gboolean" "is_user")
862 (define-method add_group
863 (of-object "EmpathyContact")
864 (c-name "empathy_contact_add_group")
867 '("const-gchar*" "group")
871 (define-method remove_group
872 (of-object "EmpathyContact")
873 (c-name "empathy_contact_remove_group")
876 '("const-gchar*" "group")
880 (define-method is_online
881 (of-object "EmpathyContact")
882 (c-name "empathy_contact_is_online")
883 (return-type "gboolean")
886 (define-method is_in_group
887 (of-object "EmpathyContact")
888 (c-name "empathy_contact_is_in_group")
889 (return-type "gboolean")
891 '("const-gchar*" "group")
895 (define-method get_status
896 (of-object "EmpathyContact")
897 (c-name "empathy_contact_get_status")
898 (return-type "const-gchar*")
901 (define-function empathy_contact_equal
902 (c-name "empathy_contact_equal")
903 (return-type "gboolean")
905 '("gconstpointer" "v1")
906 '("gconstpointer" "v2")
910 (define-function empathy_contact_hash
911 (c-name "empathy_contact_hash")
912 (return-type "guint")
914 '("gconstpointer" "key")
920 ;; From empathy-debug.h
922 (define-function empathy_debug_impl
923 (c-name "empathy_debug_impl")
926 '("const-gchar*" "domain")
927 '("const-gchar*" "msg")
934 ;; From empathy-filter-glue.h
936 (define-function dbus_glib_marshal_empathy_filter_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_UINT_POINTER
937 (c-name "dbus_glib_marshal_empathy_filter_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_UINT_POINTER")
940 '("GClosure*" "closure")
941 '("GValue*" "return_value")
942 '("guint" "n_param_values")
943 '("const-GValue*" "param_values")
944 '("gpointer" "invocation_hint")
945 '("gpointer" "marshal_data")
951 ;; From empathy-filter.h
953 (define-function empathy_filter_get_type
954 (c-name "empathy_filter_get_type")
955 (return-type "GType")
958 (define-function empathy_filter_new
959 (c-name "empathy_filter_new")
960 (is-constructor-of "EmpathyFilter")
961 (return-type "EmpathyFilter*")
963 '("const-gchar*" "bus_name")
964 '("const-gchar*" "object_path")
965 '("const-gchar*" "channel_type")
966 '("guint" "priority")
971 (define-method process
972 (of-object "EmpathyFilter")
973 (c-name "empathy_filter_process")
976 '("TpChan*" "tp_chan")
977 '("gboolean" "process")
983 ;; From empathy-idle.h
985 (define-function empathy_idle_get_type
986 (c-name "empathy_idle_get_type")
987 (return-type "GType")
990 (define-function empathy_idle_new
991 (c-name "empathy_idle_new")
992 (is-constructor-of "EmpathyIdle")
993 (return-type "EmpathyIdle*")
996 (define-method get_state
997 (of-object "EmpathyIdle")
998 (c-name "empathy_idle_get_state")
999 (return-type "McPresence")
1002 (define-method set_state
1003 (of-object "EmpathyIdle")
1004 (c-name "empathy_idle_set_state")
1005 (return-type "none")
1007 '("McPresence" "state")
1011 (define-method get_status
1012 (of-object "EmpathyIdle")
1013 (c-name "empathy_idle_get_status")
1014 (return-type "const-gchar*")
1017 (define-method set_status
1018 (of-object "EmpathyIdle")
1019 (c-name "empathy_idle_set_status")
1020 (return-type "none")
1022 '("const-gchar*" "status")
1026 (define-method get_flash_state
1027 (of-object "EmpathyIdle")
1028 (c-name "empathy_idle_get_flash_state")
1029 (return-type "McPresence")
1032 (define-method set_flash_state
1033 (of-object "EmpathyIdle")
1034 (c-name "empathy_idle_set_flash_state")
1035 (return-type "none")
1037 '("McPresence" "state")
1041 (define-method set_presence
1042 (of-object "EmpathyIdle")
1043 (c-name "empathy_idle_set_presence")
1044 (return-type "none")
1046 '("McPresence" "state")
1047 '("const-gchar*" "status")
1053 ;; From empathy-log-manager.h
1055 (define-function empathy_log_manager_get_type
1056 (c-name "empathy_log_manager_get_type")
1057 (return-type "GType")
1060 (define-function empathy_log_manager_new
1061 (c-name "empathy_log_manager_new")
1062 (is-constructor-of "EmpathyLogManager")
1063 (return-type "EmpathyLogManager*")
1066 (define-method add_message
1067 (of-object "EmpathyLogManager")
1068 (c-name "empathy_log_manager_add_message")
1069 (return-type "none")
1071 '("const-gchar*" "chat_id")
1072 '("gboolean" "chatroom")
1073 '("EmpathyMessage*" "message")
1077 (define-method exists
1078 (of-object "EmpathyLogManager")
1079 (c-name "empathy_log_manager_exists")
1080 (return-type "gboolean")
1082 '("McAccount*" "account")
1083 '("const-gchar*" "chat_id")
1084 '("gboolean" "chatroom")
1088 (define-method get_dates
1089 (of-object "EmpathyLogManager")
1090 (c-name "empathy_log_manager_get_dates")
1091 (return-type "GList*")
1093 '("McAccount*" "account")
1094 '("const-gchar*" "chat_id")
1095 '("gboolean" "chatroom")
1099 (define-method get_messages_for_date
1100 (of-object "EmpathyLogManager")
1101 (c-name "empathy_log_manager_get_messages_for_date")
1102 (return-type "GList*")
1104 '("McAccount*" "account")
1105 '("const-gchar*" "chat_id")
1106 '("gboolean" "chatroom")
1107 '("const-gchar*" "date")
1111 (define-method get_last_messages
1112 (of-object "EmpathyLogManager")
1113 (c-name "empathy_log_manager_get_last_messages")
1114 (return-type "GList*")
1116 '("McAccount*" "account")
1117 '("const-gchar*" "chat_id")
1118 '("gboolean" "chatroom")
1122 (define-method get_chats
1123 (of-object "EmpathyLogManager")
1124 (c-name "empathy_log_manager_get_chats")
1125 (return-type "GList*")
1127 '("McAccount*" "account")
1131 (define-method search_new
1132 (of-object "EmpathyLogManager")
1133 (c-name "empathy_log_manager_search_new")
1134 (return-type "GList*")
1136 '("const-gchar*" "text")
1140 (define-function empathy_log_manager_search_free
1141 (c-name "empathy_log_manager_search_free")
1142 (return-type "none")
1148 (define-function empathy_log_manager_get_date_readable
1149 (c-name "empathy_log_manager_get_date_readable")
1150 (return-type "gchar*")
1152 '("const-gchar*" "date")
1158 ;; From empathy-marshal.h
1162 ;; From empathy-message.h
1164 (define-function empathy_message_get_gtype
1165 (c-name "empathy_message_get_gtype")
1166 (return-type "GType")
1169 (define-function empathy_message_new
1170 (c-name "empathy_message_new")
1171 (is-constructor-of "EmpathyMessage")
1172 (return-type "EmpathyMessage*")
1174 '("const-gchar*" "body")
1178 (define-method get_type
1179 (of-object "EmpathyMessage")
1180 (c-name "empathy_message_get_type")
1181 (return-type "EmpathyMessageType")
1184 (define-method set_type
1185 (of-object "EmpathyMessage")
1186 (c-name "empathy_message_set_type")
1187 (return-type "none")
1189 '("EmpathyMessageType" "type")
1193 (define-method get_sender
1194 (of-object "EmpathyMessage")
1195 (c-name "empathy_message_get_sender")
1196 (return-type "EmpathyContact*")
1199 (define-method set_sender
1200 (of-object "EmpathyMessage")
1201 (c-name "empathy_message_set_sender")
1202 (return-type "none")
1204 '("EmpathyContact*" "contact")
1208 (define-method get_receiver
1209 (of-object "EmpathyMessage")
1210 (c-name "empathy_message_get_receiver")
1211 (return-type "EmpathyContact*")
1214 (define-method set_receiver
1215 (of-object "EmpathyMessage")
1216 (c-name "empathy_message_set_receiver")
1217 (return-type "none")
1219 '("EmpathyContact*" "contact")
1223 (define-method get_body
1224 (of-object "EmpathyMessage")
1225 (c-name "empathy_message_get_body")
1226 (return-type "const-gchar*")
1229 (define-method set_body
1230 (of-object "EmpathyMessage")
1231 (c-name "empathy_message_set_body")
1232 (return-type "none")
1234 '("const-gchar*" "body")
1238 (define-method get_timestamp
1239 (of-object "EmpathyMessage")
1240 (c-name "empathy_message_get_timestamp")
1241 (return-type "EmpathyTime")
1244 (define-method set_timestamp
1245 (of-object "EmpathyMessage")
1246 (c-name "empathy_message_set_timestamp")
1247 (return-type "none")
1249 '("EmpathyTime" "timestamp")
1255 ;; From empathy-presence.h
1257 (define-function empathy_presence_get_type
1258 (c-name "empathy_presence_get_type")
1259 (return-type "GType")
1262 (define-function empathy_presence_new
1263 (c-name "empathy_presence_new")
1264 (is-constructor-of "EmpathyPresence")
1265 (return-type "EmpathyPresence*")
1268 (define-function empathy_presence_new_full
1269 (c-name "empathy_presence_new_full")
1270 (return-type "EmpathyPresence*")
1272 '("McPresence" "state")
1273 '("const-gchar*" "status")
1277 (define-method get_state
1278 (of-object "EmpathyPresence")
1279 (c-name "empathy_presence_get_state")
1280 (return-type "McPresence")
1283 (define-method get_status
1284 (of-object "EmpathyPresence")
1285 (c-name "empathy_presence_get_status")
1286 (return-type "const-gchar*")
1289 (define-method set_state
1290 (of-object "EmpathyPresence")
1291 (c-name "empathy_presence_set_state")
1292 (return-type "none")
1294 '("McPresence" "state")
1298 (define-method set_status
1299 (of-object "EmpathyPresence")
1300 (c-name "empathy_presence_set_status")
1301 (return-type "none")
1303 '("const-gchar*" "status")
1307 (define-function empathy_presence_sort_func
1308 (c-name "empathy_presence_sort_func")
1309 (return-type "gint")
1311 '("gconstpointer" "a")
1312 '("gconstpointer" "b")
1316 (define-function empathy_presence_state_get_default_status
1317 (c-name "empathy_presence_state_get_default_status")
1318 (return-type "const-gchar*")
1320 '("McPresence" "state")
1324 (define-function empathy_presence_state_to_str
1325 (c-name "empathy_presence_state_to_str")
1326 (return-type "const-gchar*")
1328 '("McPresence" "state")
1332 (define-function empathy_presence_state_from_str
1333 (c-name "empathy_presence_state_from_str")
1334 (return-type "McPresence")
1336 '("const-gchar*" "str")
1342 ;; From empathy-time.h
1344 (define-function empathy_time_get_current
1345 (c-name "empathy_time_get_current")
1346 (return-type "EmpathyTime")
1349 (define-function empathy_time_get_local_time
1350 (c-name "empathy_time_get_local_time")
1351 (return-type "time_t")
1353 '("struct-tm*" "tm")
1357 (define-function empathy_time_parse
1358 (c-name "empathy_time_parse")
1359 (return-type "EmpathyTime")
1361 '("const-gchar*" "str")
1365 (define-function empathy_time_parse_format
1366 (c-name "empathy_time_parse_format")
1367 (return-type "EmpathyTime")
1369 '("const-gchar*" "str")
1370 '("const-gchar*" "format")
1374 (define-method to_string_utc
1375 (of-object "EmpathyTime")
1376 (c-name "empathy_time_to_string_utc")
1377 (return-type "gchar*")
1379 '("const-gchar*" "format")
1383 (define-method to_string_local
1384 (of-object "EmpathyTime")
1385 (c-name "empathy_time_to_string_local")
1386 (return-type "gchar*")
1388 '("const-gchar*" "format")
1394 ;; From empathy-tp-chat.h
1396 (define-function empathy_tp_chat_get_type
1397 (c-name "empathy_tp_chat_get_type")
1398 (return-type "GType")
1401 (define-function empathy_tp_chat_new
1402 (c-name "empathy_tp_chat_new")
1403 (is-constructor-of "EmpathyTpChat")
1404 (return-type "EmpathyTpChat*")
1406 '("McAccount*" "account")
1407 '("TpChan*" "tp_chan")
1411 (define-function empathy_tp_chat_new_with_contact
1412 (c-name "empathy_tp_chat_new_with_contact")
1413 (return-type "EmpathyTpChat*")
1415 '("EmpathyContact*" "contact")
1419 (define-method get_acknowledge
1420 (of-object "EmpathyTpChat")
1421 (c-name "empathy_tp_chat_get_acknowledge")
1422 (return-type "gboolean")
1425 (define-method set_acknowledge
1426 (of-object "EmpathyTpChat")
1427 (c-name "empathy_tp_chat_set_acknowledge")
1428 (return-type "none")
1430 '("gboolean" "acknowledge")
1434 (define-method get_channel
1435 (of-object "EmpathyTpChat")
1436 (c-name "empathy_tp_chat_get_channel")
1437 (return-type "TpChan*")
1440 (define-method get_pendings
1441 (of-object "EmpathyTpChat")
1442 (c-name "empathy_tp_chat_get_pendings")
1443 (return-type "GList*")
1447 (of-object "EmpathyTpChat")
1448 (c-name "empathy_tp_chat_send")
1449 (return-type "none")
1451 '("EmpathyMessage*" "message")
1455 (define-method set_state
1456 (of-object "EmpathyTpChat")
1457 (c-name "empathy_tp_chat_set_state")
1458 (return-type "none")
1460 '("TelepathyChannelChatState" "state")
1464 (define-method get_id
1465 (of-object "EmpathyTpChat")
1466 (c-name "empathy_tp_chat_get_id")
1467 (return-type "const-gchar*")
1472 ;; From empathy-tp-chatroom.h
1474 (define-function empathy_tp_chatroom_get_type
1475 (c-name "empathy_tp_chatroom_get_type")
1476 (return-type "GType")
1479 (define-function empathy_tp_chatroom_new
1480 (c-name "empathy_tp_chatroom_new")
1481 (is-constructor-of "EmpathyTpChatroom")
1482 (return-type "EmpathyTpChatroom*")
1484 '("McAccount*" "account")
1485 '("TpChan*" "tp_chan")
1489 (define-method get_invitation
1490 (of-object "EmpathyTpChatroom")
1491 (c-name "empathy_tp_chatroom_get_invitation")
1492 (return-type "gboolean")
1494 '("EmpathyContact**" "contact")
1495 '("const-gchar**" "message")
1499 (define-method accept_invitation
1500 (of-object "EmpathyTpChatroom")
1501 (c-name "empathy_tp_chatroom_accept_invitation")
1502 (return-type "none")
1505 (define-method set_topic
1506 (of-object "EmpathyTpChatroom")
1507 (c-name "empathy_tp_chatroom_set_topic")
1508 (return-type "none")
1510 '("const-gchar*" "topic")
1516 ;; From empathy-tp-contact-list.h
1518 (define-function empathy_tp_contact_list_get_type
1519 (c-name "empathy_tp_contact_list_get_type")
1520 (return-type "GType")
1523 (define-function empathy_tp_contact_list_new
1524 (c-name "empathy_tp_contact_list_new")
1525 (is-constructor-of "EmpathyTpContactList")
1526 (return-type "EmpathyTpContactList*")
1528 '("McAccount*" "account")
1532 (define-method get_account
1533 (of-object "EmpathyTpContactList")
1534 (c-name "empathy_tp_contact_list_get_account")
1535 (return-type "McAccount*")
1538 (define-method get_user
1539 (of-object "EmpathyTpContactList")
1540 (c-name "empathy_tp_contact_list_get_user")
1541 (return-type "EmpathyContact*")
1544 (define-method get_from_id
1545 (of-object "EmpathyTpContactList")
1546 (c-name "empathy_tp_contact_list_get_from_id")
1547 (return-type "EmpathyContact*")
1549 '("const-gchar*" "id")
1553 (define-method get_from_handle
1554 (of-object "EmpathyTpContactList")
1555 (c-name "empathy_tp_contact_list_get_from_handle")
1556 (return-type "EmpathyContact*")
1562 (define-method get_from_handles
1563 (of-object "EmpathyTpContactList")
1564 (c-name "empathy_tp_contact_list_get_from_handles")
1565 (return-type "GList*")
1567 '("GArray*" "handles")
1571 (define-method rename_group
1572 (of-object "EmpathyTpContactList")
1573 (c-name "empathy_tp_contact_list_rename_group")
1574 (return-type "none")
1576 '("const-gchar*" "old_group")
1577 '("const-gchar*" "new_group")
1581 (define-method get_groups
1582 (of-object "EmpathyTpContactList")
1583 (c-name "empathy_tp_contact_list_get_groups")
1584 (return-type "GList*")
1589 ;; From empathy-tp-group.h
1591 (define-function empathy_tp_group_get_type
1592 (c-name "empathy_tp_group_get_type")
1593 (return-type "GType")
1596 (define-function empathy_tp_group_new
1597 (c-name "empathy_tp_group_new")
1598 (is-constructor-of "EmpathyTpGroup")
1599 (return-type "EmpathyTpGroup*")
1601 '("TpChan*" "tp_chan")
1602 '("TpConn*" "tp_conn")
1606 (define-method add_members
1607 (of-object "EmpathyTpGroup")
1608 (c-name "empathy_tp_group_add_members")
1609 (return-type "none")
1611 '("GArray*" "handles")
1612 '("const-gchar*" "message")
1616 (define-method add_member
1617 (of-object "EmpathyTpGroup")
1618 (c-name "empathy_tp_group_add_member")
1619 (return-type "none")
1622 '("const-gchar*" "message")
1626 (define-method remove_members
1627 (of-object "EmpathyTpGroup")
1628 (c-name "empathy_tp_group_remove_members")
1629 (return-type "none")
1631 '("GArray*" "handle")
1632 '("const-gchar*" "message")
1636 (define-method remove_member
1637 (of-object "EmpathyTpGroup")
1638 (c-name "empathy_tp_group_remove_member")
1639 (return-type "none")
1642 '("const-gchar*" "message")
1646 (define-method get_members
1647 (of-object "EmpathyTpGroup")
1648 (c-name "empathy_tp_group_get_members")
1649 (return-type "GArray*")
1652 (define-method get_all_members
1653 (of-object "EmpathyTpGroup")
1654 (c-name "empathy_tp_group_get_all_members")
1655 (return-type "none")
1657 '("GArray**" "members")
1658 '("GArray**" "local_pending")
1659 '("GArray**" "remote_pending")
1663 (define-method get_local_pending_members_with_info
1664 (of-object "EmpathyTpGroup")
1665 (c-name "empathy_tp_group_get_local_pending_members_with_info")
1666 (return-type "GList*")
1669 (define-function empathy_tp_group_info_list_free
1670 (c-name "empathy_tp_group_info_list_free")
1671 (return-type "none")
1677 (define-method get_name
1678 (of-object "EmpathyTpGroup")
1679 (c-name "empathy_tp_group_get_name")
1680 (return-type "const-gchar*")
1683 (define-method get_self_handle
1684 (of-object "EmpathyTpGroup")
1685 (c-name "empathy_tp_group_get_self_handle")
1686 (return-type "guint")
1689 (define-method get_object_path
1690 (of-object "EmpathyTpGroup")
1691 (c-name "empathy_tp_group_get_object_path")
1692 (return-type "const-gchar*")
1695 (define-method is_member
1696 (of-object "EmpathyTpGroup")
1697 (c-name "empathy_tp_group_is_member")
1698 (return-type "gboolean")
1706 ;; From empathy-utils.h
1708 (define-function empathy_substring
1709 (c-name "empathy_substring")
1710 (return-type "gchar*")
1712 '("const-gchar*" "str")
1718 (define-function empathy_regex_match
1719 (c-name "empathy_regex_match")
1720 (return-type "gint")
1722 '("EmpathyRegExType" "type")
1723 '("const-gchar*" "msg")
1724 '("GArray*" "start")
1729 (define-function empathy_strcasecmp
1730 (c-name "empathy_strcasecmp")
1731 (return-type "gint")
1733 '("const-gchar*" "s1")
1734 '("const-gchar*" "s2")
1738 (define-function empathy_strncasecmp
1739 (c-name "empathy_strncasecmp")
1740 (return-type "gint")
1742 '("const-gchar*" "s1")
1743 '("const-gchar*" "s2")
1748 (define-function empathy_xml_validate
1749 (c-name "empathy_xml_validate")
1750 (return-type "gboolean")
1753 '("const-gchar*" "dtd_filename")
1757 (define-function empathy_xml_node_get_child
1758 (c-name "empathy_xml_node_get_child")
1759 (return-type "xmlNodePtr")
1761 '("xmlNodePtr" "node")
1762 '("const-gchar*" "child_name")
1766 (define-function empathy_xml_node_get_child_content
1767 (c-name "empathy_xml_node_get_child_content")
1768 (return-type "xmlChar*")
1770 '("xmlNodePtr" "node")
1771 '("const-gchar*" "child_name")
1775 (define-function empathy_xml_node_find_child_prop_value
1776 (c-name "empathy_xml_node_find_child_prop_value")
1777 (return-type "xmlNodePtr")
1779 '("xmlNodePtr" "node")
1780 '("const-gchar*" "prop_name")
1781 '("const-gchar*" "prop_value")
1785 (define-function empathy_account_hash
1786 (c-name "empathy_account_hash")
1787 (return-type "guint")
1789 '("gconstpointer" "key")
1793 (define-function empathy_account_equal
1794 (c-name "empathy_account_equal")
1795 (return-type "gboolean")
1797 '("gconstpointer" "a")
1798 '("gconstpointer" "b")
1802 (define-function empathy_mission_control_new
1803 (c-name "empathy_mission_control_new")
1804 (is-constructor-of "EmpathyMissionControl")
1805 (return-type "MissionControl*")
1808 (define-function empathy_get_channel_id
1809 (c-name "empathy_get_channel_id")
1810 (return-type "gchar*")
1812 '("McAccount*" "account")
1813 '("TpChan*" "tp_chan")