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

#ifndef MAILCORE_MCIMAPIDENTITYOPERATION_H

#define MAILCORE_MCIMAPIDENTITYOPERATION_H

#include <MailCore/MCIMAPOperation.h>

#ifdef __cplusplus

namespace mailcore {
    
    class IMAPIdentity;
    
    class MAILCORE_EXPORT IMAPIdentityOperation : public IMAPOperation {
    public:
        IMAPIdentityOperation();
        virtual ~IMAPIdentityOperation();
        
        virtual void setClientIdentity(IMAPIdentity * identity);
        virtual IMAPIdentity * clientIdentity();
        
        // Result.
        virtual IMAPIdentity * serverIdentity();
        
    public: // subclass behavior
        virtual void main();
        
    private:
        IMAPIdentity * mClientIdentity;
        IMAPIdentity * mServerIdentity;
        
    };
    
}

#endif

#endif