diff options
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 { |