summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-contact-list.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-06-23 16:56:20 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-06-29 11:39:40 +0100
commitc175f36ede225270828483833eb106d8a6b34cdb (patch)
tree51813b22a462f95a90d561e7914be9ffa617052e /telepathy-glib/base-contact-list.h
parent92f99ab1015f80037ff4544acb60242f8f33d8b0 (diff)
downloadtelepathy-glib-c175f36ede225270828483833eb106d8a6b34cdb.tar.gz
TpBaseContactList: rename groups asynchronously
Diffstat (limited to 'telepathy-glib/base-contact-list.h')
-rw-r--r--telepathy-glib/base-contact-list.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/telepathy-glib/base-contact-list.h b/telepathy-glib/base-contact-list.h
index c03bd9c36..0fa59f507 100644
--- a/telepathy-glib/base-contact-list.h
+++ b/telepathy-glib/base-contact-list.h
@@ -438,11 +438,19 @@ gboolean tp_base_contact_list_remove_group_finish (TpBaseContactList *self,
typedef void (*TpBaseContactListRenameGroupFunc) (TpBaseContactList *self,
const gchar *old_name,
- const gchar *new_name);
+ const gchar *new_name,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
-void tp_base_contact_list_rename_group (TpBaseContactList *self,
+void tp_base_contact_list_rename_group_async (TpBaseContactList *self,
const gchar *old_name,
- const gchar *new_name);
+ const gchar *new_name,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+
+gboolean tp_base_contact_list_rename_group_finish (TpBaseContactList *self,
+ GAsyncResult *result,
+ GError **error);
#define TP_TYPE_MUTABLE_CONTACT_GROUP_LIST \
(tp_mutable_contact_group_list_get_type ())
@@ -479,7 +487,8 @@ struct _TpMutableContactGroupListInterface {
/* optional to implement */
- TpBaseContactListRenameGroupFunc rename_group;
+ TpBaseContactListRenameGroupFunc rename_group_async;
+ TpBaseContactListAsyncFinishFunc rename_group_finish;
TpBaseContactListUIntFunc get_group_storage;
};