diff options
author | Pino Toscano <pino@kde.org> | 2010-02-22 18:51:30 +0100 |
---|---|---|
committer | Pino Toscano <pino@kde.org> | 2010-02-22 18:51:30 +0100 |
commit | f17a7a8cfdeabb3ced3ba8d42c869d892c528e13 (patch) | |
tree | a96b9c1a1897bc09572b49c578a6e3a1494aea21 | |
parent | f6c4bbddc7d04c0b1a6b25c41cbf6d81ae40cc0c (diff) |
[cpp apidox] add API documentation for the version functions
-rw-r--r-- | cpp/poppler-version.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/poppler-version.cpp b/cpp/poppler-version.cpp index b39af539..88756ba1 100644 --- a/cpp/poppler-version.cpp +++ b/cpp/poppler-version.cpp @@ -20,21 +20,33 @@ using namespace poppler; +/** + \returns the version string of the current poppler-cpp library + */ std::string poppler::version_string() { return std::string(POPPLER_VERSION); } +/** + \returns the "major" number of the version of the current poppler-cpp library + */ unsigned int poppler::version_major() { return POPPLER_VERSION_MAJOR; } +/** + \returns the "minor" number of the version of the current poppler-cpp library + */ unsigned int poppler::version_minor() { return POPPLER_VERSION_MINOR; } +/** + \returns the "micro" number of the version of the current poppler-cpp library + */ unsigned int poppler::version_micro() { return POPPLER_VERSION_MICRO; |