summaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF.cc')
-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),