Communi  1.1.0
A cross-platform IRC client library written with Qt 4
 All Classes Files Functions Enumerations Enumerator Properties Macros Groups Pages
ircglobal.h
Go to the documentation of this file.
1 /*
2 * Copyright (C) 2008-2012 J-P Nurmi <jpnurmi@gmail.com>
3 *
4 * This library is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12 * License for more details.
13 */
14 
15 #ifndef IRCGLOBAL_H
16 #define IRCGLOBAL_H
17 
18 #include <QtCore/qglobal.h>
19 
25 #if defined(COMMUNI_SHARED)
26 # if defined(BUILD_COMMUNI)
27 # define COMMUNI_EXPORT Q_DECL_EXPORT
28 # else
29 # define COMMUNI_EXPORT Q_DECL_IMPORT
30 # endif
31 #elif defined(COMMUNI_STATIC)
32 # define COMMUNI_EXPORT
33 #else
34 # error Installation problem: either COMMUNI_SHARED or COMMUNI_STATIC must be defined!
35 #endif
36 
53 #define COMMUNI_VERSION 0x010100
54 
63 #define COMMUNI_VERSION_STR "1.1.0"
64 
65 #ifndef QT_FORWARD_DECLARE_CLASS
66 # define QT_FORWARD_DECLARE_CLASS(name) class name;
67 #endif // QT_FORWARD_DECLARE_CLASS
68 
69 #endif // IRCGLOBAL_H