aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/imap/MCIMAPFolderInfoOperation.h
blob: cf733b32569b872cce7d6135a716b2e3bde18e97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//
//  MCIMAPFolderInfoOperation.h
//  mailcore2
//
//  Created by DINH Viêt Hoà on 1/13/13.
//  Copyright (c) 2013 MailCore. All rights reserved.
//

#ifndef __MAILCORE_MCIMAPFOLDERINFOOPERATION_H_

#define __MAILCORE_MCIMAPFOLDERINFOOPERATION_H_

#include <MailCore/MCIMAPOperation.h>

#ifdef __cplusplus

namespace mailcore {
    
    class IMAPFolderInfoOperation : public IMAPOperation {
    public:
        IMAPFolderInfoOperation();
        virtual ~IMAPFolderInfoOperation();
        
        virtual uint32_t uidNext();
        virtual uint32_t uidValidity();
        virtual uint64_t modSequenceValue();
        virtual int messageCount();
        virtual uint32_t firstUnseenUid();
        
    public: // subclass behavior
        virtual void main();
        
    private:
        
        uint32_t mUidNext;
        uint32_t mUidValidity;
        uint64_t mModSequenceValue;
        int mMessageCount;
        uint32_t mFirstUnseenUid;
        
    };

}

#endif

#endif