aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/nntp/MCNNTPSendOperation.h
blob: d859cd5843f0e7264659142edc5f82d2d9cc06f6 (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
//
//  MCNNTPSendOperation.h
//  mailcore2
//
//  Created by Daryle Walker on 2/21/16.
//  Copyright © 2016 MailCore. All rights reserved.
//

#ifndef MAILCORE_MCNNTPSENDOPERATION_H

#define MAILCORE_MCNNTPSENDOPERATION_H

#include <MailCore/MCBaseTypes.h>
#include <MailCore/MCAbstract.h>
#include <MailCore/MCNNTPOperation.h>

#ifdef __cplusplus

namespace mailcore {
    
    class MAILCORE_EXPORT NNTPSendOperation : public NNTPOperation {
    public:
        NNTPSendOperation();
        virtual ~NNTPSendOperation();
        
        virtual void setMessageData(Data * data);
        virtual Data * messageData();
        
        virtual void setMessageFilepath(String * path);
        virtual String * messageFilepath();
        
    public: // subclass behavior
        virtual void main();
        
    private:
        Data * mMessageData;
        String * mMessageFilepath;
    };
    
}

#endif

#endif