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

#ifndef MAILCORE_MCNNTPPOSTOPERATION_H

#define MAILCORE_MCNNTPPOSTOPERATION_H

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

#ifdef __cplusplus

namespace mailcore {
    
    class MAILCORE_EXPORT NNTPPostOperation : public NNTPOperation {
    public:
        NNTPPostOperation();
        virtual ~NNTPPostOperation();
        
        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