Communi 1.0.0
A cross-platform IRC client library written with Qt 4
|
#include <IrcGlobal> More...
#include <QtCore/qglobal.h>
Go to the source code of this file.
Defines | |
#define | COMMUNI_VERSION 0x010000 |
#define | COMMUNI_VERSION_STR "1.0.0" |
#include <IrcGlobal>
#define COMMUNI_VERSION 0x010000 |
This macro expands a numeric value of the form 0xMMNNPP (MM = major, NN = minor, PP = patch) that specifies Communi's version number. For example, if you compile your application against Communi 1.2.3, the COMMUNI_VERSION macro will expand to 0x010203.
You can use COMMUNI_VERSION to use the latest Communi features where available. For example:
#if COMMUNI_VERSION >= 0x000300 // SSL support since version 0.3.0 session->setSocket(new QSslSocket(session)); #endif
#define COMMUNI_VERSION_STR "1.0.0" |
This macro expands to a string that specifies Communi's version number (for example, "1.2.3"). This is the version against which the application is compiled.