kresources
kresources_export.h
00001 /* 00002 This file is part of the kresources library. 00003 Copyright (c) 2006 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 KRESOURCES_EXPORT_H 00022 #define KRESOURCES_EXPORT_H 00023 00024 #include <kdemacros.h> 00025 00026 #ifndef KRESOURCES_EXPORT 00027 # if defined(KDEPIM_STATIC_LIBS) 00028 /* No export/import for static libraries */ 00029 # define KRESOURCES_EXPORT 00030 # elif defined(MAKE_KRESOURCES_LIB) 00031 /* We are building this library */ 00032 # define KRESOURCES_EXPORT KDE_EXPORT 00033 # else 00034 /* We are using this library */ 00035 # define KRESOURCES_EXPORT KDE_IMPORT 00036 # endif 00037 #endif 00038 00039 #ifndef KCM_KRESOURCES_EXPORT 00040 # if defined(KDEPIM_STATIC_LIBS) 00041 /* No export/import for static libraries */ 00042 # define KCM_KRESOURCES_EXPORT 00043 # elif defined(MAKE_KCM_KRESOURCES_LIB) 00044 /* We are building this library */ 00045 # define KCM_KRESOURCES_EXPORT KDE_EXPORT 00046 # else 00047 /* We are using this library */ 00048 # define KCM_KRESOURCES_EXPORT KDE_IMPORT 00049 # endif 00050 #endif 00051 00052 # ifndef KRESOURCES_EXPORT_DEPRECATED 00053 # if !defined( WANT_DEPRECATED_KRESOURCE_API ) 00054 # define KRESOURCES_EXPORT_DEPRECATED KDE_DEPRECATED KRESOURCES_EXPORT 00055 # else 00056 # define KRESOURCES_EXPORT_DEPRECATED KRESOURCES_EXPORT 00057 # endif 00058 # endif 00059 # ifndef KCM_KRESOURCES_EXPORT_DEPRECATED 00060 # if !defined( WANT_DEPRECATED_KRESOURCE_API ) 00061 # define KCM_KRESOURCES_EXPORT_DEPRECATED KDE_DEPRECATED KCM_KRESOURCES_EXPORT 00062 # else 00063 # define KCM_KRESOURCES_EXPORT_DEPRECATED KCM_KRESOURCES_EXPORT 00064 # endif 00065 # endif 00066 00067 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 04:51:05 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 04:51:05 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.