From 1bb209a9bf5ade164cf1ba7c3b9399be70c45c24 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 1 Mar 2021 17:33:34 -0500 Subject: Add QPDF::numWarnings --- include/qpdf/QPDF.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 -- cgit v1.2.3-54-g00ecf