From: Reto Zingg Date: Sat, 15 Dec 2012 17:28:48 +0000 (+0200) Subject: adapt libqmvocdocument_export.h for querymee X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=fa2783c24ab7fe3dea8ccff351c2db5712767ed3;p=libqmvoc.git adapt libqmvocdocument_export.h for querymee --- diff --git a/libqmvocdocument_export.h b/libqmvocdocument_export.h index c5675d8..c19103d 100644 --- a/libqmvocdocument_export.h +++ b/libqmvocdocument_export.h @@ -1,5 +1,10 @@ +/*************************************************************************** +* this file is from kdeedu project. Filename: libkeduvocdocument_export.h +***************************************************************************/ + /* This file is part of the KDE project Copyright (C) 2007 David Faure + Copyright (C) 2010, 2012 Reto Zingg This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public @@ -17,24 +22,41 @@ Boston, MA 02110-1301, USA. */ -#ifndef LIBKEDUVOCDOCUMENT_EXPORT_H -#define LIBKEDUVOCDOCUMENT_EXPORT_H +#ifndef LIBQMVOCDOCUMENT_EXPORT_H +#define LIBQMVOCDOCUMENT_EXPORT_H /* needed for KDE_EXPORT and KDE_IMPORT macros */ -#include +// #include + +#define KDE_EXPORT __attribute__ ((visibility("default"))) +#define KDE_IMPORT __attribute__ ((visibility("default"))) + +#ifdef __cplusplus +# include +# ifndef KDE_DEPRECATED +# ifdef KDE_DEPRECATED_WARNINGS +# define KDE_DEPRECATED Q_DECL_DEPRECATED +# else +# define KDE_DEPRECATED +# endif +# endif +#endif + + #ifndef KEDUVOCDOCUMENT_EXPORT # if defined(MAKE_KEDUVOCDOCUMENT_LIB) /* We are building this library */ -# define KEDUVOCDOCUMENT_EXPORT KDE_EXPORT +# define QMVOCDOCUMENT_EXPORT KDE_EXPORT # else /* We are using this library */ -# define KEDUVOCDOCUMENT_EXPORT KDE_IMPORT +# define QMVOCDOCUMENT_EXPORT KDE_IMPORT # endif #endif # ifndef KEDUVOCDOCUMENT_EXPORT_DEPRECATED -# define KEDUVOCDOCUMENT_EXPORT_DEPRECATED KDE_DEPRECATED KEDUVOCDOCUMENT_EXPORT +# define KEDUVOCDOCUMENT_EXPORT_DEPRECATED KDE_DEPRECATED QMVOCDOCUMENT_EXPORT # endif #endif +