diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-02-09 13:43:56 +0100 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-02-18 09:33:08 +0100 |
commit | dab27c9bb35c26e30e22f2e53299ee9566cadefd (patch) | |
tree | d9a0c711329c495442c26e0ca2697847cdf2feeb /include/qpdf | |
parent | fe74f28dc4f269e4bf944ae61d77874f81f95daf (diff) | |
download | qpdf-dab27c9bb35c26e30e22f2e53299ee9566cadefd.tar.zst |
Refactor setting of object descriptions in QPDF::JSONReactor
Diffstat (limited to 'include/qpdf')
-rw-r--r-- | include/qpdf/QPDF.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index d6b32fe9..b227bb37 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -32,6 +32,7 @@ #include <memory> #include <stdio.h> #include <string> +#include <variant> #include <vector> #include <qpdf/Buffer.hh> @@ -50,6 +51,7 @@ class BitStream; class BitWriter; class QPDFLogger; class QPDFParser; +struct JSON_Descr; class QPDF { @@ -1152,6 +1154,7 @@ class QPDF QPDF& pdf; std::shared_ptr<InputSource> is; bool must_be_complete; + std::shared_ptr<std::variant<std::string, JSON_Descr>> descr; bool errors; bool parse_error; bool saw_qpdf; |