From 76f220863e83aa27c4f2d9efe214f697885072e0 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 23 May 2001 20:56:57 +0000 Subject: New async function to remove a folder. God knows if it does what the 2001-05-23 Jeffrey Stedfast * 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 --- mail/mail-ops.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/mail-ops.h') 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), -- cgit