summaryrefslogtreecommitdiffstats
path: root/include/qpdf/Pipeline.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-10-21 02:27:24 +0200
committerJay Berkenbilt <ejb@ql.org>2009-10-21 02:27:24 +0200
commit748ab301d4f17c77393b08de4ef541b957bde275 (patch)
tree5801b2c2f64a3ea3873bfd46fb3ac0cfeb9cc411 /include/qpdf/Pipeline.hh
parenteff113fa6891387fc16c179ab5ef6f15674513ec (diff)
downloadqpdf-748ab301d4f17c77393b08de4ef541b957bde275.tar.zst
go back to function-based DLL_EXPORT rather than class-based to avoid creation of export files with executables under msvc
git-svn-id: svn+q:///qpdf/trunk@849 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'include/qpdf/Pipeline.hh')
-rw-r--r--include/qpdf/Pipeline.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/qpdf/Pipeline.hh b/include/qpdf/Pipeline.hh
index aefb1b0b..7e248c1c 100644
--- a/include/qpdf/Pipeline.hh
+++ b/include/qpdf/Pipeline.hh
@@ -33,20 +33,25 @@
#include <qpdf/DLL.h>
#include <string>
-class DLL_EXPORT Pipeline
+class Pipeline
{
public:
+ DLL_EXPORT
Pipeline(char const* identifier, Pipeline* next);
+ DLL_EXPORT
virtual ~Pipeline();
// Subclasses should implement write and finish to do their jobs
// and then, if they are not end-of-line pipelines, call
// getNext()->write or getNext()->finish.
+ DLL_EXPORT
virtual void write(unsigned char* data, int len) = 0;
+ DLL_EXPORT
virtual void finish() = 0;
protected:
+ DLL_EXPORT
Pipeline* getNext(bool allow_null = false);
std::string identifier;