summaryrefslogtreecommitdiff
path: root/telepathy-glib/contact.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-14 12:01:31 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-15 14:53:42 +0200
commite20d25e171c51c480897ce6cba4352b0ea677d77 (patch)
tree88abd0cd581dccb41c31d552376d5ebd5e844208 /telepathy-glib/contact.h
parent1ef5a03c335d488634f3ed925b921c9937f0704d (diff)
downloadtelepathy-glib-e20d25e171c51c480897ce6cba4352b0ea677d77.tar.gz
contact: add capabilities feature and property
Diffstat (limited to 'telepathy-glib/contact.h')
-rw-r--r--telepathy-glib/contact.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/telepathy-glib/contact.h b/telepathy-glib/contact.h
index b2f0bf986..8f825cc2d 100644
--- a/telepathy-glib/contact.h
+++ b/telepathy-glib/contact.h
@@ -23,6 +23,7 @@
#include <glib-object.h>
+#include <telepathy-glib/capabilities.h>
#include <telepathy-glib/connection.h>
#include <telepathy-glib/handle.h>
@@ -55,6 +56,7 @@ typedef enum {
TP_CONTACT_FEATURE_AVATAR_TOKEN,
TP_CONTACT_FEATURE_PRESENCE,
TP_CONTACT_FEATURE_LOCATION,
+ TP_CONTACT_FEATURE_CAPABILITIES,
NUM_TP_CONTACT_FEATURES
} TpContactFeature;
@@ -78,6 +80,9 @@ const gchar *tp_contact_get_presence_message (TpContact *self);
/* TP_CONTACT_FEATURE_LOCATION */
GHashTable *tp_contact_get_location (TpContact *self);
+/* TP_CONTACT_FEATURE_CAPABILITIES */
+TpCapabilities *tp_contact_get_capabilities (TpContact *self);
+
typedef void (*TpConnectionContactsByHandleCb) (TpConnection *connection,
guint n_contacts, TpContact * const *contacts,
guint n_failed, const TpHandle *failed,