2014-04-09 21:01:57 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
* vim: set ts=8 sts=4 et sw=4 tw=99:
|
|
|
|
*
|
|
|
|
* Version
|
|
|
|
*
|
|
|
|
* Copyright (c) 2011-2014 Mark Watkins <jedimark@users.sourceforge.net>
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file COPYING in the main directory of the Linux
|
|
|
|
* distribution for more details. */
|
|
|
|
|
2011-12-16 12:11:33 +00:00
|
|
|
#ifndef VERSION_H
|
|
|
|
#define VERSION_H
|
|
|
|
|
|
|
|
#include <qglobal.h>
|
|
|
|
|
2014-04-17 05:52:25 +00:00
|
|
|
const int major_version = 0;
|
|
|
|
const int minor_version = 9;
|
|
|
|
const int revision_number = 4;
|
2014-05-03 15:36:21 +00:00
|
|
|
const int release_number = 5;
|
2011-12-16 12:11:33 +00:00
|
|
|
|
2012-01-12 09:35:50 +00:00
|
|
|
|
2013-10-18 04:56:44 +00:00
|
|
|
#ifdef UNSTABLE_BUILD
|
2014-04-17 05:52:25 +00:00
|
|
|
const QString ReleaseStatus = "unstable";
|
2013-10-18 04:56:44 +00:00
|
|
|
#else
|
2014-04-17 05:52:25 +00:00
|
|
|
const QString ReleaseStatus = "beta";
|
2013-10-18 04:56:44 +00:00
|
|
|
#endif
|
|
|
|
|
2014-04-17 05:52:25 +00:00
|
|
|
const QString VersionString = QString().sprintf("%i.%i.%i", major_version, minor_version,
|
|
|
|
revision_number);
|
|
|
|
const QString FullVersionString = QString().sprintf("%i.%i.%i-%i", major_version, minor_version,
|
|
|
|
revision_number, release_number) + " " + ReleaseStatus;
|
2011-12-16 12:11:33 +00:00
|
|
|
|
2013-01-17 18:26:11 +00:00
|
|
|
#ifdef Q_OS_MAC
|
2014-04-17 05:52:25 +00:00
|
|
|
const QString PlatformString = "MacOSX";
|
2013-01-20 16:31:51 +00:00
|
|
|
#elif defined(Q_OS_WIN32)
|
2014-04-17 05:52:25 +00:00
|
|
|
const QString PlatformString = "Win32";
|
2013-01-20 19:39:01 +00:00
|
|
|
#elif defined(Q_OS_LINUX)
|
2014-04-17 05:52:25 +00:00
|
|
|
const QString PlatformString = "Linux";
|
2011-12-16 12:11:33 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // VERSION_H
|