kalarmcal_export.h
00001 /* 00002 * This file is part of kalarmcal library, which provides access to KAlarm 00003 * calendar data. 00004 * Copyright © 2011 by David Jarvie <djarvie@kde.org> 00005 * 00006 * This library is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU Library General Public License as published 00008 * by the Free Software Foundation; either version 2 of the License, or (at 00009 * your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, but WITHOUT 00012 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00013 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00014 * License for more details. 00015 * 00016 * You should have received a copy of the GNU Library General Public License 00017 * along with this library; see the file COPYING.LIB. If not, write to the 00018 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00019 * MA 02110-1301, USA. 00020 */ 00021 00022 #ifndef KALARMCAL_EXPORT_H 00023 #define KALARMCAL_EXPORT_H 00024 00025 /* needed for KDE_EXPORT and KDE_IMPORT macros */ 00026 #include <kdemacros.h> 00027 00028 #ifndef KALARMCAL_EXPORT 00029 # if defined(KDEPIM_STATIC_LIBS) 00030 /* No export/import for static libraries */ 00031 # define KALARMCAL_EXPORT 00032 # elif defined(MAKE_KALARMCAL_LIB) 00033 /* We are building this library */ 00034 # define KALARMCAL_EXPORT KDE_EXPORT 00035 # else 00036 /* We are using this library */ 00037 # define KALARMCAL_EXPORT KDE_IMPORT 00038 # endif 00039 #endif 00040 00041 # ifndef KALARMCAL_EXPORT_DEPRECATED 00042 # define KALARMCAL_EXPORT_DEPRECATED KDE_DEPRECATED KALARMCAL_EXPORT 00043 # endif 00044 00045 #endif