aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-manager.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-21 23:27:22 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-22 00:27:54 +0800
commitb53f011fbab2a1efbb2ba229195da8ec8e1fc7dc (patch)
tree35d2105a80406736b137e8e587f900925454b491 /libempathy/empathy-account-manager.h
parent4bdda84105d2e83a551b6c1caa919df221fc2244 (diff)
downloadgsoc2013-empathy-b53f011fbab2a1efbb2ba229195da8ec8e1fc7dc.tar
gsoc2013-empathy-b53f011fbab2a1efbb2ba229195da8ec8e1fc7dc.tar.gz
gsoc2013-empathy-b53f011fbab2a1efbb2ba229195da8ec8e1fc7dc.tar.bz2
gsoc2013-empathy-b53f011fbab2a1efbb2ba229195da8ec8e1fc7dc.tar.lz
gsoc2013-empathy-b53f011fbab2a1efbb2ba229195da8ec8e1fc7dc.tar.xz
gsoc2013-empathy-b53f011fbab2a1efbb2ba229195da8ec8e1fc7dc.tar.zst
gsoc2013-empathy-b53f011fbab2a1efbb2ba229195da8ec8e1fc7dc.zip
Add API to add accounts
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__ */