1/* This file is part of the KDE project
2 Copyright (C) 2007 David Faure <faure@kde.org>
3 Copyright (C) 2009 Jeremy Whiting <jpwhiting@kde.org>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
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 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef KNEWSTUFF3_EXPORT_H
20#define KNEWSTUFF3_EXPORT_H
21
22/* needed for KDE_EXPORT and KDE_IMPORT macros */
23#include <kdemacros.h>
24
25#ifndef KNEWSTUFF_EXPORT
26# if defined(KDELIBS_STATIC_LIBS)
27 /* No export/import for static libraries */
28# define KNEWSTUFF_EXPORT
29# elif defined(MAKE_KNEWSTUFF3_LIB)
30/* We are building this library */
31# define KNEWSTUFF_EXPORT KDE_EXPORT
32# else
33/* We are using this library */
34# define KNEWSTUFF_EXPORT KDE_IMPORT
35# endif
36#endif
37
38# ifndef KNEWSTUFF_EXPORT_DEPRECATED
39# define KNEWSTUFF_EXPORT_DEPRECATED KDE_DEPRECATED KNEWSTUFF_EXPORT
40# endif
41
42#endif
43