Communi 1.0.0
A cross-platform IRC client library written with Qt 4
include/ircglobal.h
Go to the documentation of this file.
00001 /*
00002 * Copyright (C) 2008-2011 J-P Nurmi <jpnurmi@gmail.com>
00003 *
00004 * This library is free software; you can redistribute it and/or modify it
00005 * under the terms of the GNU Lesser General Public License as published by
00006 * the Free Software Foundation; either version 2 of the License, or (at your
00007 * option) any later version.
00008 *
00009 * This library is distributed in the hope that it will be useful, but WITHOUT
00010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00011 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
00012 * License for more details.
00013 */
00014 
00015 #ifndef IRCGLOBAL_H
00016 #define IRCGLOBAL_H
00017 
00018 #include <QtCore/qglobal.h>
00019 
00025 #if defined(COMMUNI_SHARED)
00026 #  if defined(BUILD_COMMUNI)
00027 #    define COMMUNI_EXPORT Q_DECL_EXPORT
00028 #  else
00029 #    define COMMUNI_EXPORT Q_DECL_IMPORT
00030 #  endif
00031 #elif defined(COMMUNI_STATIC)
00032 #  define COMMUNI_EXPORT
00033 #else
00034 #  error Installation problem: either COMMUNI_SHARED or COMMUNI_STATIC must be defined!
00035 #endif
00036 
00053 #define COMMUNI_VERSION 0x010000
00054 
00063 #define COMMUNI_VERSION_STR "1.0.0"
00064 
00065 #ifndef QT_FORWARD_DECLARE_CLASS
00066 #   define QT_FORWARD_DECLARE_CLASS(name) class name;
00067 #endif // QT_FORWARD_DECLARE_CLASS
00068 
00069 #endif // IRCGLOBAL_H
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Defines