Communi  3.0.0
A cross-platform IRC framework written with Qt
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Macros Groups Pages
Macros
ircglobal.h File Reference

#include <IrcGlobal> More...

Go to the source code of this file.

Macros

#define IRC_VERSION   0x030000
 
#define IRC_VERSION_STR   "3.0.0"
 

Macro Definition Documentation

#define IRC_VERSION   0x030000

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 IRC_VERSION macro will expand to 0x010203.

You can use IRC_VERSION to use the latest Communi features where available. For example:

#if IRC_VERSION >= 0x000300
// SSL support since version 0.3.0
connection->setSocket(new QSslSocket(connection));
#endif
See Also
Irc::version()
#define IRC_VERSION_STR   "3.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.

See Also
Irc::version()