diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-05-24 04:56:57 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-05-24 04:56:57 +0800 |
commit | 76f220863e83aa27c4f2d9efe214f697885072e0 (patch) | |
tree | 296850387147ef496b6b3a1054fc1e2cfa9e7ace /mail/mail-ops.h | |
parent | cd75a45fc98b686fc180feb3209bbfd2e1c4413b (diff) | |
download | gsoc2013-evolution-76f220863e83aa27c4f2d9efe214f697885072e0.tar gsoc2013-evolution-76f220863e83aa27c4f2d9efe214f697885072e0.tar.gz gsoc2013-evolution-76f220863e83aa27c4f2d9efe214f697885072e0.tar.bz2 gsoc2013-evolution-76f220863e83aa27c4f2d9efe214f697885072e0.tar.lz gsoc2013-evolution-76f220863e83aa27c4f2d9efe214f697885072e0.tar.xz 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.h | 5 |
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), |