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: