aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-05-24 04:56:57 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-05-24 04:56:57 +0800
commit76f220863e83aa27c4f2d9efe214f697885072e0 (patch)
tree296850387147ef496b6b3a1054fc1e2cfa9e7ace /mail/mail-ops.h
parentcd75a45fc98b686fc180feb3209bbfd2e1c4413b (diff)
downloadgsoc2013-evolution-76f220863e83aa27c4f2d9efe214f697885072e0.tar.gz
gsoc2013-evolution-76f220863e83aa27c4f2d9efe214f697885072e0.tar.zst
gsoc2013-evolution-76f220863e83aa27c4f2d9efe214f697885072e0.zip
New async function to remove a folder. God knows if it does what the
2001-05-23 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_remove_folder): New async function to remove a folder. God knows if it does what the ShellComponent needs or not yet. * component-factory.c (storage_remove_folder): New function for removing folders. (remove_folder): New function that the shell component calls to delete a folder. (component_fn): Set the remove_folder_fn argument. svn path=/trunk/; revision=9952
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r--mail/mail-ops.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h
index e19051ab1b..305dae6b77 100644
--- a/mail/mail-ops.h
+++ b/mail/mail-ops.h
@@ -95,6 +95,11 @@ void mail_create_folder (const char *uri,
void (*done) (char *uri, CamelFolder *folder, void *data),
void *data);
+/* remove an existing folder */
+void mail_remove_folder (const char *uri,
+ void (*done) (char *uri, gboolean removed, void *data),
+ void *data);
+
/* save messages */
int mail_save_messages (CamelFolder *folder, GPtrArray *uids, const char *path,
void (*done) (CamelFolder *folder, GPtrArray *uids, char *path, void *data),