aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-12-16 07:48:23 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-12-16 07:48:23 +0800
commit6bd8382bd68ada82117064bc3576c4b8374cfc04 (patch)
tree67bd3b2019313b7be3c18f12111914eef7f66a61 /camel/camel-folder.h
parent78c9c2b070f74e18a7a676984e3ce633300c335d (diff)
downloadgsoc2013-evolution-6bd8382bd68ada82117064bc3576c4b8374cfc04.tar.gz
gsoc2013-evolution-6bd8382bd68ada82117064bc3576c4b8374cfc04.tar.zst
gsoc2013-evolution-6bd8382bd68ada82117064bc3576c4b8374cfc04.zip
implemented. The routines in this file will be called by providers to
1999-12-16 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-folder-utils.c (camel_aml_expunge_messages): implemented. The routines in this file will be called by providers to handle the list of message already standing in memory. 1999-12-15 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-folder-utils.c: * camel/camel-folder-utils.h: New files, misc utilities for the folder providers. Includes active message list utilities. * camel/camel-folder.c (_has_message_number_capability): (camel_folder_has_message_number_capability): Added this to know if a folder provides number-based message access. * camel/camel-folder.c (_get_message_count): added warning when called directly. (_append_message): ditto (_open_async): ditto (_close_async): ditto (_delete_messages): ditto (_expunge): ditto (_get_message_by_number): ditto (_get_message_uid): ditto (_get_message_uid_by_number): ditto (_get_message_by_uid): ditto (_get_uid_list): ditto svn path=/trunk/; revision=1492
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index c4ddf71276..0146ae6325 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -168,10 +168,12 @@ typedef struct {
void (*expunge) (CamelFolder *folder,
CamelException *ex);
+ gboolean (*has_message_number_capability) (CamelFolder *folder, CamelException *ex);
+
CamelMimeMessage * (*get_message_by_number) (CamelFolder *folder,
gint number,
CamelException *ex);
-
+
gint (*get_message_count) (CamelFolder *folder,
CamelException *ex);
@@ -187,6 +189,8 @@ typedef struct {
CamelFolder *dest_folder,
CamelException *ex);
+ gboolean (*has_uid_capability) (CamelFolder *folder);
+
const gchar * (*get_message_uid) (CamelFolder *folder,
CamelMimeMessage *message,
CamelException *ex);
@@ -239,7 +243,7 @@ GList *camel_folder_list_subfolders (CamelFolder *folder, CamelException *ex);
/* delete operations */
gboolean camel_folder_delete (CamelFolder *folder, gboolean recurse, CamelException *ex);
gboolean camel_folder_delete_messages (CamelFolder *folder, CamelException *ex);
-GList *camel_folder_expunge (CamelFolder *folder, gboolean want_list, CamelException *ex);
+void camel_folder_expunge (CamelFolder *folder, CamelException *ex);
/* folder name manipulation operations */
@@ -272,6 +276,7 @@ CamelFolderSummary *camel_folder_get_summary (CamelFolder *folder, CamelExceptio
/* number based access operations */
+gboolean camel_folder_has_message_number_capability (CamelFolder *folder, CamelException *ex);
CamelMimeMessage *camel_folder_get_message_by_number (CamelFolder *folder,
gint number, CamelException *ex);
gint camel_folder_get_message_count (CamelFolder *folder, CamelException *ex);