mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +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
|
||||
// of JSON format for QPDFJob.
|
||||
QPDF_DLL
|
||||
static std::string json_job_schema_v1();
|
||||
static std::string job_json_schema_v1();
|
||||
|
||||
private:
|
||||
struct RotationSpec
|
||||
|
@ -482,7 +482,7 @@ QPDFJob::config()
|
||||
}
|
||||
|
||||
std::string
|
||||
QPDFJob::json_job_schema_v1()
|
||||
QPDFJob::job_json_schema_v1()
|
||||
{
|
||||
return JOB_SCHEMA_DATA;
|
||||
}
|
||||
|
@ -465,7 +465,7 @@ ArgParser::argEndCopyAttachment()
|
||||
void
|
||||
ArgParser::argJobJsonHelp()
|
||||
{
|
||||
std::cout << QPDFJob::json_job_schema_v1() << std::endl;
|
||||
std::cout << QPDFJob::job_json_schema_v1() << std::endl;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <sstream>
|
||||
#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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user