diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-04-14 12:01:31 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-04-15 14:53:42 +0200 |
commit | e20d25e171c51c480897ce6cba4352b0ea677d77 (patch) | |
tree | 88abd0cd581dccb41c31d552376d5ebd5e844208 /telepathy-glib/contact.h | |
parent | 1ef5a03c335d488634f3ed925b921c9937f0704d (diff) | |
download | telepathy-glib-e20d25e171c51c480897ce6cba4352b0ea677d77.tar.gz |
contact: add capabilities feature and property
Diffstat (limited to 'telepathy-glib/contact.h')
-rw-r--r-- | telepathy-glib/contact.h | 5 |
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, |