Servus  1.4.0
C++ network oriented utilities including a zeroconf implementation
qt/version.h File Reference

Defines version macros and class for library ServusQt. More...

#include <servus/qt/api.h>
#include <string>
+ Include dependency graph for qt/version.h:

Go to the source code of this file.

Classes

class  servusqt::Version
 Information about the current ServusQt version. More...
 

Macros

#define SERVUSQT_VERSION_MAJOR   1
 The current major version. More...
 
#define SERVUSQT_VERSION_MINOR   4
 The current minor version. More...
 
#define SERVUSQT_VERSION_PATCH   0
 The current patch level. More...
 
#define SERVUSQT_VERSION_REVISION   0x72cd578
 The current SCM revision. More...
 
#define SERVUSQT_VERSION_ABI   4
 The current binary interface. More...
 
#define SERVUSQT_VERSION_GT(MAJOR, MINOR, PATCH)
 True if the current version is newer than the given one. More...
 
#define SERVUSQT_VERSION_GE(MAJOR, MINOR, PATCH)
 True if the current version is equal or newer to the given. More...
 
#define SERVUSQT_VERSION_LT(MAJOR, MINOR, PATCH)
 True if the current version is older than the given one. More...
 
#define SERVUSQT_VERSION_LE(MAJOR, MINOR, PATCH)
 True if the current version is older or equal to the given. More...
 

Detailed Description

Defines version macros and class for library ServusQt.

Definition in file qt/version.h.

Macro Definition Documentation

#define SERVUSQT_VERSION_ABI   4

The current binary interface.

Definition at line 29 of file qt/version.h.

#define SERVUSQT_VERSION_GE (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (SERVUSQT_VERSION_MAJOR>MAJOR) || \
#define SERVUSQT_VERSION_MAJOR
The current major version.
Definition: qt/version.h:17
#define SERVUSQT_VERSION_PATCH
The current patch level.
Definition: qt/version.h:23
#define SERVUSQT_VERSION_MINOR
The current minor version.
Definition: qt/version.h:20

True if the current version is equal or newer to the given.

Definition at line 38 of file qt/version.h.

#define SERVUSQT_VERSION_GT (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (SERVUSQT_VERSION_MAJOR>MAJOR) || \
#define SERVUSQT_VERSION_MAJOR
The current major version.
Definition: qt/version.h:17
#define SERVUSQT_VERSION_PATCH
The current patch level.
Definition: qt/version.h:23
#define SERVUSQT_VERSION_MINOR
The current minor version.
Definition: qt/version.h:20

True if the current version is newer than the given one.

Definition at line 32 of file qt/version.h.

#define SERVUSQT_VERSION_LE (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (SERVUSQT_VERSION_MAJOR<MAJOR) || \
#define SERVUSQT_VERSION_MAJOR
The current major version.
Definition: qt/version.h:17
#define SERVUSQT_VERSION_PATCH
The current patch level.
Definition: qt/version.h:23
#define SERVUSQT_VERSION_MINOR
The current minor version.
Definition: qt/version.h:20

True if the current version is older or equal to the given.

Definition at line 50 of file qt/version.h.

#define SERVUSQT_VERSION_LT (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (SERVUSQT_VERSION_MAJOR<MAJOR) || \
#define SERVUSQT_VERSION_MAJOR
The current major version.
Definition: qt/version.h:17
#define SERVUSQT_VERSION_PATCH
The current patch level.
Definition: qt/version.h:23
#define SERVUSQT_VERSION_MINOR
The current minor version.
Definition: qt/version.h:20

True if the current version is older than the given one.

Definition at line 44 of file qt/version.h.

#define SERVUSQT_VERSION_MAJOR   1

The current major version.

Definition at line 17 of file qt/version.h.

Referenced by servusqt::Version::check().

#define SERVUSQT_VERSION_MINOR   4

The current minor version.

Definition at line 20 of file qt/version.h.

Referenced by servusqt::Version::check().

#define SERVUSQT_VERSION_PATCH   0

The current patch level.

Definition at line 23 of file qt/version.h.

#define SERVUSQT_VERSION_REVISION   0x72cd578

The current SCM revision.

Definition at line 26 of file qt/version.h.