diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-10-24 06:47:17 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-10-24 06:47:17 +0200 |
commit | ace2a031b5c1580ea9a69f116e6a8c9393860267 (patch) | |
tree | d120fbc37f3a074995229c9b721d568c4fd81933 /include | |
parent | b0a6f495d0d2d64f21091d3a77e35deef98c2f0a (diff) | |
download | qpdf-ace2a031b5c1580ea9a69f116e6a8c9393860267.tar.zst |
prepare 2.1.rc1 for release
git-svn-id: svn+q:///qpdf/trunk@901 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/Constants.h | 12 | ||||
-rw-r--r-- | include/qpdf/QPDF.hh | 6 |
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: |