diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QUtil.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh index bcedd4d3..96c0530b 100644 --- a/include/qpdf/QUtil.hh +++ b/include/qpdf/QUtil.hh @@ -26,6 +26,7 @@ #include <qpdf/Types.h> #include <string> #include <list> +#include <vector> #include <stdexcept> #include <stdio.h> #include <time.h> @@ -220,6 +221,11 @@ namespace QUtil QPDF_DLL bool is_number(char const*); + + // This method parses the numeric range syntax used by the qpdf + // command-line tool. May throw std::runtime_error. + QPDF_DLL + std::vector<int> parse_numrange(char const* range, int max); }; #endif // QUTIL_HH |