summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-29 15:01:20 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-31 21:57:45 +0100
commit8a9100f674dcfe8b865641a37c3b303798129917 (patch)
tree021ed9a0c233c029f997e412b0487b7ad7534fae /include
parent0c8e9e591268983765dd510c02d259ac7733b664 (diff)
downloadqpdf-8a9100f674dcfe8b865641a37c3b303798129917.tar.zst
QPDFJob: add checkConfiguration to Config
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index e56626a7..5178c4c1 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -90,8 +90,9 @@ class QPDFJob
// Check to make sure no contradictory options have been
// specified. This is called automatically after initializing from
// argv or json and is also called by run, but you can call it
- // manually as well. It throws a Usage exception if there are any
- // errors.
+ // manually as well. It throws a QPDFUsage exception if there are
+ // any errors. This Config object (see CONFIGURATION) also has a
+ // checkConfiguration method which calls this one.
QPDF_DLL
void checkConfiguration();
@@ -272,6 +273,10 @@ class QPDFJob
{
friend class QPDFJob;
public:
+ // Proxy to QPDFJob::checkConfiguration()
+ QPDF_DLL
+ void checkConfiguration();
+
QPDF_DLL
Config* inputFile(char const* filename);
QPDF_DLL