src/main.h

changeset 20
a5457405cc9b
parent 13
9bdddd2ccde6
child 26
9aab482c9125
equal deleted inserted replaced
19:c9b6dd9dd4cd 20:a5457405cc9b
14 * 14 *
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 #ifndef MAIN_H 19 #ifndef ZANDEMO_MAIN_H
20 #define MAIN_H 20 #define ZANDEMO_MAIN_H
21 21
22 #define APPNAME "ZanDemo" 22 #define APPNAME "ZanDemo"
23 #define UNIXNAME "zandemo" 23 #define UNIXNAME "zandemo"
24 #define VERSION_MAJOR 0 24 #define VERSION_MAJOR 0
25 #define VERSION_MINOR 0 25 #define VERSION_MINOR 0
31 #define BUILD_ALPHA 1 31 #define BUILD_ALPHA 1
32 #define BUILD_BETA 2 32 #define BUILD_BETA 2
33 #define BUILD_RC 3 33 #define BUILD_RC 3
34 #define BUILD_RELEASE 4 34 #define BUILD_RELEASE 4
35 35
36 #define elif else if 36 #define elif(A) else if (A)
37 #define alias auto&
37 38
38 #include <QSettings> 39 #include <QSettings>
40 #include "cfg.h"
39 41
40 struct VersionInfo; 42 struct VersionInfo;
41 static const std::nullptr_t null = nullptr; 43 static const std::nullptr_t null = nullptr;
42 44
43 QString versionString(); 45 QString versionString();
44 46
45 #endif // MAIN_H 47 #endif // ZANDEMO_MAIN_H

mercurial