diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-04-16 16:33:46 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-04-30 19:19:28 +0100 |
commit | f89c396996d914b1e54dee714276da85df0fcb5e (patch) | |
tree | a99b56b5f5dca4bdefb7c3de96e094c88346018e /telepathy-glib/account-channel-request.h | |
parent | 40c12e5ec863922f62a053f8feeb1ed414188430 (diff) | |
download | telepathy-glib-f89c396996d914b1e54dee714276da85df0fcb5e.tar.gz |
tp_account_channel_request_new_text, tp_account_channel_request_set_target_contact, tp_account_channel_request_set_target_id: add
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48780
Diffstat (limited to 'telepathy-glib/account-channel-request.h')
-rw-r--r-- | telepathy-glib/account-channel-request.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/telepathy-glib/account-channel-request.h b/telepathy-glib/account-channel-request.h index b09679f2e..022c2822c 100644 --- a/telepathy-glib/account-channel-request.h +++ b/telepathy-glib/account-channel-request.h @@ -87,6 +87,21 @@ void tp_account_channel_request_set_delegate_to_preferred_handler ( TpAccountChannelRequest *self, gboolean delegate); +/* Text */ + +TpAccountChannelRequest *tp_account_channel_request_new_text ( + TpAccount *account, + gint64 user_action_time) G_GNUC_WARN_UNUSED_RESULT; + +/* Channel target (shared between all channel types) */ + +void tp_account_channel_request_set_target_contact ( + TpAccountChannelRequest *self, + TpContact *contact); +void tp_account_channel_request_set_target_id (TpAccountChannelRequest *self, + TpHandleType handle_type, + const gchar *identifier); + /* Request and handle API */ void tp_account_channel_request_create_and_handle_channel_async ( |