aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/nntp/MCNNTPPostOperation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/async/nntp/MCNNTPPostOperation.h')
-rw-r--r--src/async/nntp/MCNNTPPostOperation.h44
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