diff options
Diffstat (limited to 'include/qpdf/Pl_Count.hh')
-rw-r--r-- | include/qpdf/Pl_Count.hh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/qpdf/Pl_Count.hh b/include/qpdf/Pl_Count.hh index 0539bcbd..09b9dffa 100644 --- a/include/qpdf/Pl_Count.hh +++ b/include/qpdf/Pl_Count.hh @@ -13,17 +13,24 @@ #include <qpdf/Pipeline.hh> -class DLL_EXPORT Pl_Count: public Pipeline +class Pl_Count: public Pipeline { public: + DLL_EXPORT Pl_Count(char const* identifier, Pipeline* next); + DLL_EXPORT virtual ~Pl_Count(); + DLL_EXPORT virtual void write(unsigned char*, int); + DLL_EXPORT virtual void finish(); + DLL_EXPORT // Returns the number of bytes written + DLL_EXPORT int getCount() const; // Returns the last character written, or '\0' if no characters // have been written (in which case getCount() returns 0) + DLL_EXPORT unsigned char getLastChar() const; private: |