aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/imap/MCIMAPSession.h
diff options
context:
space:
mode:
authorGravatar silenteh <silenteh@gmail.com>2013-06-04 23:50:41 +0200
committerGravatar silenteh <silenteh@gmail.com>2013-06-04 23:50:41 +0200
commit7caa935cb50e712a1ee99b61d3b0029616773f6d (patch)
tree6c8b09d5e0b6a89b8102679cfa9634ce5e1b4a52 /src/core/imap/MCIMAPSession.h
parent6fbe6f212003b97860a23c254e5124f0b2578366 (diff)
added the first unread uid from the SELECT imap command - the name of the variable has the wrong name, I will change it on the following commits
Diffstat (limited to 'src/core/imap/MCIMAPSession.h')
-rw-r--r--src/core/imap/MCIMAPSession.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/imap/MCIMAPSession.h b/src/core/imap/MCIMAPSession.h
index 9cf72843..5a052744 100644
--- a/src/core/imap/MCIMAPSession.h
+++ b/src/core/imap/MCIMAPSession.h
@@ -122,6 +122,8 @@ namespace mailcore {
virtual uint32_t uidNext();
virtual uint64_t modSequenceValue();
virtual unsigned int lastFolderMessageCount();
+ virtual unsigned int lastFolderUnseenCount();
+
virtual bool isIdleEnabled();
virtual bool isXListEnabled();
@@ -157,6 +159,8 @@ namespace mailcore {
uint32_t mUIDNext;
uint64_t mModSequenceValue;
unsigned int mFolderMsgCount;
+ unsigned int mFolderUnseenCount;
+
unsigned int mLastFetchedSequenceNumber;
String * mCurrentFolder;
pthread_mutex_t mIdleLock;