From 62996fbf441dc92d686e97f336b20a5fea972962 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Tue, 22 Mar 2011 17:39:20 +0200 Subject: Add dist build files --- odb/qt/version.hxx | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 odb/qt/version.hxx (limited to 'odb/qt/version.hxx') diff --git a/odb/qt/version.hxx b/odb/qt/version.hxx new file mode 100644 index 0000000..88ca1a1 --- /dev/null +++ b/odb/qt/version.hxx @@ -0,0 +1,44 @@ +// file : odb/qt/version.hxx +// author : Constantin Michael +// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_QT_VERSION_HXX +#define ODB_QT_VERSION_HXX + +#include + +#include + +// Version format is AABBCCDD where +// +// AA - major version number +// BB - minor version number +// CC - bugfix version number +// DD - alpha / beta (DD + 50) version number +// +// When DD is not 00, 1 is subtracted from AABBCC. For example: +// +// Version AABBCCDD +// 2.0.0 02000000 +// 2.1.0 02010000 +// 2.1.1 02010100 +// 2.2.0.a1 02019901 +// 3.0.0.b2 02999952 +// + +// Check that we have compatible ODB version. +// +#if ODB_VERSION != 10200 +# error incompatible odb interface version detected +#endif + +// libodb-qt version: odb interface version plus the bugfix +// version. +// +#define LIBODB_QT_VERSION 1020000 +#define LIBODB_QT_VERSION_STR "1.2.0" + +#include + +#endif // ODB_QT_VERSION_HXX -- cgit v1.1