aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/Constants.h12
-rw-r--r--include/qpdf/QPDF.hh6
2 files changed, 12 insertions, 6 deletions
diff --git a/include/qpdf/Constants.h b/include/qpdf/Constants.h
index c3c6fce2..b34d8513 100644
--- a/include/qpdf/Constants.h
+++ b/include/qpdf/Constants.h
@@ -48,13 +48,13 @@ enum qpdf_r3_print_e
qpdf_r3p_low, /* allow only low-resolution printing */
qpdf_r3p_none /* allow no printing */
};
-enum qpdf_r3_modify_e
+enum qpdf_r3_modify_e /* Allowed changes: */
{
- qpdf_r3m_all = 0, /* allow all modification */
- qpdf_r3m_annotate, /* allow comment authoring and form operations */
- qpdf_r3m_form, /* allow form field fill-in or signing */
- qpdf_r3m_assembly, /* allow only document assembly */
- qpdf_r3m_none /* allow no modification */
+ qpdf_r3m_all = 0, /* General editing, comments, forms */
+ qpdf_r3m_annotate, /* Comments, form field fill-in, and signing */
+ qpdf_r3m_form, /* form field fill-in and signing */
+ qpdf_r3m_assembly, /* only document assembly */
+ qpdf_r3m_none /* no modifications */
};
#endif /* __QPDFCONSTANTS_H__ */
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 44e1a11f..3353416b 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -28,6 +28,10 @@ class QPDFExc;
class QPDF
{
public:
+ // Get the current version of the QPDF software
+ QPDF_DLL
+ static std::string const& QPDFVersion();
+
QPDF_DLL
QPDF();
QPDF_DLL
@@ -304,6 +308,8 @@ class QPDF
friend class Pipe;
private:
+ static std::string qpdf_version;
+
class InputSource
{
public: