aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index 921742db..523ff357 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -85,6 +85,14 @@ class QPDFJob
QPDF_DLL
void setOutputStreams(std::ostream* out_stream, std::ostream* err_stream);
+ // 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.
+ QPDF_DLL
+ void checkConfiguration();
+
// Returns true if output is created by the specified job.
QPDF_DLL
bool createsOutput() const;