diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 00:26:11 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-31 21:57:45 +0100 |
commit | 11a86e444da4ffcb0d5aa5203fda2d0ebc001a7c (patch) | |
tree | 32850078ef94e211fa0a815630cfe5a5b2b2df30 /libqpdf/qpdf/auto_job_schema.hh | |
parent | 842a9d928e0061dfe04806eae2bc87ad4db47331 (diff) | |
download | qpdf-11a86e444da4ffcb0d5aa5203fda2d0ebc001a7c.tar.zst |
QPDFJob: autogenerate json init and declarations
Now still have to go through and implement the handlers.
Diffstat (limited to 'libqpdf/qpdf/auto_job_schema.hh')
-rw-r--r-- | libqpdf/qpdf/auto_job_schema.hh | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/libqpdf/qpdf/auto_job_schema.hh b/libqpdf/qpdf/auto_job_schema.hh index 53356d66..968a6754 100644 --- a/libqpdf/qpdf/auto_job_schema.hh +++ b/libqpdf/qpdf/auto_job_schema.hh @@ -1,17 +1,13 @@ static constexpr char const* JOB_SCHEMA_DATA = R"({ "input": { - "file": { - "name": "input filename", - "password": "specify password", - "passwordFile": "read password from a file" - }, - "empty": "qxxxq empty" + "fileName": "input filename", + "password": "specify password", + "passwordFile": "read password from a file", + "empty": "empty input file" }, "output": { - "file": { - "name": "output filename" - }, - "replaceInput": "qxxxq replace input", + "fileName": "output filename", + "replaceInput": "set to true to replace input", "options": { "qdf": "enable viewing PDF code in a text editor", "preserveUnreferenced": "preserve unreferenced objects", |