diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2010-09-30 15:55:39 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2010-09-30 15:55:39 +0100 |
commit | 7374bd4d1cd288659cb32b19d62d1f153c9372da (patch) | |
tree | d9f293a667f867e42883240cf4ef2263a88a55ad /telepathy-glib/contact.h | |
parent | 2919bd44111db58a721aa4e426d69615dc008ab7 (diff) | |
download | telepathy-glib-7374bd4d1cd288659cb32b19d62d1f153c9372da.tar.gz |
contact: add client types property and getter and change notification
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'telepathy-glib/contact.h')
-rw-r--r-- | telepathy-glib/contact.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/telepathy-glib/contact.h b/telepathy-glib/contact.h index ee48a349d..a858b85e8 100644 --- a/telepathy-glib/contact.h +++ b/telepathy-glib/contact.h @@ -62,8 +62,9 @@ typedef enum { TP_CONTACT_FEATURE_CAPABILITIES, TP_CONTACT_FEATURE_AVATAR_DATA, TP_CONTACT_FEATURE_CONTACT_INFO, + TP_CONTACT_FEATURE_CLIENT_TYPES, } TpContactFeature; -#define NUM_TP_CONTACT_FEATURES (TP_CONTACT_FEATURE_CONTACT_INFO + 1) +#define NUM_TP_CONTACT_FEATURES (TP_CONTACT_FEATURE_CLIENT_TYPES + 1) /* Basic functionality, always available */ TpConnection *tp_contact_get_connection (TpContact *self); @@ -105,6 +106,9 @@ gboolean tp_contact_request_contact_info_finish (TpContact *self, void tp_connection_refresh_contact_info (TpConnection *self, guint n_contacts, TpContact * const *contacts); +/* TP_CONTACT_FEATURE_CLIENT_TYPES */ +const gchar * const *tp_contact_get_client_types (TpContact *self); + typedef void (*TpConnectionContactsByHandleCb) (TpConnection *connection, guint n_contacts, TpContact * const *contacts, guint n_failed, const TpHandle *failed, |