aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-13 23:58:56 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-13 23:58:56 +0800
commit8563120ccac076a0baf9cb904c23a87bbb59d960 (patch)
treeeb99449985db957cca9fdc21bd2c6f6810e51eab /camel/camel-folder.h
parent6e42b3e7ed225a9ca6dcd166e2a8ddf9d1eae3ed (diff)
downloadgsoc2013-evolution-8563120ccac076a0baf9cb904c23a87bbb59d960.tar
gsoc2013-evolution-8563120ccac076a0baf9cb904c23a87bbb59d960.tar.gz
gsoc2013-evolution-8563120ccac076a0baf9cb904c23a87bbb59d960.tar.bz2
gsoc2013-evolution-8563120ccac076a0baf9cb904c23a87bbb59d960.tar.lz
gsoc2013-evolution-8563120ccac076a0baf9cb904c23a87bbb59d960.tar.xz
gsoc2013-evolution-8563120ccac076a0baf9cb904c23a87bbb59d960.tar.zst
gsoc2013-evolution-8563120ccac076a0baf9cb904c23a87bbb59d960.zip
implement the new counts, and get them all atomically so they're only
2004-04-13 Not Zed <NotZed@Ximian.com> * camel-folder.c (folder_getv): implement the new counts, and get them all atomically so they're only calculated once and can return consistent results. * camel-folder.h: Added CAMEL_FOLDER_DELETED, CAMEL_FOLDER_JUNKED, and CAMEL_FOLDER_VISIBLE args, to support client display of various values. svn path=/trunk/; revision=25437
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 24e02fecb2..78f8885dc6 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -49,7 +49,10 @@ enum {
CAMEL_FOLDER_ARG_STORE,
CAMEL_FOLDER_ARG_PERMANENTFLAGS,
CAMEL_FOLDER_ARG_TOTAL,
- CAMEL_FOLDER_ARG_UNREAD,
+ CAMEL_FOLDER_ARG_UNREAD, /* unread messages */
+ CAMEL_FOLDER_ARG_DELETED, /* deleted messages */
+ CAMEL_FOLDER_ARG_JUNKED, /* junked messages */
+ CAMEL_FOLDER_ARG_VISIBLE, /* visible !(deleted or junked) */
CAMEL_FOLDER_ARG_UID_ARRAY,
CAMEL_FOLDER_ARG_INFO_ARRAY,
CAMEL_FOLDER_ARG_PROPERTIES,
@@ -63,7 +66,10 @@ enum {
CAMEL_FOLDER_PERMANENTFLAGS = CAMEL_FOLDER_ARG_PERMANENTFLAGS | CAMEL_ARG_INT,
CAMEL_FOLDER_TOTAL = CAMEL_FOLDER_ARG_TOTAL | CAMEL_ARG_INT,
CAMEL_FOLDER_UNREAD = CAMEL_FOLDER_ARG_UNREAD | CAMEL_ARG_INT,
- /* should we only get static data? not stuff that needs to be free'd? */
+ CAMEL_FOLDER_DELETED = CAMEL_FOLDER_ARG_DELETED | CAMEL_ARG_INT,
+ CAMEL_FOLDER_JUNKED = CAMEL_FOLDER_ARG_JUNKED | CAMEL_ARG_INT,
+ CAMEL_FOLDER_VISIBLE = CAMEL_FOLDER_ARG_VISIBLE | CAMEL_ARG_INT,
+
CAMEL_FOLDER_UID_ARRAY = CAMEL_FOLDER_ARG_UID_ARRAY | CAMEL_ARG_PTR,
CAMEL_FOLDER_INFO_ARRAY = CAMEL_FOLDER_ARG_INFO_ARRAY | CAMEL_ARG_PTR,