diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-11-25 15:18:56 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-11-25 15:18:56 +0000 |
commit | 4aa6e2132455218128ab4b8dfc93729a570fbb90 (patch) | |
tree | b7e962b81e6c0d569c887c00e321e7e62608e949 /telepathy-glib/account.h | |
parent | dcd61c23908c98d8f44cfed517c7487db20e9fba (diff) | |
download | telepathy-glib-4aa6e2132455218128ab4b8dfc93729a570fbb90.tar.gz |
TpAccount: add convenience API for Addressing
Diffstat (limited to 'telepathy-glib/account.h')
-rw-r--r-- | telepathy-glib/account.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/telepathy-glib/account.h b/telepathy-glib/account.h index 9cef7d34c..fe8a3faaf 100644 --- a/telepathy-glib/account.h +++ b/telepathy-glib/account.h @@ -71,9 +71,12 @@ GType tp_account_get_type (void); tp_account_get_feature_quark_core () #define TP_ACCOUNT_FEATURE_STORAGE \ tp_account_get_feature_quark_storage () +#define TP_ACCOUNT_FEATURE_ADDRESSING \ + tp_account_get_feature_quark_addressing () GQuark tp_account_get_feature_quark_core (void) G_GNUC_CONST; GQuark tp_account_get_feature_quark_storage (void) G_GNUC_CONST; +GQuark tp_account_get_feature_quark_addressing (void) G_GNUC_CONST; TpAccount *tp_account_new (TpDBusDaemon *bus_daemon, const gchar *object_path, GError **error) G_GNUC_WARN_UNUSED_RESULT; @@ -222,6 +225,17 @@ void tp_account_get_storage_specific_information_async (TpAccount *self, GHashTable *tp_account_get_storage_specific_information_finish (TpAccount *self, GAsyncResult *result, GError **error); +const gchar * const * +/* ugh, gtk-doc */ +tp_account_get_uri_schemes (TpAccount *self); +gboolean tp_account_associated_with_uri_scheme (TpAccount *self, + const gchar *scheme); +void tp_account_set_uri_scheme_association_async (TpAccount *self, + const gchar *scheme, gboolean associate, + GAsyncReadyCallback callback, gpointer user_data); +gboolean tp_account_set_uri_scheme_association_finish (TpAccount *self, + GAsyncResult *result, GError **error); + G_END_DECLS #include <telepathy-glib/_gen/tp-cli-account.h> |