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