From 6564d6b493f8bd3ab7091df3bb12b08538c81b33 Mon Sep 17 00:00:00 2001 From: Reto Zingg Date: Sat, 15 Dec 2012 19:28:48 +0200 Subject: [PATCH] adapt libqmvocdocument_export.h for querymee --- libqmvocdocument_export.h | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) 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 + -- 2.47.3