summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-09-13 18:35:21 +0200
committerXavier Claessens <xclaesse@gmail.com>2011-09-30 10:20:29 +0200
commitc434a51062415ed37b9225117ccfde4d21a346f9 (patch)
tree57fe9ea4059f14a46f9db18c5daeab7f2767bd26 /telepathy-glib/channel.h
parent0aae81e14a7b40bb035fbaa4d5595665069d9b53 (diff)
downloadtelepathy-glib-c434a51062415ed37b9225117ccfde4d21a346f9.tar.gz
Add TP_CHANNEL_FEATURE_CONTACTS feature
It ensures that all TpContact objects related to a channel are prepared with factory features. It fail to prepare on old CMs.
Diffstat (limited to 'telepathy-glib/channel.h')
-rw-r--r--telepathy-glib/channel.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/telepathy-glib/channel.h b/telepathy-glib/channel.h
index 619c26596..597e782aa 100644
--- a/telepathy-glib/channel.h
+++ b/telepathy-glib/channel.h
@@ -128,6 +128,22 @@ GQuark tp_channel_get_feature_quark_core (void) G_GNUC_CONST;
tp_channel_get_feature_quark_group ()
GQuark tp_channel_get_feature_quark_group (void) G_GNUC_CONST;
+#define TP_CHANNEL_FEATURE_CONTACTS \
+ tp_channel_get_feature_quark_contacts ()
+GQuark tp_channel_get_feature_quark_contacts (void) G_GNUC_CONST;
+
+TpContact *tp_channel_get_target_contact (TpChannel *self);
+TpContact *tp_channel_get_initiator_contact (TpChannel *self);
+TpContact *tp_channel_group_get_self_contact (TpChannel *self);
+GPtrArray *tp_channel_group_dup_members_contacts (TpChannel *self);
+GPtrArray *tp_channel_group_dup_local_pending_contacts (TpChannel *self);
+GPtrArray *tp_channel_group_dup_remote_pending_contacts (TpChannel *self);
+gboolean tp_channel_group_get_local_pending_contact_info (TpChannel *self,
+ TpContact *local_pending, TpContact **actor,
+ TpChannelGroupChangeReason *reason, const gchar **message);
+TpContact *tp_channel_group_get_contact_owner (TpChannel *self,
+ TpContact *contact);
+
#define TP_CHANNEL_FEATURE_CHAT_STATES \
tp_channel_get_feature_quark_chat_states ()
GQuark tp_channel_get_feature_quark_chat_states (void) G_GNUC_CONST;