1/*
2 This file is part of the kresources library.
3 Copyright (c) 2006 Allen Winter <winter@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 as published by the Free Software Foundation; either
8 version 2 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 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 KCMKRESOURCES_EXPORT_H
22#define KCMKRESOURCES_EXPORT_H
23
24#include <kdemacros.h>
25
26#ifndef KCM_KRESOURCES_EXPORT
27# if defined(KDEPIM_STATIC_LIBS)
28 /* No export/import for static libraries */
29# define KCM_KRESOURCES_EXPORT
30# elif defined(MAKE_KCM_KRESOURCES_LIB)
31 /* We are building this library */
32# define KCM_KRESOURCES_EXPORT KDE_EXPORT
33# else
34 /* We are using this library */
35# define KCM_KRESOURCES_EXPORT KDE_IMPORT
36# endif
37#endif
38
39#ifndef KCM_KRESOURCES_EXPORT_DEPRECATED
40# if !defined( WANT_DEPRECATED_KRESOURCE_API )
41# define KCM_KRESOURCES_EXPORT_DEPRECATED KDE_DEPRECATED KCM_KRESOURCES_EXPORT
42# define KCM_KRESOURCES_DEPRECATED_EXPORT KDE_DEPRECATED KCM_KRESOURCES_EXPORT
43# define KCM_KRESOURCES_DEPRECATED KDE_DEPRECATED
44# else
45# define KCM_KRESOURCES_EXPORT_DEPRECATED KCM_KRESOURCES_EXPORT
46# define KCM_KRESOURCES_DEPRECATED_EXPORT KCM_KRESOURCES_EXPORT
47# endif
48#endif
49
50#endif
51