mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-29 08:20:53 +00:00
QPDFJob: rename function that returns job schema
This commit is contained in:
parent
9e3b321b24
commit
f99e0af49c
|
@ -376,7 +376,7 @@ class QPDFJob
|
||||||
// Provide a string that is the help information for the version 1
|
// Provide a string that is the help information for the version 1
|
||||||
// of JSON format for QPDFJob.
|
// of JSON format for QPDFJob.
|
||||||
QPDF_DLL
|
QPDF_DLL
|
||||||
static std::string json_job_schema_v1();
|
static std::string job_json_schema_v1();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct RotationSpec
|
struct RotationSpec
|
||||||
|
|
|
@ -482,7 +482,7 @@ QPDFJob::config()
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string
|
std::string
|
||||||
QPDFJob::json_job_schema_v1()
|
QPDFJob::job_json_schema_v1()
|
||||||
{
|
{
|
||||||
return JOB_SCHEMA_DATA;
|
return JOB_SCHEMA_DATA;
|
||||||
}
|
}
|
||||||
|
|
|
@ -465,7 +465,7 @@ ArgParser::argEndCopyAttachment()
|
||||||
void
|
void
|
||||||
ArgParser::argJobJsonHelp()
|
ArgParser::argJobJsonHelp()
|
||||||
{
|
{
|
||||||
std::cout << QPDFJob::json_job_schema_v1() << std::endl;
|
std::cout << QPDFJob::job_json_schema_v1() << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
static JSON JOB_SCHEMA = JSON::parse(QPDFJob::json_job_schema_v1().c_str());
|
static JSON JOB_SCHEMA = JSON::parse(QPDFJob::job_json_schema_v1().c_str());
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user