• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

kabc

  • kabc
kabc_export.h
1 /*
2  This file is part of the kabc library.
3  Copyright (c) 2006-2007 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 KABC_EXPORT_H
22 #define KABC_EXPORT_H
23 
24 #include <kdemacros.h>
25 
26 #ifndef KABC_EXPORT
27 # if defined(KDEPIM_STATIC_LIBS)
28  /* No export/import for static libraries */
29 # define KABC_EXPORT
30 # elif defined(MAKE_KABC_LIB)
31  /* We are building this library */
32 # define KABC_EXPORT KDE_EXPORT
33 # else
34  /* We are using this library */
35 # define KABC_EXPORT KDE_IMPORT
36 # endif
37 #endif
38 
39 #ifndef KABC_FILE_CORE_EXPORT
40 # if defined(KDEPIM_STATIC_LIBS)
41  /* No export/import for static libraries */
42 # define KABC_FILE_CORE_EXPORT
43 # elif defined(MAKE_KABC_FILE_CORE_LIB)
44  /* We are building this library */
45 # define KABC_FILE_CORE_EXPORT KDE_EXPORT
46 # else
47  /* We are using this library */
48 # define KABC_FILE_CORE_EXPORT KDE_IMPORT
49 # endif
50 #endif
51 
52 #ifndef KABC_DIR_EXPORT
53 # if defined(KDEPIM_STATIC_LIBS)
54  /* No export/import for static libraries */
55 # define KABC_DIR_EXPORT
56 # elif defined(MAKE_KABC_DIRECTORY_LIB)
57  /* We are building this library */
58 # define KABC_DIR_EXPORT KDE_EXPORT
59 # else
60  /* We are using this library */
61 # define KABC_DIR_EXPORT KDE_IMPORT
62 # endif
63 #endif
64 
65 #ifndef KABC_NET_EXPORT
66 # if defined(KDEPIM_STATIC_LIBS)
67  /* No export/import for static libraries */
68 # define KABC_NET_EXPORT
69 # elif defined(MAKE_KABC_NET_LIB)
70  /* We are building this library */
71 # define KABC_NET_EXPORT KDE_EXPORT
72 # else
73  /* We are using this library */
74 # define KABC_NET_EXPORT KDE_IMPORT
75 # endif
76 #endif
77 
78 #ifndef KABC_LDAPKIO_EXPORT
79 # if defined(KDEPIM_STATIC_LIBS)
80  /* No export/import for static libraries */
81 # define KABC_LDAPKIO_EXPORT
82 # elif defined(MAKE_KABC_LDAPKIO_LIB)
83  /* We are building this library */
84 # define KABC_LDAPKIO_EXPORT KDE_EXPORT
85 # else
86  /* We are using this library */
87 # define KABC_LDAPKIO_EXPORT KDE_IMPORT
88 # endif
89 #endif
90 
91 # ifndef KABC_EXPORT_DEPRECATED
92 # if !defined( WANT_DEPRECATED_KABC_API )
93 # define KABC_EXPORT_DEPRECATED KDE_DEPRECATED KABC_EXPORT
94 # else
95 # define KABC_EXPORT_DEPRECATED KABC_EXPORT
96 # endif
97 # endif
98 # ifndef KABC_FILE_CORE_EXPORT_DEPRECATED
99 # if !defined( WANT_DEPRECATED_KABC_API )
100 # define KABC_FILE_CORE_EXPORT_DEPRECATED KDE_DEPRECATED KABC_FILE_CORE_EXPORT
101 # else
102 # define KABC_FILE_CORE_EXPORT_DEPRECATED KABC_FILE_CORE_EXPORT
103 # endif
104 # endif
105 # ifndef KABC_DIRECTORY_EXPORT_DEPRECATED
106 # if !defined( WANT_DEPRECATED_KABC_API )
107 # define KABC_DIRECTORY_EXPORT_DEPRECATED KDE_DEPRECATED KABC_DIRECTORY_EXPORT
108 # else
109 # define KABC_DIRECTORY_EXPORT_DEPRECATED KABC_DIRECTORY_EXPORT
110 # endif
111 # endif
112 # ifndef KABC_NET_EXPORT_DEPRECATED
113 # if !defined( WANT_DEPRECATED_KABC_API )
114 # define KABC_NET_EXPORT_DEPRECATED KDE_DEPRECATED KABC_NET_EXPORT
115 # else
116 # define KABC_NET_EXPORT_DEPRECATED KABC_NET_EXPORT
117 # endif
118 # endif
119 # ifndef KABC_LDAPKIO_EXPORT_DEPRECATED
120 # if !defined( WANT_DEPRECATED_KABC_API )
121 # define KABC_LDAPKIO_EXPORT_DEPRECATED KDE_DEPRECATED KABC_LDAPKIO_EXPORT
122 # else
123 # define KABC_LDAPKIO_EXPORT_DEPRECATED KABC_LDAPKIO_EXPORT
124 # endif
125 # endif
126 
127 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:29:40 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kabc

Skip menu "kabc"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.10.5 API Reference

Skip menu "kdepimlibs-4.10.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal