aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-05-24 06:43:03 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-05-24 06:43:03 +0800
commita2f50bb029eaa8b8c0804a5788302dc15105a3ed (patch)
tree3ffd58a9d131699dc756697d387319758a9f371b /mail/mail-ops.h
parent30dce44f3897757c3a1cb2ecfe215a6c628e9024 (diff)
downloadgsoc2013-evolution-a2f50bb029eaa8b8c0804a5788302dc15105a3ed.tar
gsoc2013-evolution-a2f50bb029eaa8b8c0804a5788302dc15105a3ed.tar.gz
gsoc2013-evolution-a2f50bb029eaa8b8c0804a5788302dc15105a3ed.tar.bz2
gsoc2013-evolution-a2f50bb029eaa8b8c0804a5788302dc15105a3ed.tar.lz
gsoc2013-evolution-a2f50bb029eaa8b8c0804a5788302dc15105a3ed.tar.xz
gsoc2013-evolution-a2f50bb029eaa8b8c0804a5788302dc15105a3ed.tar.zst
gsoc2013-evolution-a2f50bb029eaa8b8c0804a5788302dc15105a3ed.zip
New function that the shell component calls to copy/move a folder.
2001-05-23 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (xfer_folder): New function that the shell component calls to copy/move a folder. (component_fn): Set the xfer_folder_fn argument. * 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. (mail_xfer_folder): Yet another yummy async function to move or copy a folder to a new location. * 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=9954
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r--mail/mail-ops.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h
index 305dae6b77..e6677c4443 100644
--- a/mail/mail-ops.h
+++ b/mail/mail-ops.h
@@ -100,6 +100,12 @@ void mail_remove_folder (const char *uri,
void (*done) (char *uri, gboolean removed, void *data),
void *data);
+/* transfer (copy/move) a folder */
+void mail_xfer_folder (const char *src_uri, const char *dest_uri, gboolean remove_source,
+ void (*done) (char *src_uri, char *dest_uri, gboolean remove_source,
+ CamelFolder *folder, 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),