1 | /* |
2 | This file is part of the KDE project |
3 | Copyright (C) 2004 Jarosław Staniek <staniek@kde.org> |
4 | (C) 2004 Dirk Mueller <mueller@kde.org> |
5 | |
6 | This library is free software; you can redistribute it and/or |
7 | modify it under the terms of the GNU Library General Public |
8 | License version 2 as published by the Free Software Foundation. |
9 | |
10 | This library is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Library General Public License for more details. |
14 | |
15 | You should have received a copy of the GNU Library General Public License |
16 | along with this library; see the file COPYING.LIB. If not, write to |
17 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 | Boston, MA 02110-1301, USA. |
19 | */ |
20 | |
21 | #ifndef LIBKONQ_EXPORT_H |
22 | #define LIBKONQ_EXPORT_H |
23 | |
24 | /* needed for KDE_EXPORT macros */ |
25 | #include <kdemacros.h> |
26 | |
27 | /* needed, because e.g. Q_OS_UNIX is so frequently used */ |
28 | #include <QtCore/qglobal.h> |
29 | |
30 | #ifdef MAKE_KONQ_LIB |
31 | # define LIBKONQ_EXPORT KDE_EXPORT |
32 | #else |
33 | # ifdef Q_OS_WIN |
34 | # define LIBKONQ_EXPORT KDE_IMPORT |
35 | # else |
36 | # define LIBKONQ_EXPORT KDE_EXPORT |
37 | # endif |
38 | #endif |
39 | |
40 | # ifndef LIBKONQ_EXPORT_DEPRECATED |
41 | # define LIBKONQ_EXPORT_DEPRECATED KDE_DEPRECATED LIBKONQ_EXPORT |
42 | # endif |
43 | |
44 | #endif |
45 | |