diff options
Diffstat (limited to 'libqpdf/Pl_Count.cc')
-rw-r--r-- | libqpdf/Pl_Count.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libqpdf/Pl_Count.cc b/libqpdf/Pl_Count.cc index 8a361ad5..81ef7033 100644 --- a/libqpdf/Pl_Count.cc +++ b/libqpdf/Pl_Count.cc @@ -1,6 +1,7 @@ #include <qpdf/Pl_Count.hh> +DLL_EXPORT Pl_Count::Pl_Count(char const* identifier, Pipeline* next) : Pipeline(identifier, next), count(0), @@ -8,10 +9,12 @@ Pl_Count::Pl_Count(char const* identifier, Pipeline* next) : { } +DLL_EXPORT Pl_Count::~Pl_Count() { } +DLL_EXPORT void Pl_Count::write(unsigned char* buf, int len) { @@ -23,18 +26,21 @@ Pl_Count::write(unsigned char* buf, int len) } } +DLL_EXPORT void Pl_Count::finish() { getNext()->finish(); } +DLL_EXPORT int Pl_Count::getCount() const { return this->count; } +DLL_EXPORT unsigned char Pl_Count::getLastChar() const { |