OSCAR-code/sleepyhead/version.h

41 lines
1.1 KiB
C
Raw Normal View History

/* -*- 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. */
#ifndef VERSION_H
#define VERSION_H
#include <qglobal.h>
const int major_version=0;
const int minor_version=9;
2013-10-16 08:51:06 +00:00
const int revision_number=4;
const int release_number=3;
#ifdef UNSTABLE_BUILD
const QString ReleaseStatus="unstable";
#else
const QString ReleaseStatus="beta";
#endif
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;
#ifdef Q_OS_MAC
const QString PlatformString="MacOSX";
#elif defined(Q_OS_WIN32)
const QString PlatformString="Win32";
#elif defined(Q_OS_LINUX)
const QString PlatformString="Linux";
#endif
#endif // VERSION_H