From ace2a031b5c1580ea9a69f116e6a8c9393860267 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 24 Oct 2009 04:47:17 +0000 Subject: prepare 2.1.rc1 for release git-svn-id: svn+q:///qpdf/trunk@901 71b93d88-0707-0410-a8cf-f5a4172ac649 --- include/qpdf/Constants.h | 12 ++++++------ include/qpdf/QPDF.hh | 6 ++++++ 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'include') 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: -- cgit v1.2.3-54-g00ecf