LibIrcClient-Qt: include/ircglobal.h File Reference

# include/ircglobal.h File Reference

`#include <QtGlobal>`

Go to the source code of this file.

## Defines
#define | IRC_VERSION 0x000500
#define | IRC_VERSION_STR "0.5.0"

## Detailed Description

## Define Documentation

#define IRC_VERSION 0x000500

This macro expands a numeric value of the form 0xMMNNPP (MM = major, NN = minor, PP = patch) that specifies LibIrcClient-Qt's version number. For example, if you compile your application against LibIrcClient-Qt 1.2.3, the IRC_VERSION macro will expand to 0x010203.

You can use IRC_VERSION to use the latest LibIrcClient-Qt features where available. For example:

    #if IRC_VERSION >= 0x000300
        session->setSocket(new QSslSocket(session));
        session->connectToServer(host, port);
    #endif

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

#define IRC_VERSION_STR "0.5.0"

This macro expands to a string that specifies LibIrcClient-Qt's version number (for example, "1.2.3"). This is the version against which the application is compiled.

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