summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-23 19:04:08 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commitc4e56fa5f40188ddf4f75d316e57143c10ed51fa (patch)
tree61c2457fafb1d96550cd333ed5288236f8e5149d /include
parent2a2ec1c066ae6c7e7a22ef93a8ca02ac94f81cc1 (diff)
downloadqpdf-c4e56fa5f40188ddf4f75d316e57143c10ed51fa.tar.zst
QPDFJob: make createsOutput callable before run()
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index d8c698a5..921742db 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -85,6 +85,10 @@ class QPDFJob
QPDF_DLL
void setOutputStreams(std::ostream* out_stream, std::ostream* err_stream);
+ // Returns true if output is created by the specified job.
+ QPDF_DLL
+ bool createsOutput() const;
+
// QXXXQ set options -- implemented in QPDFJob_options.cc
// QXXXQ these will not be in the final interface
@@ -108,9 +112,6 @@ class QPDFJob
QPDF_DLL
bool hasWarnings();
- QPDF_DLL
- bool createsOutput(); // QXXXQ need better name
-
// Return value is bitwise OR of values from qpdf_encryption_status_e
QPDF_DLL
unsigned long getEncryptionStatus();
@@ -398,7 +399,6 @@ class QPDFJob
std::string message_prefix;
bool warnings;
- bool creates_output;
std::ostream* cout;
std::ostream* cerr;
unsigned long encryption_status;