libkonq
libkonq_export.h
Go to the documentation of this file.00001 /* 00002 This file is part of the KDE project 00003 Copyright (C) 2004 Jaroslaw Staniek <js@iidea.pl> 00004 (C) 2004 Dirk Mueller <mueller@kde.org> 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Library General Public 00008 License version 2 as published by the Free Software Foundation. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public License 00016 along with this library; see the file COPYING.LIB. If not, write to 00017 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 Boston, MA 02110-1301, USA. 00019 */ 00020 00021 #ifndef LIBKONQ_EXPORT_H 00022 #define LIBKONQ_EXPORT_H 00023 00024 /* needed for KDE_EXPORT macros */ 00025 #include <kdemacros.h> 00026 00027 /* needed, because e.g. Q_OS_UNIX is so frequently used */ 00028 #include <QtCore/qglobal.h> 00029 00030 #ifdef MAKE_KONQ_LIB 00031 # define LIBKONQ_EXPORT KDE_EXPORT 00032 #else 00033 # ifdef Q_OS_WIN 00034 # define LIBKONQ_EXPORT KDE_IMPORT 00035 # else 00036 # define LIBKONQ_EXPORT KDE_EXPORT 00037 # endif 00038 #endif 00039 00040 #endif