summaryrefslogtreecommitdiff
path: root/telepathy-glib/account.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-12-01 13:18:35 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-12-01 13:18:35 +0000
commit64dd9e4574cb183759dfb7f17938543105da801c (patch)
treead8bb144ff37dba8c743e3f8c3c008fbddf88127 /telepathy-glib/account.h
parent9d46be3c380f8c66436d16b3f8e118b12dc244ec (diff)
downloadtelepathy-glib-64dd9e4574cb183759dfb7f17938543105da801c.tar.gz
Add an async setter for AutomaticPresence
Diffstat (limited to 'telepathy-glib/account.h')
-rw-r--r--telepathy-glib/account.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/telepathy-glib/account.h b/telepathy-glib/account.h
index 24d1eb9cc..1cb77e71c 100644
--- a/telepathy-glib/account.h
+++ b/telepathy-glib/account.h
@@ -156,6 +156,13 @@ void tp_account_request_presence_async (TpAccount *account,
gboolean tp_account_request_presence_finish (TpAccount *account,
GAsyncResult *result, GError **error);
+void tp_account_set_automatic_presence_async (TpAccount *account,
+ TpConnectionPresenceType type, const gchar *status, const gchar *message,
+ GAsyncReadyCallback callback, gpointer user_data);
+
+gboolean tp_account_set_automatic_presence_finish (TpAccount *account,
+ GAsyncResult *result, GError **error);
+
gboolean tp_account_get_connect_automatically (TpAccount *account);
void tp_account_set_connect_automatically_async (TpAccount *account,