1 | /*************************************************************************** |
2 | * Copyright (C) 2013 by Albert Astals Cid <aacid@kde.org> * |
3 | * * |
4 | * This program is free software; you can redistribute it and/or modify * |
5 | * it under the terms of the GNU General Public License as published by * |
6 | * the Free Software Foundation; either version 2 of the License, or * |
7 | * (at your option) any later version. * |
8 | ***************************************************************************/ |
9 | |
10 | #ifndef OKULAR_PART_EXPORT_H |
11 | #define OKULAR_PART_EXPORT_H |
12 | |
13 | /* needed for KDE_EXPORT macros */ |
14 | #include <kdemacros.h> |
15 | |
16 | |
17 | #if defined _WIN32 || defined _WIN64 |
18 | #ifndef OKULAR_PART_EXPORT |
19 | # ifdef MAKE_OKULARPART_LIB |
20 | # define OKULAR_PART_EXPORT KDE_EXPORT |
21 | # else |
22 | # define OKULAR_PART_EXPORT KDE_IMPORT |
23 | # endif |
24 | #endif |
25 | |
26 | #else /* UNIX*/ |
27 | |
28 | |
29 | /* export statements for unix */ |
30 | #define OKULAR_PART_EXPORT KDE_EXPORT |
31 | #endif |
32 | |
33 | #endif |
34 | |