kde-extraapps/kdeplasma-addons/libs/rtm/rtm_export.h
2015-01-15 17:07:43 +00:00

46 lines
1.3 KiB
C

/*
* Copyright 2009 Andrew Stromme <astromme@chatonka.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details
*
* You should have received a copy of the GNU Library General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef RTM_EXPORT_H
#define RTM_EXPORT_H
/* needed for KDE_EXPORT and KDE_IMPORT macros */
#ifdef QTONLY
#define KDE_EXPORT
#define KDE_IMPORT
#define KDE_DEPRECATED
#else
#include <kdemacros.h>
#endif
#ifndef RTM_EXPORT
# if defined(MAKE_RTM_LIB)
/* We are building this library */
# define RTM_EXPORT KDE_EXPORT
# else
/* We are using this library */
# define RTM_EXPORT KDE_IMPORT
# endif
#endif
# ifndef RTM_EXPORT_DEPRECATED
# define RTM_EXPORT_DEPRECATED KDE_DEPRECATED RTM_EXPORT
# endif
#endif