aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-10-24 06:47:17 +0200
committerJay Berkenbilt <ejb@ql.org>2009-10-24 06:47:17 +0200
commitace2a031b5c1580ea9a69f116e6a8c9393860267 (patch)
treed120fbc37f3a074995229c9b721d568c4fd81933 /libqpdf
parentb0a6f495d0d2d64f21091d3a77e35deef98c2f0a (diff)
downloadqpdf-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 'libqpdf')
-rw-r--r--libqpdf/QPDF.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc
index 778091bd..0a017b41 100644
--- a/libqpdf/QPDF.cc
+++ b/libqpdf/QPDF.cc
@@ -15,6 +15,8 @@
#include <qpdf/QPDF_Null.hh>
#include <qpdf/QPDF_Dictionary.hh>
+std::string QPDF::qpdf_version = "2.1.rc1";
+
void
QPDF::InputSource::setLastOffset(off_t offset)
{
@@ -249,6 +251,12 @@ QPDF::ObjGen::operator<(ObjGen const& rhs) const
((this->obj == rhs.obj) && (this->gen < rhs.gen)));
}
+std::string const&
+QPDF::QPDFVersion()
+{
+ return QPDF::qpdf_version;
+}
+
QPDF::QPDF() :
encrypted(false),
encryption_initialized(false),