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

kabc

kabc_export.h
00001 /*
00002   This file is part of the kabc library.
00003   Copyright (c) 2006-2007 Allen Winter <winter@kde.org>
00004 
00005   This library is free software; you can redistribute it and/or
00006   modify it under the terms of the GNU Library General Public
00007   License as published by the Free Software Foundation; either
00008   version 2 of the License, or (at your option) any later version.
00009 
00010   This library is distributed in the hope that it will be useful,
00011   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013   Library General Public License for more details.
00014 
00015   You should have received a copy of the GNU Library General Public License
00016   along with this library; see the file COPYING.LIB.  If not, write to
00017   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018   Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef KABC_EXPORT_H
00022 #define KABC_EXPORT_H
00023 
00024 #include <kdemacros.h>
00025 
00026 #ifndef KABC_EXPORT
00027 # if defined(KDEPIM_STATIC_LIBS)
00028    /* No export/import for static libraries */
00029 #  define KABC_EXPORT
00030 # elif defined(MAKE_KABC_LIB)
00031    /* We are building this library */
00032 #  define KABC_EXPORT KDE_EXPORT
00033 # else
00034    /* We are using this library */
00035 #  define KABC_EXPORT KDE_IMPORT
00036 # endif
00037 #endif
00038 
00039 #ifndef KABC_FILE_CORE_EXPORT
00040 # if defined(KDEPIM_STATIC_LIBS)
00041    /* No export/import for static libraries */
00042 #  define KABC_FILE_CORE_EXPORT
00043 # elif defined(MAKE_KABC_FILE_CORE_LIB)
00044    /* We are building this library */
00045 #  define KABC_FILE_CORE_EXPORT KDE_EXPORT
00046 # else
00047    /* We are using this library */
00048 #  define KABC_FILE_CORE_EXPORT KDE_IMPORT
00049 # endif
00050 #endif
00051 
00052 #ifndef KABC_DIR_EXPORT
00053 # if defined(KDEPIM_STATIC_LIBS)
00054    /* No export/import for static libraries */
00055 #  define KABC_DIR_EXPORT
00056 # elif defined(MAKE_KABC_DIRECTORY_LIB)
00057    /* We are building this library */
00058 #  define KABC_DIR_EXPORT KDE_EXPORT
00059 # else
00060    /* We are using this library */
00061 #  define KABC_DIR_EXPORT KDE_IMPORT
00062 # endif
00063 #endif
00064 
00065 #ifndef KABC_NET_EXPORT
00066 # if defined(KDEPIM_STATIC_LIBS)
00067    /* No export/import for static libraries */
00068 #  define KABC_NET_EXPORT
00069 # elif defined(MAKE_KABC_NET_LIB)
00070    /* We are building this library */
00071 #  define KABC_NET_EXPORT KDE_EXPORT
00072 # else
00073    /* We are using this library */
00074 #  define KABC_NET_EXPORT KDE_IMPORT
00075 # endif
00076 #endif
00077 
00078 #ifndef KABC_LDAPKIO_EXPORT
00079 # if defined(KDEPIM_STATIC_LIBS)
00080    /* No export/import for static libraries */
00081 #  define KABC_LDAPKIO_EXPORT
00082 # elif defined(MAKE_KABC_LDAPKIO_LIB)
00083    /* We are building this library */
00084 #  define KABC_LDAPKIO_EXPORT KDE_EXPORT
00085 # else
00086    /* We are using this library */
00087 #  define KABC_LDAPKIO_EXPORT KDE_IMPORT
00088 # endif
00089 #endif
00090 
00091 # ifndef KABC_EXPORT_DEPRECATED
00092 #  if !defined( WANT_DEPRECATED_KABC_API )
00093 #    define KABC_EXPORT_DEPRECATED KDE_DEPRECATED KABC_EXPORT
00094 #  else
00095 #    define KABC_EXPORT_DEPRECATED KABC_EXPORT
00096 #  endif
00097 # endif
00098 # ifndef KABC_FILE_CORE_EXPORT_DEPRECATED
00099 #  if !defined( WANT_DEPRECATED_KABC_API )
00100 #    define KABC_FILE_CORE_EXPORT_DEPRECATED KDE_DEPRECATED KABC_FILE_CORE_EXPORT
00101 #  else
00102 #    define KABC_FILE_CORE_EXPORT_DEPRECATED KABC_FILE_CORE_EXPORT
00103 #  endif
00104 # endif
00105 # ifndef KABC_DIRECTORY_EXPORT_DEPRECATED
00106 #  if !defined( WANT_DEPRECATED_KABC_API )
00107 #    define KABC_DIRECTORY_EXPORT_DEPRECATED KDE_DEPRECATED KABC_DIRECTORY_EXPORT
00108 #  else
00109 #    define KABC_DIRECTORY_EXPORT_DEPRECATED KABC_DIRECTORY_EXPORT
00110 #  endif
00111 # endif
00112 # ifndef KABC_NET_EXPORT_DEPRECATED
00113 #  if !defined( WANT_DEPRECATED_KABC_API )
00114 #    define KABC_NET_EXPORT_DEPRECATED KDE_DEPRECATED KABC_NET_EXPORT
00115 #  else
00116 #    define KABC_NET_EXPORT_DEPRECATED KABC_NET_EXPORT
00117 #  endif
00118 # endif
00119 # ifndef KABC_LDAPKIO_EXPORT_DEPRECATED
00120 #  if !defined( WANT_DEPRECATED_KABC_API )
00121 #    define KABC_LDAPKIO_EXPORT_DEPRECATED KDE_DEPRECATED KABC_LDAPKIO_EXPORT
00122 #  else
00123 #    define KABC_LDAPKIO_EXPORT_DEPRECATED KABC_LDAPKIO_EXPORT
00124 #  endif
00125 # endif
00126 
00127 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:10:23 by doxygen 1.7.5 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.8.5 API Reference

Skip menu "kdepimlibs-4.8.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • 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