GeMA
The GeMA main application
Loading...
Searching...
No Matches
version.h
1/************************************************************************
2**
3** Copyright (C) 2014 by Carlos Augusto Teixera Mendes
4** All rights reserved.
5**
6** This file is part of the "GeMA" software. It's use should respect
7** the terms in the license agreement that can be found together
8** with this source code.
9** It is provided AS IS, with NO WARRANTY OF ANY KIND,
10** INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR
11** A PARTICULAR PURPOSE.
12**
13************************************************************************/
14
15#ifndef _VERSION_H_
16#define _VERSION_H_
17
18#include <QMap>
19
21#ifndef APPLICATION_NAME
22#define APPLICATION_NAME "GeMA"
23#endif
24
26#define VERSION (GemaVersionInfo().value("libVersion"))
27
29#define REVISION (GemaVersionInfo().value("libRevision"))
30
32#define REVISION_DATE (GemaVersionInfo().value("libRevisionDate"))
33
35#define PACKAGE_VERSION (GemaVersionInfo().value("globalVersion"))
36
38#define PACKAGE_VERSION_DATE (GemaVersionInfo().value("globalVersionDate"))
39
41#define PACKAGE_REVISION (GemaVersionInfo().value("globalRevision"))
42
44#define PACKAGE_REVISION_DATE (GemaVersionInfo().value("globalRevisionDate"))
45
59const QMap<QString, QString>& GemaVersionInfo();
60
61#endif