diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-04-27 14:32:10 +0200 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-05-09 18:10:41 +0200 |
commit | 9544a1997eed04aecef4ed98ddf776c2759b28b9 (patch) | |
tree | 69e4878adb308161e5f774991e8680d006d25ec4 /telepathy-glib/text-channel.h | |
parent | 76205ffed60d37618e04c479299c09ee497dcd15 (diff) | |
download | telepathy-glib-9544a1997eed04aecef4ed98ddf776c2759b28b9.tar.gz |
Move ChatState to TpTextChannel
API on TpChannel is now deprecated but still used to implement
the corresponding API on TpTextChannel.
https://bugs.freedesktop.org/show_bug.cgi?id=49215
Diffstat (limited to 'telepathy-glib/text-channel.h')
-rw-r--r-- | telepathy-glib/text-channel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/telepathy-glib/text-channel.h b/telepathy-glib/text-channel.h index beb5e718a..4f488fc43 100644 --- a/telepathy-glib/text-channel.h +++ b/telepathy-glib/text-channel.h @@ -121,6 +121,12 @@ gboolean tp_text_channel_ack_all_pending_messages_finish (TpTextChannel *self, GAsyncResult *result, GError **error); +#define TP_TEXT_CHANNEL_FEATURE_CHAT_STATES \ + tp_text_channel_get_feature_quark_chat_states () +GQuark tp_text_channel_get_feature_quark_chat_states (void) G_GNUC_CONST; +TpChannelChatState tp_text_channel_get_chat_state (TpTextChannel *self, + TpContact *contact); + void tp_text_channel_set_chat_state_async (TpTextChannel *self, TpChannelChatState state, GAsyncReadyCallback callback, |