Commit 66957a77 authored by Jeremy Whiting's avatar Jeremy Whiting

Remove kdemacros.h and use generate_export_header for interfaces folder.

REVIEW:120652
parent 8e0c64e1
......@@ -9,6 +9,8 @@ set(kompareinterface_LIB_SRCS kompareinterface.cpp )
add_library(kompareinterface SHARED ${kompareinterface_LIB_SRCS})
generate_export_header(kompareinterface BASE_NAME KOMPAREINTERFACE)
target_link_libraries(kompareinterface
Qt5::Core
)
......
......@@ -22,14 +22,15 @@
#include <QString>
#include <QStringList>
#include <kdemacros.h>
#include "kompareinterface_export.h"
class KConfig;
class QUrl;
class KompareInterfacePrivate;
class KDE_EXPORT KompareInterface
class KOMPAREINTERFACE_EXPORT KompareInterface
{
public:
KompareInterface();
......
/***************************************************************************
* Copyright 2007 Andreas Pakulat <apaku@gmx.de> *
* Copyright 2006 Matt Rogers <mattr@kde.org> *
* Copyright 2004 Jarosław Staniek <staniek@kde.org> *
* *
* 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 of the *
* License, 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 KOMPAREINTERFACEEXPORT_H
#define KOMPAREINTERFACEEXPORT_H
/* needed for KDE_EXPORT macros */
#include <kdemacros.h>
#ifndef DIFF2_EXPORT
# ifdef MAKE_DIFF2_LIB
# define DIFF2_EXPORT KDE_EXPORT
# else
# define DIFF2_EXPORT KDE_IMPORT
# endif
#endif
#endif // KOMPAREINTERFACEEXPORT_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment