aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-26 23:02:30 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit03f3369f35b2303166e8d36547c8a0aba6626c1b (patch)
tree276920c5224c984f114036c816e7f86d84c09a4e /include
parent9013b7ca919c13b03488056dff55ffbf5215f008 (diff)
downloadqpdf-03f3369f35b2303166e8d36547c8a0aba6626c1b.tar.zst
QPDFJob: use manually named end functions for Config classes
Use named functions rather than just end() for clarity.
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh10
-rw-r--r--include/qpdf/auto_job_c_att.hh1
-rw-r--r--include/qpdf/auto_job_c_copy_att.hh1
-rw-r--r--include/qpdf/auto_job_c_enc.hh1
-rw-r--r--include/qpdf/auto_job_c_pages.hh1
-rw-r--r--include/qpdf/auto_job_c_uo.hh1
6 files changed, 10 insertions, 5 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index 274a19f6..99199b89 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -154,6 +154,8 @@ class QPDFJob
friend class Config;
public:
QPDF_DLL
+ Config& endAddAttachment();
+ QPDF_DLL
AttConfig& path(char const* parameter);
# include <qpdf/auto_job_c_att.hh>
@@ -172,6 +174,8 @@ class QPDFJob
friend class Config;
public:
QPDF_DLL
+ Config& endCopyAttachmentsFrom();
+ QPDF_DLL
CopyAttConfig& path(char const* parameter);
# include <qpdf/auto_job_c_copy_att.hh>
@@ -190,6 +194,8 @@ class QPDFJob
friend class Config;
public:
QPDF_DLL
+ Config& endPages();
+ QPDF_DLL
PagesConfig& pageSpec(std::string const& filename,
std::string const& range,
char const* password = nullptr);
@@ -209,6 +215,8 @@ class QPDFJob
friend class Config;
public:
QPDF_DLL
+ Config& endUnderlayOverlay();
+ QPDF_DLL
UOConfig& path(char const* parameter);
# include <qpdf/auto_job_c_uo.hh>
@@ -226,6 +234,8 @@ class QPDFJob
friend class Config;
public:
QPDF_DLL
+ Config& endEncrypt();
+ QPDF_DLL
EncConfig& path(char const* parameter);
# include <qpdf/auto_job_c_enc.hh>
diff --git a/include/qpdf/auto_job_c_att.hh b/include/qpdf/auto_job_c_att.hh
index ac0f4223..156964a8 100644
--- a/include/qpdf/auto_job_c_att.hh
+++ b/include/qpdf/auto_job_c_att.hh
@@ -3,7 +3,6 @@
// Edits will be automatically overwritten if the build is
// run in maintainer mode.
//
-QPDF_DLL Config& end();
QPDF_DLL AttConfig& replace();
QPDF_DLL AttConfig& key(char const* parameter);
QPDF_DLL AttConfig& filename(char const* parameter);
diff --git a/include/qpdf/auto_job_c_copy_att.hh b/include/qpdf/auto_job_c_copy_att.hh
index d389611f..bae11e9d 100644
--- a/include/qpdf/auto_job_c_copy_att.hh
+++ b/include/qpdf/auto_job_c_copy_att.hh
@@ -3,6 +3,5 @@
// Edits will be automatically overwritten if the build is
// run in maintainer mode.
//
-QPDF_DLL Config& end();
QPDF_DLL CopyAttConfig& prefix(char const* parameter);
QPDF_DLL CopyAttConfig& password(char const* parameter);
diff --git a/include/qpdf/auto_job_c_enc.hh b/include/qpdf/auto_job_c_enc.hh
index e808de6c..8c84fc81 100644
--- a/include/qpdf/auto_job_c_enc.hh
+++ b/include/qpdf/auto_job_c_enc.hh
@@ -3,7 +3,6 @@
// Edits will be automatically overwritten if the build is
// run in maintainer mode.
//
-QPDF_DLL Config& end();
QPDF_DLL EncConfig& extract(char const* parameter);
QPDF_DLL EncConfig& annotate(char const* parameter);
QPDF_DLL EncConfig& print(char const* parameter);
diff --git a/include/qpdf/auto_job_c_pages.hh b/include/qpdf/auto_job_c_pages.hh
index 0d81c336..d6cbecfe 100644
--- a/include/qpdf/auto_job_c_pages.hh
+++ b/include/qpdf/auto_job_c_pages.hh
@@ -3,4 +3,3 @@
// Edits will be automatically overwritten if the build is
// run in maintainer mode.
//
-QPDF_DLL Config& end();
diff --git a/include/qpdf/auto_job_c_uo.hh b/include/qpdf/auto_job_c_uo.hh
index 39b54511..4e4afd49 100644
--- a/include/qpdf/auto_job_c_uo.hh
+++ b/include/qpdf/auto_job_c_uo.hh
@@ -3,7 +3,6 @@
// Edits will be automatically overwritten if the build is
// run in maintainer mode.
//
-QPDF_DLL Config& end();
QPDF_DLL UOConfig& to(char const* parameter);
QPDF_DLL UOConfig& from(char const* parameter);
QPDF_DLL UOConfig& repeat(char const* parameter);