Commit f99e0af49c969529f36f287e23d4e178c40e8c4a

Authored by Jay Berkenbilt
1 parent 9e3b321b

QPDFJob: rename function that returns job schema

include/qpdf/QPDFJob.hh
@@ -376,7 +376,7 @@ class QPDFJob @@ -376,7 +376,7 @@ class QPDFJob
376 // Provide a string that is the help information for the version 1 376 // Provide a string that is the help information for the version 1
377 // of JSON format for QPDFJob. 377 // of JSON format for QPDFJob.
378 QPDF_DLL 378 QPDF_DLL
379 - static std::string json_job_schema_v1(); 379 + static std::string job_json_schema_v1();
380 380
381 private: 381 private:
382 struct RotationSpec 382 struct RotationSpec
libqpdf/QPDFJob.cc
@@ -482,7 +482,7 @@ QPDFJob::config() @@ -482,7 +482,7 @@ QPDFJob::config()
482 } 482 }
483 483
484 std::string 484 std::string
485 -QPDFJob::json_job_schema_v1() 485 +QPDFJob::job_json_schema_v1()
486 { 486 {
487 return JOB_SCHEMA_DATA; 487 return JOB_SCHEMA_DATA;
488 } 488 }
libqpdf/QPDFJob_argv.cc
@@ -465,7 +465,7 @@ ArgParser::argEndCopyAttachment() @@ -465,7 +465,7 @@ ArgParser::argEndCopyAttachment()
465 void 465 void
466 ArgParser::argJobJsonHelp() 466 ArgParser::argJobJsonHelp()
467 { 467 {
468 - std::cout << QPDFJob::json_job_schema_v1() << std::endl; 468 + std::cout << QPDFJob::job_json_schema_v1() << std::endl;
469 } 469 }
470 470
471 void 471 void
libqpdf/QPDFJob_json.cc
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 #include <sstream> 8 #include <sstream>
9 #include <cstring> 9 #include <cstring>
10 10
11 -static JSON JOB_SCHEMA = JSON::parse(QPDFJob::json_job_schema_v1().c_str()); 11 +static JSON JOB_SCHEMA = JSON::parse(QPDFJob::job_json_schema_v1().c_str());
12 12
13 namespace 13 namespace
14 { 14 {