diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-20 16:23:59 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-01 13:05:05 +0100 |
commit | 293c43f3c7d9359d7c03a150dbc348fbeaf14ca6 (patch) | |
tree | 36c5a526ee7e9bea1e352a7419cbb3829b1c998c /telepathy-glib/contact.h | |
parent | c712fb46c5ed09a461a86d52a712a03d33beae2d (diff) | |
download | telepathy-glib-293c43f3c7d9359d7c03a150dbc348fbeaf14ca6.tar.gz |
TpContact: add is-blocked property
https://bugs.freedesktop.org/show_bug.cgi?id=41801
Diffstat (limited to 'telepathy-glib/contact.h')
-rw-r--r-- | telepathy-glib/contact.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/telepathy-glib/contact.h b/telepathy-glib/contact.h index f9b13023e..cacb13649 100644 --- a/telepathy-glib/contact.h +++ b/telepathy-glib/contact.h @@ -65,8 +65,9 @@ typedef enum { TP_CONTACT_FEATURE_CLIENT_TYPES, TP_CONTACT_FEATURE_SUBSCRIPTION_STATES, TP_CONTACT_FEATURE_CONTACT_GROUPS, + TP_CONTACT_FEATURE_CONTACT_BLOCKING, } TpContactFeature; -#define NUM_TP_CONTACT_FEATURES (TP_CONTACT_FEATURE_CONTACT_GROUPS + 1) +#define NUM_TP_CONTACT_FEATURES (TP_CONTACT_FEATURE_CONTACT_BLOCKING + 1) #define TP_CONTACT_FEATURE_INVALID ((TpContactFeature) -1) /* Basic functionality, always available */ @@ -164,6 +165,10 @@ void tp_connection_get_contacts_by_id (TpConnection *self, TpContact *tp_connection_dup_contact_if_possible (TpConnection *connection, TpHandle handle, const gchar *identifier); +/* TP_CONTACT_FEATURE_CONTACT_BLOCKING */ + +gboolean tp_contact_is_blocked (TpContact *self); + G_END_DECLS #endif |