<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>LibIrcClient-Qt: include/ircglobal.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.8 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>include/ircglobal.h File Reference</h1><code>#include <QtGlobal></code><br> <p> <a href="ircglobal_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ircglobal_8h.html#79816192a19c0614179f8ab388b2afcb">IRC_VERSION</a> 0x000302</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ircglobal_8h.html#8ab5f4192d77ec1bb95690e7a4402dcd">IRC_VERSION_STR</a> "0.3.2"</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <hr><h2>Define Documentation</h2> <a class="anchor" name="79816192a19c0614179f8ab388b2afcb"></a><!-- doxytag: member="ircglobal.h::IRC_VERSION" ref="79816192a19c0614179f8ab388b2afcb" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define IRC_VERSION 0x000302 </td> </tr> </table> </div> <div class="memdoc"> <p> 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.<p> You can use IRC_VERSION to use the latest LibIrcClient-Qt features where available. For example: <div class="fragment"><pre class="fragment"><span class="preprocessor">#if IRC_VERSION >= 0x000300</span> <span class="preprocessor"></span> session->setSocket(<span class="keyword">new</span> QSslSocket(session)); session->connectToServer(host, port); <span class="preprocessor">#endif</span> </pre></div><p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ircglobal_8h.html#8ab5f4192d77ec1bb95690e7a4402dcd">IRC_VERSION_STR</a> and <a class="el" href="namespaceIrc.html#c206b07cd5f1aa3e64a61e4ac104899a">Irc::version()</a>. </dd></dl> </div> </div><p> <a class="anchor" name="8ab5f4192d77ec1bb95690e7a4402dcd"></a><!-- doxytag: member="ircglobal.h::IRC_VERSION_STR" ref="8ab5f4192d77ec1bb95690e7a4402dcd" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define IRC_VERSION_STR "0.3.2" </td> </tr> </table> </div> <div class="memdoc"> <p> 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.<p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="namespaceIrc.html#c206b07cd5f1aa3e64a61e4ac104899a">Irc::version()</a> and <a class="el" href="ircglobal_8h.html#79816192a19c0614179f8ab388b2afcb">IRC_VERSION</a>. </dd></dl> </div> </div><p> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 30 12:36:08 2009 for LibIrcClient-Qt by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> </body> </html>