aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/imap/MCIMAPFetchNamespaceOperation.h
blob: 5e18b38a27da263e3e2cb9abe1bd11e50d1b329a (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
//
//  IMAPFetchNamespaceOperation.h
//  mailcore2
//
//  Created by DINH Viêt Hoà on 1/12/13.
//  Copyright (c) 2013 MailCore. All rights reserved.
//

#ifndef __mailcore2__IMAPFetchNamespaceOperation__
#define __mailcore2__IMAPFetchNamespaceOperation__

#include <mailcore/MCIMAPOperation.h>

#ifdef __cplusplus

namespace mailcore {
    
    class IMAPFetchNamespaceOperation : public IMAPOperation {
    public:
        IMAPFetchNamespaceOperation();
        virtual ~IMAPFetchNamespaceOperation();
        
        // Result.
        virtual HashMap * namespaces();
        
    public: // subclass behavior
        virtual void main();
        
    private:
        HashMap * mNamespaces;
        
    };
}

#endif

#endif /* defined(__mailcore2__IMAPFetchNamespaceOperation__) */