Subversion Repositories tpanel

Rev

Rev 167 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 167 Rev 169
Line 24... Line 24...
24
#include "terror.h"
24
#include "terror.h"
25
 
25
 
26
#define V_MAJOR     1
26
#define V_MAJOR     1
27
#define V_MINOR     3
27
#define V_MINOR     3
28
#define V_PATCH     2
28
#define V_PATCH     2
29
#define V_ADD       "b8"
29
//#define V_ADD       "b8"
30
 
30
 
31
#ifndef V_SERIAL
31
#ifndef V_SERIAL
32
#define V_SERIAL    "20220528T132B"
32
#define V_SERIAL    "20220531TP1320"
33
#endif
33
#endif
34
 
34
 
35
/**
35
/**
36
 * @def TPANEL_VERSION
36
 * @def TPANEL_VERSION
37
 * Defines the version of this application.
37
 * Defines the version of this application.
38
 */
38
 */
39
#define TPANEL_VERSION      ((V_MAJOR * 0x10000) + (V_MINOR * 0x100) + V_PATCH)
39
#define TPANEL_VERSION      ((V_MAJOR * 0x10000) + (V_MINOR * 0x100) + V_PATCH)
40
 
40
 
41
#define VERSION_STRING() _GET_X_VERSION(V_MAJOR, V_MINOR, V_PATCH)
41
#define VERSION_STRING() _GET_X_VERSION(V_MAJOR, V_MINOR, V_PATCH)
42
#define _GET_X_VERSION(a, b, c) _GET_VERSION(a, b, c)
42
#define _GET_X_VERSION(a, b, c) _GET_VERSION(a, b, c)
43
//#define _GET_VERSION(a, b, c) ( #a "." #b "." #c )          // Release version
43
#define _GET_VERSION(a, b, c) ( #a "." #b "." #c )          // Release version
44
#define _GET_VERSION(a, b, c) ( #a "." #b "." #c V_ADD)     // Beta version
44
//#define _GET_VERSION(a, b, c) ( #a "." #b "." #c V_ADD)     // Beta version
45
 
45
 
46
/**
46
/**
47
 * @brief The TConfig class manages the configurations.
47
 * @brief The TConfig class manages the configurations.
48
 *
48
 *
49
 * The class contains methods to read a config file, parse it's content and
49
 * The class contains methods to read a config file, parse it's content and