aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/auto_job_schema.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-30 00:26:11 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-31 21:57:45 +0100
commit11a86e444da4ffcb0d5aa5203fda2d0ebc001a7c (patch)
tree32850078ef94e211fa0a815630cfe5a5b2b2df30 /libqpdf/qpdf/auto_job_schema.hh
parent842a9d928e0061dfe04806eae2bc87ad4db47331 (diff)
downloadqpdf-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.hh16
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",