diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-03 12:13:43 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-03 12:35:58 +0100 |
commit | 59e580c564711b194d3c0c8004cf8db195f06428 (patch) | |
tree | 557249305359a52023dd567fce571cdd53b027ac /telepathy-glib/connection-contact-list.h | |
parent | f524ee716e4e2fdb959c1dd28210a3a8dfc6cbfe (diff) | |
download | telepathy-glib-59e580c564711b194d3c0c8004cf8db195f06428.tar.gz |
Version-annotate recent API
Diffstat (limited to 'telepathy-glib/connection-contact-list.h')
-rw-r--r-- | telepathy-glib/connection-contact-list.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/telepathy-glib/connection-contact-list.h b/telepathy-glib/connection-contact-list.h index ec3ee5c7d..ab4d8bb6a 100644 --- a/telepathy-glib/connection-contact-list.h +++ b/telepathy-glib/connection-contact-list.h @@ -24,151 +24,190 @@ #include <telepathy-glib/enums.h> #include <telepathy-glib/connection.h> #include <telepathy-glib/contact.h> +#include <telepathy-glib/defs.h> G_BEGIN_DECLS #define TP_CONNECTION_FEATURE_CONTACT_LIST \ (tp_connection_get_feature_quark_contact_list ()) +_TP_AVAILABLE_IN_0_16 GQuark tp_connection_get_feature_quark_contact_list (void) G_GNUC_CONST; #define TP_CONNECTION_FEATURE_CONTACT_LIST_PROPERTIES \ (tp_connection_get_feature_quark_contact_list_properties ()) +_TP_AVAILABLE_IN_0_18 GQuark tp_connection_get_feature_quark_contact_list_properties (void) G_GNUC_CONST; +_TP_AVAILABLE_IN_0_16 TpContactListState tp_connection_get_contact_list_state (TpConnection *self); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_get_contact_list_persists (TpConnection *self); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_get_can_change_contact_list (TpConnection *self); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_get_request_uses_message (TpConnection *self); +_TP_AVAILABLE_IN_0_16 GPtrArray *tp_connection_dup_contact_list (TpConnection *self); +_TP_AVAILABLE_IN_0_16 void tp_connection_request_subscription_async (TpConnection *self, guint n_contacts, TpContact * const *contacts, const gchar *message, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_request_subscription_finish (TpConnection *self, GAsyncResult *result, GError **error); +_TP_AVAILABLE_IN_0_16 void tp_connection_authorize_publication_async (TpConnection *self, guint n_contacts, TpContact * const *contacts, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_authorize_publication_finish (TpConnection *self, GAsyncResult *result, GError **error); +_TP_AVAILABLE_IN_0_16 void tp_connection_remove_contacts_async (TpConnection *self, guint n_contacts, TpContact * const *contacts, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_remove_contacts_finish (TpConnection *self, GAsyncResult *result, GError **error); +_TP_AVAILABLE_IN_0_16 void tp_connection_unsubscribe_async (TpConnection *self, guint n_contacts, TpContact * const *contacts, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_unsubscribe_finish (TpConnection *self, GAsyncResult *result, GError **error); +_TP_AVAILABLE_IN_0_16 void tp_connection_unpublish_async (TpConnection *self, guint n_contacts, TpContact * const *contacts, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_unpublish_finish (TpConnection *self, GAsyncResult *result, GError **error); #define TP_CONNECTION_FEATURE_CONTACT_GROUPS \ (tp_connection_get_feature_quark_contact_groups ()) +_TP_AVAILABLE_IN_0_16 GQuark tp_connection_get_feature_quark_contact_groups (void) G_GNUC_CONST; +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_get_disjoint_groups (TpConnection *self); +_TP_AVAILABLE_IN_0_16 TpContactMetadataStorageType tp_connection_get_group_storage (TpConnection *self); +_TP_AVAILABLE_IN_0_16 const gchar * const *tp_connection_get_contact_groups (TpConnection *self); +_TP_AVAILABLE_IN_0_16 void tp_connection_set_group_members_async (TpConnection *self, const gchar *group, guint n_contacts, TpContact * const *contacts, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_set_group_members_finish (TpConnection *self, GAsyncResult *result, GError **error); +_TP_AVAILABLE_IN_0_16 void tp_connection_add_to_group_async (TpConnection *self, const gchar *group, guint n_contacts, TpContact * const *contacts, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_add_to_group_finish (TpConnection *self, GAsyncResult *result, GError **error); +_TP_AVAILABLE_IN_0_16 void tp_connection_remove_from_group_async (TpConnection *self, const gchar *group, guint n_contacts, TpContact * const *contacts, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_remove_from_group_finish (TpConnection *self, GAsyncResult *result, GError **error); +_TP_AVAILABLE_IN_0_16 void tp_connection_remove_group_async (TpConnection *self, const gchar *group, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_remove_group_finish (TpConnection *self, GAsyncResult *result, GError **error); +_TP_AVAILABLE_IN_0_16 void tp_connection_rename_group_async (TpConnection *self, const gchar *old_name, const gchar *new_name, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_16 gboolean tp_connection_rename_group_finish (TpConnection *self, GAsyncResult *result, GError **error); /* ContactBlocking */ +_TP_AVAILABLE_IN_0_18 void tp_connection_block_contacts_async (TpConnection *self, guint n_contacts, TpContact * const *contacts, gboolean report_abusive, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_18 gboolean tp_connection_block_contacts_finish (TpConnection *self, GAsyncResult *result, GError **error); +_TP_AVAILABLE_IN_0_18 void tp_connection_unblock_contacts_async (TpConnection *self, guint n_contacts, TpContact * const *contacts, GAsyncReadyCallback callback, gpointer user_data); +_TP_AVAILABLE_IN_0_18 gboolean tp_connection_unblock_contacts_finish (TpConnection *self, GAsyncResult *result, GError **error); #define TP_CONNECTION_FEATURE_CONTACT_BLOCKING \ (tp_connection_get_feature_quark_contact_blocking ()) +_TP_AVAILABLE_IN_0_18 GQuark tp_connection_get_feature_quark_contact_blocking (void) G_GNUC_CONST; +_TP_AVAILABLE_IN_0_18 gboolean tp_connection_can_report_abusive (TpConnection *self); +_TP_AVAILABLE_IN_0_18 GPtrArray * tp_connection_get_blocked_contacts (TpConnection *self); G_END_DECLS |