aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-account-manager.h')
-rw-r--r--libempathy/empathy-account-manager.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/libempathy/empathy-account-manager.h b/libempathy/empathy-account-manager.h
index 490fb09c2..953d8bc75 100644
--- a/libempathy/empathy-account-manager.h
+++ b/libempathy/empathy-account-manager.h
@@ -57,11 +57,6 @@ GType empathy_account_manager_get_type (void);
/* public methods */
EmpathyAccountManager * empathy_account_manager_dup_singleton (void);
-EmpathyAccount * empathy_account_manager_create (
- EmpathyAccountManager *manager,
- const gchar *connection_manager,
- const gchar *protocol,
- const gchar *display_name);
gboolean empathy_account_manager_is_ready (EmpathyAccountManager *manager);
@@ -96,6 +91,15 @@ TpConnectionPresenceType empathy_account_manager_get_global_presence (
gchar **status,
gchar **message);
+void empathy_account_manager_create_account_async (
+ EmpathyAccountManager *manager, const gchar *connection_manager,
+ const gchar *protocol, const gchar *display_name,
+ GHashTable *parameters, GHashTable *properties,
+ GAsyncReadyCallback callback, gpointer user_data);
+
+EmpathyAccount * empathy_account_manager_create_account_finish (
+ EmpathyAccountManager *settings, GAsyncResult *result, GError **error);
+
G_END_DECLS
#endif /* __EMPATHY_ACCOUNT_MANAGER_H__ */