source: tspsg-svn/trunk/src/version.h @ 99

Last change on this file since 99 was 98, checked in by laleppa, 15 years ago

+ Translatable About dialog.

  • Improved installation rules in .pro file.
  • Disabled SVG and JPEG support. They aren't needed at this point.
  • Fixed a bug when labels were hardly visible under Windows Vista/7 whith translucency on and a dark background behind the application.
  • Fixed a bug when Main Window area was blank if the application was compiled using Qt < 4.6.0.
  • Property svn:keywords set to Id URL
File size: 2.9 KB
RevLine 
[67]1/*!
2 * \file version.h
[97]3 * \author Copyright &copy; 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
[42]4 *
[67]5 *  $Id: version.h 98 2010-03-12 19:28:42Z laleppa $
6 *  $URL: https://tspsg.svn.sourceforge.net/svnroot/tspsg/trunk/src/version.h $
7 *
8 * \brief Contains TSPSG version information defines.
9 *
10 *  <b>TSPSG: TSP Solver and Generator</b>
11 *
12 *  This file is part of TSPSG.
13 *
14 *  TSPSG is free software: you can redistribute it and/or modify
15 *  it under the terms of the GNU General Public License as published by
16 *  the Free Software Foundation, either version 3 of the License, or
17 *  (at your option) any later version.
18 *
19 *  TSPSG is distributed in the hope that it will be useful,
20 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
21 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 *  GNU General Public License for more details.
23 *
24 *  You should have received a copy of the GNU General Public License
25 *  along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
26 */
27/*!
28 * \mainpage
[66]29 * \image html tspsg.png
[64]30 *  <b>TSPSG: TSP Solver and Generator</b>
[97]31 * \author Copyright &copy; 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
[64]32 *
[97]33 *  \b Homepage: <a href="http://tspsg.sourceforge.net/">tspsg.sourceforge.net</a>
[42]34 *
35 *  TSPSG is free software: you can redistribute it and/or modify
36 *  it under the terms of the GNU General Public License as published by
37 *  the Free Software Foundation, either version 3 of the License, or
38 *  (at your option) any later version.
39 *
40 *  TSPSG is distributed in the hope that it will be useful,
41 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
42 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
43 *  GNU General Public License for more details.
44 *
45 *  You should have received a copy of the GNU General Public License
46 *  along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
47 */
48
49#ifndef VERSION_H
50#define VERSION_H
51
[97]52#ifndef BUILD_VERSION_MAJOR
53        //! Major version of current TSPSG build
54        #define BUILD_VERSION_MAJOR 0
55#endif // BUILD_VERSION_MAJOR
56#ifndef BUILD_VERSION_MINOR
57        //! Minor version of current TSPSG build
58        #define BUILD_VERSION_MINOR 0
59#endif // BUILD_VERSION_MINOR
60#ifndef BUILD_RELEASE
[98]61        //! TSPSG release number
[97]62        #define BUILD_RELEASE 0
63#endif // BUILD_RELEASE
[64]64
[97]65#ifndef BUILD_NUMBER
[98]66        //! Current TSPSG build number
[97]67        #define BUILD_NUMBER 0
68#endif // BUILD_NUMBER
[64]69
70/*!
71 * \def BUILD_STATUS
72 * \brief TSPSG build status
73 */
[98]74#if !defined(TSPSG_RELEASE_BUILD)
[45]75        #define BUILD_STATUS (dev build)
[98]76#elif !defined(BUILD_STATUS)
77        #define BUILD_STATUS (build BUILD_NUMBER)
[96]78#endif // TSPSG_RELEASE_BUILD
[42]79
[66]80//! \internal \brief A helper for QUOTE(x).
81#define QUOTE_X(x) #x
[64]82//! Used for "conversion" of \a x to quoted string
[42]83#define QUOTE(x) QUOTE_X(x)
84
[98]85//! Full version of TSPSG in the form: \c major.minor.release.build \c status.
86#define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS)
[42]87
88#endif // VERSION_H
Note: See TracBrowser for help on using the repository browser.