From b6af616deaa1739a4cd1fba9f91e43c98ecb0b8a Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 26 Sep 2009 15:01:30 +0000 Subject: dll-export functions for library test suite git-svn-id: svn+q:///qpdf/trunk@696 71b93d88-0707-0410-a8cf-f5a4172ac649 --- libqpdf/Pl_ASCII85Decoder.cc | 4 ++++ libqpdf/qpdf/Pl_ASCII85Decoder.hh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/libqpdf/Pl_ASCII85Decoder.cc b/libqpdf/Pl_ASCII85Decoder.cc index 4ecdaf41..999ef0ae 100644 --- a/libqpdf/Pl_ASCII85Decoder.cc +++ b/libqpdf/Pl_ASCII85Decoder.cc @@ -3,6 +3,7 @@ #include #include +DLL_EXPORT Pl_ASCII85Decoder::Pl_ASCII85Decoder(char const* identifier, Pipeline* next) : Pipeline(identifier, next), pos(0), @@ -11,10 +12,12 @@ Pl_ASCII85Decoder::Pl_ASCII85Decoder(char const* identifier, Pipeline* next) : memset(this->inbuf, 117, 5); } +DLL_EXPORT Pl_ASCII85Decoder::~Pl_ASCII85Decoder() { } +DLL_EXPORT void Pl_ASCII85Decoder::write(unsigned char* buf, int len) { @@ -123,6 +126,7 @@ Pl_ASCII85Decoder::flush() memset(this->inbuf, 117, 5); } +DLL_EXPORT void Pl_ASCII85Decoder::finish() { diff --git a/libqpdf/qpdf/Pl_ASCII85Decoder.hh b/libqpdf/qpdf/Pl_ASCII85Decoder.hh index 9883a58e..6efd8199 100644 --- a/libqpdf/qpdf/Pl_ASCII85Decoder.hh +++ b/libqpdf/qpdf/Pl_ASCII85Decoder.hh @@ -7,9 +7,13 @@ class Pl_ASCII85Decoder: public Pipeline { public: + DLL_EXPORT Pl_ASCII85Decoder(char const* identifier, Pipeline* next); + DLL_EXPORT virtual ~Pl_ASCII85Decoder(); + DLL_EXPORT virtual void write(unsigned char* buf, int len); + DLL_EXPORT virtual void finish(); private: -- cgit v1.2.3-70-g09d2