From 0f05cae66a5b01ce7ed82047da0fa0ad3388ff93 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 29 Jan 2022 09:08:45 -0500 Subject: QPDFJob: generate json decl and init file skeletons --- libqpdf/QPDFJob_json.cc | 4 ++-- libqpdf/qpdf/auto_job_json_decl.hh | 5 +++++ libqpdf/qpdf/auto_job_json_init.hh | 5 +++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 libqpdf/qpdf/auto_job_json_decl.hh create mode 100644 libqpdf/qpdf/auto_job_json_init.hh (limited to 'libqpdf') 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 +# include void usage(std::string const& message); void initHandlers(); @@ -40,7 +40,7 @@ Handlers::Handlers(std::shared_ptr c_main) : void Handlers::initHandlers() { -//# include +# include 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. +// -- cgit v1.2.3-70-g09d2