2 ; object definitions ...
3 (define-object Chandler
6 (c-name "EmpathyChandler")
7 (gtype-id "EMPATHY_TYPE_CHANDLER")
10 (define-object Chatroom
13 (c-name "EmpathyChatroom")
14 (gtype-id "EMPATHY_TYPE_CHATROOM")
17 (define-object ChatroomManager
20 (c-name "EmpathyChatroomManager")
21 (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
24 (define-object Contact
27 (c-name "EmpathyContact")
28 (gtype-id "EMPATHY_TYPE_CONTACT")
31 (define-object ContactFactory
34 (c-name "EmpathyContactFactory")
35 (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
38 (define-interface ContactList
40 (c-name "EmpathyContactList")
41 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
44 (define-object ContactManager
47 (implements "EmpathyContactList")
48 (c-name "EmpathyContactManager")
49 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
55 (c-name "EmpathyFilter")
56 (gtype-id "EMPATHY_TYPE_FILTER")
62 (c-name "EmpathyIdle")
63 (gtype-id "EMPATHY_TYPE_IDLE")
66 (define-object LogManager
69 (c-name "EmpathyLogManager")
70 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
73 (define-object Message
76 (c-name "EmpathyMessage")
77 (gtype-id "EMPATHY_TYPE_MESSAGE")
83 (c-name "EmpathyTpCall")
84 (gtype-id "EMPATHY_TYPE_TP_CALL")
90 (c-name "EmpathyTpChat")
91 (gtype-id "EMPATHY_TYPE_TP_CHAT")
94 (define-object TpChatroom
96 (parent "EmpathyTpChat")
97 (implements "EmpathyContactList")
98 (c-name "EmpathyTpChatroom")
99 (gtype-id "EMPATHY_TYPE_TP_CHATROOM")
102 (define-object TpContactFactory
103 (in-module "Empathy")
105 (c-name "EmpathyTpContactFactory")
106 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
109 (define-object TpContactList
110 (in-module "Empathy")
112 (implements "EmpathyContactList")
113 (c-name "EmpathyTpContactList")
114 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
117 (define-object TpGroup
118 (in-module "Empathy")
120 (c-name "EmpathyTpGroup")
121 (gtype-id "EMPATHY_TYPE_TP_GROUP")
124 (define-object TpRoomlist
125 (in-module "Empathy")
127 (c-name "EmpathyTpRoomlist")
128 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
131 ;; Enumerations and flags ...
133 (define-flags Capabilities
134 (in-module "Empathy")
135 (c-name "EmpathyCapabilities")
136 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
138 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
139 '("video" "EMPATHY_CAPABILITIES_VIDEO")
143 (define-enum MessageType
144 (in-module "Empathy")
145 (c-name "EmpathyMessageType")
146 (gtype-id "EMPATHY_TYPE_MESSAGE_TYPE")
148 '("normal" "EMPATHY_MESSAGE_TYPE_NORMAL")
149 '("action" "EMPATHY_MESSAGE_TYPE_ACTION")
150 '("notice" "EMPATHY_MESSAGE_TYPE_NOTICE")
151 '("auto-reply" "EMPATHY_MESSAGE_TYPE_AUTO_REPLY")
152 '("last" "EMPATHY_MESSAGE_TYPE_LAST")
156 (define-enum TpCallStatus
157 (in-module "Empathy")
158 (c-name "EmpathyTpCallStatus")
159 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
161 '("preparing" "EMPATHY_TP_CALL_STATUS_PREPARING")
162 '("ringing" "EMPATHY_TP_CALL_STATUS_RINGING")
163 '("running" "EMPATHY_TP_CALL_STATUS_RUNNING")
167 (define-enum RegExType
168 (in-module "Empathy")
169 (c-name "EmpathyRegExType")
170 (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
172 '("as-is" "EMPATHY_REGEX_AS_IS")
173 '("browser" "EMPATHY_REGEX_BROWSER")
174 '("email" "EMPATHY_REGEX_EMAIL")
175 '("other" "EMPATHY_REGEX_OTHER")
176 '("all" "EMPATHY_REGEX_ALL")
181 ;; From empathy-avatar.h
183 (define-function empathy_avatar_get_type
184 (c-name "empathy_avatar_get_type")
185 (return-type "GType")
188 (define-function empathy_avatar_new
189 (c-name "empathy_avatar_new")
190 (is-constructor-of "EmpathyAvatar")
191 (return-type "EmpathyAvatar*")
193 '("const-guchar*" "avatar")
194 '("const-gsize" "len")
195 '("const-gchar*" "format")
196 '("const-gchar*" "token")
200 (define-function empathy_avatar_new_from_cache
201 (c-name "empathy_avatar_new_from_cache")
202 (return-type "EmpathyAvatar*")
204 '("const-gchar*" "token")
209 (of-object "EmpathyAvatar")
210 (c-name "empathy_avatar_ref")
211 (return-type "EmpathyAvatar*")
215 (of-object "EmpathyAvatar")
216 (c-name "empathy_avatar_unref")
222 ;; From empathy-chandler.h
224 (define-function empathy_chandler_get_type
225 (c-name "empathy_chandler_get_type")
226 (return-type "GType")
229 (define-function empathy_chandler_new
230 (c-name "empathy_chandler_new")
231 (is-constructor-of "EmpathyChandler")
232 (return-type "EmpathyChandler*")
234 '("const-gchar*" "bus_name")
235 '("const-gchar*" "object_path")
241 ;; From empathy-chatroom.h
243 (define-function empathy_chatroom_get_type
244 (c-name "empathy_chatroom_get_type")
245 (return-type "GType")
248 (define-function empathy_chatroom_new
249 (c-name "empathy_chatroom_new")
250 (is-constructor-of "EmpathyChatroom")
251 (return-type "EmpathyChatroom*")
253 '("McAccount*" "account")
254 '("const-gchar*" "room")
258 (define-function empathy_chatroom_new_full
259 (c-name "empathy_chatroom_new_full")
260 (return-type "EmpathyChatroom*")
262 '("McAccount*" "account")
263 '("const-gchar*" "room")
264 '("const-gchar*" "name")
265 '("gboolean" "auto_connect")
269 (define-method get_account
270 (of-object "EmpathyChatroom")
271 (c-name "empathy_chatroom_get_account")
272 (return-type "McAccount*")
275 (define-method set_account
276 (of-object "EmpathyChatroom")
277 (c-name "empathy_chatroom_set_account")
280 '("McAccount*" "account")
284 (define-method get_room
285 (of-object "EmpathyChatroom")
286 (c-name "empathy_chatroom_get_room")
287 (return-type "const-gchar*")
290 (define-method set_room
291 (of-object "EmpathyChatroom")
292 (c-name "empathy_chatroom_set_room")
295 '("const-gchar*" "room")
299 (define-method get_name
300 (of-object "EmpathyChatroom")
301 (c-name "empathy_chatroom_get_name")
302 (return-type "const-gchar*")
305 (define-method set_name
306 (of-object "EmpathyChatroom")
307 (c-name "empathy_chatroom_set_name")
310 '("const-gchar*" "name")
314 (define-method get_auto_connect
315 (of-object "EmpathyChatroom")
316 (c-name "empathy_chatroom_get_auto_connect")
317 (return-type "gboolean")
320 (define-method set_auto_connect
321 (of-object "EmpathyChatroom")
322 (c-name "empathy_chatroom_set_auto_connect")
325 '("gboolean" "auto_connect")
329 (define-function empathy_chatroom_equal
330 (c-name "empathy_chatroom_equal")
331 (return-type "gboolean")
333 '("gconstpointer" "v1")
334 '("gconstpointer" "v2")
340 ;; From empathy-chatroom-manager.h
342 (define-function empathy_chatroom_manager_get_type
343 (c-name "empathy_chatroom_manager_get_type")
344 (return-type "GType")
347 (define-function empathy_chatroom_manager_new
348 (c-name "empathy_chatroom_manager_new")
349 (is-constructor-of "EmpathyChatroomManager")
350 (return-type "EmpathyChatroomManager*")
354 (of-object "EmpathyChatroomManager")
355 (c-name "empathy_chatroom_manager_add")
356 (return-type "gboolean")
358 '("EmpathyChatroom*" "chatroom")
362 (define-method remove
363 (of-object "EmpathyChatroomManager")
364 (c-name "empathy_chatroom_manager_remove")
367 '("EmpathyChatroom*" "chatroom")
372 (of-object "EmpathyChatroomManager")
373 (c-name "empathy_chatroom_manager_find")
374 (return-type "EmpathyChatroom*")
376 '("McAccount*" "account")
377 '("const-gchar*" "room")
381 (define-method get_chatrooms
382 (of-object "EmpathyChatroomManager")
383 (c-name "empathy_chatroom_manager_get_chatrooms")
384 (return-type "GList*")
386 '("McAccount*" "account")
390 (define-method get_count
391 (of-object "EmpathyChatroomManager")
392 (c-name "empathy_chatroom_manager_get_count")
393 (return-type "guint")
395 '("McAccount*" "account")
400 (of-object "EmpathyChatroomManager")
401 (c-name "empathy_chatroom_manager_store")
407 ;; From empathy-contact-factory.h
409 (define-function empathy_contact_factory_get_type
410 (c-name "empathy_contact_factory_get_type")
411 (return-type "GType")
414 (define-function empathy_contact_factory_new
415 (c-name "empathy_contact_factory_new")
416 (is-constructor-of "EmpathyContactFactory")
417 (return-type "EmpathyContactFactory*")
420 (define-method get_user
421 (of-object "EmpathyContactFactory")
422 (c-name "empathy_contact_factory_get_user")
423 (return-type "EmpathyContact*")
425 '("McAccount*" "account")
429 (define-method get_from_id
430 (of-object "EmpathyContactFactory")
431 (c-name "empathy_contact_factory_get_from_id")
432 (return-type "EmpathyContact*")
434 '("McAccount*" "account")
435 '("const-gchar*" "id")
439 (define-method get_from_handle
440 (of-object "EmpathyContactFactory")
441 (c-name "empathy_contact_factory_get_from_handle")
442 (return-type "EmpathyContact*")
444 '("McAccount*" "account")
449 (define-method get_from_handles
450 (of-object "EmpathyContactFactory")
451 (c-name "empathy_contact_factory_get_from_handles")
452 (return-type "GList*")
454 '("McAccount*" "account")
455 '("GArray*" "handles")
459 (define-method set_alias
460 (of-object "EmpathyContactFactory")
461 (c-name "empathy_contact_factory_set_alias")
464 '("EmpathyContact*" "contact")
465 '("const-gchar*" "alias")
469 (define-method set_avatar
470 (of-object "EmpathyContactFactory")
471 (c-name "empathy_contact_factory_set_avatar")
474 '("McAccount*" "account")
475 '("const-gchar*" "data")
477 '("const-gchar*" "mime_type")
483 ;; From empathy-contact-groups.h
485 (define-function empathy_contact_groups_get_all
486 (c-name "empathy_contact_groups_get_all")
490 (define-function empathy_contact_group_get_expanded
491 (c-name "empathy_contact_group_get_expanded")
492 (return-type "gboolean")
494 '("const-gchar*" "group")
498 (define-function empathy_contact_group_set_expanded
499 (c-name "empathy_contact_group_set_expanded")
502 '("const-gchar*" "group")
503 '("gboolean" "expanded")
509 ;; From empathy-contact.h
511 (define-function empathy_contact_get_type
512 (c-name "empathy_contact_get_type")
513 (return-type "GType")
516 (define-function empathy_contact_new
517 (c-name "empathy_contact_new")
518 (is-constructor-of "EmpathyContact")
519 (return-type "EmpathyContact*")
521 '("McAccount*" "account")
525 (define-function empathy_contact_new_full
526 (c-name "empathy_contact_new_full")
527 (return-type "EmpathyContact*")
529 '("McAccount*" "account")
530 '("const-gchar*" "id")
531 '("const-gchar*" "name")
535 (define-method get_id
536 (of-object "EmpathyContact")
537 (c-name "empathy_contact_get_id")
538 (return-type "const-gchar*")
541 (define-method set_id
542 (of-object "EmpathyContact")
543 (c-name "empathy_contact_set_id")
546 '("const-gchar*" "id")
550 (define-method get_name
551 (of-object "EmpathyContact")
552 (c-name "empathy_contact_get_name")
553 (return-type "const-gchar*")
556 (define-method set_name
557 (of-object "EmpathyContact")
558 (c-name "empathy_contact_set_name")
561 '("const-gchar*" "name")
565 (define-method get_avatar
566 (of-object "EmpathyContact")
567 (c-name "empathy_contact_get_avatar")
568 (return-type "EmpathyAvatar*")
571 (define-method set_avatar
572 (of-object "EmpathyContact")
573 (c-name "empathy_contact_set_avatar")
576 '("EmpathyAvatar*" "avatar")
580 (define-method get_account
581 (of-object "EmpathyContact")
582 (c-name "empathy_contact_get_account")
583 (return-type "McAccount*")
586 (define-method set_account
587 (of-object "EmpathyContact")
588 (c-name "empathy_contact_set_account")
591 '("McAccount*" "account")
595 (define-method get_presence
596 (of-object "EmpathyContact")
597 (c-name "empathy_contact_get_presence")
598 (return-type "McPresence")
601 (define-method set_presence
602 (of-object "EmpathyContact")
603 (c-name "empathy_contact_set_presence")
606 '("McPresence" "presence")
610 (define-method get_presence_message
611 (of-object "EmpathyContact")
612 (c-name "empathy_contact_get_presence_message")
613 (return-type "const-gchar*")
616 (define-method set_presence_message
617 (of-object "EmpathyContact")
618 (c-name "empathy_contact_set_presence_message")
621 '("const-gchar*" "message")
625 (define-method get_handle
626 (of-object "EmpathyContact")
627 (c-name "empathy_contact_get_handle")
628 (return-type "guint")
631 (define-method set_handle
632 (of-object "EmpathyContact")
633 (c-name "empathy_contact_set_handle")
640 (define-method get_capabilities
641 (of-object "EmpathyContact")
642 (c-name "empathy_contact_get_capabilities")
643 (return-type "EmpathyCapabilities")
646 (define-method set_capabilities
647 (of-object "EmpathyContact")
648 (c-name "empathy_contact_set_capabilities")
651 '("EmpathyCapabilities" "capabilities")
655 (define-method is_user
656 (of-object "EmpathyContact")
657 (c-name "empathy_contact_is_user")
658 (return-type "gboolean")
661 (define-method set_is_user
662 (of-object "EmpathyContact")
663 (c-name "empathy_contact_set_is_user")
666 '("gboolean" "is_user")
670 (define-method is_online
671 (of-object "EmpathyContact")
672 (c-name "empathy_contact_is_online")
673 (return-type "gboolean")
676 (define-method get_status
677 (of-object "EmpathyContact")
678 (c-name "empathy_contact_get_status")
679 (return-type "const-gchar*")
682 (define-method can_voip
683 (of-object "EmpathyContact")
684 (c-name "empathy_contact_can_voip")
685 (return-type "gboolean")
688 (define-function empathy_contact_equal
689 (c-name "empathy_contact_equal")
690 (return-type "gboolean")
692 '("gconstpointer" "v1")
693 '("gconstpointer" "v2")
697 (define-function empathy_contact_hash
698 (c-name "empathy_contact_hash")
699 (return-type "guint")
701 '("gconstpointer" "key")
707 ;; From empathy-contact-list.h
709 (define-function empathy_contact_list_get_type
710 (c-name "empathy_contact_list_get_type")
711 (return-type "GType")
715 (of-object "EmpathyContactList")
716 (c-name "empathy_contact_list_add")
719 '("EmpathyContact*" "contact")
720 '("const-gchar*" "message")
724 (define-method remove
725 (of-object "EmpathyContactList")
726 (c-name "empathy_contact_list_remove")
729 '("EmpathyContact*" "contact")
730 '("const-gchar*" "message")
734 (define-method get_members
735 (of-object "EmpathyContactList")
736 (c-name "empathy_contact_list_get_members")
737 (return-type "GList*")
740 (define-method get_pendings
741 (of-object "EmpathyContactList")
742 (c-name "empathy_contact_list_get_pendings")
743 (return-type "GList*")
746 (define-method get_all_groups
747 (of-object "EmpathyContactList")
748 (c-name "empathy_contact_list_get_all_groups")
749 (return-type "GList*")
752 (define-method get_groups
753 (of-object "EmpathyContactList")
754 (c-name "empathy_contact_list_get_groups")
755 (return-type "GList*")
757 '("EmpathyContact*" "contact")
761 (define-method add_to_group
762 (of-object "EmpathyContactList")
763 (c-name "empathy_contact_list_add_to_group")
766 '("EmpathyContact*" "contact")
767 '("const-gchar*" "group")
771 (define-method remove_from_group
772 (of-object "EmpathyContactList")
773 (c-name "empathy_contact_list_remove_from_group")
776 '("EmpathyContact*" "contact")
777 '("const-gchar*" "group")
781 (define-method rename_group
782 (of-object "EmpathyContactList")
783 (c-name "empathy_contact_list_rename_group")
786 '("const-gchar*" "old_group")
787 '("const-gchar*" "new_group")
791 (define-method remove_group
792 (of-object "EmpathyContactList")
793 (c-name "empathy_contact_list_remove_group")
796 '("const-gchar*" "group")
802 ;; From empathy-contact-manager.h
804 (define-function empathy_contact_manager_get_type
805 (c-name "empathy_contact_manager_get_type")
806 (return-type "GType")
809 (define-function empathy_contact_manager_new
810 (c-name "empathy_contact_manager_new")
811 (is-constructor-of "EmpathyContactManager")
812 (return-type "EmpathyContactManager*")
815 (define-method get_list
816 (of-object "EmpathyContactManager")
817 (c-name "empathy_contact_manager_get_list")
818 (return-type "EmpathyTpContactList*")
820 '("McAccount*" "account")
826 ;; From empathy-debug.h
828 (define-function empathy_debug_impl
829 (c-name "empathy_debug_impl")
832 '("const-gchar*" "domain")
833 '("const-gchar*" "msg")
838 (define-function empathy_debug_set_log_file_from_env
839 (c-name "empathy_debug_set_log_file_from_env")
845 ;; From empathy-filter.h
847 (define-function empathy_filter_get_type
848 (c-name "empathy_filter_get_type")
849 (return-type "GType")
852 (define-function empathy_filter_new
853 (c-name "empathy_filter_new")
854 (is-constructor-of "EmpathyFilter")
855 (return-type "EmpathyFilter*")
857 '("const-gchar*" "bus_name")
858 '("const-gchar*" "object_path")
859 '("const-gchar*" "channel_type")
860 '("guint" "priority")
865 (define-method process
866 (of-object "EmpathyFilter")
867 (c-name "empathy_filter_process")
870 '("TpChan*" "tp_chan")
871 '("gboolean" "process")
877 ;; From empathy-idle.h
879 (define-function empathy_idle_get_type
880 (c-name "empathy_idle_get_type")
881 (return-type "GType")
884 (define-function empathy_idle_new
885 (c-name "empathy_idle_new")
886 (is-constructor-of "EmpathyIdle")
887 (return-type "EmpathyIdle*")
890 (define-method get_state
891 (of-object "EmpathyIdle")
892 (c-name "empathy_idle_get_state")
893 (return-type "McPresence")
896 (define-method set_state
897 (of-object "EmpathyIdle")
898 (c-name "empathy_idle_set_state")
901 '("McPresence" "state")
905 (define-method get_status
906 (of-object "EmpathyIdle")
907 (c-name "empathy_idle_get_status")
908 (return-type "const-gchar*")
911 (define-method set_status
912 (of-object "EmpathyIdle")
913 (c-name "empathy_idle_set_status")
916 '("const-gchar*" "status")
920 (define-method get_flash_state
921 (of-object "EmpathyIdle")
922 (c-name "empathy_idle_get_flash_state")
923 (return-type "McPresence")
926 (define-method set_flash_state
927 (of-object "EmpathyIdle")
928 (c-name "empathy_idle_set_flash_state")
931 '("McPresence" "state")
935 (define-method set_presence
936 (of-object "EmpathyIdle")
937 (c-name "empathy_idle_set_presence")
940 '("McPresence" "state")
941 '("const-gchar*" "status")
945 (define-method get_auto_away
946 (of-object "EmpathyIdle")
947 (c-name "empathy_idle_get_auto_away")
948 (return-type "gboolean")
951 (define-method set_auto_away
952 (of-object "EmpathyIdle")
953 (c-name "empathy_idle_set_auto_away")
956 '("gboolean" "auto_away")
960 (define-method get_use_nm
961 (of-object "EmpathyIdle")
962 (c-name "empathy_idle_get_use_nm")
963 (return-type "gboolean")
966 (define-method set_use_nm
967 (of-object "EmpathyIdle")
968 (c-name "empathy_idle_set_use_nm")
971 '("gboolean" "use_nm")
977 ;; From empathy-log-manager.h
979 (define-function empathy_log_manager_get_type
980 (c-name "empathy_log_manager_get_type")
981 (return-type "GType")
984 (define-function empathy_log_manager_new
985 (c-name "empathy_log_manager_new")
986 (is-constructor-of "EmpathyLogManager")
987 (return-type "EmpathyLogManager*")
990 (define-method add_message
991 (of-object "EmpathyLogManager")
992 (c-name "empathy_log_manager_add_message")
995 '("const-gchar*" "chat_id")
996 '("gboolean" "chatroom")
997 '("EmpathyMessage*" "message")
1001 (define-method exists
1002 (of-object "EmpathyLogManager")
1003 (c-name "empathy_log_manager_exists")
1004 (return-type "gboolean")
1006 '("McAccount*" "account")
1007 '("const-gchar*" "chat_id")
1008 '("gboolean" "chatroom")
1012 (define-method get_dates
1013 (of-object "EmpathyLogManager")
1014 (c-name "empathy_log_manager_get_dates")
1015 (return-type "GList*")
1017 '("McAccount*" "account")
1018 '("const-gchar*" "chat_id")
1019 '("gboolean" "chatroom")
1023 (define-method get_messages_for_file
1024 (of-object "EmpathyLogManager")
1025 (c-name "empathy_log_manager_get_messages_for_file")
1026 (return-type "GList*")
1028 '("const-gchar*" "filename")
1032 (define-method get_messages_for_date
1033 (of-object "EmpathyLogManager")
1034 (c-name "empathy_log_manager_get_messages_for_date")
1035 (return-type "GList*")
1037 '("McAccount*" "account")
1038 '("const-gchar*" "chat_id")
1039 '("gboolean" "chatroom")
1040 '("const-gchar*" "date")
1044 (define-method get_last_messages
1045 (of-object "EmpathyLogManager")
1046 (c-name "empathy_log_manager_get_last_messages")
1047 (return-type "GList*")
1049 '("McAccount*" "account")
1050 '("const-gchar*" "chat_id")
1051 '("gboolean" "chatroom")
1055 (define-method get_messages_for_file
1056 (of-object "EmpathyLogManager")
1057 (c-name "empathy_log_manager_get_messages_for_file")
1058 (return-type "GList*")
1060 '("const-gchar*" "filename")
1064 (define-method get_chats
1065 (of-object "EmpathyLogManager")
1066 (c-name "empathy_log_manager_get_chats")
1067 (return-type "GList*")
1069 '("McAccount*" "account")
1073 (define-method search_new
1074 (of-object "EmpathyLogManager")
1075 (c-name "empathy_log_manager_search_new")
1076 (return-type "GList*")
1078 '("const-gchar*" "text")
1082 (define-function empathy_log_manager_search_free
1083 (c-name "empathy_log_manager_search_free")
1084 (return-type "none")
1090 (define-function empathy_log_manager_get_date_readable
1091 (c-name "empathy_log_manager_get_date_readable")
1092 (return-type "gchar*")
1094 '("const-gchar*" "date")
1100 ;; From empathy-message.h
1102 (define-function empathy_message_get_gtype
1103 (c-name "empathy_message_get_gtype")
1104 (return-type "GType")
1107 (define-function empathy_message_new
1108 (c-name "empathy_message_new")
1109 (is-constructor-of "EmpathyMessage")
1110 (return-type "EmpathyMessage*")
1112 '("const-gchar*" "body")
1116 (define-method get_type
1117 (of-object "EmpathyMessage")
1118 (c-name "empathy_message_get_type")
1119 (return-type "EmpathyMessageType")
1122 (define-method set_type
1123 (of-object "EmpathyMessage")
1124 (c-name "empathy_message_set_type")
1125 (return-type "none")
1127 '("EmpathyMessageType" "type")
1131 (define-method get_sender
1132 (of-object "EmpathyMessage")
1133 (c-name "empathy_message_get_sender")
1134 (return-type "EmpathyContact*")
1137 (define-method set_sender
1138 (of-object "EmpathyMessage")
1139 (c-name "empathy_message_set_sender")
1140 (return-type "none")
1142 '("EmpathyContact*" "contact")
1146 (define-method get_receiver
1147 (of-object "EmpathyMessage")
1148 (c-name "empathy_message_get_receiver")
1149 (return-type "EmpathyContact*")
1152 (define-method set_receiver
1153 (of-object "EmpathyMessage")
1154 (c-name "empathy_message_set_receiver")
1155 (return-type "none")
1157 '("EmpathyContact*" "contact")
1161 (define-method get_body
1162 (of-object "EmpathyMessage")
1163 (c-name "empathy_message_get_body")
1164 (return-type "const-gchar*")
1167 (define-method set_body
1168 (of-object "EmpathyMessage")
1169 (c-name "empathy_message_set_body")
1170 (return-type "none")
1172 '("const-gchar*" "body")
1176 (define-method get_timestamp
1177 (of-object "EmpathyMessage")
1178 (c-name "empathy_message_get_timestamp")
1179 (return-type "time_t")
1182 (define-method set_timestamp
1183 (of-object "EmpathyMessage")
1184 (c-name "empathy_message_set_timestamp")
1185 (return-type "none")
1187 '("time_t" "timestamp")
1191 (define-method get_date_and_time
1192 (of-object "EmpathyMessage")
1193 (c-name "empathy_message_get_date_and_time")
1194 (return-type "GDate*")
1196 '("time_t*" "timestamp")
1200 (define-function empathy_message_type_from_str
1201 (c-name "empathy_message_type_from_str")
1202 (return-type "EmpathyMessageType")
1204 '("const-gchar*" "type_str")
1208 (define-method to_str
1209 (of-object "EmpathyMessageType")
1210 (c-name "empathy_message_type_to_str")
1211 (return-type "const-gchar*")
1216 ;; From empathy-status-presets.h
1218 (define-function empathy_status_presets_get_all
1219 (c-name "empathy_status_presets_get_all")
1220 (return-type "none")
1223 (define-function empathy_status_presets_get
1224 (c-name "empathy_status_presets_get")
1225 (return-type "GList*")
1227 '("McPresence" "state")
1228 '("gint" "max_number")
1232 (define-function empathy_status_presets_set_last
1233 (c-name "empathy_status_presets_set_last")
1234 (return-type "none")
1236 '("McPresence" "state")
1237 '("const-gchar*" "status")
1241 (define-function empathy_status_presets_remove
1242 (c-name "empathy_status_presets_remove")
1243 (return-type "none")
1245 '("McPresence" "state")
1246 '("const-gchar*" "status")
1250 (define-function empathy_status_presets_reset
1251 (c-name "empathy_status_presets_reset")
1252 (return-type "none")
1255 (define-function empathy_status_presets_get_default_state
1256 (c-name "empathy_status_presets_get_default_state")
1257 (return-type "McPresence")
1260 (define-function empathy_status_presets_get_default_status
1261 (c-name "empathy_status_presets_get_default_status")
1262 (return-type "const-gchar*")
1265 (define-function empathy_status_presets_set_default
1266 (c-name "empathy_status_presets_set_default")
1267 (return-type "none")
1269 '("McPresence" "state")
1270 '("const-gchar*" "status")
1274 (define-function empathy_status_presets_clear_default
1275 (c-name "empathy_status_presets_clear_default")
1276 (return-type "none")
1281 ;; From empathy-time.h
1283 (define-function empathy_time_get_current
1284 (c-name "empathy_time_get_current")
1285 (return-type "time_t")
1288 (define-function empathy_time_get_local_time
1289 (c-name "empathy_time_get_local_time")
1290 (return-type "time_t")
1292 '("struct-tm*" "tm")
1296 (define-function empathy_time_parse
1297 (c-name "empathy_time_parse")
1298 (return-type "time_t")
1300 '("const-gchar*" "str")
1304 (define-function empathy_time_to_string_utc
1305 (c-name "empathy_time_to_string_utc")
1306 (return-type "gchar*")
1309 '("const-gchar*" "format")
1313 (define-function empathy_time_to_string_local
1314 (c-name "empathy_time_to_string_local")
1315 (return-type "gchar*")
1318 '("const-gchar*" "format")
1324 ;; From empathy-tp-call.h
1326 (define-function empathy_tp_call_get_type
1327 (c-name "empathy_tp_call_get_type")
1328 (return-type "GType")
1331 (define-function empathy_tp_call_new
1332 (c-name "empathy_tp_call_new")
1333 (is-constructor-of "EmpathyTpCall")
1334 (return-type "EmpathyTpCall*")
1336 '("McAccount*" "account")
1337 '("TpChan*" "tp_chan")
1341 (define-method is_incoming
1342 (of-object "EmpathyTpCall")
1343 (c-name "empathy_tp_call_is_incoming")
1344 (return-type "gboolean")
1347 (define-method get_status
1348 (of-object "EmpathyTpCall")
1349 (c-name "empathy_tp_call_get_status")
1350 (return-type "EmpathyTpCallStatus")
1353 (define-method get_contact
1354 (of-object "EmpathyTpCall")
1355 (c-name "empathy_tp_call_get_contact")
1356 (return-type "EmpathyContact*")
1359 (define-method accept
1360 (of-object "EmpathyTpCall")
1361 (c-name "empathy_tp_call_accept")
1362 (return-type "none")
1365 (define-method invite
1366 (of-object "EmpathyTpCall")
1367 (c-name "empathy_tp_call_invite")
1368 (return-type "none")
1370 '("EmpathyContact*" "contact")
1374 (define-method request_streams
1375 (of-object "EmpathyTpCall")
1376 (c-name "empathy_tp_call_request_streams")
1377 (return-type "none")
1379 '("gboolean" "audio")
1380 '("gboolean" "video")
1384 (define-method send_video
1385 (of-object "EmpathyTpCall")
1386 (c-name "empathy_tp_call_send_video")
1387 (return-type "none")
1389 '("gboolean" "send")
1393 (define-method add_preview_window
1394 (of-object "EmpathyTpCall")
1395 (c-name "empathy_tp_call_add_preview_window")
1396 (return-type "none")
1398 '("guint" "socket_id")
1402 (define-method remove_preview_window
1403 (of-object "EmpathyTpCall")
1404 (c-name "empathy_tp_call_remove_preview_window")
1405 (return-type "none")
1407 '("guint" "socket_id")
1411 (define-method set_output_window
1412 (of-object "EmpathyTpCall")
1413 (c-name "empathy_tp_call_set_output_window")
1414 (return-type "none")
1416 '("guint" "socket_id")
1420 (define-method set_output_volume
1421 (of-object "EmpathyTpCall")
1422 (c-name "empathy_tp_call_set_output_volume")
1423 (return-type "none")
1429 (define-method mute_output
1430 (of-object "EmpathyTpCall")
1431 (c-name "empathy_tp_call_mute_output")
1432 (return-type "none")
1434 '("gboolean" "is_muted")
1438 (define-method mute_input
1439 (of-object "EmpathyTpCall")
1440 (c-name "empathy_tp_call_mute_input")
1441 (return-type "none")
1443 '("gboolean" "is_muted")
1449 ;; From empathy-tp-chat.h
1451 (define-function empathy_tp_chat_get_type
1452 (c-name "empathy_tp_chat_get_type")
1453 (return-type "GType")
1456 (define-function empathy_tp_chat_new
1457 (c-name "empathy_tp_chat_new")
1458 (is-constructor-of "EmpathyTpChat")
1459 (return-type "EmpathyTpChat*")
1461 '("McAccount*" "account")
1462 '("TpChan*" "tp_chan")
1466 (define-function empathy_tp_chat_new_with_contact
1467 (c-name "empathy_tp_chat_new_with_contact")
1468 (return-type "EmpathyTpChat*")
1470 '("EmpathyContact*" "contact")
1474 (define-method get_acknowledge
1475 (of-object "EmpathyTpChat")
1476 (c-name "empathy_tp_chat_get_acknowledge")
1477 (return-type "gboolean")
1480 (define-method set_acknowledge
1481 (of-object "EmpathyTpChat")
1482 (c-name "empathy_tp_chat_set_acknowledge")
1483 (return-type "none")
1485 '("gboolean" "acknowledge")
1489 (define-method get_account
1490 (of-object "EmpathyTpChat")
1491 (c-name "empathy_tp_chat_get_account")
1492 (return-type "McAccount*")
1495 (define-method get_channel
1496 (of-object "EmpathyTpChat")
1497 (c-name "empathy_tp_chat_get_channel")
1498 (return-type "TpChan*")
1501 (define-method get_pendings
1502 (of-object "EmpathyTpChat")
1503 (c-name "empathy_tp_chat_get_pendings")
1504 (return-type "GList*")
1508 (of-object "EmpathyTpChat")
1509 (c-name "empathy_tp_chat_send")
1510 (return-type "none")
1512 '("EmpathyMessage*" "message")
1516 (define-method set_state
1517 (of-object "EmpathyTpChat")
1518 (c-name "empathy_tp_chat_set_state")
1519 (return-type "none")
1521 '("TpChannelChatState" "state")
1525 (define-method get_id
1526 (of-object "EmpathyTpChat")
1527 (c-name "empathy_tp_chat_get_id")
1528 (return-type "const-gchar*")
1533 ;; From empathy-tp-chatroom.h
1535 (define-function empathy_tp_chatroom_get_type
1536 (c-name "empathy_tp_chatroom_get_type")
1537 (return-type "GType")
1540 (define-function empathy_tp_chatroom_new
1541 (c-name "empathy_tp_chatroom_new")
1542 (is-constructor-of "EmpathyTpChatroom")
1543 (return-type "EmpathyTpChatroom*")
1545 '("McAccount*" "account")
1546 '("TpChan*" "tp_chan")
1550 (define-method get_invitation
1551 (of-object "EmpathyTpChatroom")
1552 (c-name "empathy_tp_chatroom_get_invitation")
1553 (return-type "gboolean")
1555 '("EmpathyContact**" "contact")
1556 '("const-gchar**" "message")
1560 (define-method accept_invitation
1561 (of-object "EmpathyTpChatroom")
1562 (c-name "empathy_tp_chatroom_accept_invitation")
1563 (return-type "none")
1566 (define-method set_topic
1567 (of-object "EmpathyTpChatroom")
1568 (c-name "empathy_tp_chatroom_set_topic")
1569 (return-type "none")
1571 '("const-gchar*" "topic")
1577 ;; From empathy-tp-contact-factory.h
1579 (define-function empathy_tp_contact_factory_get_type
1580 (c-name "empathy_tp_contact_factory_get_type")
1581 (return-type "GType")
1584 (define-function empathy_tp_contact_factory_new
1585 (c-name "empathy_tp_contact_factory_new")
1586 (is-constructor-of "EmpathyTpContactFactory")
1587 (return-type "EmpathyTpContactFactory*")
1589 '("McAccount*" "account")
1593 (define-method get_user
1594 (of-object "EmpathyTpContactFactory")
1595 (c-name "empathy_tp_contact_factory_get_user")
1596 (return-type "EmpathyContact*")
1599 (define-method get_from_id
1600 (of-object "EmpathyTpContactFactory")
1601 (c-name "empathy_tp_contact_factory_get_from_id")
1602 (return-type "EmpathyContact*")
1604 '("const-gchar*" "id")
1608 (define-method get_from_handle
1609 (of-object "EmpathyTpContactFactory")
1610 (c-name "empathy_tp_contact_factory_get_from_handle")
1611 (return-type "EmpathyContact*")
1617 (define-method get_from_handles
1618 (of-object "EmpathyTpContactFactory")
1619 (c-name "empathy_tp_contact_factory_get_from_handles")
1620 (return-type "GList*")
1622 '("GArray*" "handles")
1626 (define-method set_alias
1627 (of-object "EmpathyTpContactFactory")
1628 (c-name "empathy_tp_contact_factory_set_alias")
1629 (return-type "none")
1631 '("EmpathyContact*" "contact")
1632 '("const-gchar*" "alias")
1636 (define-method set_avatar
1637 (of-object "EmpathyTpContactFactory")
1638 (c-name "empathy_tp_contact_factory_set_avatar")
1639 (return-type "none")
1641 '("const-gchar*" "data")
1643 '("const-gchar*" "mime_type")
1649 ;; From empathy-tp-contact-list.h
1651 (define-function empathy_tp_contact_list_get_type
1652 (c-name "empathy_tp_contact_list_get_type")
1653 (return-type "GType")
1656 (define-function empathy_tp_contact_list_new
1657 (c-name "empathy_tp_contact_list_new")
1658 (is-constructor-of "EmpathyTpContactList")
1659 (return-type "EmpathyTpContactList*")
1661 '("McAccount*" "account")
1665 (define-method get_account
1666 (of-object "EmpathyTpContactList")
1667 (c-name "empathy_tp_contact_list_get_account")
1668 (return-type "McAccount*")
1673 ;; From empathy-tp-group.h
1675 (define-function empathy_tp_group_get_type
1676 (c-name "empathy_tp_group_get_type")
1677 (return-type "GType")
1680 (define-function empathy_tp_group_new
1681 (c-name "empathy_tp_group_new")
1682 (is-constructor-of "EmpathyTpGroup")
1683 (return-type "EmpathyTpGroup*")
1685 '("McAccount*" "account")
1686 '("TpChan*" "tp_chan")
1690 (define-method close
1691 (of-object "EmpathyTpGroup")
1692 (c-name "empathy_tp_group_close")
1693 (return-type "none")
1696 (define-method add_members
1697 (of-object "EmpathyTpGroup")
1698 (c-name "empathy_tp_group_add_members")
1699 (return-type "none")
1701 '("GList*" "contacts")
1702 '("const-gchar*" "message")
1706 (define-method add_member
1707 (of-object "EmpathyTpGroup")
1708 (c-name "empathy_tp_group_add_member")
1709 (return-type "none")
1711 '("EmpathyContact*" "contact")
1712 '("const-gchar*" "message")
1716 (define-method remove_members
1717 (of-object "EmpathyTpGroup")
1718 (c-name "empathy_tp_group_remove_members")
1719 (return-type "none")
1721 '("GList*" "contacts")
1722 '("const-gchar*" "message")
1726 (define-method remove_member
1727 (of-object "EmpathyTpGroup")
1728 (c-name "empathy_tp_group_remove_member")
1729 (return-type "none")
1731 '("EmpathyContact*" "contact")
1732 '("const-gchar*" "message")
1736 (define-method get_members
1737 (of-object "EmpathyTpGroup")
1738 (c-name "empathy_tp_group_get_members")
1739 (return-type "GList*")
1742 (define-method get_local_pendings
1743 (of-object "EmpathyTpGroup")
1744 (c-name "empathy_tp_group_get_local_pendings")
1745 (return-type "GList*")
1748 (define-method get_remote_pendings
1749 (of-object "EmpathyTpGroup")
1750 (c-name "empathy_tp_group_get_remote_pendings")
1751 (return-type "GList*")
1754 (define-method get_name
1755 (of-object "EmpathyTpGroup")
1756 (c-name "empathy_tp_group_get_name")
1757 (return-type "const-gchar*")
1760 (define-method get_self_contact
1761 (of-object "EmpathyTpGroup")
1762 (c-name "empathy_tp_group_get_self_contact")
1763 (return-type "EmpathyContact*")
1766 (define-method get_object_path
1767 (of-object "EmpathyTpGroup")
1768 (c-name "empathy_tp_group_get_object_path")
1769 (return-type "const-gchar*")
1772 (define-method is_member
1773 (of-object "EmpathyTpGroup")
1774 (c-name "empathy_tp_group_is_member")
1775 (return-type "gboolean")
1777 '("EmpathyContact*" "contact")
1781 (define-function empathy_pending_info_new
1782 (c-name "empathy_pending_info_new")
1783 (is-constructor-of "EmpathyPendingInfo")
1784 (return-type "EmpathyPendingInfo*")
1786 '("EmpathyContact*" "member")
1787 '("EmpathyContact*" "actor")
1788 '("const-gchar*" "message")
1793 (of-object "EmpathyPendingInfo")
1794 (c-name "empathy_pending_info_free")
1795 (return-type "none")
1800 ;; From empathy-tp-roomlist.h
1802 (define-function empathy_tp_roomlist_get_type
1803 (c-name "empathy_tp_roomlist_get_type")
1804 (return-type "GType")
1807 (define-function empathy_tp_roomlist_new
1808 (c-name "empathy_tp_roomlist_new")
1809 (is-constructor-of "EmpathyTpRoomlist")
1810 (return-type "EmpathyTpRoomlist*")
1812 '("McAccount*" "account")
1816 (define-method is_listing
1817 (of-object "EmpathyTpRoomlist")
1818 (c-name "empathy_tp_roomlist_is_listing")
1819 (return-type "gboolean")
1822 (define-method start
1823 (of-object "EmpathyTpRoomlist")
1824 (c-name "empathy_tp_roomlist_start")
1825 (return-type "none")
1829 (of-object "EmpathyTpRoomlist")
1830 (c-name "empathy_tp_roomlist_stop")
1831 (return-type "none")
1836 ;; From empathy-utils.h
1838 (define-function empathy_substring
1839 (c-name "empathy_substring")
1840 (return-type "gchar*")
1842 '("const-gchar*" "str")
1848 (define-function empathy_regex_match
1849 (c-name "empathy_regex_match")
1850 (return-type "gint")
1852 '("EmpathyRegExType" "type")
1853 '("const-gchar*" "msg")
1854 '("GArray*" "start")
1859 (define-function empathy_strcasecmp
1860 (c-name "empathy_strcasecmp")
1861 (return-type "gint")
1863 '("const-gchar*" "s1")
1864 '("const-gchar*" "s2")
1868 (define-function empathy_strncasecmp
1869 (c-name "empathy_strncasecmp")
1870 (return-type "gint")
1872 '("const-gchar*" "s1")
1873 '("const-gchar*" "s2")
1878 (define-function empathy_xml_validate
1879 (c-name "empathy_xml_validate")
1880 (return-type "gboolean")
1883 '("const-gchar*" "dtd_filename")
1887 (define-function empathy_xml_node_get_child
1888 (c-name "empathy_xml_node_get_child")
1889 (return-type "xmlNodePtr")
1891 '("xmlNodePtr" "node")
1892 '("const-gchar*" "child_name")
1896 (define-function empathy_xml_node_get_child_content
1897 (c-name "empathy_xml_node_get_child_content")
1898 (return-type "xmlChar*")
1900 '("xmlNodePtr" "node")
1901 '("const-gchar*" "child_name")
1905 (define-function empathy_xml_node_find_child_prop_value
1906 (c-name "empathy_xml_node_find_child_prop_value")
1907 (return-type "xmlNodePtr")
1909 '("xmlNodePtr" "node")
1910 '("const-gchar*" "prop_name")
1911 '("const-gchar*" "prop_value")
1915 (define-function empathy_account_hash
1916 (c-name "empathy_account_hash")
1917 (return-type "guint")
1919 '("gconstpointer" "key")
1923 (define-function empathy_account_equal
1924 (c-name "empathy_account_equal")
1925 (return-type "gboolean")
1927 '("gconstpointer" "a")
1928 '("gconstpointer" "b")
1932 (define-function empathy_mission_control_new
1933 (c-name "empathy_mission_control_new")
1934 (is-constructor-of "EmpathyMissionControl")
1935 (return-type "MissionControl*")
1938 (define-function empathy_inspect_handle
1939 (c-name "empathy_inspect_handle")
1940 (return-type "gchar*")
1942 '("McAccount*" "account")
1944 '("guint" "handle_type")
1948 (define-function empathy_inspect_channel
1949 (c-name "empathy_inspect_channel")
1950 (return-type "gchar*")
1952 '("McAccount*" "account")
1953 '("TpChan*" "tp_chan")
1957 (define-function empathy_call_contact
1958 (c-name "empathy_call_contact")
1959 (return-type "none")
1961 '("EmpathyContact*" "contact")
1965 (define-function empathy_chat_with_contact
1966 (c-name "empathy_chat_with_contact")
1967 (return-type "none")
1969 '("EmpathyContact*" "contact")
1973 (define-function empathy_chat_with_contact_id
1974 (c-name "empathy_chat_with_contact_id")
1975 (return-type "none")
1977 '("McAccount*" "account")
1978 '("const-gchar*" "contact_id")
1982 (define-function empathy_presence_get_default_message
1983 (c-name "empathy_presence_get_default_message")
1984 (return-type "const-gchar*")
1986 '("McPresence" "presence")
1990 (define-function empathy_presence_to_str
1991 (c-name "empathy_presence_to_str")
1992 (return-type "const-gchar*")
1994 '("McPresence" "presence")
1998 (define-function empathy_presence_from_str
1999 (c-name "empathy_presence_from_str")
2000 (return-type "McPresence")
2002 '("const-gchar*" "str")
2008 ;; From tp-stream-engine-gen.h
2010 (define-function dbus_g_proxy_begin_call
2011 (c-name "dbus_g_proxy_begin_call")
2012 (return-type "return")
2017 (define-function dbus_g_proxy_begin_call
2018 (c-name "dbus_g_proxy_begin_call")
2019 (return-type "return")
2024 (define-function dbus_g_proxy_begin_call
2025 (c-name "dbus_g_proxy_begin_call")
2026 (return-type "return")
2031 (define-function dbus_g_proxy_begin_call
2032 (c-name "dbus_g_proxy_begin_call")
2033 (return-type "return")
2038 (define-function dbus_g_proxy_begin_call
2039 (c-name "dbus_g_proxy_begin_call")
2040 (return-type "return")
2045 (define-function dbus_g_proxy_begin_call
2046 (c-name "dbus_g_proxy_begin_call")
2047 (return-type "return")
2052 (define-function dbus_g_proxy_begin_call
2053 (c-name "dbus_g_proxy_begin_call")
2054 (return-type "return")
2059 (define-function dbus_g_proxy_begin_call
2060 (c-name "dbus_g_proxy_begin_call")
2061 (return-type "return")