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 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
162 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
163 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
164 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
168 (define-enum RegExType
169 (in-module "Empathy")
170 (c-name "EmpathyRegExType")
171 (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
173 '("as-is" "EMPATHY_REGEX_AS_IS")
174 '("browser" "EMPATHY_REGEX_BROWSER")
175 '("email" "EMPATHY_REGEX_EMAIL")
176 '("other" "EMPATHY_REGEX_OTHER")
177 '("all" "EMPATHY_REGEX_ALL")
182 ;; From empathy-avatar.h
184 (define-function empathy_avatar_get_type
185 (c-name "empathy_avatar_get_type")
186 (return-type "GType")
189 (define-function empathy_avatar_new
190 (c-name "empathy_avatar_new")
191 (is-constructor-of "EmpathyAvatar")
192 (return-type "EmpathyAvatar*")
194 '("const-guchar*" "avatar")
195 '("const-gsize" "len")
196 '("const-gchar*" "format")
197 '("const-gchar*" "token")
201 (define-function empathy_avatar_new_from_cache
202 (c-name "empathy_avatar_new_from_cache")
203 (return-type "EmpathyAvatar*")
205 '("const-gchar*" "token")
210 (of-object "EmpathyAvatar")
211 (c-name "empathy_avatar_ref")
212 (return-type "EmpathyAvatar*")
216 (of-object "EmpathyAvatar")
217 (c-name "empathy_avatar_unref")
223 ;; From empathy-chandler.h
225 (define-function empathy_chandler_get_type
226 (c-name "empathy_chandler_get_type")
227 (return-type "GType")
230 (define-function empathy_chandler_new
231 (c-name "empathy_chandler_new")
232 (is-constructor-of "EmpathyChandler")
233 (return-type "EmpathyChandler*")
235 '("const-gchar*" "bus_name")
236 '("const-gchar*" "object_path")
242 ;; From empathy-chatroom.h
244 (define-function empathy_chatroom_get_type
245 (c-name "empathy_chatroom_get_type")
246 (return-type "GType")
249 (define-function empathy_chatroom_new
250 (c-name "empathy_chatroom_new")
251 (is-constructor-of "EmpathyChatroom")
252 (return-type "EmpathyChatroom*")
254 '("McAccount*" "account")
255 '("const-gchar*" "room")
259 (define-function empathy_chatroom_new_full
260 (c-name "empathy_chatroom_new_full")
261 (return-type "EmpathyChatroom*")
263 '("McAccount*" "account")
264 '("const-gchar*" "room")
265 '("const-gchar*" "name")
266 '("gboolean" "auto_connect")
270 (define-method get_account
271 (of-object "EmpathyChatroom")
272 (c-name "empathy_chatroom_get_account")
273 (return-type "McAccount*")
276 (define-method set_account
277 (of-object "EmpathyChatroom")
278 (c-name "empathy_chatroom_set_account")
281 '("McAccount*" "account")
285 (define-method get_room
286 (of-object "EmpathyChatroom")
287 (c-name "empathy_chatroom_get_room")
288 (return-type "const-gchar*")
291 (define-method set_room
292 (of-object "EmpathyChatroom")
293 (c-name "empathy_chatroom_set_room")
296 '("const-gchar*" "room")
300 (define-method get_name
301 (of-object "EmpathyChatroom")
302 (c-name "empathy_chatroom_get_name")
303 (return-type "const-gchar*")
306 (define-method set_name
307 (of-object "EmpathyChatroom")
308 (c-name "empathy_chatroom_set_name")
311 '("const-gchar*" "name")
315 (define-method get_auto_connect
316 (of-object "EmpathyChatroom")
317 (c-name "empathy_chatroom_get_auto_connect")
318 (return-type "gboolean")
321 (define-method set_auto_connect
322 (of-object "EmpathyChatroom")
323 (c-name "empathy_chatroom_set_auto_connect")
326 '("gboolean" "auto_connect")
330 (define-function empathy_chatroom_equal
331 (c-name "empathy_chatroom_equal")
332 (return-type "gboolean")
334 '("gconstpointer" "v1")
335 '("gconstpointer" "v2")
341 ;; From empathy-chatroom-manager.h
343 (define-function empathy_chatroom_manager_get_type
344 (c-name "empathy_chatroom_manager_get_type")
345 (return-type "GType")
348 (define-function empathy_chatroom_manager_new
349 (c-name "empathy_chatroom_manager_new")
350 (is-constructor-of "EmpathyChatroomManager")
351 (return-type "EmpathyChatroomManager*")
355 (of-object "EmpathyChatroomManager")
356 (c-name "empathy_chatroom_manager_add")
357 (return-type "gboolean")
359 '("EmpathyChatroom*" "chatroom")
363 (define-method remove
364 (of-object "EmpathyChatroomManager")
365 (c-name "empathy_chatroom_manager_remove")
368 '("EmpathyChatroom*" "chatroom")
373 (of-object "EmpathyChatroomManager")
374 (c-name "empathy_chatroom_manager_find")
375 (return-type "EmpathyChatroom*")
377 '("McAccount*" "account")
378 '("const-gchar*" "room")
382 (define-method get_chatrooms
383 (of-object "EmpathyChatroomManager")
384 (c-name "empathy_chatroom_manager_get_chatrooms")
385 (return-type "GList*")
387 '("McAccount*" "account")
391 (define-method get_count
392 (of-object "EmpathyChatroomManager")
393 (c-name "empathy_chatroom_manager_get_count")
394 (return-type "guint")
396 '("McAccount*" "account")
401 (of-object "EmpathyChatroomManager")
402 (c-name "empathy_chatroom_manager_store")
408 ;; From empathy-contact-factory.h
410 (define-function empathy_contact_factory_get_type
411 (c-name "empathy_contact_factory_get_type")
412 (return-type "GType")
415 (define-function empathy_contact_factory_new
416 (c-name "empathy_contact_factory_new")
417 (is-constructor-of "EmpathyContactFactory")
418 (return-type "EmpathyContactFactory*")
421 (define-method get_user
422 (of-object "EmpathyContactFactory")
423 (c-name "empathy_contact_factory_get_user")
424 (return-type "EmpathyContact*")
426 '("McAccount*" "account")
430 (define-method get_from_id
431 (of-object "EmpathyContactFactory")
432 (c-name "empathy_contact_factory_get_from_id")
433 (return-type "EmpathyContact*")
435 '("McAccount*" "account")
436 '("const-gchar*" "id")
440 (define-method get_from_handle
441 (of-object "EmpathyContactFactory")
442 (c-name "empathy_contact_factory_get_from_handle")
443 (return-type "EmpathyContact*")
445 '("McAccount*" "account")
450 (define-method get_from_handles
451 (of-object "EmpathyContactFactory")
452 (c-name "empathy_contact_factory_get_from_handles")
453 (return-type "GList*")
455 '("McAccount*" "account")
456 '("GArray*" "handles")
460 (define-method set_alias
461 (of-object "EmpathyContactFactory")
462 (c-name "empathy_contact_factory_set_alias")
465 '("EmpathyContact*" "contact")
466 '("const-gchar*" "alias")
470 (define-method set_avatar
471 (of-object "EmpathyContactFactory")
472 (c-name "empathy_contact_factory_set_avatar")
475 '("McAccount*" "account")
476 '("const-gchar*" "data")
478 '("const-gchar*" "mime_type")
484 ;; From empathy-contact-groups.h
486 (define-function empathy_contact_groups_get_all
487 (c-name "empathy_contact_groups_get_all")
491 (define-function empathy_contact_group_get_expanded
492 (c-name "empathy_contact_group_get_expanded")
493 (return-type "gboolean")
495 '("const-gchar*" "group")
499 (define-function empathy_contact_group_set_expanded
500 (c-name "empathy_contact_group_set_expanded")
503 '("const-gchar*" "group")
504 '("gboolean" "expanded")
510 ;; From empathy-contact.h
512 (define-function empathy_contact_get_type
513 (c-name "empathy_contact_get_type")
514 (return-type "GType")
517 (define-function empathy_contact_new
518 (c-name "empathy_contact_new")
519 (is-constructor-of "EmpathyContact")
520 (return-type "EmpathyContact*")
522 '("McAccount*" "account")
526 (define-function empathy_contact_new_full
527 (c-name "empathy_contact_new_full")
528 (return-type "EmpathyContact*")
530 '("McAccount*" "account")
531 '("const-gchar*" "id")
532 '("const-gchar*" "name")
536 (define-method get_id
537 (of-object "EmpathyContact")
538 (c-name "empathy_contact_get_id")
539 (return-type "const-gchar*")
542 (define-method set_id
543 (of-object "EmpathyContact")
544 (c-name "empathy_contact_set_id")
547 '("const-gchar*" "id")
551 (define-method get_name
552 (of-object "EmpathyContact")
553 (c-name "empathy_contact_get_name")
554 (return-type "const-gchar*")
557 (define-method set_name
558 (of-object "EmpathyContact")
559 (c-name "empathy_contact_set_name")
562 '("const-gchar*" "name")
566 (define-method get_avatar
567 (of-object "EmpathyContact")
568 (c-name "empathy_contact_get_avatar")
569 (return-type "EmpathyAvatar*")
572 (define-method set_avatar
573 (of-object "EmpathyContact")
574 (c-name "empathy_contact_set_avatar")
577 '("EmpathyAvatar*" "avatar")
581 (define-method get_account
582 (of-object "EmpathyContact")
583 (c-name "empathy_contact_get_account")
584 (return-type "McAccount*")
587 (define-method set_account
588 (of-object "EmpathyContact")
589 (c-name "empathy_contact_set_account")
592 '("McAccount*" "account")
596 (define-method get_presence
597 (of-object "EmpathyContact")
598 (c-name "empathy_contact_get_presence")
599 (return-type "McPresence")
602 (define-method set_presence
603 (of-object "EmpathyContact")
604 (c-name "empathy_contact_set_presence")
607 '("McPresence" "presence")
611 (define-method get_presence_message
612 (of-object "EmpathyContact")
613 (c-name "empathy_contact_get_presence_message")
614 (return-type "const-gchar*")
617 (define-method set_presence_message
618 (of-object "EmpathyContact")
619 (c-name "empathy_contact_set_presence_message")
622 '("const-gchar*" "message")
626 (define-method get_handle
627 (of-object "EmpathyContact")
628 (c-name "empathy_contact_get_handle")
629 (return-type "guint")
632 (define-method set_handle
633 (of-object "EmpathyContact")
634 (c-name "empathy_contact_set_handle")
641 (define-method get_capabilities
642 (of-object "EmpathyContact")
643 (c-name "empathy_contact_get_capabilities")
644 (return-type "EmpathyCapabilities")
647 (define-method set_capabilities
648 (of-object "EmpathyContact")
649 (c-name "empathy_contact_set_capabilities")
652 '("EmpathyCapabilities" "capabilities")
656 (define-method is_user
657 (of-object "EmpathyContact")
658 (c-name "empathy_contact_is_user")
659 (return-type "gboolean")
662 (define-method set_is_user
663 (of-object "EmpathyContact")
664 (c-name "empathy_contact_set_is_user")
667 '("gboolean" "is_user")
671 (define-method is_online
672 (of-object "EmpathyContact")
673 (c-name "empathy_contact_is_online")
674 (return-type "gboolean")
677 (define-method get_status
678 (of-object "EmpathyContact")
679 (c-name "empathy_contact_get_status")
680 (return-type "const-gchar*")
683 (define-method can_voip
684 (of-object "EmpathyContact")
685 (c-name "empathy_contact_can_voip")
686 (return-type "gboolean")
689 (define-function empathy_contact_equal
690 (c-name "empathy_contact_equal")
691 (return-type "gboolean")
693 '("gconstpointer" "v1")
694 '("gconstpointer" "v2")
698 (define-function empathy_contact_hash
699 (c-name "empathy_contact_hash")
700 (return-type "guint")
702 '("gconstpointer" "key")
708 ;; From empathy-contact-list.h
710 (define-function empathy_contact_list_get_type
711 (c-name "empathy_contact_list_get_type")
712 (return-type "GType")
716 (of-object "EmpathyContactList")
717 (c-name "empathy_contact_list_add")
720 '("EmpathyContact*" "contact")
721 '("const-gchar*" "message")
725 (define-method remove
726 (of-object "EmpathyContactList")
727 (c-name "empathy_contact_list_remove")
730 '("EmpathyContact*" "contact")
731 '("const-gchar*" "message")
735 (define-method get_members
736 (of-object "EmpathyContactList")
737 (c-name "empathy_contact_list_get_members")
738 (return-type "GList*")
741 (define-method get_pendings
742 (of-object "EmpathyContactList")
743 (c-name "empathy_contact_list_get_pendings")
744 (return-type "GList*")
747 (define-method get_all_groups
748 (of-object "EmpathyContactList")
749 (c-name "empathy_contact_list_get_all_groups")
750 (return-type "GList*")
753 (define-method get_groups
754 (of-object "EmpathyContactList")
755 (c-name "empathy_contact_list_get_groups")
756 (return-type "GList*")
758 '("EmpathyContact*" "contact")
762 (define-method add_to_group
763 (of-object "EmpathyContactList")
764 (c-name "empathy_contact_list_add_to_group")
767 '("EmpathyContact*" "contact")
768 '("const-gchar*" "group")
772 (define-method remove_from_group
773 (of-object "EmpathyContactList")
774 (c-name "empathy_contact_list_remove_from_group")
777 '("EmpathyContact*" "contact")
778 '("const-gchar*" "group")
782 (define-method rename_group
783 (of-object "EmpathyContactList")
784 (c-name "empathy_contact_list_rename_group")
787 '("const-gchar*" "old_group")
788 '("const-gchar*" "new_group")
792 (define-method remove_group
793 (of-object "EmpathyContactList")
794 (c-name "empathy_contact_list_remove_group")
797 '("const-gchar*" "group")
803 ;; From empathy-contact-manager.h
805 (define-function empathy_contact_manager_get_type
806 (c-name "empathy_contact_manager_get_type")
807 (return-type "GType")
810 (define-function empathy_contact_manager_new
811 (c-name "empathy_contact_manager_new")
812 (is-constructor-of "EmpathyContactManager")
813 (return-type "EmpathyContactManager*")
816 (define-method get_list
817 (of-object "EmpathyContactManager")
818 (c-name "empathy_contact_manager_get_list")
819 (return-type "EmpathyTpContactList*")
821 '("McAccount*" "account")
827 ;; From empathy-debug.h
829 (define-function empathy_debug_impl
830 (c-name "empathy_debug_impl")
833 '("const-gchar*" "domain")
834 '("const-gchar*" "msg")
839 (define-function empathy_debug_set_log_file_from_env
840 (c-name "empathy_debug_set_log_file_from_env")
846 ;; From empathy-filter.h
848 (define-function empathy_filter_get_type
849 (c-name "empathy_filter_get_type")
850 (return-type "GType")
853 (define-function empathy_filter_new
854 (c-name "empathy_filter_new")
855 (is-constructor-of "EmpathyFilter")
856 (return-type "EmpathyFilter*")
858 '("const-gchar*" "bus_name")
859 '("const-gchar*" "object_path")
860 '("const-gchar*" "channel_type")
861 '("guint" "priority")
866 (define-method process
867 (of-object "EmpathyFilter")
868 (c-name "empathy_filter_process")
871 '("TpChan*" "tp_chan")
872 '("gboolean" "process")
878 ;; From empathy-idle.h
880 (define-function empathy_idle_get_type
881 (c-name "empathy_idle_get_type")
882 (return-type "GType")
885 (define-function empathy_idle_new
886 (c-name "empathy_idle_new")
887 (is-constructor-of "EmpathyIdle")
888 (return-type "EmpathyIdle*")
891 (define-method get_state
892 (of-object "EmpathyIdle")
893 (c-name "empathy_idle_get_state")
894 (return-type "McPresence")
897 (define-method set_state
898 (of-object "EmpathyIdle")
899 (c-name "empathy_idle_set_state")
902 '("McPresence" "state")
906 (define-method get_status
907 (of-object "EmpathyIdle")
908 (c-name "empathy_idle_get_status")
909 (return-type "const-gchar*")
912 (define-method set_status
913 (of-object "EmpathyIdle")
914 (c-name "empathy_idle_set_status")
917 '("const-gchar*" "status")
921 (define-method get_flash_state
922 (of-object "EmpathyIdle")
923 (c-name "empathy_idle_get_flash_state")
924 (return-type "McPresence")
927 (define-method set_flash_state
928 (of-object "EmpathyIdle")
929 (c-name "empathy_idle_set_flash_state")
932 '("McPresence" "state")
936 (define-method set_presence
937 (of-object "EmpathyIdle")
938 (c-name "empathy_idle_set_presence")
941 '("McPresence" "state")
942 '("const-gchar*" "status")
946 (define-method get_auto_away
947 (of-object "EmpathyIdle")
948 (c-name "empathy_idle_get_auto_away")
949 (return-type "gboolean")
952 (define-method set_auto_away
953 (of-object "EmpathyIdle")
954 (c-name "empathy_idle_set_auto_away")
957 '("gboolean" "auto_away")
961 (define-method get_use_nm
962 (of-object "EmpathyIdle")
963 (c-name "empathy_idle_get_use_nm")
964 (return-type "gboolean")
967 (define-method set_use_nm
968 (of-object "EmpathyIdle")
969 (c-name "empathy_idle_set_use_nm")
972 '("gboolean" "use_nm")
978 ;; From empathy-log-manager.h
980 (define-function empathy_log_manager_get_type
981 (c-name "empathy_log_manager_get_type")
982 (return-type "GType")
985 (define-function empathy_log_manager_new
986 (c-name "empathy_log_manager_new")
987 (is-constructor-of "EmpathyLogManager")
988 (return-type "EmpathyLogManager*")
991 (define-method add_message
992 (of-object "EmpathyLogManager")
993 (c-name "empathy_log_manager_add_message")
996 '("const-gchar*" "chat_id")
997 '("gboolean" "chatroom")
998 '("EmpathyMessage*" "message")
1002 (define-method exists
1003 (of-object "EmpathyLogManager")
1004 (c-name "empathy_log_manager_exists")
1005 (return-type "gboolean")
1007 '("McAccount*" "account")
1008 '("const-gchar*" "chat_id")
1009 '("gboolean" "chatroom")
1013 (define-method get_dates
1014 (of-object "EmpathyLogManager")
1015 (c-name "empathy_log_manager_get_dates")
1016 (return-type "GList*")
1018 '("McAccount*" "account")
1019 '("const-gchar*" "chat_id")
1020 '("gboolean" "chatroom")
1024 (define-method get_messages_for_file
1025 (of-object "EmpathyLogManager")
1026 (c-name "empathy_log_manager_get_messages_for_file")
1027 (return-type "GList*")
1029 '("const-gchar*" "filename")
1033 (define-method get_messages_for_date
1034 (of-object "EmpathyLogManager")
1035 (c-name "empathy_log_manager_get_messages_for_date")
1036 (return-type "GList*")
1038 '("McAccount*" "account")
1039 '("const-gchar*" "chat_id")
1040 '("gboolean" "chatroom")
1041 '("const-gchar*" "date")
1045 (define-method get_last_messages
1046 (of-object "EmpathyLogManager")
1047 (c-name "empathy_log_manager_get_last_messages")
1048 (return-type "GList*")
1050 '("McAccount*" "account")
1051 '("const-gchar*" "chat_id")
1052 '("gboolean" "chatroom")
1056 (define-method get_messages_for_file
1057 (of-object "EmpathyLogManager")
1058 (c-name "empathy_log_manager_get_messages_for_file")
1059 (return-type "GList*")
1061 '("const-gchar*" "filename")
1065 (define-method get_chats
1066 (of-object "EmpathyLogManager")
1067 (c-name "empathy_log_manager_get_chats")
1068 (return-type "GList*")
1070 '("McAccount*" "account")
1074 (define-method search_new
1075 (of-object "EmpathyLogManager")
1076 (c-name "empathy_log_manager_search_new")
1077 (return-type "GList*")
1079 '("const-gchar*" "text")
1083 (define-function empathy_log_manager_search_free
1084 (c-name "empathy_log_manager_search_free")
1085 (return-type "none")
1091 (define-function empathy_log_manager_get_date_readable
1092 (c-name "empathy_log_manager_get_date_readable")
1093 (return-type "gchar*")
1095 '("const-gchar*" "date")
1101 ;; From empathy-message.h
1103 (define-function empathy_message_get_gtype
1104 (c-name "empathy_message_get_gtype")
1105 (return-type "GType")
1108 (define-function empathy_message_new
1109 (c-name "empathy_message_new")
1110 (is-constructor-of "EmpathyMessage")
1111 (return-type "EmpathyMessage*")
1113 '("const-gchar*" "body")
1117 (define-method get_type
1118 (of-object "EmpathyMessage")
1119 (c-name "empathy_message_get_type")
1120 (return-type "EmpathyMessageType")
1123 (define-method set_type
1124 (of-object "EmpathyMessage")
1125 (c-name "empathy_message_set_type")
1126 (return-type "none")
1128 '("EmpathyMessageType" "type")
1132 (define-method get_sender
1133 (of-object "EmpathyMessage")
1134 (c-name "empathy_message_get_sender")
1135 (return-type "EmpathyContact*")
1138 (define-method set_sender
1139 (of-object "EmpathyMessage")
1140 (c-name "empathy_message_set_sender")
1141 (return-type "none")
1143 '("EmpathyContact*" "contact")
1147 (define-method get_receiver
1148 (of-object "EmpathyMessage")
1149 (c-name "empathy_message_get_receiver")
1150 (return-type "EmpathyContact*")
1153 (define-method set_receiver
1154 (of-object "EmpathyMessage")
1155 (c-name "empathy_message_set_receiver")
1156 (return-type "none")
1158 '("EmpathyContact*" "contact")
1162 (define-method get_body
1163 (of-object "EmpathyMessage")
1164 (c-name "empathy_message_get_body")
1165 (return-type "const-gchar*")
1168 (define-method set_body
1169 (of-object "EmpathyMessage")
1170 (c-name "empathy_message_set_body")
1171 (return-type "none")
1173 '("const-gchar*" "body")
1177 (define-method get_timestamp
1178 (of-object "EmpathyMessage")
1179 (c-name "empathy_message_get_timestamp")
1180 (return-type "time_t")
1183 (define-method set_timestamp
1184 (of-object "EmpathyMessage")
1185 (c-name "empathy_message_set_timestamp")
1186 (return-type "none")
1188 '("time_t" "timestamp")
1192 (define-method get_date_and_time
1193 (of-object "EmpathyMessage")
1194 (c-name "empathy_message_get_date_and_time")
1195 (return-type "GDate*")
1197 '("time_t*" "timestamp")
1201 (define-function empathy_message_type_from_str
1202 (c-name "empathy_message_type_from_str")
1203 (return-type "EmpathyMessageType")
1205 '("const-gchar*" "type_str")
1209 (define-method to_str
1210 (of-object "EmpathyMessageType")
1211 (c-name "empathy_message_type_to_str")
1212 (return-type "const-gchar*")
1217 ;; From empathy-status-presets.h
1219 (define-function empathy_status_presets_get_all
1220 (c-name "empathy_status_presets_get_all")
1221 (return-type "none")
1224 (define-function empathy_status_presets_get
1225 (c-name "empathy_status_presets_get")
1226 (return-type "GList*")
1228 '("McPresence" "state")
1229 '("gint" "max_number")
1233 (define-function empathy_status_presets_set_last
1234 (c-name "empathy_status_presets_set_last")
1235 (return-type "none")
1237 '("McPresence" "state")
1238 '("const-gchar*" "status")
1242 (define-function empathy_status_presets_remove
1243 (c-name "empathy_status_presets_remove")
1244 (return-type "none")
1246 '("McPresence" "state")
1247 '("const-gchar*" "status")
1251 (define-function empathy_status_presets_reset
1252 (c-name "empathy_status_presets_reset")
1253 (return-type "none")
1256 (define-function empathy_status_presets_get_default_state
1257 (c-name "empathy_status_presets_get_default_state")
1258 (return-type "McPresence")
1261 (define-function empathy_status_presets_get_default_status
1262 (c-name "empathy_status_presets_get_default_status")
1263 (return-type "const-gchar*")
1266 (define-function empathy_status_presets_set_default
1267 (c-name "empathy_status_presets_set_default")
1268 (return-type "none")
1270 '("McPresence" "state")
1271 '("const-gchar*" "status")
1275 (define-function empathy_status_presets_clear_default
1276 (c-name "empathy_status_presets_clear_default")
1277 (return-type "none")
1282 ;; From empathy-time.h
1284 (define-function empathy_time_get_current
1285 (c-name "empathy_time_get_current")
1286 (return-type "time_t")
1289 (define-function empathy_time_get_local_time
1290 (c-name "empathy_time_get_local_time")
1291 (return-type "time_t")
1293 '("struct-tm*" "tm")
1297 (define-function empathy_time_parse
1298 (c-name "empathy_time_parse")
1299 (return-type "time_t")
1301 '("const-gchar*" "str")
1305 (define-function empathy_time_to_string_utc
1306 (c-name "empathy_time_to_string_utc")
1307 (return-type "gchar*")
1310 '("const-gchar*" "format")
1314 (define-function empathy_time_to_string_local
1315 (c-name "empathy_time_to_string_local")
1316 (return-type "gchar*")
1319 '("const-gchar*" "format")
1325 ;; From empathy-tp-call.h
1327 (define-function empathy_tp_call_get_type
1328 (c-name "empathy_tp_call_get_type")
1329 (return-type "GType")
1332 (define-function empathy_tp_call_new
1333 (c-name "empathy_tp_call_new")
1334 (is-constructor-of "EmpathyTpCall")
1335 (return-type "EmpathyTpCall*")
1337 '("TpConn*" "connection")
1338 '("TpChan*" "channel")
1342 (define-method accept_incoming_call
1343 (of-object "EmpathyTpCall")
1344 (c-name "empathy_tp_call_accept_incoming_call")
1345 (return-type "none")
1348 (define-method close_channel
1349 (of-object "EmpathyTpCall")
1350 (c-name "empathy_tp_call_close_channel")
1351 (return-type "none")
1354 (define-method request_video_stream_direction
1355 (of-object "EmpathyTpCall")
1356 (c-name "empathy_tp_call_request_video_stream_direction")
1357 (return-type "none")
1359 '("gboolean" "is_sending")
1363 (define-method add_preview_video
1364 (of-object "EmpathyTpCall")
1365 (c-name "empathy_tp_call_add_preview_video")
1366 (return-type "none")
1368 '("guint" "preview_video_socket_id")
1372 (define-method remove_preview_video
1373 (of-object "EmpathyTpCall")
1374 (c-name "empathy_tp_call_remove_preview_video")
1375 (return-type "none")
1377 '("guint" "preview_video_socket_id")
1381 (define-method add_output_video
1382 (of-object "EmpathyTpCall")
1383 (c-name "empathy_tp_call_add_output_video")
1384 (return-type "none")
1386 '("guint" "output_video_socket_id")
1390 (define-method set_output_volume
1391 (of-object "EmpathyTpCall")
1392 (c-name "empathy_tp_call_set_output_volume")
1393 (return-type "none")
1399 (define-method mute_output
1400 (of-object "EmpathyTpCall")
1401 (c-name "empathy_tp_call_mute_output")
1402 (return-type "none")
1404 '("gboolean" "is_muted")
1408 (define-method mute_input
1409 (of-object "EmpathyTpCall")
1410 (c-name "empathy_tp_call_mute_input")
1411 (return-type "none")
1413 '("gboolean" "is_muted")
1419 ;; From empathy-tp-chat.h
1421 (define-function empathy_tp_chat_get_type
1422 (c-name "empathy_tp_chat_get_type")
1423 (return-type "GType")
1426 (define-function empathy_tp_chat_new
1427 (c-name "empathy_tp_chat_new")
1428 (is-constructor-of "EmpathyTpChat")
1429 (return-type "EmpathyTpChat*")
1431 '("McAccount*" "account")
1432 '("TpChan*" "tp_chan")
1436 (define-function empathy_tp_chat_new_with_contact
1437 (c-name "empathy_tp_chat_new_with_contact")
1438 (return-type "EmpathyTpChat*")
1440 '("EmpathyContact*" "contact")
1444 (define-method get_acknowledge
1445 (of-object "EmpathyTpChat")
1446 (c-name "empathy_tp_chat_get_acknowledge")
1447 (return-type "gboolean")
1450 (define-method set_acknowledge
1451 (of-object "EmpathyTpChat")
1452 (c-name "empathy_tp_chat_set_acknowledge")
1453 (return-type "none")
1455 '("gboolean" "acknowledge")
1459 (define-method get_account
1460 (of-object "EmpathyTpChat")
1461 (c-name "empathy_tp_chat_get_account")
1462 (return-type "McAccount*")
1465 (define-method get_channel
1466 (of-object "EmpathyTpChat")
1467 (c-name "empathy_tp_chat_get_channel")
1468 (return-type "TpChan*")
1471 (define-method get_pendings
1472 (of-object "EmpathyTpChat")
1473 (c-name "empathy_tp_chat_get_pendings")
1474 (return-type "GList*")
1478 (of-object "EmpathyTpChat")
1479 (c-name "empathy_tp_chat_send")
1480 (return-type "none")
1482 '("EmpathyMessage*" "message")
1486 (define-method set_state
1487 (of-object "EmpathyTpChat")
1488 (c-name "empathy_tp_chat_set_state")
1489 (return-type "none")
1491 '("TpChannelChatState" "state")
1495 (define-method get_id
1496 (of-object "EmpathyTpChat")
1497 (c-name "empathy_tp_chat_get_id")
1498 (return-type "const-gchar*")
1503 ;; From empathy-tp-chatroom.h
1505 (define-function empathy_tp_chatroom_get_type
1506 (c-name "empathy_tp_chatroom_get_type")
1507 (return-type "GType")
1510 (define-function empathy_tp_chatroom_new
1511 (c-name "empathy_tp_chatroom_new")
1512 (is-constructor-of "EmpathyTpChatroom")
1513 (return-type "EmpathyTpChatroom*")
1515 '("McAccount*" "account")
1516 '("TpChan*" "tp_chan")
1520 (define-method get_invitation
1521 (of-object "EmpathyTpChatroom")
1522 (c-name "empathy_tp_chatroom_get_invitation")
1523 (return-type "gboolean")
1525 '("EmpathyContact**" "contact")
1526 '("const-gchar**" "message")
1530 (define-method accept_invitation
1531 (of-object "EmpathyTpChatroom")
1532 (c-name "empathy_tp_chatroom_accept_invitation")
1533 (return-type "none")
1536 (define-method set_topic
1537 (of-object "EmpathyTpChatroom")
1538 (c-name "empathy_tp_chatroom_set_topic")
1539 (return-type "none")
1541 '("const-gchar*" "topic")
1547 ;; From empathy-tp-contact-factory.h
1549 (define-function empathy_tp_contact_factory_get_type
1550 (c-name "empathy_tp_contact_factory_get_type")
1551 (return-type "GType")
1554 (define-function empathy_tp_contact_factory_new
1555 (c-name "empathy_tp_contact_factory_new")
1556 (is-constructor-of "EmpathyTpContactFactory")
1557 (return-type "EmpathyTpContactFactory*")
1559 '("McAccount*" "account")
1563 (define-method get_user
1564 (of-object "EmpathyTpContactFactory")
1565 (c-name "empathy_tp_contact_factory_get_user")
1566 (return-type "EmpathyContact*")
1569 (define-method get_from_id
1570 (of-object "EmpathyTpContactFactory")
1571 (c-name "empathy_tp_contact_factory_get_from_id")
1572 (return-type "EmpathyContact*")
1574 '("const-gchar*" "id")
1578 (define-method get_from_handle
1579 (of-object "EmpathyTpContactFactory")
1580 (c-name "empathy_tp_contact_factory_get_from_handle")
1581 (return-type "EmpathyContact*")
1587 (define-method get_from_handles
1588 (of-object "EmpathyTpContactFactory")
1589 (c-name "empathy_tp_contact_factory_get_from_handles")
1590 (return-type "GList*")
1592 '("GArray*" "handles")
1596 (define-method set_alias
1597 (of-object "EmpathyTpContactFactory")
1598 (c-name "empathy_tp_contact_factory_set_alias")
1599 (return-type "none")
1601 '("EmpathyContact*" "contact")
1602 '("const-gchar*" "alias")
1606 (define-method set_avatar
1607 (of-object "EmpathyTpContactFactory")
1608 (c-name "empathy_tp_contact_factory_set_avatar")
1609 (return-type "none")
1611 '("const-gchar*" "data")
1613 '("const-gchar*" "mime_type")
1619 ;; From empathy-tp-contact-list.h
1621 (define-function empathy_tp_contact_list_get_type
1622 (c-name "empathy_tp_contact_list_get_type")
1623 (return-type "GType")
1626 (define-function empathy_tp_contact_list_new
1627 (c-name "empathy_tp_contact_list_new")
1628 (is-constructor-of "EmpathyTpContactList")
1629 (return-type "EmpathyTpContactList*")
1631 '("McAccount*" "account")
1635 (define-method get_account
1636 (of-object "EmpathyTpContactList")
1637 (c-name "empathy_tp_contact_list_get_account")
1638 (return-type "McAccount*")
1643 ;; From empathy-tp-group.h
1645 (define-function empathy_tp_group_get_type
1646 (c-name "empathy_tp_group_get_type")
1647 (return-type "GType")
1650 (define-function empathy_tp_group_new
1651 (c-name "empathy_tp_group_new")
1652 (is-constructor-of "EmpathyTpGroup")
1653 (return-type "EmpathyTpGroup*")
1655 '("McAccount*" "account")
1656 '("TpChan*" "tp_chan")
1660 (define-method close
1661 (of-object "EmpathyTpGroup")
1662 (c-name "empathy_tp_group_close")
1663 (return-type "none")
1666 (define-method add_members
1667 (of-object "EmpathyTpGroup")
1668 (c-name "empathy_tp_group_add_members")
1669 (return-type "none")
1671 '("GList*" "contacts")
1672 '("const-gchar*" "message")
1676 (define-method add_member
1677 (of-object "EmpathyTpGroup")
1678 (c-name "empathy_tp_group_add_member")
1679 (return-type "none")
1681 '("EmpathyContact*" "contact")
1682 '("const-gchar*" "message")
1686 (define-method remove_members
1687 (of-object "EmpathyTpGroup")
1688 (c-name "empathy_tp_group_remove_members")
1689 (return-type "none")
1691 '("GList*" "contacts")
1692 '("const-gchar*" "message")
1696 (define-method remove_member
1697 (of-object "EmpathyTpGroup")
1698 (c-name "empathy_tp_group_remove_member")
1699 (return-type "none")
1701 '("EmpathyContact*" "contact")
1702 '("const-gchar*" "message")
1706 (define-method get_members
1707 (of-object "EmpathyTpGroup")
1708 (c-name "empathy_tp_group_get_members")
1709 (return-type "GList*")
1712 (define-method get_local_pendings
1713 (of-object "EmpathyTpGroup")
1714 (c-name "empathy_tp_group_get_local_pendings")
1715 (return-type "GList*")
1718 (define-method get_remote_pendings
1719 (of-object "EmpathyTpGroup")
1720 (c-name "empathy_tp_group_get_remote_pendings")
1721 (return-type "GList*")
1724 (define-method get_name
1725 (of-object "EmpathyTpGroup")
1726 (c-name "empathy_tp_group_get_name")
1727 (return-type "const-gchar*")
1730 (define-method get_self_contact
1731 (of-object "EmpathyTpGroup")
1732 (c-name "empathy_tp_group_get_self_contact")
1733 (return-type "EmpathyContact*")
1736 (define-method get_object_path
1737 (of-object "EmpathyTpGroup")
1738 (c-name "empathy_tp_group_get_object_path")
1739 (return-type "const-gchar*")
1742 (define-method is_member
1743 (of-object "EmpathyTpGroup")
1744 (c-name "empathy_tp_group_is_member")
1745 (return-type "gboolean")
1747 '("EmpathyContact*" "contact")
1751 (define-function empathy_pending_info_new
1752 (c-name "empathy_pending_info_new")
1753 (is-constructor-of "EmpathyPendingInfo")
1754 (return-type "EmpathyPendingInfo*")
1756 '("EmpathyContact*" "member")
1757 '("EmpathyContact*" "actor")
1758 '("const-gchar*" "message")
1763 (of-object "EmpathyPendingInfo")
1764 (c-name "empathy_pending_info_free")
1765 (return-type "none")
1770 ;; From empathy-tp-roomlist.h
1772 (define-function empathy_tp_roomlist_get_type
1773 (c-name "empathy_tp_roomlist_get_type")
1774 (return-type "GType")
1777 (define-function empathy_tp_roomlist_new
1778 (c-name "empathy_tp_roomlist_new")
1779 (is-constructor-of "EmpathyTpRoomlist")
1780 (return-type "EmpathyTpRoomlist*")
1782 '("McAccount*" "account")
1786 (define-method is_listing
1787 (of-object "EmpathyTpRoomlist")
1788 (c-name "empathy_tp_roomlist_is_listing")
1789 (return-type "gboolean")
1792 (define-method start
1793 (of-object "EmpathyTpRoomlist")
1794 (c-name "empathy_tp_roomlist_start")
1795 (return-type "none")
1799 (of-object "EmpathyTpRoomlist")
1800 (c-name "empathy_tp_roomlist_stop")
1801 (return-type "none")
1806 ;; From empathy-utils.h
1808 (define-function empathy_substring
1809 (c-name "empathy_substring")
1810 (return-type "gchar*")
1812 '("const-gchar*" "str")
1818 (define-function empathy_regex_match
1819 (c-name "empathy_regex_match")
1820 (return-type "gint")
1822 '("EmpathyRegExType" "type")
1823 '("const-gchar*" "msg")
1824 '("GArray*" "start")
1829 (define-function empathy_strcasecmp
1830 (c-name "empathy_strcasecmp")
1831 (return-type "gint")
1833 '("const-gchar*" "s1")
1834 '("const-gchar*" "s2")
1838 (define-function empathy_strncasecmp
1839 (c-name "empathy_strncasecmp")
1840 (return-type "gint")
1842 '("const-gchar*" "s1")
1843 '("const-gchar*" "s2")
1848 (define-function empathy_xml_validate
1849 (c-name "empathy_xml_validate")
1850 (return-type "gboolean")
1853 '("const-gchar*" "dtd_filename")
1857 (define-function empathy_xml_node_get_child
1858 (c-name "empathy_xml_node_get_child")
1859 (return-type "xmlNodePtr")
1861 '("xmlNodePtr" "node")
1862 '("const-gchar*" "child_name")
1866 (define-function empathy_xml_node_get_child_content
1867 (c-name "empathy_xml_node_get_child_content")
1868 (return-type "xmlChar*")
1870 '("xmlNodePtr" "node")
1871 '("const-gchar*" "child_name")
1875 (define-function empathy_xml_node_find_child_prop_value
1876 (c-name "empathy_xml_node_find_child_prop_value")
1877 (return-type "xmlNodePtr")
1879 '("xmlNodePtr" "node")
1880 '("const-gchar*" "prop_name")
1881 '("const-gchar*" "prop_value")
1885 (define-function empathy_account_hash
1886 (c-name "empathy_account_hash")
1887 (return-type "guint")
1889 '("gconstpointer" "key")
1893 (define-function empathy_account_equal
1894 (c-name "empathy_account_equal")
1895 (return-type "gboolean")
1897 '("gconstpointer" "a")
1898 '("gconstpointer" "b")
1902 (define-function empathy_mission_control_new
1903 (c-name "empathy_mission_control_new")
1904 (is-constructor-of "EmpathyMissionControl")
1905 (return-type "MissionControl*")
1908 (define-function empathy_inspect_handle
1909 (c-name "empathy_inspect_handle")
1910 (return-type "gchar*")
1912 '("McAccount*" "account")
1914 '("guint" "handle_type")
1918 (define-function empathy_inspect_channel
1919 (c-name "empathy_inspect_channel")
1920 (return-type "gchar*")
1922 '("McAccount*" "account")
1923 '("TpChan*" "tp_chan")
1927 (define-function empathy_call_with_contact
1928 (c-name "empathy_call_with_contact")
1929 (return-type "none")
1931 '("EmpathyContact*" "contact")
1935 (define-function empathy_call_with_contact_id
1936 (c-name "empathy_call_with_contact_id")
1937 (return-type "none")
1939 '("McAccount*" "account")
1940 '("const-gchar*" "contact_id")
1944 (define-function empathy_chat_with_contact
1945 (c-name "empathy_chat_with_contact")
1946 (return-type "none")
1948 '("EmpathyContact*" "contact")
1952 (define-function empathy_chat_with_contact_id
1953 (c-name "empathy_chat_with_contact_id")
1954 (return-type "none")
1956 '("McAccount*" "account")
1957 '("const-gchar*" "contact_id")
1961 (define-function empathy_presence_get_default_message
1962 (c-name "empathy_presence_get_default_message")
1963 (return-type "const-gchar*")
1965 '("McPresence" "presence")
1969 (define-function empathy_presence_to_str
1970 (c-name "empathy_presence_to_str")
1971 (return-type "const-gchar*")
1973 '("McPresence" "presence")
1977 (define-function empathy_presence_from_str
1978 (c-name "empathy_presence_from_str")
1979 (return-type "McPresence")
1981 '("const-gchar*" "str")