aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/Pl_QPDFTokenizer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/Pl_QPDFTokenizer.hh')
-rw-r--r--include/qpdf/Pl_QPDFTokenizer.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/qpdf/Pl_QPDFTokenizer.hh b/include/qpdf/Pl_QPDFTokenizer.hh
index be34b32e..65dc7919 100644
--- a/include/qpdf/Pl_QPDFTokenizer.hh
+++ b/include/qpdf/Pl_QPDFTokenizer.hh
@@ -41,8 +41,12 @@
class Pl_QPDFTokenizer: public Pipeline
{
public:
+ // Whatever pipeline is provided as "next" will be set as the
+ // pipeline that the token filter writes to. If next is not
+ // provided, any output written by the filter will be discarded.
Pl_QPDFTokenizer(char const* identifier,
- QPDFObjectHandle::TokenFilter* filter);
+ QPDFObjectHandle::TokenFilter* filter,
+ Pipeline* next = 0);
virtual ~Pl_QPDFTokenizer();
virtual void write(unsigned char* buf, size_t len);
virtual void finish();