summaryrefslogtreecommitdiff
path: root/telepathy-glib/account-manager.h
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-09-21 13:35:37 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-09-21 13:35:37 +0100
commitcc9c2d7529aeaa906f6a5c792d6762900df20412 (patch)
tree1807faad90f7cd718d43b5be645af2974102cb78 /telepathy-glib/account-manager.h
parentf1afe132fed8eb63b16bc0de8a748b2f0f1e8354 (diff)
downloadtelepathy-glib-cc9c2d7529aeaa906f6a5c792d6762900df20412.tar.gz
account-manager: add feature and feature functions
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'telepathy-glib/account-manager.h')
-rw-r--r--telepathy-glib/account-manager.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/telepathy-glib/account-manager.h b/telepathy-glib/account-manager.h
index 0a3d24d8d..a5eae80c8 100644
--- a/telepathy-glib/account-manager.h
+++ b/telepathy-glib/account-manager.h
@@ -64,14 +64,15 @@ GType tp_account_manager_get_type (void);
(G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_ACCOUNT_MANAGER, \
TpAccountManagerClass))
+#define TP_ACCOUNT_MANAGER_FEATURE_CORE \
+ g_quark_from_static_string ("tp-account-manager-feature-core")
+
TpAccountManager *tp_account_manager_new (TpDBusDaemon *bus_daemon);
TpAccountManager *tp_account_manager_dup (void);
void tp_account_manager_init_known_interfaces (void);
-gboolean tp_account_manager_is_ready (TpAccountManager *manager);
-
TpAccount *tp_account_manager_get_account_for_connection (
TpAccountManager *manager, TpConnection *connection);
@@ -100,6 +101,20 @@ void tp_account_manager_create_account_async (TpAccountManager *manager,
TpAccount * tp_account_manager_create_account_finish (
TpAccountManager *manager, GAsyncResult *result, GError **error);
+gboolean tp_account_manager_is_ready (TpAccountManager *account,
+ GQuark feature);
+
+void tp_account_manager_prepare_async (TpAccountManager *account,
+ GQuark* features, GAsyncReadyCallback callback, gpointer user_data);
+
+gboolean tp_account_manager_prepare_finish (TpAccountManager *account,
+ GAsyncResult *result, GError **error);
+
+gboolean tp_account_manager_set_features (TpAccountManager *account,
+ const GQuark* features);
+
+const GQuark * tp_account_manager_get_features (TpAccountManager *account);
+
G_END_DECLS
#include <telepathy-glib/_gen/tp-cli-account-manager.h>