diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-05-18 01:18:02 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-05-20 15:16:25 +0200 |
commit | 0fe8d4476205c97e402e555aac41a88e70e3e9b2 (patch) | |
tree | 87c9ee190bdfe4deeb8c517a3da6ab6b2a2230eb /include | |
parent | 63c7eefe9db8d8e87d07198355627af01cc1814d (diff) | |
download | qpdf-0fe8d4476205c97e402e555aac41a88e70e3e9b2.tar.zst |
Support stream data -- not tested
There are no automated tests yet, but committing work so far in
preparation for some refactoring.
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDF.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index f3ce4684..146015dc 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -998,7 +998,8 @@ class QPDF class JSONReactor: public JSON::Reactor { public: - JSONReactor(QPDF&, std::string const& filename, bool must_be_complete); + JSONReactor( + QPDF&, std::shared_ptr<InputSource> is, bool must_be_complete); virtual ~JSONReactor() = default; virtual void dictionaryStart() override; virtual void arrayStart() override; @@ -1033,7 +1034,7 @@ class QPDF QPDFObjectHandle to_replace, QPDFObjectHandle replacement); QPDF& pdf; - std::string filename; + std::shared_ptr<InputSource> is; bool must_be_complete; bool errors; bool parse_error; |