8 #ifndef SERVUSQT_VERSION_H 9 #define SERVUSQT_VERSION_H 17 # define SERVUSQT_VERSION_MAJOR 1 20 # define SERVUSQT_VERSION_MINOR 6 23 # define SERVUSQT_VERSION_PATCH 0 26 # define SERVUSQT_VERSION_REVISION 0x059f391 29 # define SERVUSQT_VERSION_ABI 6ull 32 # define SERVUSQT_VERSION_STRING \ 36 # define SERVUSQT_REV_STRING \ 40 # define SERVUSQT_VERSION_GT( MAJOR, MINOR, PATCH ) \ 41 ( (SERVUSQT_VERSION_MAJOR>MAJOR) || \ 42 (SERVUSQT_VERSION_MAJOR==MAJOR && (SERVUSQT_VERSION_MINOR>MINOR || \ 43 (SERVUSQT_VERSION_MINOR==MINOR && SERVUSQT_VERSION_PATCH>PATCH)))) 46 # define SERVUSQT_VERSION_GE( MAJOR, MINOR, PATCH ) \ 47 ( (SERVUSQT_VERSION_MAJOR>MAJOR) || \ 48 (SERVUSQT_VERSION_MAJOR==MAJOR && (SERVUSQT_VERSION_MINOR>MINOR || \ 49 (SERVUSQT_VERSION_MINOR==MINOR && SERVUSQT_VERSION_PATCH>=PATCH)))) 52 # define SERVUSQT_VERSION_LT( MAJOR, MINOR, PATCH ) \ 53 ( (SERVUSQT_VERSION_MAJOR<MAJOR) || \ 54 (SERVUSQT_VERSION_MAJOR==MAJOR && (SERVUSQT_VERSION_MINOR<MINOR || \ 55 (SERVUSQT_VERSION_MINOR==MINOR && SERVUSQT_VERSION_PATCH<PATCH)))) 58 # define SERVUSQT_VERSION_LE( MAJOR, MINOR, PATCH ) \ 59 ( (SERVUSQT_VERSION_MAJOR<MAJOR) || \ 60 (SERVUSQT_VERSION_MAJOR==MAJOR && (SERVUSQT_VERSION_MINOR<MINOR || \ 61 (SERVUSQT_VERSION_MINOR==MINOR && SERVUSQT_VERSION_PATCH<=PATCH)))) 68 static int getMajor();
71 static int getMinor();
74 static int getPatch();
77 static std::string getString();
80 static unsigned long long getRevision();
86 static std::string getRevString();
109 "description": "Version information of the running application", 111 "major": { "type": "integer" }, 112 "minor": { "type": "integer" }, 113 "patch": { "type": "integer" }, 114 "abi": { "type": "integer" }, 115 "revision": { "type": "string" } 130 "revision": "059f391" #define SERVUSQT_VERSION_MAJOR
The current major version.
static std::string getSchema()
Information about the current ServusQt version.
static std::string toJSON()
Defines export visibility macros for library ServusQt.
static bool check()
Runtime check for ABI compatibility.
#define SERVUSQT_VERSION_MINOR
The current minor version.