aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-03-01 23:33:34 +0100
committerJay Berkenbilt <ejb@ql.org>2021-03-03 23:05:49 +0100
commit1bb209a9bf5ade164cf1ba7c3b9399be70c45c24 (patch)
treedf14d37bc9848f9b415ea43e5fbd272e744561c7 /include
parent37fcc5ff71ef2fc657623d908e50d6b388fae78e (diff)
downloadqpdf-1bb209a9bf5ade164cf1ba7c3b9399be70c45c24.tar.zst
Add QPDF::numWarnings
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index f9434024..d2161acd 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -236,6 +236,11 @@ class QPDF
QPDF_DLL
bool anyWarnings() const;
+ // Indicate the number of warnings that have been issued so far.
+ // Does not clear the list of warnings.
+ QPDF_DLL
+ size_t numWarnings() const;
+
// Return an application-scoped unique ID for this QPDF object.
// This is not a globally unique ID. It is constructing using a
// timestamp and a random number and is intended to be unique