2013-11-15 13:41:26 +01:00
|
|
|
/************************************************************************
|
2013-11-04 21:38:54 +01:00
|
|
|
**
|
2013-11-15 13:50:05 +01:00
|
|
|
** @file version.h
|
2014-04-30 07:38:52 +02:00
|
|
|
** @author Roman Telezhynskyi <dismine(at)gmail.com>
|
2013-11-15 13:50:05 +01:00
|
|
|
** @date November 15, 2013
|
2013-11-04 21:38:54 +01:00
|
|
|
**
|
2013-11-15 13:41:26 +01:00
|
|
|
** @brief
|
|
|
|
** @copyright
|
|
|
|
** This source code is part of the Valentine project, a pattern making
|
|
|
|
** program, whose allow create and modeling patterns of clothing.
|
2015-02-27 11:27:48 +01:00
|
|
|
** Copyright (C) 2013-2015 Valentina project
|
2013-11-15 13:41:26 +01:00
|
|
|
** <https://bitbucket.org/dismine/valentina> All Rights Reserved.
|
2013-11-04 21:38:54 +01:00
|
|
|
**
|
2013-11-15 13:41:26 +01:00
|
|
|
** Valentina is free software: you can redistribute it and/or modify
|
2013-11-04 21:38:54 +01:00
|
|
|
** it under the terms of the GNU General Public License as published by
|
|
|
|
** the Free Software Foundation, either version 3 of the License, or
|
|
|
|
** (at your option) any later version.
|
|
|
|
**
|
|
|
|
** Valentina 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 General Public License for more details.
|
|
|
|
**
|
|
|
|
** You should have received a copy of the GNU General Public License
|
|
|
|
** along with Valentina. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
**
|
2013-11-15 13:41:26 +01:00
|
|
|
*************************************************************************/
|
2013-11-04 21:38:54 +01:00
|
|
|
|
2013-10-23 12:40:51 +02:00
|
|
|
#ifndef VERSION_H
|
|
|
|
#define VERSION_H
|
|
|
|
|
2014-06-05 08:48:40 +02:00
|
|
|
class QString;
|
|
|
|
|
2014-04-16 17:32:41 +02:00
|
|
|
extern const int MAJOR_VERSION;
|
|
|
|
extern const int MINOR_VERSION;
|
|
|
|
extern const int DEBUG_VERSION;
|
|
|
|
|
2015-04-22 16:22:47 +02:00
|
|
|
extern const QString APP_VERSION_STR;
|
|
|
|
|
|
|
|
/*
|
|
|
|
APP_VERSION is (major << 16) + (minor << 8) + patch.
|
|
|
|
*/
|
|
|
|
#define APP_VERSION 0x000300
|
2014-04-16 17:32:41 +02:00
|
|
|
|
2014-12-31 14:55:41 +01:00
|
|
|
// Change version number in version.cpp too.
|
2014-07-21 13:47:48 +02:00
|
|
|
|
2015-05-17 17:35:29 +02:00
|
|
|
#define VER_FILEVERSION 0,3,3,0
|
|
|
|
#define VER_FILEVERSION_STR "0.3.3.0\0"
|
2014-04-16 17:32:41 +02:00
|
|
|
|
2014-09-18 17:21:53 +02:00
|
|
|
#define VER_PRODUCTVERSION VER_FILEVERSION
|
|
|
|
#define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR
|
2014-04-16 17:32:41 +02:00
|
|
|
|
|
|
|
#define VER_COMPANYNAME_STR "ValentinaTeam"
|
2014-07-21 13:47:48 +02:00
|
|
|
#define VER_FILEDESCRIPTION_STR "Patternmaking program."
|
2014-04-16 17:32:41 +02:00
|
|
|
#define VER_INTERNALNAME_STR "Valentina"
|
2014-12-31 14:55:41 +01:00
|
|
|
#define VER_LEGALCOPYRIGHT_STR "Copyright © 2014-2015 Valentina Team"
|
2014-04-16 17:32:41 +02:00
|
|
|
#define VER_LEGALTRADEMARKS1_STR "All Rights Reserved"
|
|
|
|
#define VER_LEGALTRADEMARKS2_STR VER_LEGALTRADEMARKS1_STR
|
|
|
|
#define VER_ORIGINALFILENAME_STR "valentina.exe"
|
|
|
|
#define VER_PRODUCTNAME_STR "Valentina"
|
|
|
|
|
|
|
|
#define VER_COMPANYDOMAIN_STR "www.valentina-project.org"
|
2013-10-23 12:40:51 +02:00
|
|
|
|
2014-12-29 17:06:09 +01:00
|
|
|
QString compilerString();
|
|
|
|
QString buildCompatibilityString();
|
|
|
|
|
2013-10-23 12:40:51 +02:00
|
|
|
#endif // VERSION_H
|