2 ; object definitions ...
6 (c-name "EmpathyAccount")
7 (gtype-id "EMPATHY_TYPE_ACCOUNT")
10 (define-object AccountManager
13 (c-name "EmpathyAccountManager")
14 (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
17 (define-object AccountSettings
20 (c-name "EmpathyAccountSettings")
21 (gtype-id "EMPATHY_TYPE_ACCOUNT_SETTINGS")
24 (define-object CallFactory
27 (c-name "EmpathyCallFactory")
28 (gtype-id "EMPATHY_TYPE_CALL_FACTORY")
31 (define-object CallHandler
34 (c-name "EmpathyCallHandler")
35 (gtype-id "EMPATHY_TYPE_CALL_HANDLER")
38 (define-object Chatroom
41 (c-name "EmpathyChatroom")
42 (gtype-id "EMPATHY_TYPE_CHATROOM")
45 (define-object ChatroomManager
48 (c-name "EmpathyChatroomManager")
49 (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
52 (define-object ConnectionManagers
55 (c-name "EmpathyConnectionManagers")
56 (gtype-id "EMPATHY_TYPE_CONNECTION_MANAGERS")
59 (define-object Connectivity
62 (c-name "EmpathyConnectivity")
63 (gtype-id "EMPATHY_TYPE_CONNECTIVITY")
66 (define-object Contact
69 (c-name "EmpathyContact")
70 (gtype-id "EMPATHY_TYPE_CONTACT")
73 (define-interface ContactList
75 (c-name "EmpathyContactList")
76 (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
79 (define-object ContactManager
82 (implements "EmpathyContactList")
83 (c-name "EmpathyContactManager")
84 (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
87 (define-object ContactMonitor
90 (c-name "EmpathyContactMonitor")
91 (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
94 (define-object Debugger
97 (c-name "EmpathyDebugger")
98 (gtype-id "EMPATHY_TYPE_DEBUGGER")
101 (define-object DispatchOperation
102 (in-module "Empathy")
104 (c-name "EmpathyDispatchOperation")
105 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
108 (define-object Dispatcher
109 (in-module "Empathy")
111 (c-name "EmpathyDispatcher")
112 (gtype-id "EMPATHY_TYPE_DISPATCHER")
115 (define-object FTFactory
116 (in-module "Empathy")
118 (c-name "EmpathyFTFactory")
119 (gtype-id "EMPATHY_TYPE_FT_FACTORY")
122 (define-object FTHandler
123 (in-module "Empathy")
125 (c-name "EmpathyFTHandler")
126 (gtype-id "EMPATHY_TYPE_FT_HANDLER")
130 (in-module "Empathy")
132 (c-name "EmpathyIdle")
133 (gtype-id "EMPATHY_TYPE_IDLE")
136 (define-object IrcNetwork
137 (in-module "Empathy")
139 (c-name "EmpathyIrcNetwork")
140 (gtype-id "EMPATHY_TYPE_IRC_NETWORK")
143 (define-object IrcNetworkManager
144 (in-module "Empathy")
146 (c-name "EmpathyIrcNetworkManager")
147 (gtype-id "EMPATHY_TYPE_IRC_NETWORK_MANAGER")
150 (define-object IrcServer
151 (in-module "Empathy")
153 (c-name "EmpathyIrcServer")
154 (gtype-id "EMPATHY_TYPE_IRC_SERVER")
157 (define-object LogManager
158 (in-module "Empathy")
160 (c-name "EmpathyLogManager")
161 (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
164 (define-object LogStoreEmpathy
165 (in-module "Empathy")
167 (c-name "EmpathyLogStoreEmpathy")
168 (gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
171 (define-object Message
172 (in-module "Empathy")
174 (c-name "EmpathyMessage")
175 (gtype-id "EMPATHY_TYPE_MESSAGE")
178 (define-object TpCall
179 (in-module "Empathy")
181 (c-name "EmpathyTpCall")
182 (gtype-id "EMPATHY_TYPE_TP_CALL")
185 (define-object TpChat
186 (in-module "Empathy")
188 (c-name "EmpathyTpChat")
189 (gtype-id "EMPATHY_TYPE_TP_CHAT")
192 (define-object TpContactFactory
193 (in-module "Empathy")
195 (c-name "EmpathyTpContactFactory")
196 (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
199 (define-object TpContactList
200 (in-module "Empathy")
202 (implements "EmpathyContactList")
203 (c-name "EmpathyTpContactList")
204 (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
207 (define-object TpFile
208 (in-module "Empathy")
210 (c-name "EmpathyTpFile")
211 (gtype-id "EMPATHY_TYPE_TP_FILE")
214 (define-object TpRoomlist
215 (in-module "Empathy")
217 (c-name "EmpathyTpRoomlist")
218 (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
221 (define-object TubeHandler
222 (in-module "Empathy")
224 (c-name "EmpathyTubeHandler")
225 (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
228 ;; Enumerations and flags ...
230 (define-flags Capabilities
231 (in-module "Empathy")
232 (c-name "EmpathyCapabilities")
233 (gtype-id "EMPATHY_TYPE_CAPABILITIES")
235 '("none" "EMPATHY_CAPABILITIES_NONE")
236 '("audio" "EMPATHY_CAPABILITIES_AUDIO")
237 '("video" "EMPATHY_CAPABILITIES_VIDEO")
238 '("ft" "EMPATHY_CAPABILITIES_FT")
239 '("stream-tube" "EMPATHY_CAPABILITIES_STREAM_TUBE")
240 '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
244 (define-flags ContactListFlags
245 (in-module "Empathy")
246 (c-name "EmpathyContactListFlags")
247 (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FLAGS")
249 '("add" "EMPATHY_CONTACT_LIST_CAN_ADD")
250 '("remove" "EMPATHY_CONTACT_LIST_CAN_REMOVE")
251 '("alias" "EMPATHY_CONTACT_LIST_CAN_ALIAS")
252 '("group" "EMPATHY_CONTACT_LIST_CAN_GROUP")
256 (define-flags DebugFlags
257 (in-module "Empathy")
258 (c-name "EmpathyDebugFlags")
259 (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
261 '("tp" "EMPATHY_DEBUG_TP")
262 '("chat" "EMPATHY_DEBUG_CHAT")
263 '("contact" "EMPATHY_DEBUG_CONTACT")
264 '("account" "EMPATHY_DEBUG_ACCOUNT")
265 '("irc" "EMPATHY_DEBUG_IRC")
266 '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
267 '("ft" "EMPATHY_DEBUG_FT")
268 '("location" "EMPATHY_DEBUG_LOCATION")
269 '("other" "EMPATHY_DEBUG_OTHER")
270 '("share-desktop" "EMPATHY_DEBUG_SHARE_DESKTOP")
271 '("connectivity" "EMPATHY_DEBUG_CONNECTIVITY")
272 '("import-mc4-accounts" "EMPATHY_DEBUG_IMPORT_MC4_ACCOUNTS")
276 (define-enum DispatchOperationState
277 (in-module "Empathy")
278 (c-name "EmpathyDispatchOperationState")
279 (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
281 '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
282 '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
283 '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
284 '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
285 '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
286 '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
290 (define-enum TpCallStatus
291 (in-module "Empathy")
292 (c-name "EmpathyTpCallStatus")
293 (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
295 '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
296 '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
297 '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
298 '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
302 (define-enum FTErrorEnum
303 (in-module "Empathy")
304 (c-name "EmpathyFTErrorEnum")
305 (gtype-id "EMPATHY_TYPE_FT_ERROR_ENUM")
307 '("failed" "EMPATHY_FT_ERROR_FAILED")
308 '("hash-mismatch" "EMPATHY_FT_ERROR_HASH_MISMATCH")
309 '("tp-error" "EMPATHY_FT_ERROR_TP_ERROR")
310 '("socket" "EMPATHY_FT_ERROR_SOCKET")
311 '("not-supported" "EMPATHY_FT_ERROR_NOT_SUPPORTED")
312 '("invalid-source-file" "EMPATHY_FT_ERROR_INVALID_SOURCE_FILE")
313 '("empty-source-file" "EMPATHY_FT_ERROR_EMPTY_SOURCE_FILE")
318 ;; From empathy-account-settings.h
320 (define-function account_settings_get_type
321 (c-name "empathy_account_settings_get_type")
322 (return-type "GType")
325 (define-function account_settings_new
326 (c-name "empathy_account_settings_new")
327 (is-constructor-of "EmpathyAccountSettings")
328 (return-type "EmpathyAccountSettings*")
330 '("const-gchar*" "connection_manager")
331 '("const-gchar*" "protocol")
332 '("const-char*" "display_name")
336 (define-method settings_new_for_account
337 (of-object "EmpathyAccount")
338 (c-name "empathy_account_settings_new_for_account")
339 (return-type "EmpathyAccountSettings*")
342 (define-method is_ready
343 (of-object "EmpathyAccountSettings")
344 (c-name "empathy_account_settings_is_ready")
345 (return-type "gboolean")
348 (define-method get_cm
349 (of-object "EmpathyAccountSettings")
350 (c-name "empathy_account_settings_get_cm")
351 (return-type "const-gchar*")
354 (define-method get_protocol
355 (of-object "EmpathyAccountSettings")
356 (c-name "empathy_account_settings_get_protocol")
357 (return-type "const-gchar*")
360 (define-method get_account
361 (of-object "EmpathyAccountSettings")
362 (c-name "empathy_account_settings_get_account")
363 (return-type "EmpathyAccount*")
366 (define-method has_account
367 (of-object "EmpathyAccountSettings")
368 (c-name "empathy_account_settings_has_account")
369 (return-type "gboolean")
371 '("EmpathyAccount*" "account")
375 (define-method get_tp_params
376 (of-object "EmpathyAccountSettings")
377 (c-name "empathy_account_settings_get_tp_params")
378 (return-type "TpConnectionManagerParam*")
382 (of-object "EmpathyAccountSettings")
383 (c-name "empathy_account_settings_unset")
386 '("const-gchar*" "param")
390 (define-method discard_changes
391 (of-object "EmpathyAccountSettings")
392 (c-name "empathy_account_settings_discard_changes")
397 (of-object "EmpathyAccountSettings")
398 (c-name "empathy_account_settings_get")
399 (return-type "const-GValue*")
401 '("const-gchar*" "param")
405 (define-method get_dbus_signature
406 (of-object "EmpathyAccountSettings")
407 (c-name "empathy_account_settings_get_dbus_signature")
408 (return-type "const-gchar*")
410 '("const-gchar*" "param")
414 (define-method get_default
415 (of-object "EmpathyAccountSettings")
416 (c-name "empathy_account_settings_get_default")
417 (return-type "const-GValue*")
419 '("const-gchar*" "param")
423 (define-method get_string
424 (of-object "EmpathyAccountSettings")
425 (c-name "empathy_account_settings_get_string")
426 (return-type "const-gchar*")
428 '("const-gchar*" "param")
432 (define-method get_int32
433 (of-object "EmpathyAccountSettings")
434 (c-name "empathy_account_settings_get_int32")
435 (return-type "gint32")
437 '("const-gchar*" "param")
441 (define-method get_int64
442 (of-object "EmpathyAccountSettings")
443 (c-name "empathy_account_settings_get_int64")
444 (return-type "gint64")
446 '("const-gchar*" "param")
450 (define-method get_uint32
451 (of-object "EmpathyAccountSettings")
452 (c-name "empathy_account_settings_get_uint32")
453 (return-type "guint32")
455 '("const-gchar*" "param")
459 (define-method get_uint64
460 (of-object "EmpathyAccountSettings")
461 (c-name "empathy_account_settings_get_uint64")
462 (return-type "guint64")
464 '("const-gchar*" "param")
468 (define-method get_boolean
469 (of-object "EmpathyAccountSettings")
470 (c-name "empathy_account_settings_get_boolean")
471 (return-type "gboolean")
473 '("const-gchar*" "param")
477 (define-method set_string
478 (of-object "EmpathyAccountSettings")
479 (c-name "empathy_account_settings_set_string")
482 '("const-gchar*" "param")
483 '("const-gchar*" "value")
487 (define-method set_int32
488 (of-object "EmpathyAccountSettings")
489 (c-name "empathy_account_settings_set_int32")
492 '("const-gchar*" "param")
497 (define-method set_int64
498 (of-object "EmpathyAccountSettings")
499 (c-name "empathy_account_settings_set_int64")
502 '("const-gchar*" "param")
507 (define-method set_uint32
508 (of-object "EmpathyAccountSettings")
509 (c-name "empathy_account_settings_set_uint32")
512 '("const-gchar*" "param")
517 (define-method set_uint64
518 (of-object "EmpathyAccountSettings")
519 (c-name "empathy_account_settings_set_uint64")
522 '("const-gchar*" "param")
527 (define-method set_boolean
528 (of-object "EmpathyAccountSettings")
529 (c-name "empathy_account_settings_set_boolean")
532 '("const-gchar*" "param")
533 '("gboolean" "value")
537 (define-method get_icon_name
538 (of-object "EmpathyAccountSettings")
539 (c-name "empathy_account_settings_get_icon_name")
540 (return-type "gchar*")
543 (define-method set_icon_name_async
544 (of-object "EmpathyAccountSettings")
545 (c-name "empathy_account_settings_set_icon_name_async")
548 '("const-gchar*" "name")
549 '("GAsyncReadyCallback" "callback")
550 '("gpointer" "user_data")
554 (define-method set_icon_name_finish
555 (of-object "EmpathyAccountSettings")
556 (c-name "empathy_account_settings_set_icon_name_finish")
557 (return-type "gboolean")
559 '("GAsyncResult*" "result")
560 '("GError**" "error")
564 (define-method get_display_name
565 (of-object "EmpathyAccountSettings")
566 (c-name "empathy_account_settings_get_display_name")
567 (return-type "const-gchar*")
570 (define-method set_display_name_async
571 (of-object "EmpathyAccountSettings")
572 (c-name "empathy_account_settings_set_display_name_async")
575 '("const-gchar*" "name")
576 '("GAsyncReadyCallback" "callback")
577 '("gpointer" "user_data")
581 (define-method set_display_name_finish
582 (of-object "EmpathyAccountSettings")
583 (c-name "empathy_account_settings_set_display_name_finish")
584 (return-type "gboolean")
586 '("GAsyncResult*" "result")
587 '("GError**" "error")
591 (define-method apply_async
592 (of-object "EmpathyAccountSettings")
593 (c-name "empathy_account_settings_apply_async")
596 '("GAsyncReadyCallback" "callback")
597 '("gpointer" "user_data")
601 (define-method apply_finish
602 (of-object "EmpathyAccountSettings")
603 (c-name "empathy_account_settings_apply_finish")
604 (return-type "gboolean")
606 '("GAsyncResult*" "result")
607 '("GError**" "error")
611 (define-method is_valid
612 (of-object "EmpathyAccountSettings")
613 (c-name "empathy_account_settings_is_valid")
614 (return-type "gboolean")
619 ;; From empathy-account.h
621 (define-function account_get_type
622 (c-name "empathy_account_get_type")
623 (return-type "GType")
626 (define-method is_just_connected
627 (of-object "EmpathyAccount")
628 (c-name "empathy_account_is_just_connected")
629 (return-type "gboolean")
632 (define-method get_connection
633 (of-object "EmpathyAccount")
634 (c-name "empathy_account_get_connection")
635 (return-type "TpConnection*")
638 (define-method get_connection_for_path
639 (of-object "EmpathyAccount")
640 (c-name "empathy_account_get_connection_for_path")
641 (return-type "TpConnection*")
643 '("const-gchar*" "path")
647 (define-method get_unique_name
648 (of-object "EmpathyAccount")
649 (c-name "empathy_account_get_unique_name")
650 (return-type "const-gchar*")
653 (define-method get_display_name
654 (of-object "EmpathyAccount")
655 (c-name "empathy_account_get_display_name")
656 (return-type "const-gchar*")
659 (define-method get_connection_manager
660 (of-object "EmpathyAccount")
661 (c-name "empathy_account_get_connection_manager")
662 (return-type "const-gchar*")
665 (define-method get_protocol
666 (of-object "EmpathyAccount")
667 (c-name "empathy_account_get_protocol")
668 (return-type "const-gchar*")
671 (define-method get_icon_name
672 (of-object "EmpathyAccount")
673 (c-name "empathy_account_get_icon_name")
674 (return-type "const-gchar*")
677 (define-method set_enabled_async
678 (of-object "EmpathyAccount")
679 (c-name "empathy_account_set_enabled_async")
682 '("gboolean" "enabled")
683 '("GAsyncReadyCallback" "callback")
684 '("gpointer" "user_data")
688 (define-method set_enabled_finish
689 (of-object "EmpathyAccount")
690 (c-name "empathy_account_set_enabled_finish")
691 (return-type "gboolean")
693 '("GAsyncResult*" "result")
694 '("GError**" "error")
698 (define-method reconnect_async
699 (of-object "EmpathyAccount")
700 (c-name "empathy_account_reconnect_async")
703 '("GAsyncReadyCallback" "callback")
704 '("gpointer" "user_data")
708 (define-method reconnect_finish
709 (of-object "EmpathyAccount")
710 (c-name "empathy_account_reconnect_finish")
711 (return-type "gboolean")
713 '("GAsyncResult*" "result")
714 '("GError**" "error")
718 (define-method is_enabled
719 (of-object "EmpathyAccount")
720 (c-name "empathy_account_is_enabled")
721 (return-type "gboolean")
724 (define-method is_valid
725 (of-object "EmpathyAccount")
726 (c-name "empathy_account_is_valid")
727 (return-type "gboolean")
730 (define-method is_ready
731 (of-object "EmpathyAccount")
732 (c-name "empathy_account_is_ready")
733 (return-type "gboolean")
736 (define-method update_settings_async
737 (of-object "EmpathyAccount")
738 (c-name "empathy_account_update_settings_async")
741 '("GHashTable*" "parameters")
742 '("const-gchar**" "unset_parameters")
743 '("GAsyncReadyCallback" "callback")
744 '("gpointer" "user_data")
748 (define-method update_settings_finish
749 (of-object "EmpathyAccount")
750 (c-name "empathy_account_update_settings_finish")
751 (return-type "gboolean")
753 '("GAsyncResult*" "result")
754 '("GError**" "error")
758 (define-method remove_async
759 (of-object "EmpathyAccount")
760 (c-name "empathy_account_remove_async")
763 '("GAsyncReadyCallback" "callback")
764 '("gpointer" "user_data")
768 (define-method remove_finish
769 (of-object "EmpathyAccount")
770 (c-name "empathy_account_remove_finish")
771 (return-type "gboolean")
773 '("GAsyncResult*" "result")
774 '("GError**" "error")
778 (define-method set_display_name_async
779 (of-object "EmpathyAccount")
780 (c-name "empathy_account_set_display_name_async")
783 '("const-gchar*" "display_name")
784 '("GAsyncReadyCallback" "callback")
785 '("gpointer" "user_data")
789 (define-method set_display_name_finish
790 (of-object "EmpathyAccount")
791 (c-name "empathy_account_set_display_name_finish")
792 (return-type "gboolean")
794 '("GAsyncResult*" "result")
795 '("GError**" "error")
799 (define-method set_icon_name_async
800 (of-object "EmpathyAccount")
801 (c-name "empathy_account_set_icon_name_async")
804 '("const-gchar*" "icon_name")
805 '("GAsyncReadyCallback" "callback")
806 '("gpointer" "user_data")
810 (define-method set_icon_name_finish
811 (of-object "EmpathyAccount")
812 (c-name "empathy_account_set_icon_name_finish")
813 (return-type "gboolean")
815 '("GAsyncResult*" "result")
816 '("GError**" "error")
820 (define-function account_new
821 (c-name "empathy_account_new")
822 (is-constructor-of "EmpathyAccount")
823 (return-type "EmpathyAccount*")
825 '("TpDBusDaemon*" "bus_daemon")
826 '("const-gchar*" "unique_name")
830 (define-method request_presence
831 (of-object "EmpathyAccount")
832 (c-name "empathy_account_request_presence")
835 '("TpConnectionPresenceType" "type")
836 '("const-gchar*" "status")
837 '("const-gchar*" "message")
841 (define-method get_parameters
842 (of-object "EmpathyAccount")
843 (c-name "empathy_account_get_parameters")
844 (return-type "const-GHashTable*")
847 (define-method refresh_properties
848 (of-object "EmpathyAccount")
849 (c-name "empathy_account_refresh_properties")
855 ;; From empathy-account-manager.h
857 (define-function account_manager_get_type
858 (c-name "empathy_account_manager_get_type")
859 (return-type "GType")
862 (define-function account_manager_dup_singleton
863 (c-name "empathy_account_manager_dup_singleton")
864 (return-type "EmpathyAccountManager*")
867 (define-method is_ready
868 (of-object "EmpathyAccountManager")
869 (c-name "empathy_account_manager_is_ready")
870 (return-type "gboolean")
873 (define-method get_connected_accounts
874 (of-object "EmpathyAccountManager")
875 (c-name "empathy_account_manager_get_connected_accounts")
879 (define-method get_connecting_accounts
880 (of-object "EmpathyAccountManager")
881 (c-name "empathy_account_manager_get_connecting_accounts")
885 (define-method get_count
886 (of-object "EmpathyAccountManager")
887 (c-name "empathy_account_manager_get_count")
891 (define-method get_account_for_connection
892 (of-object "EmpathyAccountManager")
893 (c-name "empathy_account_manager_get_account_for_connection")
894 (return-type "EmpathyAccount*")
896 '("TpConnection*" "connection")
900 (define-method ensure_account
901 (of-object "EmpathyAccountManager")
902 (c-name "empathy_account_manager_ensure_account")
903 (return-type "EmpathyAccount*")
905 '("const-gchar*" "unique_name")
909 (define-method get_account
910 (of-object "EmpathyAccountManager")
911 (c-name "empathy_account_manager_get_account")
912 (return-type "EmpathyAccount*")
914 '("const-gchar*" "unique_name")
918 (define-method dup_accounts
919 (of-object "EmpathyAccountManager")
920 (c-name "empathy_account_manager_dup_accounts")
921 (return-type "GList*")
924 (define-method dup_connections
925 (of-object "EmpathyAccountManager")
926 (c-name "empathy_account_manager_dup_connections")
927 (return-type "GList*")
930 (define-method request_global_presence
931 (of-object "EmpathyAccountManager")
932 (c-name "empathy_account_manager_request_global_presence")
935 '("TpConnectionPresenceType" "type")
936 '("const-gchar*" "status")
937 '("const-gchar*" "message")
941 (define-method get_requested_global_presence
942 (of-object "EmpathyAccountManager")
943 (c-name "empathy_account_manager_get_requested_global_presence")
944 (return-type "TpConnectionPresenceType")
946 '("gchar**" "status")
947 '("gchar**" "message")
951 (define-method get_global_presence
952 (of-object "EmpathyAccountManager")
953 (c-name "empathy_account_manager_get_global_presence")
954 (return-type "TpConnectionPresenceType")
956 '("gchar**" "status")
957 '("gchar**" "message")
961 (define-method create_account_async
962 (of-object "EmpathyAccountManager")
963 (c-name "empathy_account_manager_create_account_async")
966 '("const-gchar*" "connection_manager")
967 '("const-gchar*" "protocol")
968 '("const-gchar*" "display_name")
969 '("GHashTable*" "parameters")
970 '("GHashTable*" "properties")
971 '("GAsyncReadyCallback" "callback")
972 '("gpointer" "user_data")
976 (define-method create_account_finish
977 (of-object "EmpathyAccountManager")
978 (c-name "empathy_account_manager_create_account_finish")
979 (return-type "EmpathyAccount*")
981 '("GAsyncResult*" "result")
982 '("GError**" "error")
988 ;; From empathy-chatroom.h
990 (define-function chatroom_get_type
991 (c-name "empathy_chatroom_get_type")
992 (return-type "GType")
995 (define-function chatroom_new
996 (c-name "empathy_chatroom_new")
997 (is-constructor-of "EmpathyChatroom")
998 (return-type "EmpathyChatroom*")
1000 '("EmpathyAccount*" "account")
1004 (define-function chatroom_new_full
1005 (c-name "empathy_chatroom_new_full")
1006 (return-type "EmpathyChatroom*")
1008 '("EmpathyAccount*" "account")
1009 '("const-gchar*" "room")
1010 '("const-gchar*" "name")
1011 '("gboolean" "auto_connect")
1015 (define-method get_account
1016 (of-object "EmpathyChatroom")
1017 (c-name "empathy_chatroom_get_account")
1018 (return-type "EmpathyAccount*")
1021 (define-method set_account
1022 (of-object "EmpathyChatroom")
1023 (c-name "empathy_chatroom_set_account")
1024 (return-type "none")
1026 '("EmpathyAccount*" "account")
1030 (define-method get_room
1031 (of-object "EmpathyChatroom")
1032 (c-name "empathy_chatroom_get_room")
1033 (return-type "const-gchar*")
1036 (define-method set_room
1037 (of-object "EmpathyChatroom")
1038 (c-name "empathy_chatroom_set_room")
1039 (return-type "none")
1041 '("const-gchar*" "room")
1045 (define-method get_name
1046 (of-object "EmpathyChatroom")
1047 (c-name "empathy_chatroom_get_name")
1048 (return-type "const-gchar*")
1051 (define-method set_name
1052 (of-object "EmpathyChatroom")
1053 (c-name "empathy_chatroom_set_name")
1054 (return-type "none")
1056 '("const-gchar*" "name")
1060 (define-method get_auto_connect
1061 (of-object "EmpathyChatroom")
1062 (c-name "empathy_chatroom_get_auto_connect")
1063 (return-type "gboolean")
1066 (define-method set_auto_connect
1067 (of-object "EmpathyChatroom")
1068 (c-name "empathy_chatroom_set_auto_connect")
1069 (return-type "none")
1071 '("gboolean" "auto_connect")
1075 (define-method get_subject
1076 (of-object "EmpathyChatroom")
1077 (c-name "empathy_chatroom_get_subject")
1078 (return-type "const-gchar*")
1081 (define-method set_subject
1082 (of-object "EmpathyChatroom")
1083 (c-name "empathy_chatroom_set_subject")
1084 (return-type "none")
1086 '("const-gchar*" "subject")
1090 (define-method get_members_count
1091 (of-object "EmpathyChatroom")
1092 (c-name "empathy_chatroom_get_members_count")
1093 (return-type "guint")
1096 (define-method set_members_count
1097 (of-object "EmpathyChatroom")
1098 (c-name "empathy_chatroom_set_members_count")
1099 (return-type "none")
1105 (define-method get_need_password
1106 (of-object "EmpathyChatroom")
1107 (c-name "empathy_chatroom_get_need_password")
1108 (return-type "gboolean")
1111 (define-method set_need_password
1112 (of-object "EmpathyChatroom")
1113 (c-name "empathy_chatroom_set_need_password")
1114 (return-type "none")
1116 '("gboolean" "need_password")
1120 (define-method get_invite_only
1121 (of-object "EmpathyChatroom")
1122 (c-name "empathy_chatroom_get_invite_only")
1123 (return-type "gboolean")
1126 (define-method set_invite_only
1127 (of-object "EmpathyChatroom")
1128 (c-name "empathy_chatroom_set_invite_only")
1129 (return-type "none")
1131 '("gboolean" "invite_only")
1135 (define-function chatroom_equal
1136 (c-name "empathy_chatroom_equal")
1137 (return-type "gboolean")
1139 '("gconstpointer" "v1")
1140 '("gconstpointer" "v2")
1144 (define-method get_tp_chat
1145 (of-object "EmpathyChatroom")
1146 (c-name "empathy_chatroom_get_tp_chat")
1147 (return-type "EmpathyTpChat*")
1150 (define-method set_tp_chat
1151 (of-object "EmpathyChatroom")
1152 (c-name "empathy_chatroom_set_tp_chat")
1153 (return-type "none")
1155 '("EmpathyTpChat*" "tp_chat")
1159 (define-method is_favorite
1160 (of-object "EmpathyChatroom")
1161 (c-name "empathy_chatroom_is_favorite")
1162 (return-type "gboolean")
1165 (define-method set_favorite
1166 (of-object "EmpathyChatroom")
1167 (c-name "empathy_chatroom_set_favorite")
1168 (return-type "none")
1170 '("gboolean" "favorite")
1176 ;; From empathy-chatroom-manager.h
1178 (define-function chatroom_manager_get_type
1179 (c-name "empathy_chatroom_manager_get_type")
1180 (return-type "GType")
1183 (define-function chatroom_manager_dup_singleton
1184 (c-name "empathy_chatroom_manager_dup_singleton")
1185 (return-type "EmpathyChatroomManager*")
1187 '("const-gchar*" "file")
1192 (of-object "EmpathyChatroomManager")
1193 (c-name "empathy_chatroom_manager_add")
1194 (return-type "gboolean")
1196 '("EmpathyChatroom*" "chatroom")
1200 (define-method remove
1201 (of-object "EmpathyChatroomManager")
1202 (c-name "empathy_chatroom_manager_remove")
1203 (return-type "none")
1205 '("EmpathyChatroom*" "chatroom")
1210 (of-object "EmpathyChatroomManager")
1211 (c-name "empathy_chatroom_manager_find")
1212 (return-type "EmpathyChatroom*")
1214 '("EmpathyAccount*" "account")
1215 '("const-gchar*" "room")
1219 (define-method get_chatrooms
1220 (of-object "EmpathyChatroomManager")
1221 (c-name "empathy_chatroom_manager_get_chatrooms")
1222 (return-type "GList*")
1224 '("EmpathyAccount*" "account")
1228 (define-method get_count
1229 (of-object "EmpathyChatroomManager")
1230 (c-name "empathy_chatroom_manager_get_count")
1231 (return-type "guint")
1233 '("EmpathyAccount*" "account")
1237 (define-method observe
1238 (of-object "EmpathyChatroomManager")
1239 (c-name "empathy_chatroom_manager_observe")
1240 (return-type "none")
1242 '("EmpathyDispatcher*" "dispatcher")
1248 ;; From empathy-call-factory.h
1250 (define-function call_factory_get_type
1251 (c-name "empathy_call_factory_get_type")
1252 (return-type "GType")
1255 (define-function call_factory_initialise
1256 (c-name "empathy_call_factory_initialise")
1257 (return-type "EmpathyCallFactory*")
1260 (define-function call_factory_get
1261 (c-name "empathy_call_factory_get")
1262 (return-type "EmpathyCallFactory*")
1265 (define-method new_call
1266 (of-object "EmpathyCallFactory")
1267 (c-name "empathy_call_factory_new_call")
1268 (return-type "none")
1270 '("EmpathyContact*" "contact")
1274 (define-method new_call_with_streams
1275 (of-object "EmpathyCallFactory")
1276 (c-name "empathy_call_factory_new_call_with_streams")
1277 (return-type "none")
1279 '("EmpathyContact*" "contact")
1280 '("gboolean" "initial_audio")
1281 '("gboolean" "initial_video")
1285 (define-method claim_channel
1286 (of-object "EmpathyCallFactory")
1287 (c-name "empathy_call_factory_claim_channel")
1288 (return-type "none")
1290 '("EmpathyDispatchOperation*" "operation")
1296 ;; From empathy-call-handler.h
1298 (define-function call_handler_get_type
1299 (c-name "empathy_call_handler_get_type")
1300 (return-type "GType")
1303 (define-function call_handler_new_for_contact
1304 (c-name "empathy_call_handler_new_for_contact")
1305 (return-type "EmpathyCallHandler*")
1307 '("EmpathyContact*" "contact")
1311 (define-function call_handler_new_for_contact_with_streams
1312 (c-name "empathy_call_handler_new_for_contact_with_streams")
1313 (return-type "EmpathyCallHandler*")
1315 '("EmpathyContact*" "contact")
1316 '("gboolean" "audio")
1317 '("gboolean" "video")
1321 (define-function call_handler_new_for_channel
1322 (c-name "empathy_call_handler_new_for_channel")
1323 (return-type "EmpathyCallHandler*")
1325 '("EmpathyTpCall*" "call")
1329 (define-method start_call
1330 (of-object "EmpathyCallHandler")
1331 (c-name "empathy_call_handler_start_call")
1332 (return-type "none")
1335 (define-method stop_call
1336 (of-object "EmpathyCallHandler")
1337 (c-name "empathy_call_handler_stop_call")
1338 (return-type "none")
1341 (define-method has_initial_video
1342 (of-object "EmpathyCallHandler")
1343 (c-name "empathy_call_handler_has_initial_video")
1344 (return-type "gboolean")
1347 (define-method bus_message
1348 (of-object "EmpathyCallHandler")
1349 (c-name "empathy_call_handler_bus_message")
1350 (return-type "none")
1353 '("GstMessage*" "message")
1359 ;; From empathy-connectivity.h
1361 (define-function connectivity_get_type
1362 (c-name "empathy_connectivity_get_type")
1363 (return-type "GType")
1366 (define-function connectivity_dup_singleton
1367 (c-name "empathy_connectivity_dup_singleton")
1368 (return-type "EmpathyConnectivity*")
1371 (define-method is_online
1372 (of-object "EmpathyConnectivity")
1373 (c-name "empathy_connectivity_is_online")
1374 (return-type "gboolean")
1377 (define-method get_use_conn
1378 (of-object "EmpathyConnectivity")
1379 (c-name "empathy_connectivity_get_use_conn")
1380 (return-type "gboolean")
1383 (define-method set_use_conn
1384 (of-object "EmpathyConnectivity")
1385 (c-name "empathy_connectivity_set_use_conn")
1386 (return-type "none")
1388 '("gboolean" "use_conn")
1394 ;; From empathy-contact.h
1396 (define-function contact_get_type
1397 (c-name "empathy_contact_get_type")
1398 (return-type "GType")
1401 (define-function contact_new
1402 (c-name "empathy_contact_new")
1403 (is-constructor-of "EmpathyContact")
1404 (return-type "EmpathyContact*")
1406 '("TpContact*" "tp_contact")
1410 (define-function contact_new_for_log
1411 (c-name "empathy_contact_new_for_log")
1412 (return-type "EmpathyContact*")
1414 '("EmpathyAccount*" "account")
1415 '("const-gchar*" "id")
1416 '("const-gchar*" "name")
1417 '("gboolean" "is_user")
1421 (define-method get_tp_contact
1422 (of-object "EmpathyContact")
1423 (c-name "empathy_contact_get_tp_contact")
1424 (return-type "TpContact*")
1427 (define-method get_id
1428 (of-object "EmpathyContact")
1429 (c-name "empathy_contact_get_id")
1430 (return-type "const-gchar*")
1433 (define-method set_id
1434 (of-object "EmpathyContact")
1435 (c-name "empathy_contact_set_id")
1436 (return-type "none")
1438 '("const-gchar*" "id")
1442 (define-method get_name
1443 (of-object "EmpathyContact")
1444 (c-name "empathy_contact_get_name")
1445 (return-type "const-gchar*")
1448 (define-method set_name
1449 (of-object "EmpathyContact")
1450 (c-name "empathy_contact_set_name")
1451 (return-type "none")
1453 '("const-gchar*" "name")
1457 (define-method get_avatar
1458 (of-object "EmpathyContact")
1459 (c-name "empathy_contact_get_avatar")
1460 (return-type "EmpathyAvatar*")
1463 (define-method set_avatar
1464 (of-object "EmpathyContact")
1465 (c-name "empathy_contact_set_avatar")
1466 (return-type "none")
1468 '("EmpathyAvatar*" "avatar")
1472 (define-method get_account
1473 (of-object "EmpathyContact")
1474 (c-name "empathy_contact_get_account")
1475 (return-type "EmpathyAccount*")
1478 (define-method get_connection
1479 (of-object "EmpathyContact")
1480 (c-name "empathy_contact_get_connection")
1481 (return-type "TpConnection*")
1484 (define-method get_presence
1485 (of-object "EmpathyContact")
1486 (c-name "empathy_contact_get_presence")
1487 (return-type "TpConnectionPresenceType")
1490 (define-method set_presence
1491 (of-object "EmpathyContact")
1492 (c-name "empathy_contact_set_presence")
1493 (return-type "none")
1495 '("TpConnectionPresenceType" "presence")
1499 (define-method get_presence_message
1500 (of-object "EmpathyContact")
1501 (c-name "empathy_contact_get_presence_message")
1502 (return-type "const-gchar*")
1505 (define-method set_presence_message
1506 (of-object "EmpathyContact")
1507 (c-name "empathy_contact_set_presence_message")
1508 (return-type "none")
1510 '("const-gchar*" "message")
1514 (define-method get_handle
1515 (of-object "EmpathyContact")
1516 (c-name "empathy_contact_get_handle")
1517 (return-type "guint")
1520 (define-method set_handle
1521 (of-object "EmpathyContact")
1522 (c-name "empathy_contact_set_handle")
1523 (return-type "none")
1529 (define-method get_capabilities
1530 (of-object "EmpathyContact")
1531 (c-name "empathy_contact_get_capabilities")
1532 (return-type "EmpathyCapabilities")
1535 (define-method set_capabilities
1536 (of-object "EmpathyContact")
1537 (c-name "empathy_contact_set_capabilities")
1538 (return-type "none")
1540 '("EmpathyCapabilities" "capabilities")
1544 (define-method is_user
1545 (of-object "EmpathyContact")
1546 (c-name "empathy_contact_is_user")
1547 (return-type "gboolean")
1550 (define-method set_is_user
1551 (of-object "EmpathyContact")
1552 (c-name "empathy_contact_set_is_user")
1553 (return-type "none")
1555 '("gboolean" "is_user")
1559 (define-method is_online
1560 (of-object "EmpathyContact")
1561 (c-name "empathy_contact_is_online")
1562 (return-type "gboolean")
1565 (define-method get_status
1566 (of-object "EmpathyContact")
1567 (c-name "empathy_contact_get_status")
1568 (return-type "const-gchar*")
1571 (define-method can_voip
1572 (of-object "EmpathyContact")
1573 (c-name "empathy_contact_can_voip")
1574 (return-type "gboolean")
1577 (define-method can_voip_audio
1578 (of-object "EmpathyContact")
1579 (c-name "empathy_contact_can_voip_audio")
1580 (return-type "gboolean")
1583 (define-method can_voip_video
1584 (of-object "EmpathyContact")
1585 (c-name "empathy_contact_can_voip_video")
1586 (return-type "gboolean")
1589 (define-method can_send_files
1590 (of-object "EmpathyContact")
1591 (c-name "empathy_contact_can_send_files")
1592 (return-type "gboolean")
1595 (define-method can_use_stream_tube
1596 (of-object "EmpathyContact")
1597 (c-name "empathy_contact_can_use_stream_tube")
1598 (return-type "gboolean")
1601 (define-function contact_hash
1602 (c-name "empathy_contact_hash")
1603 (return-type "guint")
1605 '("gconstpointer" "key")
1609 (define-method load_avatar_data
1610 (of-object "EmpathyContact")
1611 (c-name "empathy_contact_load_avatar_data")
1612 (return-type "none")
1614 '("const-guchar*" "data")
1615 '("const-gsize" "len")
1616 '("const-gchar*" "format")
1617 '("const-gchar*" "token")
1621 (define-method load_avatar_cache
1622 (of-object "EmpathyContact")
1623 (c-name "empathy_contact_load_avatar_cache")
1624 (return-type "gboolean")
1626 '("const-gchar*" "token")
1630 (define-function avatar_get_type
1631 (c-name "empathy_avatar_get_type")
1632 (return-type "GType")
1635 (define-function avatar_new
1636 (c-name "empathy_avatar_new")
1637 (is-constructor-of "EmpathyAvatar")
1638 (return-type "EmpathyAvatar*")
1642 '("gchar*" "format")
1644 '("gchar*" "filename")
1649 (of-object "EmpathyAvatar")
1650 (c-name "empathy_avatar_ref")
1651 (return-type "EmpathyAvatar*")
1654 (define-method unref
1655 (of-object "EmpathyAvatar")
1656 (c-name "empathy_avatar_unref")
1657 (return-type "none")
1660 (define-method save_to_file
1661 (of-object "EmpathyAvatar")
1662 (c-name "empathy_avatar_save_to_file")
1663 (return-type "gboolean")
1665 '("const-gchar*" "filename")
1666 '("GError**" "error")
1670 (define-method get_location
1671 (of-object "EmpathyContact")
1672 (c-name "empathy_contact_get_location")
1673 (return-type "GHashTable*")
1676 (define-method set_location
1677 (of-object "EmpathyContact")
1678 (c-name "empathy_contact_set_location")
1679 (return-type "none")
1681 '("GHashTable*" "location")
1685 (define-function contact_equal
1686 (c-name "empathy_contact_equal")
1687 (return-type "gboolean")
1689 '("gconstpointer" "contact1")
1690 '("gconstpointer" "contact2")
1696 ;; From empathy-contact-groups.h
1698 (define-function contact_groups_get_all
1699 (c-name "empathy_contact_groups_get_all")
1700 (return-type "none")
1703 (define-function contact_group_get_expanded
1704 (c-name "empathy_contact_group_get_expanded")
1705 (return-type "gboolean")
1707 '("const-gchar*" "group")
1711 (define-function contact_group_set_expanded
1712 (c-name "empathy_contact_group_set_expanded")
1713 (return-type "none")
1715 '("const-gchar*" "group")
1716 '("gboolean" "expanded")
1722 ;; From empathy-contact-list.h
1724 (define-function contact_list_get_type
1725 (c-name "empathy_contact_list_get_type")
1726 (return-type "GType")
1730 (of-object "EmpathyContactList")
1731 (c-name "empathy_contact_list_add")
1732 (return-type "none")
1734 '("EmpathyContact*" "contact")
1735 '("const-gchar*" "message")
1739 (define-method remove
1740 (of-object "EmpathyContactList")
1741 (c-name "empathy_contact_list_remove")
1742 (return-type "none")
1744 '("EmpathyContact*" "contact")
1745 '("const-gchar*" "message")
1749 (define-method get_members
1750 (of-object "EmpathyContactList")
1751 (c-name "empathy_contact_list_get_members")
1752 (return-type "GList*")
1755 (define-method get_pendings
1756 (of-object "EmpathyContactList")
1757 (c-name "empathy_contact_list_get_pendings")
1758 (return-type "GList*")
1761 (define-method get_all_groups
1762 (of-object "EmpathyContactList")
1763 (c-name "empathy_contact_list_get_all_groups")
1764 (return-type "GList*")
1767 (define-method get_groups
1768 (of-object "EmpathyContactList")
1769 (c-name "empathy_contact_list_get_groups")
1770 (return-type "GList*")
1772 '("EmpathyContact*" "contact")
1776 (define-method add_to_group
1777 (of-object "EmpathyContactList")
1778 (c-name "empathy_contact_list_add_to_group")
1779 (return-type "none")
1781 '("EmpathyContact*" "contact")
1782 '("const-gchar*" "group")
1786 (define-method remove_from_group
1787 (of-object "EmpathyContactList")
1788 (c-name "empathy_contact_list_remove_from_group")
1789 (return-type "none")
1791 '("EmpathyContact*" "contact")
1792 '("const-gchar*" "group")
1796 (define-method rename_group
1797 (of-object "EmpathyContactList")
1798 (c-name "empathy_contact_list_rename_group")
1799 (return-type "none")
1801 '("const-gchar*" "old_group")
1802 '("const-gchar*" "new_group")
1806 (define-method remove_group
1807 (of-object "EmpathyContactList")
1808 (c-name "empathy_contact_list_remove_group")
1809 (return-type "none")
1811 '("const-gchar*" "group")
1815 (define-method get_monitor
1816 (of-object "EmpathyContactList")
1817 (c-name "empathy_contact_list_get_monitor")
1818 (return-type "EmpathyContactMonitor*")
1821 (define-method get_flags
1822 (of-object "EmpathyContactList")
1823 (c-name "empathy_contact_list_get_flags")
1824 (return-type "EmpathyContactListFlags")
1829 ;; From empathy-contact-manager.h
1831 (define-function contact_manager_get_type
1832 (c-name "empathy_contact_manager_get_type")
1833 (return-type "GType")
1836 (define-function contact_manager_initialized
1837 (c-name "empathy_contact_manager_initialized")
1838 (return-type "gboolean")
1841 (define-function contact_manager_dup_singleton
1842 (c-name "empathy_contact_manager_dup_singleton")
1843 (return-type "EmpathyContactManager*")
1846 (define-method get_list
1847 (of-object "EmpathyContactManager")
1848 (c-name "empathy_contact_manager_get_list")
1849 (return-type "EmpathyTpContactList*")
1851 '("TpConnection*" "connection")
1855 (define-method get_flags_for_connection
1856 (of-object "EmpathyContactManager")
1857 (c-name "empathy_contact_manager_get_flags_for_connection")
1858 (return-type "EmpathyContactListFlags")
1860 '("TpConnection*" "connection")
1866 ;; From empathy-contact-monitor.h
1868 (define-function contact_monitor_get_type
1869 (c-name "empathy_contact_monitor_get_type")
1870 (return-type "GType")
1873 (define-method set_iface
1874 (of-object "EmpathyContactMonitor")
1875 (c-name "empathy_contact_monitor_set_iface")
1876 (return-type "none")
1878 '("EmpathyContactList*" "iface")
1882 (define-function contact_monitor_new_for_iface
1883 (c-name "empathy_contact_monitor_new_for_iface")
1884 (return-type "EmpathyContactMonitor*")
1886 '("EmpathyContactList*" "iface")
1892 ;; From empathy-connection-managers.h
1894 (define-function connection_managers_get_type
1895 (c-name "empathy_connection_managers_get_type")
1896 (return-type "GType")
1899 (define-function connection_managers_dup_singleton
1900 (c-name "empathy_connection_managers_dup_singleton")
1901 (return-type "EmpathyConnectionManagers*")
1904 (define-method is_ready
1905 (of-object "EmpathyConnectionManagers")
1906 (c-name "empathy_connection_managers_is_ready")
1907 (return-type "gboolean")
1910 (define-method update
1911 (of-object "EmpathyConnectionManagers")
1912 (c-name "empathy_connection_managers_update")
1913 (return-type "none")
1916 (define-method get_cms
1917 (of-object "EmpathyConnectionManagers")
1918 (c-name "empathy_connection_managers_get_cms")
1919 (return-type "GList*")
1922 (define-method get_cms_num
1923 (of-object "EmpathyConnectionManagers")
1924 (c-name "empathy_connection_managers_get_cms_num")
1925 (return-type "guint")
1928 (define-method get_cm
1929 (of-object "EmpathyConnectionManagers")
1930 (c-name "empathy_connection_managers_get_cm")
1931 (return-type "TpConnectionManager*")
1933 '("const-gchar*" "cm")
1939 ;; From empathy-debug.h
1941 (define-function debug_flag_is_set
1942 (c-name "empathy_debug_flag_is_set")
1943 (return-type "gboolean")
1945 '("EmpathyDebugFlags" "flag")
1949 (define-function debug
1950 (c-name "empathy_debug")
1951 (return-type "none")
1953 '("EmpathyDebugFlags" "flag")
1954 '("const-gchar*" "format")
1959 (define-function debug_free
1960 (c-name "empathy_debug_free")
1961 (return-type "none")
1964 (define-function debug_set_flags
1965 (c-name "empathy_debug_set_flags")
1966 (return-type "none")
1968 '("const-gchar*" "flags_string")
1974 ;; From empathy-debugger.h
1976 (define-function debugger_get_type
1977 (c-name "empathy_debugger_get_type")
1978 (return-type "GType")
1981 (define-function debugger_get_singleton
1982 (c-name "empathy_debugger_get_singleton")
1983 (return-type "EmpathyDebugger*")
1986 (define-method add_message
1987 (of-object "EmpathyDebugger")
1988 (c-name "empathy_debugger_add_message")
1989 (return-type "none")
1991 '("GTimeVal*" "timestamp")
1992 '("const-gchar*" "domain")
1993 '("GLogLevelFlags" "level")
1994 '("const-gchar*" "string")
2000 ;; From empathy-dispatcher.h
2002 (define-function dispatcher_get_type
2003 (c-name "empathy_dispatcher_get_type")
2004 (return-type "GType")
2007 (define-method create_channel
2008 (of-object "EmpathyDispatcher")
2009 (c-name "empathy_dispatcher_create_channel")
2010 (return-type "none")
2012 '("TpConnection*" "connection")
2013 '("GHashTable*" "request")
2014 '("EmpathyDispatcherRequestCb*" "callback")
2015 '("gpointer" "user_data")
2019 (define-function dispatcher_chat_with_contact_id
2020 (c-name "empathy_dispatcher_chat_with_contact_id")
2021 (return-type "none")
2023 '("TpConnection*" "connection")
2024 '("const-gchar*" "contact_id")
2025 '("EmpathyDispatcherRequestCb*" "callback")
2026 '("gpointer" "user_data")
2030 (define-function dispatcher_chat_with_contact
2031 (c-name "empathy_dispatcher_chat_with_contact")
2032 (return-type "none")
2034 '("EmpathyContact*" "contact")
2035 '("EmpathyDispatcherRequestCb*" "callback")
2036 '("gpointer" "user_data")
2040 (define-function dispatcher_send_file_to_contact
2041 (c-name "empathy_dispatcher_send_file_to_contact")
2042 (return-type "none")
2044 '("EmpathyContact*" "contact")
2045 '("const-gchar*" "filename")
2048 '("const-gchar*" "content_type")
2049 '("EmpathyDispatcherRequestCb*" "callback")
2050 '("gpointer" "user_data")
2054 (define-function dispatcher_join_muc
2055 (c-name "empathy_dispatcher_join_muc")
2056 (return-type "none")
2058 '("TpConnection*" "connection")
2059 '("const-gchar*" "roomname")
2060 '("EmpathyDispatcherRequestCb*" "callback")
2061 '("gpointer" "user_data")
2065 (define-method find_requestable_channel_classes_async
2066 (of-object "EmpathyDispatcher")
2067 (c-name "empathy_dispatcher_find_requestable_channel_classes_async")
2068 (return-type "none")
2070 '("TpConnection*" "connection")
2071 '("const-gchar*" "channel_type")
2072 '("guint" "handle_type")
2073 '("EmpathyDispatcherFindChannelClassCb" "callback")
2074 '("gpointer" "user_data")
2075 '("const-char*" "first_property_name")
2080 (define-method find_requestable_channel_classes
2081 (of-object "EmpathyDispatcher")
2082 (c-name "empathy_dispatcher_find_requestable_channel_classes")
2083 (return-type "GList*")
2085 '("TpConnection*" "connection")
2086 '("const-gchar*" "channel_type")
2087 '("guint" "handle_type")
2088 '("const-char*" "first_property_name")
2093 (define-function dispatcher_new
2094 (c-name "empathy_dispatcher_new")
2095 (is-constructor-of "EmpathyDispatcher")
2096 (return-type "EmpathyDispatcher*")
2098 '("const-gchar*" "name")
2099 '("GPtrArray*" "filters")
2100 '("GStrv" "capabilities")
2104 (define-method add_handler
2105 (of-object "EmpathyDispatcher")
2106 (c-name "empathy_dispatcher_add_handler")
2107 (return-type "EmpathyHandler*")
2109 '("const-gchar*" "name")
2110 '("GPtrArray*" "filters")
2111 '("GStrv" "capabilities")
2115 (define-method remove_handler
2116 (of-object "EmpathyDispatcher")
2117 (c-name "empathy_dispatcher_remove_handler")
2118 (return-type "none")
2120 '("EmpathyHandler*" "handler")
2124 (define-function dispatcher_dup_singleton
2125 (c-name "empathy_dispatcher_dup_singleton")
2126 (return-type "EmpathyDispatcher*")
2131 ;; From empathy-dispatch-operation.h
2133 (define-function dispatch_operation_get_type
2134 (c-name "empathy_dispatch_operation_get_type")
2135 (return-type "GType")
2138 (define-function dispatch_operation_new
2139 (c-name "empathy_dispatch_operation_new")
2140 (is-constructor-of "EmpathyDispatchOperation")
2141 (return-type "EmpathyDispatchOperation*")
2143 '("TpConnection*" "connection")
2144 '("TpChannel*" "channel")
2145 '("EmpathyContact*" "contact")
2146 '("gboolean" "incoming")
2150 (define-function dispatch_operation_new_with_wrapper
2151 (c-name "empathy_dispatch_operation_new_with_wrapper")
2152 (return-type "EmpathyDispatchOperation*")
2154 '("TpConnection*" "connection")
2155 '("TpChannel*" "channel")
2156 '("EmpathyContact*" "contact")
2157 '("gboolean" "incoming")
2158 '("GObject*" "channel_wrapper")
2162 (define-method start
2163 (of-object "EmpathyDispatchOperation")
2164 (c-name "empathy_dispatch_operation_start")
2165 (return-type "none")
2168 (define-method approve
2169 (of-object "EmpathyDispatchOperation")
2170 (c-name "empathy_dispatch_operation_approve")
2171 (return-type "none")
2174 (define-method claim
2175 (of-object "EmpathyDispatchOperation")
2176 (c-name "empathy_dispatch_operation_claim")
2177 (return-type "gboolean")
2180 (define-method get_channel
2181 (of-object "EmpathyDispatchOperation")
2182 (c-name "empathy_dispatch_operation_get_channel")
2183 (return-type "TpChannel*")
2186 (define-method get_channel_wrapper
2187 (of-object "EmpathyDispatchOperation")
2188 (c-name "empathy_dispatch_operation_get_channel_wrapper")
2189 (return-type "GObject*")
2192 (define-method get_tp_connection
2193 (of-object "EmpathyDispatchOperation")
2194 (c-name "empathy_dispatch_operation_get_tp_connection")
2195 (return-type "TpConnection*")
2198 (define-method get_channel_type
2199 (of-object "EmpathyDispatchOperation")
2200 (c-name "empathy_dispatch_operation_get_channel_type")
2201 (return-type "const-gchar*")
2204 (define-method get_channel_type_id
2205 (of-object "EmpathyDispatchOperation")
2206 (c-name "empathy_dispatch_operation_get_channel_type_id")
2207 (return-type "GQuark")
2210 (define-method get_object_path
2211 (of-object "EmpathyDispatchOperation")
2212 (c-name "empathy_dispatch_operation_get_object_path")
2213 (return-type "const-gchar*")
2216 (define-method get_status
2217 (of-object "EmpathyDispatchOperation")
2218 (c-name "empathy_dispatch_operation_get_status")
2219 (return-type "EmpathyDispatchOperationState")
2222 (define-method is_incoming
2223 (of-object "EmpathyDispatchOperation")
2224 (c-name "empathy_dispatch_operation_is_incoming")
2225 (return-type "gboolean")
2230 ;; From empathy-ft-factory.h
2232 (define-function ft_factory_get_type
2233 (c-name "empathy_ft_factory_get_type")
2234 (return-type "GType")
2237 (define-function ft_factory_dup_singleton
2238 (c-name "empathy_ft_factory_dup_singleton")
2239 (return-type "EmpathyFTFactory*")
2242 (define-method new_transfer_outgoing
2243 (of-object "EmpathyFTFactory")
2244 (c-name "empathy_ft_factory_new_transfer_outgoing")
2245 (return-type "none")
2247 '("EmpathyContact*" "contact")
2248 '("GFile*" "source")
2252 (define-method claim_channel
2253 (of-object "EmpathyFTFactory")
2254 (c-name "empathy_ft_factory_claim_channel")
2255 (return-type "none")
2257 '("EmpathyDispatchOperation*" "operation")
2261 (define-method set_destination_for_incoming_handler
2262 (of-object "EmpathyFTFactory")
2263 (c-name "empathy_ft_factory_set_destination_for_incoming_handler")
2264 (return-type "none")
2266 '("EmpathyFTHandler*" "handler")
2267 '("GFile*" "destination")
2273 ;; From empathy-ft-handler.h
2275 (define-function ft_handler_get_type
2276 (c-name "empathy_ft_handler_get_type")
2277 (return-type "GType")
2280 (define-function ft_handler_new_outgoing
2281 (c-name "empathy_ft_handler_new_outgoing")
2282 (return-type "none")
2284 '("EmpathyContact*" "contact")
2285 '("GFile*" "source")
2286 '("EmpathyFTHandlerReadyCallback" "callback")
2287 '("gpointer" "user_data")
2291 (define-function ft_handler_new_incoming
2292 (c-name "empathy_ft_handler_new_incoming")
2293 (return-type "none")
2295 '("EmpathyTpFile*" "tp_file")
2296 '("EmpathyFTHandlerReadyCallback" "callback")
2297 '("gpointer" "user_data")
2301 (define-method incoming_set_destination
2302 (of-object "EmpathyFTHandler")
2303 (c-name "empathy_ft_handler_incoming_set_destination")
2304 (return-type "none")
2306 '("GFile*" "destination")
2310 (define-method start_transfer
2311 (of-object "EmpathyFTHandler")
2312 (c-name "empathy_ft_handler_start_transfer")
2313 (return-type "none")
2316 (define-method cancel_transfer
2317 (of-object "EmpathyFTHandler")
2318 (c-name "empathy_ft_handler_cancel_transfer")
2319 (return-type "none")
2322 (define-method get_filename
2323 (of-object "EmpathyFTHandler")
2324 (c-name "empathy_ft_handler_get_filename")
2325 (return-type "const-char*")
2328 (define-method get_content_type
2329 (of-object "EmpathyFTHandler")
2330 (c-name "empathy_ft_handler_get_content_type")
2331 (return-type "const-char*")
2334 (define-method get_contact
2335 (of-object "EmpathyFTHandler")
2336 (c-name "empathy_ft_handler_get_contact")
2337 (return-type "EmpathyContact*")
2340 (define-method get_gfile
2341 (of-object "EmpathyFTHandler")
2342 (c-name "empathy_ft_handler_get_gfile")
2343 (return-type "GFile*")
2346 (define-method get_use_hash
2347 (of-object "EmpathyFTHandler")
2348 (c-name "empathy_ft_handler_get_use_hash")
2349 (return-type "gboolean")
2352 (define-method is_incoming
2353 (of-object "EmpathyFTHandler")
2354 (c-name "empathy_ft_handler_is_incoming")
2355 (return-type "gboolean")
2358 (define-method get_transferred_bytes
2359 (of-object "EmpathyFTHandler")
2360 (c-name "empathy_ft_handler_get_transferred_bytes")
2361 (return-type "guint64")
2364 (define-method get_total_bytes
2365 (of-object "EmpathyFTHandler")
2366 (c-name "empathy_ft_handler_get_total_bytes")
2367 (return-type "guint64")
2370 (define-method is_completed
2371 (of-object "EmpathyFTHandler")
2372 (c-name "empathy_ft_handler_is_completed")
2373 (return-type "gboolean")
2376 (define-method is_cancelled
2377 (of-object "EmpathyFTHandler")
2378 (c-name "empathy_ft_handler_is_cancelled")
2379 (return-type "gboolean")
2384 ;; From empathy-idle.h
2386 (define-function idle_get_type
2387 (c-name "empathy_idle_get_type")
2388 (return-type "GType")
2391 (define-function idle_dup_singleton
2392 (c-name "empathy_idle_dup_singleton")
2393 (return-type "EmpathyIdle*")
2396 (define-method get_state
2397 (of-object "EmpathyIdle")
2398 (c-name "empathy_idle_get_state")
2399 (return-type "TpConnectionPresenceType")
2402 (define-method set_state
2403 (of-object "EmpathyIdle")
2404 (c-name "empathy_idle_set_state")
2405 (return-type "none")
2407 '("TpConnectionPresenceType" "state")
2411 (define-method get_status
2412 (of-object "EmpathyIdle")
2413 (c-name "empathy_idle_get_status")
2414 (return-type "const-gchar*")
2417 (define-method set_status
2418 (of-object "EmpathyIdle")
2419 (c-name "empathy_idle_set_status")
2420 (return-type "none")
2422 '("const-gchar*" "status")
2426 (define-method get_flash_state
2427 (of-object "EmpathyIdle")
2428 (c-name "empathy_idle_get_flash_state")
2429 (return-type "TpConnectionPresenceType")
2432 (define-method set_flash_state
2433 (of-object "EmpathyIdle")
2434 (c-name "empathy_idle_set_flash_state")
2435 (return-type "none")
2437 '("TpConnectionPresenceType" "state")
2441 (define-method set_presence
2442 (of-object "EmpathyIdle")
2443 (c-name "empathy_idle_set_presence")
2444 (return-type "none")
2446 '("TpConnectionPresenceType" "state")
2447 '("const-gchar*" "status")
2451 (define-method get_auto_away
2452 (of-object "EmpathyIdle")
2453 (c-name "empathy_idle_get_auto_away")
2454 (return-type "gboolean")
2457 (define-method set_auto_away
2458 (of-object "EmpathyIdle")
2459 (c-name "empathy_idle_set_auto_away")
2460 (return-type "none")
2462 '("gboolean" "auto_away")
2468 ;; From empathy-irc-network.h
2470 (define-function irc_network_get_type
2471 (c-name "empathy_irc_network_get_type")
2472 (return-type "GType")
2475 (define-function irc_network_new
2476 (c-name "empathy_irc_network_new")
2477 (is-constructor-of "EmpathyIrcNetwork")
2478 (return-type "EmpathyIrcNetwork*")
2480 '("const-gchar*" "name")
2484 (define-method get_servers
2485 (of-object "EmpathyIrcNetwork")
2486 (c-name "empathy_irc_network_get_servers")
2487 (return-type "GSList*")
2490 (define-method append_server
2491 (of-object "EmpathyIrcNetwork")
2492 (c-name "empathy_irc_network_append_server")
2493 (return-type "none")
2495 '("EmpathyIrcServer*" "server")
2499 (define-method remove_server
2500 (of-object "EmpathyIrcNetwork")
2501 (c-name "empathy_irc_network_remove_server")
2502 (return-type "none")
2504 '("EmpathyIrcServer*" "server")
2508 (define-method set_server_position
2509 (of-object "EmpathyIrcNetwork")
2510 (c-name "empathy_irc_network_set_server_position")
2511 (return-type "none")
2513 '("EmpathyIrcServer*" "server")
2520 ;; From empathy-irc-network-manager.h
2522 (define-function irc_network_manager_get_type
2523 (c-name "empathy_irc_network_manager_get_type")
2524 (return-type "GType")
2527 (define-function irc_network_manager_new
2528 (c-name "empathy_irc_network_manager_new")
2529 (is-constructor-of "EmpathyIrcNetworkManager")
2530 (return-type "EmpathyIrcNetworkManager*")
2532 '("const-gchar*" "global_file")
2533 '("const-gchar*" "user_file")
2538 (of-object "EmpathyIrcNetworkManager")
2539 (c-name "empathy_irc_network_manager_add")
2540 (return-type "none")
2542 '("EmpathyIrcNetwork*" "network")
2546 (define-method remove
2547 (of-object "EmpathyIrcNetworkManager")
2548 (c-name "empathy_irc_network_manager_remove")
2549 (return-type "none")
2551 '("EmpathyIrcNetwork*" "network")
2555 (define-method get_networks
2556 (of-object "EmpathyIrcNetworkManager")
2557 (c-name "empathy_irc_network_manager_get_networks")
2558 (return-type "GSList*")
2561 (define-method find_network_by_address
2562 (of-object "EmpathyIrcNetworkManager")
2563 (c-name "empathy_irc_network_manager_find_network_by_address")
2564 (return-type "EmpathyIrcNetwork*")
2566 '("const-gchar*" "address")
2572 ;; From empathy-irc-server.h
2574 (define-function irc_server_get_type
2575 (c-name "empathy_irc_server_get_type")
2576 (return-type "GType")
2579 (define-function irc_server_new
2580 (c-name "empathy_irc_server_new")
2581 (is-constructor-of "EmpathyIrcServer")
2582 (return-type "EmpathyIrcServer*")
2584 '("const-gchar*" "address")
2592 ;; From empathy-location.h
2596 ;; From empathy-log-manager.h
2598 (define-function log_manager_get_type
2599 (c-name "empathy_log_manager_get_type")
2600 (return-type "GType")
2603 (define-function log_manager_dup_singleton
2604 (c-name "empathy_log_manager_dup_singleton")
2605 (return-type "EmpathyLogManager*")
2608 (define-method add_message
2609 (of-object "EmpathyLogManager")
2610 (c-name "empathy_log_manager_add_message")
2611 (return-type "gboolean")
2613 '("const-gchar*" "chat_id")
2614 '("gboolean" "chatroom")
2615 '("EmpathyMessage*" "message")
2616 '("GError**" "error")
2620 (define-method exists
2621 (of-object "EmpathyLogManager")
2622 (c-name "empathy_log_manager_exists")
2623 (return-type "gboolean")
2625 '("EmpathyAccount*" "account")
2626 '("const-gchar*" "chat_id")
2627 '("gboolean" "chatroom")
2631 (define-method get_dates
2632 (of-object "EmpathyLogManager")
2633 (c-name "empathy_log_manager_get_dates")
2634 (return-type "GList*")
2636 '("EmpathyAccount*" "account")
2637 '("const-gchar*" "chat_id")
2638 '("gboolean" "chatroom")
2642 (define-method get_messages_for_date
2643 (of-object "EmpathyLogManager")
2644 (c-name "empathy_log_manager_get_messages_for_date")
2645 (return-type "GList*")
2647 '("EmpathyAccount*" "account")
2648 '("const-gchar*" "chat_id")
2649 '("gboolean" "chatroom")
2650 '("const-gchar*" "date")
2654 (define-method get_filtered_messages
2655 (of-object "EmpathyLogManager")
2656 (c-name "empathy_log_manager_get_filtered_messages")
2657 (return-type "GList*")
2659 '("EmpathyAccount*" "account")
2660 '("const-gchar*" "chat_id")
2661 '("gboolean" "chatroom")
2662 '("guint" "num_messages")
2663 '("EmpathyLogMessageFilter" "filter")
2664 '("gpointer" "user_data")
2668 (define-method get_chats
2669 (of-object "EmpathyLogManager")
2670 (c-name "empathy_log_manager_get_chats")
2671 (return-type "GList*")
2673 '("EmpathyAccount*" "account")
2677 (define-method search_new
2678 (of-object "EmpathyLogManager")
2679 (c-name "empathy_log_manager_search_new")
2680 (return-type "GList*")
2682 '("const-gchar*" "text")
2686 (define-function log_manager_search_free
2687 (c-name "empathy_log_manager_search_free")
2688 (return-type "none")
2694 (define-function log_manager_get_date_readable
2695 (c-name "empathy_log_manager_get_date_readable")
2696 (return-type "gchar*")
2698 '("const-gchar*" "date")
2702 (define-function log_manager_search_hit_free
2703 (c-name "empathy_log_manager_search_hit_free")
2704 (return-type "none")
2706 '("EmpathyLogSearchHit*" "hit")
2710 (define-method observe
2711 (of-object "EmpathyLogManager")
2712 (c-name "empathy_log_manager_observe")
2713 (return-type "none")
2715 '("EmpathyDispatcher*" "dispatcher")
2721 ;; From empathy-log-store.h
2723 (define-function log_store_get_type
2724 (c-name "empathy_log_store_get_type")
2725 (return-type "GType")
2728 (define-method get_name
2729 (of-object "EmpathyLogStore")
2730 (c-name "empathy_log_store_get_name")
2731 (return-type "const-gchar*")
2734 (define-method exists
2735 (of-object "EmpathyLogStore")
2736 (c-name "empathy_log_store_exists")
2737 (return-type "gboolean")
2739 '("EmpathyAccount*" "account")
2740 '("const-gchar*" "chat_id")
2741 '("gboolean" "chatroom")
2745 (define-method add_message
2746 (of-object "EmpathyLogStore")
2747 (c-name "empathy_log_store_add_message")
2748 (return-type "gboolean")
2750 '("const-gchar*" "chat_id")
2751 '("gboolean" "chatroom")
2752 '("EmpathyMessage*" "message")
2753 '("GError**" "error")
2757 (define-method get_dates
2758 (of-object "EmpathyLogStore")
2759 (c-name "empathy_log_store_get_dates")
2760 (return-type "GList*")
2762 '("EmpathyAccount*" "account")
2763 '("const-gchar*" "chat_id")
2764 '("gboolean" "chatroom")
2768 (define-method get_messages_for_date
2769 (of-object "EmpathyLogStore")
2770 (c-name "empathy_log_store_get_messages_for_date")
2771 (return-type "GList*")
2773 '("EmpathyAccount*" "account")
2774 '("const-gchar*" "chat_id")
2775 '("gboolean" "chatroom")
2776 '("const-gchar*" "date")
2780 (define-method get_last_messages
2781 (of-object "EmpathyLogStore")
2782 (c-name "empathy_log_store_get_last_messages")
2783 (return-type "GList*")
2785 '("EmpathyAccount*" "account")
2786 '("const-gchar*" "chat_id")
2787 '("gboolean" "chatroom")
2791 (define-method get_chats
2792 (of-object "EmpathyLogStore")
2793 (c-name "empathy_log_store_get_chats")
2794 (return-type "GList*")
2796 '("EmpathyAccount*" "account")
2800 (define-method search_new
2801 (of-object "EmpathyLogStore")
2802 (c-name "empathy_log_store_search_new")
2803 (return-type "GList*")
2805 '("const-gchar*" "text")
2809 (define-method ack_message
2810 (of-object "EmpathyLogStore")
2811 (c-name "empathy_log_store_ack_message")
2812 (return-type "none")
2814 '("const-gchar*" "chat_id")
2815 '("gboolean" "chatroom")
2816 '("EmpathyMessage*" "message")
2820 (define-method get_filtered_messages
2821 (of-object "EmpathyLogStore")
2822 (c-name "empathy_log_store_get_filtered_messages")
2823 (return-type "GList*")
2825 '("EmpathyAccount*" "account")
2826 '("const-gchar*" "chat_id")
2827 '("gboolean" "chatroom")
2828 '("guint" "num_messages")
2829 '("EmpathyLogMessageFilter" "filter")
2830 '("gpointer" "user_data")
2836 ;; From empathy-log-store-empathy.h
2838 (define-function log_store_empathy_get_type
2839 (c-name "empathy_log_store_empathy_get_type")
2840 (return-type "GType")
2845 ;; From empathy-message.h
2847 (define-function message_get_type
2848 (c-name "empathy_message_get_type")
2849 (return-type "GType")
2852 (define-function message_new_from_entry
2853 (c-name "empathy_message_new_from_entry")
2854 (return-type "EmpathyMessage*")
2856 '("const-gchar*" "message")
2860 (define-function message_new
2861 (c-name "empathy_message_new")
2862 (is-constructor-of "EmpathyMessage")
2863 (return-type "EmpathyMessage*")
2865 '("const-gchar*" "body")
2869 (define-method get_tptype
2870 (of-object "EmpathyMessage")
2871 (c-name "empathy_message_get_tptype")
2872 (return-type "TpChannelTextMessageType")
2875 (define-method set_tptype
2876 (of-object "EmpathyMessage")
2877 (c-name "empathy_message_set_tptype")
2878 (return-type "none")
2880 '("TpChannelTextMessageType" "type")
2884 (define-method get_sender
2885 (of-object "EmpathyMessage")
2886 (c-name "empathy_message_get_sender")
2887 (return-type "EmpathyContact*")
2890 (define-method set_sender
2891 (of-object "EmpathyMessage")
2892 (c-name "empathy_message_set_sender")
2893 (return-type "none")
2895 '("EmpathyContact*" "contact")
2899 (define-method get_receiver
2900 (of-object "EmpathyMessage")
2901 (c-name "empathy_message_get_receiver")
2902 (return-type "EmpathyContact*")
2905 (define-method set_receiver
2906 (of-object "EmpathyMessage")
2907 (c-name "empathy_message_set_receiver")
2908 (return-type "none")
2910 '("EmpathyContact*" "contact")
2914 (define-method get_body
2915 (of-object "EmpathyMessage")
2916 (c-name "empathy_message_get_body")
2917 (return-type "const-gchar*")
2920 (define-method set_body
2921 (of-object "EmpathyMessage")
2922 (c-name "empathy_message_set_body")
2923 (return-type "none")
2925 '("const-gchar*" "body")
2929 (define-method get_timestamp
2930 (of-object "EmpathyMessage")
2931 (c-name "empathy_message_get_timestamp")
2932 (return-type "time_t")
2935 (define-method set_timestamp
2936 (of-object "EmpathyMessage")
2937 (c-name "empathy_message_set_timestamp")
2938 (return-type "none")
2940 '("time_t" "timestamp")
2944 (define-method is_backlog
2945 (of-object "EmpathyMessage")
2946 (c-name "empathy_message_is_backlog")
2947 (return-type "gboolean")
2950 (define-method set_is_backlog
2951 (of-object "EmpathyMessage")
2952 (c-name "empathy_message_set_is_backlog")
2953 (return-type "none")
2955 '("gboolean" "is_backlog")
2959 (define-method is_incoming
2960 (of-object "EmpathyMessage")
2961 (c-name "empathy_message_is_incoming")
2962 (return-type "gboolean")
2965 (define-method set_incoming
2966 (of-object "EmpathyMessage")
2967 (c-name "empathy_message_set_incoming")
2968 (return-type "none")
2970 '("gboolean" "incoming")
2974 (define-method should_highlight
2975 (of-object "EmpathyMessage")
2976 (c-name "empathy_message_should_highlight")
2977 (return-type "gboolean")
2980 (define-function message_type_from_str
2981 (c-name "empathy_message_type_from_str")
2982 (return-type "TpChannelTextMessageType")
2984 '("const-gchar*" "type_str")
2988 (define-function message_type_to_str
2989 (c-name "empathy_message_type_to_str")
2990 (return-type "const-gchar*")
2992 '("TpChannelTextMessageType" "type")
2996 (define-method get_id
2997 (of-object "EmpathyMessage")
2998 (c-name "empathy_message_get_id")
2999 (return-type "guint")
3002 (define-method set_id
3003 (of-object "EmpathyMessage")
3004 (c-name "empathy_message_set_id")
3005 (return-type "none")
3011 (define-method equal
3012 (of-object "EmpathyMessage")
3013 (c-name "empathy_message_equal")
3014 (return-type "gboolean")
3016 '("EmpathyMessage*" "message2")
3022 ;; From empathy-status-presets.h
3024 (define-function status_presets_get_all
3025 (c-name "empathy_status_presets_get_all")
3026 (return-type "none")
3029 (define-function status_presets_get
3030 (c-name "empathy_status_presets_get")
3031 (return-type "GList*")
3033 '("TpConnectionPresenceType" "state")
3034 '("gint" "max_number")
3038 (define-function status_presets_set_last
3039 (c-name "empathy_status_presets_set_last")
3040 (return-type "none")
3042 '("TpConnectionPresenceType" "state")
3043 '("const-gchar*" "status")
3047 (define-function status_presets_remove
3048 (c-name "empathy_status_presets_remove")
3049 (return-type "none")
3051 '("TpConnectionPresenceType" "state")
3052 '("const-gchar*" "status")
3056 (define-function status_presets_reset
3057 (c-name "empathy_status_presets_reset")
3058 (return-type "none")
3061 (define-function status_presets_get_default_state
3062 (c-name "empathy_status_presets_get_default_state")
3063 (return-type "TpConnectionPresenceType")
3066 (define-function status_presets_get_default_status
3067 (c-name "empathy_status_presets_get_default_status")
3068 (return-type "const-gchar*")
3071 (define-function status_presets_set_default
3072 (c-name "empathy_status_presets_set_default")
3073 (return-type "none")
3075 '("TpConnectionPresenceType" "state")
3076 '("const-gchar*" "status")
3080 (define-function status_presets_clear_default
3081 (c-name "empathy_status_presets_clear_default")
3082 (return-type "none")
3085 (define-function status_presets_is_valid
3086 (c-name "empathy_status_presets_is_valid")
3087 (return-type "gboolean")
3089 '("TpConnectionPresenceType" "state")
3095 ;; From empathy-time.h
3097 (define-function time_get_current
3098 (c-name "empathy_time_get_current")
3099 (return-type "time_t")
3102 (define-function time_get_local_time
3103 (c-name "empathy_time_get_local_time")
3104 (return-type "time_t")
3106 '("struct-tm*" "tm")
3110 (define-function time_parse
3111 (c-name "empathy_time_parse")
3112 (return-type "time_t")
3114 '("const-gchar*" "str")
3118 (define-function time_to_string_utc
3119 (c-name "empathy_time_to_string_utc")
3120 (return-type "gchar*")
3123 '("const-gchar*" "format")
3127 (define-function time_to_string_local
3128 (c-name "empathy_time_to_string_local")
3129 (return-type "gchar*")
3132 '("const-gchar*" "format")
3136 (define-function time_to_string_relative
3137 (c-name "empathy_time_to_string_relative")
3138 (return-type "gchar*")
3146 ;; From empathy-tp-call.h
3148 (define-function tp_call_get_type
3149 (c-name "empathy_tp_call_get_type")
3150 (return-type "GType")
3153 (define-function tp_call_new
3154 (c-name "empathy_tp_call_new")
3155 (is-constructor-of "EmpathyTpCall")
3156 (return-type "EmpathyTpCall*")
3158 '("TpChannel*" "channel")
3162 (define-method close
3163 (of-object "EmpathyTpCall")
3164 (c-name "empathy_tp_call_close")
3165 (return-type "none")
3169 (of-object "EmpathyTpCall")
3170 (c-name "empathy_tp_call_to")
3171 (return-type "none")
3173 '("EmpathyContact*" "contact")
3174 '("gboolean" "audio")
3175 '("gboolean" "video")
3179 (define-method accept_incoming_call
3180 (of-object "EmpathyTpCall")
3181 (c-name "empathy_tp_call_accept_incoming_call")
3182 (return-type "none")
3185 (define-method request_video_stream_direction
3186 (of-object "EmpathyTpCall")
3187 (c-name "empathy_tp_call_request_video_stream_direction")
3188 (return-type "none")
3190 '("gboolean" "is_sending")
3194 (define-method start_tone
3195 (of-object "EmpathyTpCall")
3196 (c-name "empathy_tp_call_start_tone")
3197 (return-type "none")
3199 '("TpDTMFEvent" "event")
3203 (define-method stop_tone
3204 (of-object "EmpathyTpCall")
3205 (c-name "empathy_tp_call_stop_tone")
3206 (return-type "none")
3209 (define-method has_dtmf
3210 (of-object "EmpathyTpCall")
3211 (c-name "empathy_tp_call_has_dtmf")
3212 (return-type "gboolean")
3215 (define-method is_receiving_video
3216 (of-object "EmpathyTpCall")
3217 (c-name "empathy_tp_call_is_receiving_video")
3218 (return-type "gboolean")
3221 (define-method is_sending_video
3222 (of-object "EmpathyTpCall")
3223 (c-name "empathy_tp_call_is_sending_video")
3224 (return-type "gboolean")
3229 ;; From empathy-tp-chat.h
3231 (define-function tp_chat_get_type
3232 (c-name "empathy_tp_chat_get_type")
3233 (return-type "GType")
3236 (define-function tp_chat_new
3237 (c-name "empathy_tp_chat_new")
3238 (is-constructor-of "EmpathyTpChat")
3239 (return-type "EmpathyTpChat*")
3241 '("TpChannel*" "channel")
3245 (define-method close
3246 (of-object "EmpathyTpChat")
3247 (c-name "empathy_tp_chat_close")
3248 (return-type "none")
3251 (define-method get_id
3252 (of-object "EmpathyTpChat")
3253 (c-name "empathy_tp_chat_get_id")
3254 (return-type "const-gchar*")
3257 (define-method get_remote_contact
3258 (of-object "EmpathyTpChat")
3259 (c-name "empathy_tp_chat_get_remote_contact")
3260 (return-type "EmpathyContact*")
3263 (define-method get_channel
3264 (of-object "EmpathyTpChat")
3265 (c-name "empathy_tp_chat_get_channel")
3266 (return-type "TpChannel*")
3269 (define-method get_connection
3270 (of-object "EmpathyTpChat")
3271 (c-name "empathy_tp_chat_get_connection")
3272 (return-type "TpConnection*")
3275 (define-method is_ready
3276 (of-object "EmpathyTpChat")
3277 (c-name "empathy_tp_chat_is_ready")
3278 (return-type "gboolean")
3282 (of-object "EmpathyTpChat")
3283 (c-name "empathy_tp_chat_send")
3284 (return-type "none")
3286 '("EmpathyMessage*" "message")
3290 (define-method set_state
3291 (of-object "EmpathyTpChat")
3292 (c-name "empathy_tp_chat_set_state")
3293 (return-type "none")
3295 '("TpChannelChatState" "state")
3299 (define-method set_property
3300 (of-object "EmpathyTpChat")
3301 (c-name "empathy_tp_chat_set_property")
3302 (return-type "none")
3304 '("const-gchar*" "name")
3305 '("const-GValue*" "value")
3309 (define-method get_pending_messages
3310 (of-object "EmpathyTpChat")
3311 (c-name "empathy_tp_chat_get_pending_messages")
3312 (return-type "const-GList*")
3315 (define-method acknowledge_message
3316 (of-object "EmpathyTpChat")
3317 (c-name "empathy_tp_chat_acknowledge_message")
3318 (return-type "none")
3320 '("EmpathyMessage*" "message")
3324 (define-method acknowledge_messages
3325 (of-object "EmpathyTpChat")
3326 (c-name "empathy_tp_chat_acknowledge_messages")
3327 (return-type "none")
3329 '("const-GList*" "messages")
3335 ;; From empathy-tp-contact-factory.h
3337 (define-function tp_contact_factory_get_type
3338 (c-name "empathy_tp_contact_factory_get_type")
3339 (return-type "GType")
3342 (define-function tp_contact_factory_dup_singleton
3343 (c-name "empathy_tp_contact_factory_dup_singleton")
3344 (return-type "EmpathyTpContactFactory*")
3346 '("TpConnection*" "connection")
3350 (define-method get_from_ids
3351 (of-object "EmpathyTpContactFactory")
3352 (c-name "empathy_tp_contact_factory_get_from_ids")
3353 (return-type "none")
3356 '("const-gchar*-const*" "ids")
3357 '("EmpathyTpContactFactoryContactsByIdCb" "callback")
3358 '("gpointer" "user_data")
3359 '("GDestroyNotify" "destroy")
3360 '("GObject*" "weak_object")
3364 (define-method get_from_handles
3365 (of-object "EmpathyTpContactFactory")
3366 (c-name "empathy_tp_contact_factory_get_from_handles")
3367 (return-type "none")
3369 '("guint" "n_handles")
3370 '("const-TpHandle*" "handles")
3371 '("EmpathyTpContactFactoryContactsByHandleCb" "callback")
3372 '("gpointer" "user_data")
3373 '("GDestroyNotify" "destroy")
3374 '("GObject*" "weak_object")
3378 (define-method get_from_id
3379 (of-object "EmpathyTpContactFactory")
3380 (c-name "empathy_tp_contact_factory_get_from_id")
3381 (return-type "none")
3383 '("const-gchar*" "id")
3384 '("EmpathyTpContactFactoryContactCb" "callback")
3385 '("gpointer" "user_data")
3386 '("GDestroyNotify" "destroy")
3387 '("GObject*" "weak_object")
3391 (define-method get_from_handle
3392 (of-object "EmpathyTpContactFactory")
3393 (c-name "empathy_tp_contact_factory_get_from_handle")
3394 (return-type "none")
3396 '("TpHandle" "handle")
3397 '("EmpathyTpContactFactoryContactCb" "callback")
3398 '("gpointer" "user_data")
3399 '("GDestroyNotify" "destroy")
3400 '("GObject*" "weak_object")
3404 (define-method set_alias
3405 (of-object "EmpathyTpContactFactory")
3406 (c-name "empathy_tp_contact_factory_set_alias")
3407 (return-type "none")
3409 '("EmpathyContact*" "contact")
3410 '("const-gchar*" "alias")
3414 (define-method set_avatar
3415 (of-object "EmpathyTpContactFactory")
3416 (c-name "empathy_tp_contact_factory_set_avatar")
3417 (return-type "none")
3419 '("const-gchar*" "data")
3421 '("const-gchar*" "mime_type")
3425 (define-method set_location
3426 (of-object "EmpathyTpContactFactory")
3427 (c-name "empathy_tp_contact_factory_set_location")
3428 (return-type "none")
3430 '("GHashTable*" "location")
3436 ;; From empathy-tp-contact-list.h
3438 (define-function tp_contact_list_get_type
3439 (c-name "empathy_tp_contact_list_get_type")
3440 (return-type "GType")
3443 (define-function tp_contact_list_new
3444 (c-name "empathy_tp_contact_list_new")
3445 (is-constructor-of "EmpathyTpContactList")
3446 (return-type "EmpathyTpContactList*")
3448 '("TpConnection*" "connection")
3452 (define-method get_connection
3453 (of-object "EmpathyTpContactList")
3454 (c-name "empathy_tp_contact_list_get_connection")
3455 (return-type "TpConnection*")
3458 (define-method remove_all
3459 (of-object "EmpathyTpContactList")
3460 (c-name "empathy_tp_contact_list_remove_all")
3461 (return-type "none")
3466 ;; From empathy-tp-file.h
3468 (define-function tp_file_get_type
3469 (c-name "empathy_tp_file_get_type")
3470 (return-type "GType")
3473 (define-function tp_file_new
3474 (c-name "empathy_tp_file_new")
3475 (is-constructor-of "EmpathyTpFile")
3476 (return-type "EmpathyTpFile*")
3478 '("TpChannel*" "channel")
3479 '("gboolean" "incoming")
3483 (define-method accept
3484 (of-object "EmpathyTpFile")
3485 (c-name "empathy_tp_file_accept")
3486 (return-type "none")
3488 '("guint64" "offset")
3490 '("GCancellable*" "cancellable")
3491 '("EmpathyTpFileProgressCallback" "progress_callback")
3492 '("gpointer" "progress_user_data")
3493 '("EmpathyTpFileOperationCallback" "op_callback")
3494 '("gpointer" "op_user_data")
3498 (define-method offer
3499 (of-object "EmpathyTpFile")
3500 (c-name "empathy_tp_file_offer")
3501 (return-type "none")
3504 '("GCancellable*" "cancellable")
3505 '("EmpathyTpFileProgressCallback" "progress_callback")
3506 '("gpointer" "progress_user_data")
3507 '("EmpathyTpFileOperationCallback" "op_callback")
3508 '("gpointer" "op_user_data")
3512 (define-method cancel
3513 (of-object "EmpathyTpFile")
3514 (c-name "empathy_tp_file_cancel")
3515 (return-type "none")
3518 (define-method close
3519 (of-object "EmpathyTpFile")
3520 (c-name "empathy_tp_file_close")
3521 (return-type "none")
3524 (define-method is_incoming
3525 (of-object "EmpathyTpFile")
3526 (c-name "empathy_tp_file_is_incoming")
3527 (return-type "gboolean")
3532 ;; From empathy-tp-roomlist.h
3534 (define-function tp_roomlist_get_type
3535 (c-name "empathy_tp_roomlist_get_type")
3536 (return-type "GType")
3539 (define-function tp_roomlist_new
3540 (c-name "empathy_tp_roomlist_new")
3541 (is-constructor-of "EmpathyTpRoomlist")
3542 (return-type "EmpathyTpRoomlist*")
3544 '("EmpathyAccount*" "account")
3548 (define-method is_listing
3549 (of-object "EmpathyTpRoomlist")
3550 (c-name "empathy_tp_roomlist_is_listing")
3551 (return-type "gboolean")
3554 (define-method start
3555 (of-object "EmpathyTpRoomlist")
3556 (c-name "empathy_tp_roomlist_start")
3557 (return-type "none")
3561 (of-object "EmpathyTpRoomlist")
3562 (c-name "empathy_tp_roomlist_stop")
3563 (return-type "none")
3568 ;; From empathy-tube-handler.h
3570 (define-function tube_handler_get_type
3571 (c-name "empathy_tube_handler_get_type")
3572 (return-type "GType")
3575 (define-function tube_handler_new
3576 (c-name "empathy_tube_handler_new")
3577 (is-constructor-of "EmpathyTubeHandler")
3578 (return-type "EmpathyTubeHandler*")
3580 '("TpTubeType" "type")
3581 '("const-gchar*" "service")
3585 (define-function tube_handler_build_bus_name
3586 (c-name "empathy_tube_handler_build_bus_name")
3587 (return-type "gchar*")
3589 '("TpTubeType" "type")
3590 '("const-gchar*" "service")
3594 (define-function tube_handler_build_object_path
3595 (c-name "empathy_tube_handler_build_object_path")
3596 (return-type "gchar*")
3598 '("TpTubeType" "type")
3599 '("const-gchar*" "service")
3605 ;; From empathy-types.h
3609 ;; From empathy-utils.h
3611 (define-function init
3612 (c-name "empathy_init")
3613 (return-type "none")
3616 (define-function substring
3617 (c-name "empathy_substring")
3618 (return-type "gchar*")
3620 '("const-gchar*" "str")
3626 (define-function strcasecmp
3627 (c-name "empathy_strcasecmp")
3628 (return-type "gint")
3630 '("const-gchar*" "s1")
3631 '("const-gchar*" "s2")
3635 (define-function strncasecmp
3636 (c-name "empathy_strncasecmp")
3637 (return-type "gint")
3639 '("const-gchar*" "s1")
3640 '("const-gchar*" "s2")
3645 (define-function xml_validate
3646 (c-name "empathy_xml_validate")
3647 (return-type "gboolean")
3650 '("const-gchar*" "dtd_filename")
3654 (define-function xml_node_get_child
3655 (c-name "empathy_xml_node_get_child")
3656 (return-type "xmlNodePtr")
3658 '("xmlNodePtr" "node")
3659 '("const-gchar*" "child_name")
3663 (define-function xml_node_get_child_content
3664 (c-name "empathy_xml_node_get_child_content")
3665 (return-type "xmlChar*")
3667 '("xmlNodePtr" "node")
3668 '("const-gchar*" "child_name")
3672 (define-function xml_node_find_child_prop_value
3673 (c-name "empathy_xml_node_find_child_prop_value")
3674 (return-type "xmlNodePtr")
3676 '("xmlNodePtr" "node")
3677 '("const-gchar*" "prop_name")
3678 '("const-gchar*" "prop_value")
3682 (define-function presence_get_default_message
3683 (c-name "empathy_presence_get_default_message")
3684 (return-type "const-gchar*")
3686 '("TpConnectionPresenceType" "presence")
3690 (define-function presence_to_str
3691 (c-name "empathy_presence_to_str")
3692 (return-type "const-gchar*")
3694 '("TpConnectionPresenceType" "presence")
3698 (define-function presence_from_str
3699 (c-name "empathy_presence_from_str")
3700 (return-type "TpConnectionPresenceType")
3702 '("const-gchar*" "str")
3706 (define-function file_lookup
3707 (c-name "empathy_file_lookup")
3708 (return-type "gchar*")
3710 '("const-gchar*" "filename")
3711 '("const-gchar*" "subdir")
3715 (define-function proxy_equal
3716 (c-name "empathy_proxy_equal")
3717 (return-type "gboolean")
3719 '("gconstpointer" "a")
3720 '("gconstpointer" "b")
3724 (define-function proxy_hash
3725 (c-name "empathy_proxy_hash")
3726 (return-type "guint")
3728 '("gconstpointer" "key")
3732 (define-function check_available_state
3733 (c-name "empathy_check_available_state")
3734 (return-type "gboolean")
3737 (define-function uint_compare
3738 (c-name "empathy_uint_compare")
3739 (return-type "gint")
3741 '("gconstpointer" "a")
3742 '("gconstpointer" "b")
3746 (define-function protocol_icon_name
3747 (c-name "empathy_protocol_icon_name")
3748 (return-type "gchar*")
3750 '("const-gchar*" "protocol")
3754 (define-function protocol_name_to_display_name
3755 (c-name "empathy_protocol_name_to_display_name")
3756 (return-type "const-gchar*")
3758 '("const-gchar*" "proto_name")
3762 (define-function type_dbus_ao
3763 (c-name "empathy_type_dbus_ao")
3764 (return-type "GType")