From 8a9100f674dcfe8b865641a37c3b303798129917 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 29 Jan 2022 09:01:20 -0500 Subject: QPDFJob: add checkConfiguration to Config --- include/qpdf/QPDFJob.hh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include/qpdf') 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 -- cgit v1.2.3-70-g09d2