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:41:16 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-06-29 11:39:40 +0100
commit92f99ab1015f80037ff4544acb60242f8f33d8b0 (patch)
tree61813ba8ffd45b0ba9f593cb19c1d4db99f4477f /telepathy-glib/base-contact-list.h
parent32b009c6bcfb5d15c5ba51bb07d1fa9cf1942381 (diff)
downloadtelepathy-glib-92f99ab1015f80037ff4544acb60242f8f33d8b0.tar.gz
TpBaseContactList: make remove_group async
Diffstat (limited to 'telepathy-glib/base-contact-list.h')
-rw-r--r--telepathy-glib/base-contact-list.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/telepathy-glib/base-contact-list.h b/telepathy-glib/base-contact-list.h
index 99a9b25cb..c03bd9c36 100644
--- a/telepathy-glib/base-contact-list.h
+++ b/telepathy-glib/base-contact-list.h
@@ -423,10 +423,18 @@ void tp_base_contact_list_remove_from_group (TpBaseContactList *self,
TpHandleSet *contacts);
typedef void (*TpBaseContactListRemoveGroupFunc) (TpBaseContactList *self,
- const gchar *group);
+ const gchar *group,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+
+void tp_base_contact_list_remove_group_async (TpBaseContactList *self,
+ const gchar *group,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
-void tp_base_contact_list_remove_group (TpBaseContactList *self,
- const gchar *group);
+gboolean tp_base_contact_list_remove_group_finish (TpBaseContactList *self,
+ GAsyncResult *result,
+ GError **error);
typedef void (*TpBaseContactListRenameGroupFunc) (TpBaseContactList *self,
const gchar *old_name,
@@ -465,7 +473,9 @@ struct _TpMutableContactGroupListInterface {
TpBaseContactListGroupContactsFunc add_to_group;
TpBaseContactListGroupContactsFunc remove_from_group;
- TpBaseContactListRemoveGroupFunc remove_group;
+
+ TpBaseContactListRemoveGroupFunc remove_group_async;
+ TpBaseContactListAsyncFinishFunc remove_group_finish;
/* optional to implement */