1 | /**************************************************************************************** |
2 | * Copyright (c) 2012 Patrick von Reth <patrick.vonreth@gmail.com> * |
3 | * * |
4 | * This program is free software; you can redistribute it and/or modify it under * |
5 | * the terms of the GNU Lesser General Public License as published by the Free Software * |
6 | * Foundation; either version 2 of the License, or (at your option) any later * |
7 | * version. * |
8 | * * |
9 | * This program is distributed in the hope that it will be useful, but WITHOUT ANY * |
10 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * |
11 | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * |
12 | * * |
13 | * You should have received a copy of the GNU Lesser General Public License along with * |
14 | * this program. If not, see <http://www.gnu.org/licenses/>. * |
15 | ****************************************************************************************/ |
16 | |
17 | #ifndef KACTIVITIES_EXPORT_H |
18 | #define KACTIVITIES_EXPORT_H |
19 | |
20 | /* needed for KDE_EXPORT and KDE_IMPORT macros */ |
21 | #include <kdemacros.h> |
22 | |
23 | #ifndef KACTIVITIES_EXPORT |
24 | # ifdef MAKE_KACTIVITIES_LIB |
25 | /* We are building this library */ |
26 | # define KACTIVITIES_EXPORT KDE_EXPORT |
27 | |
28 | # if defined(DEBUG) |
29 | # define KACTIVITIES_EXPORT_TESTS KDE_EXPORT |
30 | # else |
31 | # define KACTIVITIES_EXPORT_TESTS |
32 | # endif |
33 | |
34 | # else |
35 | /* We are using this library */ |
36 | # define KACTIVITIES_EXPORT KDE_IMPORT |
37 | |
38 | # if defined(DEBUG) |
39 | # define KACTIVITIES_EXPORT_TESTS KDE_IMPORT |
40 | # else |
41 | # define KACTIVITIES_EXPORT_TESTS |
42 | # endif |
43 | |
44 | # endif//MAKE_KACTIVITIES_LIB |
45 | #endif// KACTIVITIES_EXPORT |
46 | |
47 | # ifndef KACTIVITIES_EXPORT_DEPRECATED |
48 | # define KACTIVITIES_EXPORT_DEPRECATED KDE_DEPRECATED KACTIVITIES_EXPORT |
49 | # endif |
50 | |
51 | #endif |
52 | |
53 | |