aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/imap/MCIMAPCustomCommandOperation.h
blob: a2ce20feb7518d12ec656193284308522edda11c (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
//
//  MCIMAPCustomCommandOperation.h
//  mailcore2
//
//  Created by Libor Huspenina on 18/10/2015.
//  Copyright © 2015 MailCore. All rights reserved.
//

#ifndef MAILCORE_MCIMAPCUSTOMCOMMANDOPERATION_H

#define MAILCORE_MCIMAPCUSTOMCOMMANDOPERATION_H

#include <MailCore/MCIMAPOperation.h>

#ifdef __cplusplus

namespace mailcore {

    class MAILCORE_EXPORT IMAPCustomCommandOperation : public IMAPOperation {
    public:
        IMAPCustomCommandOperation();
        virtual ~IMAPCustomCommandOperation();

        virtual void setCustomCommand(String *command);
        virtual String * response();

    public: // subclass behavior
        virtual void main();

    private:
        String * mCustomCommand;
        String * mResponse;
    };

}

#endif

#endif