Communi  1.1.0
A cross-platform IRC client library written with Qt 4
 All Classes Files Functions Enumerations Enumerator Properties Macros Groups Pages
Macros
ircglobal.h File Reference

#include <IrcGlobal> More...

#include <QtCore/qglobal.h>

Go to the source code of this file.

Macros

#define COMMUNI_VERSION   0x010100
#define COMMUNI_VERSION_STR   "1.1.0"

Detailed Description

#include <IrcGlobal>


Macro Definition Documentation

#define COMMUNI_VERSION   0x010100
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:
@code 

#if COMMUNI_VERSION >= 0x000300 // SSL support since version 0.3.0 session->setSocket(new QSslSocket(session)); #endif

See also:
COMMUNI_VERSION_STR and Irc::version().
#define COMMUNI_VERSION_STR   "1.1.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.

See also:
Irc::version() and COMMUNI_VERSION.