diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-01 10:16:58 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-01 15:04:55 +0100 |
commit | 5a7bb3474eb10ec9dea8409466a14f72ead73e60 (patch) | |
tree | 481a833d9954eefaab4052957734f4766597e9bd /include | |
parent | 5953116634660065510fa5892fcc42d0a3c5e725 (diff) | |
download | qpdf-5a7bb3474eb10ec9dea8409466a14f72ead73e60.tar.zst |
generate_auto_job: generate overloaded config decls for optional
For optional parameter/choices, generate an overloaded config method
that takes no arguments. This makes it possible to convert from a bare
argument to one that takes an optional parameter without breaking
binary compatibility.
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/auto_job_c_main.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/qpdf/auto_job_c_main.hh b/include/qpdf/auto_job_c_main.hh index 42572a3d..c3b4f63c 100644 --- a/include/qpdf/auto_job_c_main.hh +++ b/include/qpdf/auto_job_c_main.hh @@ -44,8 +44,6 @@ QPDF_DLL Config* suppressRecovery(); QPDF_DLL Config* verbose(); QPDF_DLL Config* warningExit0(); QPDF_DLL Config* withImages(); -QPDF_DLL Config* collate(char const* parameter); -QPDF_DLL Config* splitPages(char const* parameter); QPDF_DLL Config* compressionLevel(char const* parameter); QPDF_DLL Config* copyEncryption(char const* parameter); QPDF_DLL Config* encryptionFilePassword(char const* parameter); @@ -65,6 +63,10 @@ QPDF_DLL Config* removeAttachment(char const* parameter); QPDF_DLL Config* rotate(char const* parameter); QPDF_DLL Config* showAttachment(char const* parameter); QPDF_DLL Config* showObject(char const* parameter); +QPDF_DLL Config* collate(char const* parameter); +QPDF_DLL Config* collate(); +QPDF_DLL Config* splitPages(char const* parameter); +QPDF_DLL Config* splitPages(); QPDF_DLL Config* compressStreams(char const* parameter); QPDF_DLL Config* decodeLevel(char const* parameter); QPDF_DLL Config* flattenAnnotations(char const* parameter); @@ -76,3 +78,4 @@ QPDF_DLL Config* passwordMode(char const* parameter); QPDF_DLL Config* removeUnreferencedResources(char const* parameter); QPDF_DLL Config* streamData(char const* parameter); QPDF_DLL Config* json(char const* parameter); +QPDF_DLL Config* json(); |