diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-03 12:13:43 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-03 12:35:58 +0100 |
commit | 59e580c564711b194d3c0c8004cf8db195f06428 (patch) | |
tree | 557249305359a52023dd567fce571cdd53b027ac /telepathy-glib/connection.h | |
parent | f524ee716e4e2fdb959c1dd28210a3a8dfc6cbfe (diff) | |
download | telepathy-glib-59e580c564711b194d3c0c8004cf8db195f06428.tar.gz |
Version-annotate recent API
Diffstat (limited to 'telepathy-glib/connection.h')
-rw-r--r-- | telepathy-glib/connection.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/telepathy-glib/connection.h b/telepathy-glib/connection.h index 177e5404c..71a739c32 100644 --- a/telepathy-glib/connection.h +++ b/telepathy-glib/connection.h @@ -127,6 +127,7 @@ GQuark tp_errors_disconnected_quark (void); TpConnection *tp_connection_new (TpDBusDaemon *dbus, const gchar *bus_name, const gchar *object_path, GError **error) G_GNUC_WARN_UNUSED_RESULT; +_TP_AVAILABLE_IN_0_16 TpAccount *tp_connection_get_account (TpConnection *self); TpConnectionStatus tp_connection_get_status (TpConnection *self, @@ -192,8 +193,10 @@ gint tp_connection_presence_type_cmp_availability (TpConnectionPresenceType p1, gboolean tp_connection_parse_object_path (TpConnection *self, gchar **protocol, gchar **cm_name); +_TP_AVAILABLE_IN_0_20 const gchar *tp_connection_get_detailed_error (TpConnection *self, const GHashTable **details); +_TP_AVAILABLE_IN_0_20 gchar *tp_connection_dup_detailed_error_vardict (TpConnection *self, GVariant **details) G_GNUC_WARN_UNUSED_RESULT; @@ -291,21 +294,28 @@ TpAvatarRequirements * tp_connection_get_avatar_requirements ( #define TP_CONNECTION_FEATURE_ALIASING \ (tp_connection_get_feature_quark_aliasing ()) +_TP_AVAILABLE_IN_0_18 GQuark tp_connection_get_feature_quark_aliasing (void) G_GNUC_CONST; +_TP_AVAILABLE_IN_0_18 gboolean tp_connection_can_set_contact_alias (TpConnection *self); #define TP_CONNECTION_FEATURE_BALANCE \ (tp_connection_get_feature_quark_balance ()) +_TP_AVAILABLE_IN_0_16 GQuark tp_connection_get_feature_quark_balance (void) G_GNUC_CONST; +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_get_balance (TpConnection *self, gint *balance, guint *scale, const gchar **currency); +_TP_AVAILABLE_IN_0_16 const gchar * tp_connection_get_balance_uri (TpConnection *self); +_TP_AVAILABLE_IN_0_18 void tp_connection_disconnect_async (TpConnection *self, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_18 gboolean tp_connection_disconnect_finish (TpConnection *self, GAsyncResult *result, GError **error); |