diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-29 15:08:45 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-31 21:57:45 +0100 |
commit | 0f05cae66a5b01ce7ed82047da0fa0ad3388ff93 (patch) | |
tree | 0cc2beda370ec544de6ce7a568b299aaadca8ff5 /libqpdf | |
parent | 8a9100f674dcfe8b865641a37c3b303798129917 (diff) | |
download | qpdf-0f05cae66a5b01ce7ed82047da0fa0ad3388ff93.tar.zst |
QPDFJob: generate json decl and init file skeletons
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/QPDFJob_json.cc | 4 | ||||
-rw-r--r-- | libqpdf/qpdf/auto_job_json_decl.hh | 5 | ||||
-rw-r--r-- | libqpdf/qpdf/auto_job_json_init.hh | 5 |
3 files changed, 12 insertions, 2 deletions
diff --git a/libqpdf/QPDFJob_json.cc b/libqpdf/QPDFJob_json.cc index ddd63dcd..076b5a75 100644 --- a/libqpdf/QPDFJob_json.cc +++ b/libqpdf/QPDFJob_json.cc @@ -16,7 +16,7 @@ namespace void handle(JSON&); private: -//# include <qpdf/auto_job_json_decl.hh> +# include <qpdf/auto_job_json_decl.hh> void usage(std::string const& message); void initHandlers(); @@ -40,7 +40,7 @@ Handlers::Handlers(std::shared_ptr<QPDFJob::Config> c_main) : void Handlers::initHandlers() { -//# include <qpdf/auto_job_json_init.hh> +# include <qpdf/auto_job_json_init.hh> jh.addDictHandlers( [](std::string const&){}, [this](std::string const&){c_main->checkConfiguration();}); diff --git a/libqpdf/qpdf/auto_job_json_decl.hh b/libqpdf/qpdf/auto_job_json_decl.hh new file mode 100644 index 00000000..d6cbecfe --- /dev/null +++ b/libqpdf/qpdf/auto_job_json_decl.hh @@ -0,0 +1,5 @@ +// +// This file is automatically generated by generate_auto_job. +// Edits will be automatically overwritten if the build is +// run in maintainer mode. +// diff --git a/libqpdf/qpdf/auto_job_json_init.hh b/libqpdf/qpdf/auto_job_json_init.hh new file mode 100644 index 00000000..d6cbecfe --- /dev/null +++ b/libqpdf/qpdf/auto_job_json_init.hh @@ -0,0 +1,5 @@ +// +// This file is automatically generated by generate_auto_job. +// Edits will be automatically overwritten if the build is +// run in maintainer mode. +// |