aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/gpgmepp_version.h.in
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-07-12 09:09:44 +0000
committerAndre Heinecke <[email protected]>2016-07-12 09:35:39 +0000
commitb03c48cfb06faae7d7033a0532f319cbcf13f18a (patch)
tree06b1e40308c76edebd5598774a516d2f5005e126 /lang/cpp/src/gpgmepp_version.h.in
parentQt/Cpp: Add license blurb to export headers (diff)
downloadgpgme-b03c48cfb06faae7d7033a0532f319cbcf13f18a.tar.gz
gpgme-b03c48cfb06faae7d7033a0532f319cbcf13f18a.zip
Qt/Cpp: Add version headers
* lang/cpp/src/gpgmepp_version.h.in, lang/qt/src/qgpgme_version.h.in: New. Version information. * lang/qt/src/Makefile.am, lang/cpp/src/Makefile.am: Add them. * configure.ac: Configure them. -- The version headers are common practice in KDE Frameworks and were installed for KF5Gpgmepp and Libkleo respectively.
Diffstat (limited to 'lang/cpp/src/gpgmepp_version.h.in')
-rw-r--r--lang/cpp/src/gpgmepp_version.h.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/lang/cpp/src/gpgmepp_version.h.in b/lang/cpp/src/gpgmepp_version.h.in
new file mode 100644
index 00000000..3c33a30b
--- /dev/null
+++ b/lang/cpp/src/gpgmepp_version.h.in
@@ -0,0 +1,32 @@
+/*gpgmepp_version.h - Version macros for gpgmepp
+ Copyright (C) 2016, Intevation GmbH
+
+ This file is part of GPGME++.
+
+ GPGME++ is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ GPGME++ is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with GPGME++; see the file COPYING.LIB. If not, write to the
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+*/
+
+
+#ifndef GPGMEPP_VERSION_H
+#define GPGMEPP_VERSION_H
+
+#define GPGMEPP_VERSION_STRING "@LIBGPGMEPP_LT_CURRENT@.@LIBGPGMEPP_LT_AGE@.@LIBGPGMEPP_LT_REVISION@"
+#define GPGMEPP_VERSION_MAJOR @LIBGPGMEPP_LT_CURRENT@
+#define GPGMEPP_VERSION_MINOR @LIBGPGMEPP_LT_AGE@
+#define GPGMEPP_VERSION_PATCH @LIBGPGMEPP_LT_REVISION@
+#define GPGMEPP_VERSION ((@LIBGPGMEPP_LT_CURRENT@<<16)|(@LIBGPGMEPP_LT_AGE@<<8)|(@LIBGPGMEPP_LT_REVISION@))
+
+#endif