- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

# include/ircglobal.h

Go to the documentation of this file.

    00001 /*
    00002 * Copyright (C) 2008-2009 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 IRC_GLOBAL_H
    00016 #define IRC_GLOBAL_H
    00017
    00018 #include <QtGlobal>
    00019
    00024 #if defined(IRC_SHARED)
    00025 #  if defined(BUILD_IRC)
    00026 #    define IRC_EXPORT Q_DECL_EXPORT
    00027 #  else
    00028 #    define IRC_EXPORT Q_DECL_IMPORT
    00029 #  endif
    00030 #elif defined(IRC_STATIC)
    00031 #  define IRC_EXPORT
    00032 #else
    00033 #  error Installation problem: either IRC_SHARED or IRC_STATIC must be defined!
    00034 #endif
    00035
    00052 #define IRC_VERSION 0x000500
    00053
    00062 #define IRC_VERSION_STR "0.5.0"
    00063
    00064 #ifndef QT_FORWARD_DECLARE_CLASS
    00065 #   define QT_FORWARD_DECLARE_CLASS(name) class name;
    00066 #endif // QT_FORWARD_DECLARE_CLASS
    00067
    00068 #endif // IRC_GLOBAL_H