]> git.0d.be Git - empathy.git/blobdiff - python/pyempathy/pyempathy.defs
Updated Russian translation
[empathy.git] / python / pyempathy / pyempathy.defs
index 6b6f7dfd32fe9dc08ce73ee267029c3ca61e19f5..37586841ba1205618b137dbf4d3dcee3d046b69c 100644 (file)
@@ -1,5 +1,12 @@
 ;; -*- scheme -*-
 ; object definitions ...
+(define-object Account
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyAccount")
+  (gtype-id "EMPATHY_TYPE_ACCOUNT")
+)
+
 (define-object AccountManager
   (in-module "Empathy")
   (parent "GObject")
@@ -7,6 +14,13 @@
   (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
 )
 
+(define-object AccountSettings
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyAccountSettings")
+  (gtype-id "EMPATHY_TYPE_ACCOUNT_SETTINGS")
+)
+
 (define-object CallFactory
   (in-module "Empathy")
   (parent "GObject")
   (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
 )
 
+(define-object ConnectionManagers
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyConnectionManagers")
+  (gtype-id "EMPATHY_TYPE_CONNECTION_MANAGERS")
+)
+
+(define-object Connectivity
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyConnectivity")
+  (gtype-id "EMPATHY_TYPE_CONNECTIVITY")
+)
+
 (define-object Contact
   (in-module "Empathy")
   (parent "GObject")
   (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
 )
 
+(define-object Debugger
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyDebugger")
+  (gtype-id "EMPATHY_TYPE_DEBUGGER")
+)
+
 (define-object DispatchOperation
   (in-module "Empathy")
   (parent "GObject")
   )
 )
 
+(define-flags ContactListFlags
+  (in-module "Empathy")
+  (c-name "EmpathyContactListFlags")
+  (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FLAGS")
+  (values
+    '("add" "EMPATHY_CONTACT_LIST_CAN_ADD")
+    '("remove" "EMPATHY_CONTACT_LIST_CAN_REMOVE")
+    '("alias" "EMPATHY_CONTACT_LIST_CAN_ALIAS")
+    '("group" "EMPATHY_CONTACT_LIST_CAN_GROUP")
+  )
+)
+
 (define-flags DebugFlags
   (in-module "Empathy")
   (c-name "EmpathyDebugFlags")
     '("ft" "EMPATHY_DEBUG_FT")
     '("location" "EMPATHY_DEBUG_LOCATION")
     '("other" "EMPATHY_DEBUG_OTHER")
+    '("share-desktop" "EMPATHY_DEBUG_SHARE_DESKTOP")
+    '("connectivity" "EMPATHY_DEBUG_CONNECTIVITY")
+    '("import-mc4-accounts" "EMPATHY_DEBUG_IMPORT_MC4_ACCOUNTS")
+  )
+)
+
+(define-enum DispatchOperationState
+  (in-module "Empathy")
+  (c-name "EmpathyDispatchOperationState")
+  (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
+  (values
+    '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
+    '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
+    '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
+    '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
+    '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
+    '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
+  )
+)
+
+(define-enum TpCallStatus
+  (in-module "Empathy")
+  (c-name "EmpathyTpCallStatus")
+  (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
+  (values
+    '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
+    '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
+    '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
+    '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
+  )
+)
+
+(define-enum FTErrorEnum
+  (in-module "Empathy")
+  (c-name "EmpathyFTErrorEnum")
+  (gtype-id "EMPATHY_TYPE_FT_ERROR_ENUM")
+  (values
+    '("failed" "EMPATHY_FT_ERROR_FAILED")
+    '("hash-mismatch" "EMPATHY_FT_ERROR_HASH_MISMATCH")
+    '("tp-error" "EMPATHY_FT_ERROR_TP_ERROR")
+    '("socket" "EMPATHY_FT_ERROR_SOCKET")
+    '("not-supported" "EMPATHY_FT_ERROR_NOT_SUPPORTED")
+    '("invalid-source-file" "EMPATHY_FT_ERROR_INVALID_SOURCE_FILE")
+    '("empty-source-file" "EMPATHY_FT_ERROR_EMPTY_SOURCE_FILE")
+  )
+)
+
+
+;; From empathy-account-settings.h
+
+(define-function account_settings_get_type
+  (c-name "empathy_account_settings_get_type")
+  (return-type "GType")
+)
+
+(define-function account_settings_new
+  (c-name "empathy_account_settings_new")
+  (is-constructor-of "EmpathyAccountSettings")
+  (return-type "EmpathyAccountSettings*")
+  (parameters
+    '("const-gchar*" "connection_manager")
+    '("const-gchar*" "protocol")
+    '("const-char*" "display_name")
+  )
+)
+
+(define-method settings_new_for_account
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_settings_new_for_account")
+  (return-type "EmpathyAccountSettings*")
+)
+
+(define-method is_ready
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_is_ready")
+  (return-type "gboolean")
+)
+
+(define-method get_cm
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_cm")
+  (return-type "const-gchar*")
+)
+
+(define-method get_protocol
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_protocol")
+  (return-type "const-gchar*")
+)
+
+(define-method get_account
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_account")
+  (return-type "EmpathyAccount*")
+)
+
+(define-method has_account
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_has_account")
+  (return-type "gboolean")
+  (parameters
+    '("EmpathyAccount*" "account")
+  )
+)
+
+(define-method get_tp_params
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_tp_params")
+  (return-type "TpConnectionManagerParam*")
+)
+
+(define-method unset
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_unset")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "param")
+  )
+)
+
+(define-method discard_changes
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_discard_changes")
+  (return-type "none")
+)
+
+(define-method get
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get")
+  (return-type "const-GValue*")
+  (parameters
+    '("const-gchar*" "param")
+  )
+)
+
+(define-method get_dbus_signature
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_dbus_signature")
+  (return-type "const-gchar*")
+  (parameters
+    '("const-gchar*" "param")
+  )
+)
+
+(define-method get_default
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_default")
+  (return-type "const-GValue*")
+  (parameters
+    '("const-gchar*" "param")
+  )
+)
+
+(define-method get_string
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_string")
+  (return-type "const-gchar*")
+  (parameters
+    '("const-gchar*" "param")
+  )
+)
+
+(define-method get_int32
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_int32")
+  (return-type "gint32")
+  (parameters
+    '("const-gchar*" "param")
+  )
+)
+
+(define-method get_int64
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_int64")
+  (return-type "gint64")
+  (parameters
+    '("const-gchar*" "param")
+  )
+)
+
+(define-method get_uint32
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_uint32")
+  (return-type "guint32")
+  (parameters
+    '("const-gchar*" "param")
+  )
+)
+
+(define-method get_uint64
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_uint64")
+  (return-type "guint64")
+  (parameters
+    '("const-gchar*" "param")
+  )
+)
+
+(define-method get_boolean
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_boolean")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "param")
+  )
+)
+
+(define-method set_string
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_set_string")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "param")
+    '("const-gchar*" "value")
+  )
+)
+
+(define-method set_int32
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_set_int32")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "param")
+    '("gint32" "value")
+  )
+)
+
+(define-method set_int64
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_set_int64")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "param")
+    '("gint64" "value")
+  )
+)
+
+(define-method set_uint32
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_set_uint32")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "param")
+    '("guint32" "value")
+  )
+)
+
+(define-method set_uint64
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_set_uint64")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "param")
+    '("guint64" "value")
+  )
+)
+
+(define-method set_boolean
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_set_boolean")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "param")
+    '("gboolean" "value")
+  )
+)
+
+(define-method get_icon_name
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_icon_name")
+  (return-type "gchar*")
+)
+
+(define-method set_icon_name_async
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_set_icon_name_async")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "name")
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method set_icon_name_finish
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_set_icon_name_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
+  )
+)
+
+(define-method get_display_name
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_get_display_name")
+  (return-type "const-gchar*")
+)
+
+(define-method set_display_name_async
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_set_display_name_async")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "name")
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method set_display_name_finish
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_set_display_name_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
+  )
+)
+
+(define-method apply_async
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_apply_async")
+  (return-type "none")
+  (parameters
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method apply_finish
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_apply_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
+  )
+)
+
+(define-method is_valid
+  (of-object "EmpathyAccountSettings")
+  (c-name "empathy_account_settings_is_valid")
+  (return-type "gboolean")
+)
+
+
+
+;; From empathy-account.h
+
+(define-function account_get_type
+  (c-name "empathy_account_get_type")
+  (return-type "GType")
+)
+
+(define-method is_just_connected
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_is_just_connected")
+  (return-type "gboolean")
+)
+
+(define-method get_connection
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_get_connection")
+  (return-type "TpConnection*")
+)
+
+(define-method get_connection_for_path
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_get_connection_for_path")
+  (return-type "TpConnection*")
+  (parameters
+    '("const-gchar*" "path")
+  )
+)
+
+(define-method get_unique_name
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_get_unique_name")
+  (return-type "const-gchar*")
+)
+
+(define-method get_display_name
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_get_display_name")
+  (return-type "const-gchar*")
+)
+
+(define-method get_connection_manager
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_get_connection_manager")
+  (return-type "const-gchar*")
+)
+
+(define-method get_protocol
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_get_protocol")
+  (return-type "const-gchar*")
+)
+
+(define-method get_icon_name
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_get_icon_name")
+  (return-type "const-gchar*")
+)
+
+(define-method set_enabled_async
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_set_enabled_async")
+  (return-type "none")
+  (parameters
+    '("gboolean" "enabled")
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method set_enabled_finish
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_set_enabled_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
+  )
+)
+
+(define-method reconnect_async
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_reconnect_async")
+  (return-type "none")
+  (parameters
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method reconnect_finish
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_reconnect_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
+  )
+)
+
+(define-method is_enabled
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_is_enabled")
+  (return-type "gboolean")
+)
+
+(define-method is_valid
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_is_valid")
+  (return-type "gboolean")
+)
+
+(define-method is_ready
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_is_ready")
+  (return-type "gboolean")
+)
+
+(define-method update_settings_async
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_update_settings_async")
+  (return-type "none")
+  (parameters
+    '("GHashTable*" "parameters")
+    '("const-gchar**" "unset_parameters")
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method update_settings_finish
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_update_settings_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
+  )
+)
+
+(define-method remove_async
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_remove_async")
+  (return-type "none")
+  (parameters
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method remove_finish
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_remove_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
+  )
+)
+
+(define-method set_display_name_async
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_set_display_name_async")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "display_name")
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method set_display_name_finish
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_set_display_name_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
+  )
+)
+
+(define-method set_icon_name_async
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_set_icon_name_async")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "icon_name")
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method set_icon_name_finish
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_set_icon_name_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
   )
 )
 
-(define-enum DispatchOperationState
-  (in-module "Empathy")
-  (c-name "EmpathyDispatchOperationState")
-  (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
-  (values
-    '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
-    '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
-    '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
-    '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
-    '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
-    '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
+(define-function account_new
+  (c-name "empathy_account_new")
+  (is-constructor-of "EmpathyAccount")
+  (return-type "EmpathyAccount*")
+  (parameters
+    '("TpDBusDaemon*" "bus_daemon")
+    '("const-gchar*" "unique_name")
   )
 )
 
-(define-enum TpCallStatus
-  (in-module "Empathy")
-  (c-name "EmpathyTpCallStatus")
-  (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
-  (values
-    '("readying" "EMPATHY_TP_CALL_STATUS_READYING")
-    '("pending" "EMPATHY_TP_CALL_STATUS_PENDING")
-    '("accepted" "EMPATHY_TP_CALL_STATUS_ACCEPTED")
-    '("closed" "EMPATHY_TP_CALL_STATUS_CLOSED")
+(define-method request_presence
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_request_presence")
+  (return-type "none")
+  (parameters
+    '("TpConnectionPresenceType" "type")
+    '("const-gchar*" "status")
+    '("const-gchar*" "message")
   )
 )
 
-(define-enum FTErrorEnum
-  (in-module "Empathy")
-  (c-name "EmpathyFTErrorEnum")
-  (gtype-id "EMPATHY_TYPE_FT_ERROR_ENUM")
-  (values
-    '("failed" "EMPATHY_FT_ERROR_FAILED")
-    '("hash-mismatch" "EMPATHY_FT_ERROR_HASH_MISMATCH")
-    '("tp-error" "EMPATHY_FT_ERROR_TP_ERROR")
-    '("socket" "EMPATHY_FT_ERROR_SOCKET")
-    '("not-supported" "EMPATHY_FT_ERROR_NOT_SUPPORTED")
-    '("invalid-source-file" "EMPATHY_FT_ERROR_INVALID_SOURCE_FILE")
-    '("empty-source-file" "EMPATHY_FT_ERROR_EMPTY_SOURCE_FILE")
-  )
+(define-method get_parameters
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_get_parameters")
+  (return-type "const-GHashTable*")
+)
+
+(define-method refresh_properties
+  (of-object "EmpathyAccount")
+  (c-name "empathy_account_refresh_properties")
+  (return-type "none")
 )
 
 
+
 ;; From empathy-account-manager.h
 
 (define-function account_manager_get_type
   (return-type "EmpathyAccountManager*")
 )
 
-(define-method create
+(define-method is_ready
   (of-object "EmpathyAccountManager")
-  (c-name "empathy_account_manager_create")
-  (return-type "EmpathyAccount*")
-  (parameters
-    '("McProfile*" "profile")
-  )
+  (c-name "empathy_account_manager_is_ready")
+  (return-type "gboolean")
 )
 
 (define-method get_connected_accounts
   (return-type "int")
 )
 
-(define-method get_account
+(define-method get_account_for_connection
   (of-object "EmpathyAccountManager")
-  (c-name "empathy_account_manager_get_account")
+  (c-name "empathy_account_manager_get_account_for_connection")
   (return-type "EmpathyAccount*")
   (parameters
     '("TpConnection*" "connection")
   )
 )
 
-(define-method lookup
+(define-method ensure_account
+  (of-object "EmpathyAccountManager")
+  (c-name "empathy_account_manager_ensure_account")
+  (return-type "EmpathyAccount*")
+  (parameters
+    '("const-gchar*" "unique_name")
+  )
+)
+
+(define-method get_account
   (of-object "EmpathyAccountManager")
-  (c-name "empathy_account_manager_lookup")
+  (c-name "empathy_account_manager_get_account")
   (return-type "EmpathyAccount*")
   (parameters
     '("const-gchar*" "unique_name")
   (return-type "GList*")
 )
 
-(define-method remove
+(define-method request_global_presence
   (of-object "EmpathyAccountManager")
-  (c-name "empathy_account_manager_remove")
+  (c-name "empathy_account_manager_request_global_presence")
   (return-type "none")
   (parameters
-    '("EmpathyAccount*" "account")
+    '("TpConnectionPresenceType" "type")
+    '("const-gchar*" "status")
+    '("const-gchar*" "message")
+  )
+)
+
+(define-method get_requested_global_presence
+  (of-object "EmpathyAccountManager")
+  (c-name "empathy_account_manager_get_requested_global_presence")
+  (return-type "TpConnectionPresenceType")
+  (parameters
+    '("gchar**" "status")
+    '("gchar**" "message")
+  )
+)
+
+(define-method get_global_presence
+  (of-object "EmpathyAccountManager")
+  (c-name "empathy_account_manager_get_global_presence")
+  (return-type "TpConnectionPresenceType")
+  (parameters
+    '("gchar**" "status")
+    '("gchar**" "message")
+  )
+)
+
+(define-method create_account_async
+  (of-object "EmpathyAccountManager")
+  (c-name "empathy_account_manager_create_account_async")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "connection_manager")
+    '("const-gchar*" "protocol")
+    '("const-gchar*" "display_name")
+    '("GHashTable*" "parameters")
+    '("GHashTable*" "properties")
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method create_account_finish
+  (of-object "EmpathyAccountManager")
+  (c-name "empathy_account_manager_create_account_finish")
+  (return-type "EmpathyAccount*")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GError**" "error")
   )
 )
 
 
 
 
+;; From empathy-connectivity.h
+
+(define-function connectivity_get_type
+  (c-name "empathy_connectivity_get_type")
+  (return-type "GType")
+)
+
+(define-function connectivity_dup_singleton
+  (c-name "empathy_connectivity_dup_singleton")
+  (return-type "EmpathyConnectivity*")
+)
+
+(define-method is_online
+  (of-object "EmpathyConnectivity")
+  (c-name "empathy_connectivity_is_online")
+  (return-type "gboolean")
+)
+
+(define-method get_use_conn
+  (of-object "EmpathyConnectivity")
+  (c-name "empathy_connectivity_get_use_conn")
+  (return-type "gboolean")
+)
+
+(define-method set_use_conn
+  (of-object "EmpathyConnectivity")
+  (c-name "empathy_connectivity_set_use_conn")
+  (return-type "none")
+  (parameters
+    '("gboolean" "use_conn")
+  )
+)
+
+
+
 ;; From empathy-contact.h
 
 (define-function contact_get_type
   (return-type "gboolean")
 )
 
+(define-method can_voip_audio
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_can_voip_audio")
+  (return-type "gboolean")
+)
+
+(define-method can_voip_video
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_can_voip_video")
+  (return-type "gboolean")
+)
+
 (define-method can_send_files
   (of-object "EmpathyContact")
   (c-name "empathy_contact_can_send_files")
   (return-type "EmpathyContactMonitor*")
 )
 
+(define-method get_flags
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_get_flags")
+  (return-type "EmpathyContactListFlags")
+)
+
 
 
 ;; From empathy-contact-manager.h
   (return-type "GType")
 )
 
+(define-function contact_manager_initialized
+  (c-name "empathy_contact_manager_initialized")
+  (return-type "gboolean")
+)
+
 (define-function contact_manager_dup_singleton
   (c-name "empathy_contact_manager_dup_singleton")
   (return-type "EmpathyContactManager*")
   )
 )
 
-(define-method can_add
+(define-method get_flags_for_connection
   (of-object "EmpathyContactManager")
-  (c-name "empathy_contact_manager_can_add")
-  (return-type "gboolean")
+  (c-name "empathy_contact_manager_get_flags_for_connection")
+  (return-type "EmpathyContactListFlags")
   (parameters
     '("TpConnection*" "connection")
   )
 
 
 
+;; From empathy-connection-managers.h
+
+(define-function connection_managers_get_type
+  (c-name "empathy_connection_managers_get_type")
+  (return-type "GType")
+)
+
+(define-function connection_managers_dup_singleton
+  (c-name "empathy_connection_managers_dup_singleton")
+  (return-type "EmpathyConnectionManagers*")
+)
+
+(define-method is_ready
+  (of-object "EmpathyConnectionManagers")
+  (c-name "empathy_connection_managers_is_ready")
+  (return-type "gboolean")
+)
+
+(define-method update
+  (of-object "EmpathyConnectionManagers")
+  (c-name "empathy_connection_managers_update")
+  (return-type "none")
+)
+
+(define-method get_cms
+  (of-object "EmpathyConnectionManagers")
+  (c-name "empathy_connection_managers_get_cms")
+  (return-type "GList*")
+)
+
+(define-method get_cms_num
+  (of-object "EmpathyConnectionManagers")
+  (c-name "empathy_connection_managers_get_cms_num")
+  (return-type "guint")
+)
+
+(define-method get_cm
+  (of-object "EmpathyConnectionManagers")
+  (c-name "empathy_connection_managers_get_cm")
+  (return-type "TpConnectionManager*")
+  (parameters
+    '("const-gchar*" "cm")
+  )
+)
+
+
+
 ;; From empathy-debug.h
 
 (define-function debug_flag_is_set
 
 
 
+;; From empathy-debugger.h
+
+(define-function debugger_get_type
+  (c-name "empathy_debugger_get_type")
+  (return-type "GType")
+)
+
+(define-function debugger_get_singleton
+  (c-name "empathy_debugger_get_singleton")
+  (return-type "EmpathyDebugger*")
+)
+
+(define-method add_message
+  (of-object "EmpathyDebugger")
+  (c-name "empathy_debugger_add_message")
+  (return-type "none")
+  (parameters
+    '("GTimeVal*" "timestamp")
+    '("const-gchar*" "domain")
+    '("GLogLevelFlags" "level")
+    '("const-gchar*" "string")
+  )
+)
+
+
+
 ;; From empathy-dispatcher.h
 
 (define-function dispatcher_get_type
   (varargs #t)
 )
 
+(define-function dispatcher_new
+  (c-name "empathy_dispatcher_new")
+  (is-constructor-of "EmpathyDispatcher")
+  (return-type "EmpathyDispatcher*")
+  (parameters
+    '("const-gchar*" "name")
+    '("GPtrArray*" "filters")
+    '("GStrv" "capabilities")
+  )
+)
+
+(define-method add_handler
+  (of-object "EmpathyDispatcher")
+  (c-name "empathy_dispatcher_add_handler")
+  (return-type "EmpathyHandler*")
+  (parameters
+    '("const-gchar*" "name")
+    '("GPtrArray*" "filters")
+    '("GStrv" "capabilities")
+  )
+)
+
+(define-method remove_handler
+  (of-object "EmpathyDispatcher")
+  (c-name "empathy_dispatcher_remove_handler")
+  (return-type "none")
+  (parameters
+    '("EmpathyHandler*" "handler")
+  )
+)
+
 (define-function dispatcher_dup_singleton
   (c-name "empathy_dispatcher_dup_singleton")
   (return-type "EmpathyDispatcher*")
   )
 )
 
-(define-method get_use_nm
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_get_use_nm")
-  (return-type "gboolean")
-)
-
-(define-method set_use_nm
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_set_use_nm")
-  (return-type "none")
-  (parameters
-    '("gboolean" "use_nm")
-  )
-)
-
 
 
 ;; From empathy-irc-network.h
 
 
 
+;; From empathy-location.h
+
+
+
 ;; From empathy-log-manager.h
 
 (define-function log_manager_get_type
   (return-type "GType")
 )
 
+(define-function message_new_from_entry
+  (c-name "empathy_message_new_from_entry")
+  (return-type "EmpathyMessage*")
+  (parameters
+    '("const-gchar*" "message")
+  )
+)
+
 (define-function message_new
   (c-name "empathy_message_new")
   (is-constructor-of "EmpathyMessage")
   )
 )
 
+(define-method is_backlog
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_is_backlog")
+  (return-type "gboolean")
+)
+
+(define-method set_is_backlog
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_set_is_backlog")
+  (return-type "none")
+  (parameters
+    '("gboolean" "is_backlog")
+  )
+)
+
+(define-method is_incoming
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_is_incoming")
+  (return-type "gboolean")
+)
+
+(define-method set_incoming
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_set_incoming")
+  (return-type "none")
+  (parameters
+    '("gboolean" "incoming")
+  )
+)
+
 (define-method should_highlight
   (of-object "EmpathyMessage")
   (c-name "empathy_message_should_highlight")
   (return-type "TpConnection*")
 )
 
-(define-method can_add
-  (of-object "EmpathyTpContactList")
-  (c-name "empathy_tp_contact_list_can_add")
-  (return-type "gboolean")
-)
-
 (define-method remove_all
   (of-object "EmpathyTpContactList")
   (c-name "empathy_tp_contact_list_remove_all")
   )
 )
 
-(define-function account_hash
-  (c-name "empathy_account_hash")
-  (return-type "guint")
-  (parameters
-    '("gconstpointer" "key")
-  )
-)
-
-(define-function account_equal
-  (c-name "empathy_account_equal")
-  (return-type "gboolean")
-  (parameters
-    '("gconstpointer" "a")
-    '("gconstpointer" "b")
-  )
-)
-
-(define-function mission_control_dup_singleton
-  (c-name "empathy_mission_control_dup_singleton")
-  (return-type "MissionControl*")
-)
-
 (define-function presence_get_default_message
   (c-name "empathy_presence_get_default_message")
   (return-type "const-gchar*")
   )
 )
 
+(define-function protocol_icon_name
+  (c-name "empathy_protocol_icon_name")
+  (return-type "gchar*")
+  (parameters
+    '("const-gchar*" "protocol")
+  )
+)
+
+(define-function protocol_name_to_display_name
+  (c-name "empathy_protocol_name_to_display_name")
+  (return-type "const-gchar*")
+  (parameters
+    '("const-gchar*" "proto_name")
+  )
+)
+
+(define-function type_dbus_ao
+  (c-name "empathy_type_dbus_ao")
+  (return-type "GType")
+)
+