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-function empathy_tp_call_add_preview_video
1364 (c-name "empathy_tp_call_add_preview_video")
1365 (return-type "none")
1367 '("guint" "preview_video_socket_id")
1371 (define-function empathy_tp_call_remove_preview_video
1372 (c-name "empathy_tp_call_remove_preview_video")
1373 (return-type "none")
1375 '("guint" "preview_video_socket_id")
1379 (define-method add_output_video
1380 (of-object "EmpathyTpCall")
1381 (c-name "empathy_tp_call_add_output_video")
1382 (return-type "none")
1384 '("guint" "output_video_socket_id")
1388 (define-method set_output_volume
1389 (of-object "EmpathyTpCall")
1390 (c-name "empathy_tp_call_set_output_volume")
1391 (return-type "none")
1397 (define-method mute_output
1398 (of-object "EmpathyTpCall")
1399 (c-name "empathy_tp_call_mute_output")
1400 (return-type "none")
1402 '("gboolean" "is_muted")
1406 (define-method mute_input
1407 (of-object "EmpathyTpCall")
1408 (c-name "empathy_tp_call_mute_input")
1409 (return-type "none")
1411 '("gboolean" "is_muted")
1417 ;; From empathy-tp-chat.h
1419 (define-function empathy_tp_chat_get_type
1420 (c-name "empathy_tp_chat_get_type")
1421 (return-type "GType")
1424 (define-function empathy_tp_chat_new
1425 (c-name "empathy_tp_chat_new")
1426 (is-constructor-of "EmpathyTpChat")
1427 (return-type "EmpathyTpChat*")
1429 '("McAccount*" "account")
1430 '("TpChan*" "tp_chan")
1434 (define-function empathy_tp_chat_new_with_contact
1435 (c-name "empathy_tp_chat_new_with_contact")
1436 (return-type "EmpathyTpChat*")
1438 '("EmpathyContact*" "contact")
1442 (define-method get_acknowledge
1443 (of-object "EmpathyTpChat")
1444 (c-name "empathy_tp_chat_get_acknowledge")
1445 (return-type "gboolean")
1448 (define-method set_acknowledge
1449 (of-object "EmpathyTpChat")
1450 (c-name "empathy_tp_chat_set_acknowledge")
1451 (return-type "none")
1453 '("gboolean" "acknowledge")
1457 (define-method get_account
1458 (of-object "EmpathyTpChat")
1459 (c-name "empathy_tp_chat_get_account")
1460 (return-type "McAccount*")
1463 (define-method get_channel
1464 (of-object "EmpathyTpChat")
1465 (c-name "empathy_tp_chat_get_channel")
1466 (return-type "TpChan*")
1469 (define-method get_pendings
1470 (of-object "EmpathyTpChat")
1471 (c-name "empathy_tp_chat_get_pendings")
1472 (return-type "GList*")
1476 (of-object "EmpathyTpChat")
1477 (c-name "empathy_tp_chat_send")
1478 (return-type "none")
1480 '("EmpathyMessage*" "message")
1484 (define-method set_state
1485 (of-object "EmpathyTpChat")
1486 (c-name "empathy_tp_chat_set_state")
1487 (return-type "none")
1489 '("TpChannelChatState" "state")
1493 (define-method get_id
1494 (of-object "EmpathyTpChat")
1495 (c-name "empathy_tp_chat_get_id")
1496 (return-type "const-gchar*")
1501 ;; From empathy-tp-chatroom.h
1503 (define-function empathy_tp_chatroom_get_type
1504 (c-name "empathy_tp_chatroom_get_type")
1505 (return-type "GType")
1508 (define-function empathy_tp_chatroom_new
1509 (c-name "empathy_tp_chatroom_new")
1510 (is-constructor-of "EmpathyTpChatroom")
1511 (return-type "EmpathyTpChatroom*")
1513 '("McAccount*" "account")
1514 '("TpChan*" "tp_chan")
1518 (define-method get_invitation
1519 (of-object "EmpathyTpChatroom")
1520 (c-name "empathy_tp_chatroom_get_invitation")
1521 (return-type "gboolean")
1523 '("EmpathyContact**" "contact")
1524 '("const-gchar**" "message")
1528 (define-method accept_invitation
1529 (of-object "EmpathyTpChatroom")
1530 (c-name "empathy_tp_chatroom_accept_invitation")
1531 (return-type "none")
1534 (define-method set_topic
1535 (of-object "EmpathyTpChatroom")
1536 (c-name "empathy_tp_chatroom_set_topic")
1537 (return-type "none")
1539 '("const-gchar*" "topic")
1545 ;; From empathy-tp-contact-factory.h
1547 (define-function empathy_tp_contact_factory_get_type
1548 (c-name "empathy_tp_contact_factory_get_type")
1549 (return-type "GType")
1552 (define-function empathy_tp_contact_factory_new
1553 (c-name "empathy_tp_contact_factory_new")
1554 (is-constructor-of "EmpathyTpContactFactory")
1555 (return-type "EmpathyTpContactFactory*")
1557 '("McAccount*" "account")
1561 (define-method get_user
1562 (of-object "EmpathyTpContactFactory")
1563 (c-name "empathy_tp_contact_factory_get_user")
1564 (return-type "EmpathyContact*")
1567 (define-method get_from_id
1568 (of-object "EmpathyTpContactFactory")
1569 (c-name "empathy_tp_contact_factory_get_from_id")
1570 (return-type "EmpathyContact*")
1572 '("const-gchar*" "id")
1576 (define-method get_from_handle
1577 (of-object "EmpathyTpContactFactory")
1578 (c-name "empathy_tp_contact_factory_get_from_handle")
1579 (return-type "EmpathyContact*")
1585 (define-method get_from_handles
1586 (of-object "EmpathyTpContactFactory")
1587 (c-name "empathy_tp_contact_factory_get_from_handles")
1588 (return-type "GList*")
1590 '("GArray*" "handles")
1594 (define-method set_alias
1595 (of-object "EmpathyTpContactFactory")
1596 (c-name "empathy_tp_contact_factory_set_alias")
1597 (return-type "none")
1599 '("EmpathyContact*" "contact")
1600 '("const-gchar*" "alias")
1604 (define-method set_avatar
1605 (of-object "EmpathyTpContactFactory")
1606 (c-name "empathy_tp_contact_factory_set_avatar")
1607 (return-type "none")
1609 '("const-gchar*" "data")
1611 '("const-gchar*" "mime_type")
1617 ;; From empathy-tp-contact-list.h
1619 (define-function empathy_tp_contact_list_get_type
1620 (c-name "empathy_tp_contact_list_get_type")
1621 (return-type "GType")
1624 (define-function empathy_tp_contact_list_new
1625 (c-name "empathy_tp_contact_list_new")
1626 (is-constructor-of "EmpathyTpContactList")
1627 (return-type "EmpathyTpContactList*")
1629 '("McAccount*" "account")
1633 (define-method get_account
1634 (of-object "EmpathyTpContactList")
1635 (c-name "empathy_tp_contact_list_get_account")
1636 (return-type "McAccount*")
1641 ;; From empathy-tp-group.h
1643 (define-function empathy_tp_group_get_type
1644 (c-name "empathy_tp_group_get_type")
1645 (return-type "GType")
1648 (define-function empathy_tp_group_new
1649 (c-name "empathy_tp_group_new")
1650 (is-constructor-of "EmpathyTpGroup")
1651 (return-type "EmpathyTpGroup*")
1653 '("McAccount*" "account")
1654 '("TpChan*" "tp_chan")
1658 (define-method close
1659 (of-object "EmpathyTpGroup")
1660 (c-name "empathy_tp_group_close")
1661 (return-type "none")
1664 (define-method add_members
1665 (of-object "EmpathyTpGroup")
1666 (c-name "empathy_tp_group_add_members")
1667 (return-type "none")
1669 '("GList*" "contacts")
1670 '("const-gchar*" "message")
1674 (define-method add_member
1675 (of-object "EmpathyTpGroup")
1676 (c-name "empathy_tp_group_add_member")
1677 (return-type "none")
1679 '("EmpathyContact*" "contact")
1680 '("const-gchar*" "message")
1684 (define-method remove_members
1685 (of-object "EmpathyTpGroup")
1686 (c-name "empathy_tp_group_remove_members")
1687 (return-type "none")
1689 '("GList*" "contacts")
1690 '("const-gchar*" "message")
1694 (define-method remove_member
1695 (of-object "EmpathyTpGroup")
1696 (c-name "empathy_tp_group_remove_member")
1697 (return-type "none")
1699 '("EmpathyContact*" "contact")
1700 '("const-gchar*" "message")
1704 (define-method get_members
1705 (of-object "EmpathyTpGroup")
1706 (c-name "empathy_tp_group_get_members")
1707 (return-type "GList*")
1710 (define-method get_local_pendings
1711 (of-object "EmpathyTpGroup")
1712 (c-name "empathy_tp_group_get_local_pendings")
1713 (return-type "GList*")
1716 (define-method get_remote_pendings
1717 (of-object "EmpathyTpGroup")
1718 (c-name "empathy_tp_group_get_remote_pendings")
1719 (return-type "GList*")
1722 (define-method get_name
1723 (of-object "EmpathyTpGroup")
1724 (c-name "empathy_tp_group_get_name")
1725 (return-type "const-gchar*")
1728 (define-method get_self_contact
1729 (of-object "EmpathyTpGroup")
1730 (c-name "empathy_tp_group_get_self_contact")
1731 (return-type "EmpathyContact*")
1734 (define-method get_object_path
1735 (of-object "EmpathyTpGroup")
1736 (c-name "empathy_tp_group_get_object_path")
1737 (return-type "const-gchar*")
1740 (define-method is_member
1741 (of-object "EmpathyTpGroup")
1742 (c-name "empathy_tp_group_is_member")
1743 (return-type "gboolean")
1745 '("EmpathyContact*" "contact")
1749 (define-function empathy_pending_info_new
1750 (c-name "empathy_pending_info_new")
1751 (is-constructor-of "EmpathyPendingInfo")
1752 (return-type "EmpathyPendingInfo*")
1754 '("EmpathyContact*" "member")
1755 '("EmpathyContact*" "actor")
1756 '("const-gchar*" "message")
1761 (of-object "EmpathyPendingInfo")
1762 (c-name "empathy_pending_info_free")
1763 (return-type "none")
1768 ;; From empathy-tp-roomlist.h
1770 (define-function empathy_tp_roomlist_get_type
1771 (c-name "empathy_tp_roomlist_get_type")
1772 (return-type "GType")
1775 (define-function empathy_tp_roomlist_new
1776 (c-name "empathy_tp_roomlist_new")
1777 (is-constructor-of "EmpathyTpRoomlist")
1778 (return-type "EmpathyTpRoomlist*")
1780 '("McAccount*" "account")
1784 (define-method is_listing
1785 (of-object "EmpathyTpRoomlist")
1786 (c-name "empathy_tp_roomlist_is_listing")
1787 (return-type "gboolean")
1790 (define-method start
1791 (of-object "EmpathyTpRoomlist")
1792 (c-name "empathy_tp_roomlist_start")
1793 (return-type "none")
1797 (of-object "EmpathyTpRoomlist")
1798 (c-name "empathy_tp_roomlist_stop")
1799 (return-type "none")
1804 ;; From empathy-utils.h
1806 (define-function empathy_substring
1807 (c-name "empathy_substring")
1808 (return-type "gchar*")
1810 '("const-gchar*" "str")
1816 (define-function empathy_regex_match
1817 (c-name "empathy_regex_match")
1818 (return-type "gint")
1820 '("EmpathyRegExType" "type")
1821 '("const-gchar*" "msg")
1822 '("GArray*" "start")
1827 (define-function empathy_strcasecmp
1828 (c-name "empathy_strcasecmp")
1829 (return-type "gint")
1831 '("const-gchar*" "s1")
1832 '("const-gchar*" "s2")
1836 (define-function empathy_strncasecmp
1837 (c-name "empathy_strncasecmp")
1838 (return-type "gint")
1840 '("const-gchar*" "s1")
1841 '("const-gchar*" "s2")
1846 (define-function empathy_xml_validate
1847 (c-name "empathy_xml_validate")
1848 (return-type "gboolean")
1851 '("const-gchar*" "dtd_filename")
1855 (define-function empathy_xml_node_get_child
1856 (c-name "empathy_xml_node_get_child")
1857 (return-type "xmlNodePtr")
1859 '("xmlNodePtr" "node")
1860 '("const-gchar*" "child_name")
1864 (define-function empathy_xml_node_get_child_content
1865 (c-name "empathy_xml_node_get_child_content")
1866 (return-type "xmlChar*")
1868 '("xmlNodePtr" "node")
1869 '("const-gchar*" "child_name")
1873 (define-function empathy_xml_node_find_child_prop_value
1874 (c-name "empathy_xml_node_find_child_prop_value")
1875 (return-type "xmlNodePtr")
1877 '("xmlNodePtr" "node")
1878 '("const-gchar*" "prop_name")
1879 '("const-gchar*" "prop_value")
1883 (define-function empathy_account_hash
1884 (c-name "empathy_account_hash")
1885 (return-type "guint")
1887 '("gconstpointer" "key")
1891 (define-function empathy_account_equal
1892 (c-name "empathy_account_equal")
1893 (return-type "gboolean")
1895 '("gconstpointer" "a")
1896 '("gconstpointer" "b")
1900 (define-function empathy_mission_control_new
1901 (c-name "empathy_mission_control_new")
1902 (is-constructor-of "EmpathyMissionControl")
1903 (return-type "MissionControl*")
1906 (define-function empathy_inspect_handle
1907 (c-name "empathy_inspect_handle")
1908 (return-type "gchar*")
1910 '("McAccount*" "account")
1912 '("guint" "handle_type")
1916 (define-function empathy_inspect_channel
1917 (c-name "empathy_inspect_channel")
1918 (return-type "gchar*")
1920 '("McAccount*" "account")
1921 '("TpChan*" "tp_chan")
1925 (define-function empathy_call_with_contact
1926 (c-name "empathy_call_with_contact")
1927 (return-type "none")
1929 '("EmpathyContact*" "contact")
1933 (define-function empathy_call_with_contact_id
1934 (c-name "empathy_call_with_contact_id")
1935 (return-type "none")
1937 '("McAccount*" "account")
1938 '("const-gchar*" "contact_id")
1942 (define-function empathy_chat_with_contact
1943 (c-name "empathy_chat_with_contact")
1944 (return-type "none")
1946 '("EmpathyContact*" "contact")
1950 (define-function empathy_chat_with_contact_id
1951 (c-name "empathy_chat_with_contact_id")
1952 (return-type "none")
1954 '("McAccount*" "account")
1955 '("const-gchar*" "contact_id")
1959 (define-function empathy_presence_get_default_message
1960 (c-name "empathy_presence_get_default_message")
1961 (return-type "const-gchar*")
1963 '("McPresence" "presence")
1967 (define-function empathy_presence_to_str
1968 (c-name "empathy_presence_to_str")
1969 (return-type "const-gchar*")
1971 '("McPresence" "presence")
1975 (define-function empathy_presence_from_str
1976 (c-name "empathy_presence_from_str")
1977 (return-type "McPresence")
1979 '("const-gchar*" "str")