aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFJob.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-26 22:48:18 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit9013b7ca919c13b03488056dff55ffbf5215f008 (patch)
treeb3115571daa56be175614e8d92b7c778b11d6b14 /libqpdf/QPDFJob.cc
parentedef2cd330d0f4ca77f75e7192628a64bf67de3e (diff)
downloadqpdf-9013b7ca919c13b03488056dff55ffbf5215f008.tar.zst
QPDFJob: move placeholder json to a separate source file
Diffstat (limited to 'libqpdf/QPDFJob.cc')
-rw-r--r--libqpdf/QPDFJob.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libqpdf/QPDFJob.cc b/libqpdf/QPDFJob.cc
index d1706185..b0143449 100644
--- a/libqpdf/QPDFJob.cc
+++ b/libqpdf/QPDFJob.cc
@@ -33,6 +33,8 @@
#include <qpdf/QPDFWriter.hh>
#include <qpdf/QIntC.hh>
+#include <qpdf/auto_job_schema.hh> // JOB_SCHEMA_DATA
+
QPDFJob::ConfigError::ConfigError(std::string const& msg) :
std::runtime_error(msg)
{
@@ -478,6 +480,12 @@ QPDFJob::config()
return std::shared_ptr<Config>(new Config(*this));
}
+std::string
+QPDFJob::json_job_schema_v1()
+{
+ return JOB_SCHEMA_DATA;
+}
+
void
QPDFJob::parseRotationParameter(std::string const& parameter)
{