aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-15 05:33:58 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-15 05:33:58 +0800
commit5ef8138ee874c6ba2c3582e3b6b624611ce3418b (patch)
treedad5b8f3bf8fd20649bcb2a3ba57c222f3c7916b /mail/mail-ops.h
parent6facd92e17699de1e036eab4be02b09e00f3d6de (diff)
downloadgsoc2013-evolution-5ef8138ee874c6ba2c3582e3b6b624611ce3418b.tar.gz
gsoc2013-evolution-5ef8138ee874c6ba2c3582e3b6b624611ce3418b.tar.zst
gsoc2013-evolution-5ef8138ee874c6ba2c3582e3b6b624611ce3418b.zip
Setup the Trash folder.
2001-02-14 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Setup the Trash folder. * mail-ops.c (create_trash_vfolder): Do better error handling. (populate_folder_urls): Oops, helps to strdup the url into the array if we plan on freeing the data. (mail_get_trash): New async function that may eventually replace mail_do_setup_trash(). (do_setup_trash): Do better error handling. * mail-local.c (mail_local_store_class_init): Override get_folder_info. (get_folder_info): Implement. svn path=/trunk/; revision=8228
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r--mail/mail-ops.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h
index ba2201cfdd..eb47c68c4f 100644
--- a/mail/mail-ops.h
+++ b/mail/mail-ops.h
@@ -58,6 +58,9 @@ void mail_get_messages(CamelFolder *folder, GPtrArray *uids,
int mail_get_folder(const char *uri,
void (*done) (char *uri, CamelFolder *folder, void *data), void *data);
+int mail_get_trash (const char *uri,
+ void (*done) (char *store_uri, CamelFolder *folder, void *data), void *data);
+
/* and for a store */
int mail_get_store(const char *uri,
void (*done) (char *uri, CamelStore *store, void *data), void *data);