2
Copyright (c) 2006 Volker Krause <vkrause@kde.org>
4
This library is free software; you can redistribute it and/or modify it
5
under the terms of the GNU Library General Public License as published by
6
the Free Software Foundation; either version 2 of the License, or (at your
7
option) any later version.
9
This library is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12
License for more details.
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 the
16
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20
#ifndef MAILTRANSPORT_MAILTRANSPORT_EXPORT_H
21
#define MAILTRANSPORT_MAILTRANSPORT_EXPORT_H
23
#include <kdemacros.h>
27
#ifndef MAILTRANSPORT_EXPORT
28
# if defined(KDEPIM_STATIC_LIBS)
29
/* No export/import for static libraries */
30
# define MAILTRANSPORT_EXPORT
31
# elif defined(MAKE_MAILTRANSPORT_LIB)
32
/* We are building this library */
33
# define MAILTRANSPORT_EXPORT KDE_EXPORT
35
/* We are using this library */
36
# define MAILTRANSPORT_EXPORT KDE_IMPORT
40
// TODO KDE5: Get rid of all this.
41
#ifndef MAILTRANSPORT_DEPRECATED
42
# if defined( USES_DEPRECATED_MAILTRANSPORT_API )
43
/* Avoid deprecated warnings from ourselves and the MDA. */
44
# define MAILTRANSPORT_DEPRECATED
46
/* Show deprecated warnings for anyone else. */
47
# define MAILTRANSPORT_DEPRECATED KDE_DEPRECATED
51
#ifndef MAILTRANSPORT_EXPORT_DEPRECATED
52
# define MAILTRANSPORT_EXPORT_DEPRECATED MAILTRANSPORT_DEPRECATED MAILTRANSPORT_EXPORT