Commit 1bb209a9bf5ade164cf1ba7c3b9399be70c45c24
1 parent
37fcc5ff
Add QPDF::numWarnings
Showing
3 changed files
with
16 additions
and
0 deletions
ChangeLog
include/qpdf/QPDF.hh
| ... | ... | @@ -236,6 +236,11 @@ class QPDF |
| 236 | 236 | QPDF_DLL |
| 237 | 237 | bool anyWarnings() const; |
| 238 | 238 | |
| 239 | + // Indicate the number of warnings that have been issued so far. | |
| 240 | + // Does not clear the list of warnings. | |
| 241 | + QPDF_DLL | |
| 242 | + size_t numWarnings() const; | |
| 243 | + | |
| 239 | 244 | // Return an application-scoped unique ID for this QPDF object. |
| 240 | 245 | // This is not a globally unique ID. It is constructing using a |
| 241 | 246 | // timestamp and a random number and is intended to be unique | ... | ... |
libqpdf/QPDF.cc