aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-10 15:30:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-10 15:30:59 +0800
commit3e2188235f0cde226477d268aa4928ebb83af831 (patch)
tree5daf1b2bc32a1b4d766c089692fa4f9a80a38292 /camel/camel-folder.h
parentcccc6d3b5b40488dfdf8354ce78b8ad65b50e74a (diff)
downloadgsoc2013-evolution-3e2188235f0cde226477d268aa4928ebb83af831.tar
gsoc2013-evolution-3e2188235f0cde226477d268aa4928ebb83af831.tar.gz
gsoc2013-evolution-3e2188235f0cde226477d268aa4928ebb83af831.tar.bz2
gsoc2013-evolution-3e2188235f0cde226477d268aa4928ebb83af831.tar.lz
gsoc2013-evolution-3e2188235f0cde226477d268aa4928ebb83af831.tar.xz
gsoc2013-evolution-3e2188235f0cde226477d268aa4928ebb83af831.tar.zst
gsoc2013-evolution-3e2188235f0cde226477d268aa4928ebb83af831.zip
Implemented.
2000-07-10 Jeffrey Stedfast <fejj@helixcode.com> * providers/mbox/camel-mbox-folder.c (mbox_get_unread_message_count): * providers/vee/camel-vee-folder.c (vee_get_unread_message_count): * providers/imap/camel-imap-folder.c (imap_get_unread_message_count): Implemented. * camel-folder.c (camel_folder_get_unread_message_count): New convenience function to allow the mailer to query the number of unread messages in a folder (for displaying message stats in a folder tree?). svn path=/trunk/; revision=4028
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index a7fc8fa89c..1d749be294 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -106,6 +106,9 @@ typedef struct {
gint (*get_message_count) (CamelFolder *folder,
CamelException *ex);
+ gint (*get_unread_message_count) (CamelFolder *folder,
+ CamelException *ex);
+
void (*append_message) (CamelFolder *folder,
CamelMimeMessage *message,
CamelException *ex);
@@ -255,6 +258,9 @@ gboolean camel_folder_has_summary_capability (CamelFolder *folder);
gint camel_folder_get_message_count (CamelFolder *folder,
CamelException *ex);
+gint camel_folder_get_unread_message_count (CamelFolder *folder,
+ CamelException *ex);
+
GPtrArray * camel_folder_get_summary (CamelFolder *folder,
CamelException *ex);
void camel_folder_free_summary (CamelFolder *folder,