diff options
author | 2013-06-04 23:50:41 +0200 | |
---|---|---|
committer | 2013-06-04 23:50:41 +0200 | |
commit | 7caa935cb50e712a1ee99b61d3b0029616773f6d (patch) | |
tree | 6c8b09d5e0b6a89b8102679cfa9634ce5e1b4a52 /src/objc/imap | |
parent | 6fbe6f212003b97860a23c254e5124f0b2578366 (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/objc/imap')
-rw-r--r-- | src/objc/imap/MCOIMAPFolderInfo.h | 3 | ||||
-rw-r--r-- | src/objc/imap/MCOIMAPFolderInfo.m | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPFolderInfo.h b/src/objc/imap/MCOIMAPFolderInfo.h index cbeb64f2..2c51b7bb 100644 --- a/src/objc/imap/MCOIMAPFolderInfo.h +++ b/src/objc/imap/MCOIMAPFolderInfo.h @@ -31,6 +31,9 @@ // number of messages. @property (nonatomic, assign) int messageCount; +// number of unseen messages. +@property (nonatomic, assign) int unseenCount; + @end #endif diff --git a/src/objc/imap/MCOIMAPFolderInfo.m b/src/objc/imap/MCOIMAPFolderInfo.m index f23336bf..3f90ed65 100644 --- a/src/objc/imap/MCOIMAPFolderInfo.m +++ b/src/objc/imap/MCOIMAPFolderInfo.m @@ -13,12 +13,14 @@ uint32_t _uidValidity; uint64_t _modSequenceValue; int _messageCount; + int _unseenCount; } @synthesize uidNext = _uidNext; @synthesize uidValidity = _uidValidity; @synthesize modSequenceValue = _modSequenceValue; @synthesize messageCount = _messageCount; +@synthesize unseenCount = _unseenCount; + (MCOIMAPFolderInfo *) info { |