8 #ifndef EQUALIZERFABRIC_VERSION_H 9 #define EQUALIZERFABRIC_VERSION_H 17 # define EQFABRIC_VERSION_MAJOR 2 20 # define EQFABRIC_VERSION_MINOR 1 23 # define EQFABRIC_VERSION_PATCH 0 26 # define EQFABRIC_VERSION_REVISION 0x3962d38 29 # define EQFABRIC_VERSION_ABI 210ull 32 # define EQFABRIC_VERSION_STRING \ 36 # define EQFABRIC_REV_STRING \ 40 # define EQFABRIC_VERSION_GT( MAJOR, MINOR, PATCH ) \ 41 ( (EQFABRIC_VERSION_MAJOR>MAJOR) || \ 42 (EQFABRIC_VERSION_MAJOR==MAJOR && (EQFABRIC_VERSION_MINOR>MINOR || \ 43 (EQFABRIC_VERSION_MINOR==MINOR && EQFABRIC_VERSION_PATCH>PATCH)))) 46 # define EQFABRIC_VERSION_GE( MAJOR, MINOR, PATCH ) \ 47 ( (EQFABRIC_VERSION_MAJOR>MAJOR) || \ 48 (EQFABRIC_VERSION_MAJOR==MAJOR && (EQFABRIC_VERSION_MINOR>MINOR || \ 49 (EQFABRIC_VERSION_MINOR==MINOR && EQFABRIC_VERSION_PATCH>=PATCH)))) 52 # define EQFABRIC_VERSION_LT( MAJOR, MINOR, PATCH ) \ 53 ( (EQFABRIC_VERSION_MAJOR<MAJOR) || \ 54 (EQFABRIC_VERSION_MAJOR==MAJOR && (EQFABRIC_VERSION_MINOR<MINOR || \ 55 (EQFABRIC_VERSION_MINOR==MINOR && EQFABRIC_VERSION_PATCH<PATCH)))) 58 # define EQFABRIC_VERSION_LE( MAJOR, MINOR, PATCH ) \ 59 ( (EQFABRIC_VERSION_MAJOR<MAJOR) || \ 60 (EQFABRIC_VERSION_MAJOR==MAJOR && (EQFABRIC_VERSION_MINOR<MINOR || \ 61 (EQFABRIC_VERSION_MINOR==MINOR && EQFABRIC_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": "3962d38" Defines export visibility macros for library EqualizerFabric.
static bool check()
Runtime check for ABI compatibility.
static std::string toJSON()
Information about the current EqualizerFabric version.
#define EQFABRIC_VERSION_MINOR
The current minor version.
static std::string getSchema()
#define EQFABRIC_VERSION_MAJOR
The current major version.