Communi  3.5.0
A cross-platform IRC framework written with Qt
Macros
ircglobal.h File Reference

#include <IrcGlobal> More...

Go to the source code of this file.

Macros

#define IRC_VERSION   0x030500
 
#define IRC_VERSION_STR   "3.5.0"
 

Macro Definition Documentation

#define IRC_VERSION   0x030500

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:

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