~ubuntu-branches/ubuntu/trusty/kdepimlibs/trusty

« back to all changes in this revision

Viewing changes to mailtransport/mailtransport_export.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg, Rohan Garg, Philip Muškovac
  • Date: 2013-11-23 17:36:44 UTC
  • mfrom: (1.1.102)
  • Revision ID: package-import@ubuntu.com-20131123173644-p5ow94192ezsny8g
Tags: 4:4.11.80-0ubuntu1
[ Rohan Garg ]
* New upstream beta release
  - Bump akonadi requirement to 1.10.45
  - Update install files
  - Update symbols

[ Philip Muškovac ]
* kdepimlibs-dev/-dbg breaks/replaces kdepim-runtime/-dbg (<< 4:4.11.80)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
    Copyright (c) 2006 Volker Krause <vkrause@kde.org>
3
 
 
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.
8
 
 
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.
13
 
 
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
17
 
    02110-1301, USA.
18
 
*/
19
 
 
20
 
#ifndef MAILTRANSPORT_MAILTRANSPORT_EXPORT_H
21
 
#define MAILTRANSPORT_MAILTRANSPORT_EXPORT_H
22
 
 
23
 
#include <kdemacros.h>
24
 
 
25
 
#include <KLocale>
26
 
 
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
34
 
# else
35
 
   /* We are using this library */
36
 
#  define MAILTRANSPORT_EXPORT KDE_IMPORT
37
 
# endif
38
 
#endif
39
 
 
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
45
 
# else
46
 
   /* Show deprecated warnings for anyone else. */
47
 
#  define MAILTRANSPORT_DEPRECATED KDE_DEPRECATED
48
 
# endif
49
 
#endif
50
 
 
51
 
#ifndef MAILTRANSPORT_EXPORT_DEPRECATED
52
 
# define MAILTRANSPORT_EXPORT_DEPRECATED MAILTRANSPORT_DEPRECATED MAILTRANSPORT_EXPORT
53
 
#endif
54
 
 
55
 
#endif