aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/imap/MCIMAPQuotaOperation.h
blob: 15a1c676aa82a4d1d99603030f8138a78f523c0c (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
//
//  MCIMAPQuotaOperation.h
//  mailcore2
//
//  Created by Petro Korenev on 8/2/13.
//  Copyright (c) 2013 MailCore. All rights reserved.
//

#ifndef MAILCORE_MCIMAPQuotaOperation_H

#define MAILCORE_MCIMAPQuotaOperation_H

#include "MCIMAPOperation.h"

#ifdef __cplusplus

namespace mailcore {
    
    class MAILCORE_EXPORT IMAPQuotaOperation : public IMAPOperation {
    public:
        IMAPQuotaOperation();
        virtual ~IMAPQuotaOperation();
        
        // Result.
        virtual uint32_t limit();
        virtual uint32_t usage();
        
    public: // subclass behavior
        virtual void main();
        
    private:
        uint32_t mLimit;
        uint32_t mUsage;
    };
    
}

#endif

#endif