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

« back to all changes in this revision

Viewing changes to akonadi/kmime/akonadi-kmime_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
 
/*  This file is part of the KDE project
2
 
    Copyright (C) 2007 David Faure <faure@kde.org>
3
 
 
4
 
    This library is free software; you can redistribute it and/or
5
 
    modify it under the terms of the GNU Library General Public
6
 
    License as published by the Free Software Foundation; either
7
 
    version 2 of the License, or (at your option) any later version.
8
 
 
9
 
    This library is distributed in the hope that it will be useful,
10
 
    but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
 
    Library General Public 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
16
 
    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
 
    Boston, MA 02110-1301, USA.
18
 
*/
19
 
 
20
 
#ifndef AKONADI_KMIME_EXPORT_H
21
 
#define AKONADI_KMIME_EXPORT_H
22
 
 
23
 
/* needed for KDE_EXPORT and KDE_IMPORT macros */
24
 
#include <kdemacros.h>
25
 
 
26
 
#ifndef AKONADI_KMIME_EXPORT
27
 
# if defined(KDEPIM_STATIC_LIBS)
28
 
   /* No export/import for static libraries */
29
 
#  define AKONADI_KMIME_EXPORT
30
 
# elif defined(MAKE_AKONADI_KMIME_LIB)
31
 
   /* We are building this library */
32
 
#  define AKONADI_KMIME_EXPORT KDE_EXPORT
33
 
# else
34
 
   /* We are using this library */
35
 
#  define AKONADI_KMIME_EXPORT KDE_IMPORT
36
 
# endif
37
 
#endif
38
 
 
39
 
# ifndef AKONADI_KMIME_EXPORT_DEPRECATED
40
 
#   if defined(MAKE_AKONADI_KMIME_LIB) || defined AKONADI_KMIME_IGNORE_DEPRECATED_WARNINGS
41
 
#     define AKONADI_KMIME_EXPORT_DEPRECATED AKONADI_KMIME_EXPORT
42
 
#   else
43
 
#     define AKONADI_KMIME_EXPORT_DEPRECATED KDE_DEPRECATED AKONADI_KMIME_EXPORT
44
 
#   endif
45
 
# endif
46
 
 
47
 
#ifdef COMPILING_TESTS
48
 
# ifndef AKONADI_KMIME_TEST_EXPORT
49
 
#  if defined(KDEPIM_STATIC_LIBS)
50
 
    /* No export/import for static libraries */
51
 
#   define AKONADI_KMIME_TEST_EXPORT
52
 
#  elif defined(MAKE_AKONADI_KMIME_LIB)
53
 
    /* We are building this library */
54
 
#   define AKONADI_KMIME_TEST_EXPORT KDE_EXPORT
55
 
#  else
56
 
    /* We are using this library */
57
 
#   define AKONADI_KMIME_TEST_EXPORT KDE_IMPORT
58
 
#  endif
59
 
# endif
60
 
#else
61
 
# ifndef AKONADI_KMIME_TEST_EXPORT
62
 
#  define AKONADI_KMIME_TEST_EXPORT
63
 
# endif
64
 
#endif
65
 
 
66
 
#endif