diff options
author | 2016-02-25 15:10:40 -0500 | |
---|---|---|
committer | 2016-02-25 15:10:40 -0500 | |
commit | 38cae4a0a329da2618c212f545d3d8e10417af72 (patch) | |
tree | d2afc5513347158512a2a53159a922ed619f65c0 /src/async/nntp/MCNNTPPostOperation.h | |
parent | 627cd1cfbde93e2edda6ffe5f37226ea278b0019 (diff) |
Replace NNTP "send" with "post".
Diffstat (limited to 'src/async/nntp/MCNNTPPostOperation.h')
-rw-r--r-- | src/async/nntp/MCNNTPPostOperation.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/async/nntp/MCNNTPPostOperation.h b/src/async/nntp/MCNNTPPostOperation.h new file mode 100644 index 00000000..9255dafd --- /dev/null +++ b/src/async/nntp/MCNNTPPostOperation.h @@ -0,0 +1,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 |