Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
SDK
Kompare
Commits
66957a77
Commit
66957a77
authored
Oct 18, 2014
by
Jeremy Whiting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove kdemacros.h and use generate_export_header for interfaces folder.
REVIEW:120652
parent
8e0c64e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
39 deletions
+5
-39
interfaces/CMakeLists.txt
interfaces/CMakeLists.txt
+2
-0
interfaces/kompareinterface.h
interfaces/kompareinterface.h
+3
-2
interfaces/kompareinterfaceexport.h
interfaces/kompareinterfaceexport.h
+0
-37
No files found.
interfaces/CMakeLists.txt
View file @
66957a77
...
...
@@ -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
)
...
...
interfaces/kompareinterface.h
View file @
66957a77
...
...
@@ -22,14 +22,15 @@
#include <QString>
#include <QStringList>
#include <kdemacros.h>
#include "kompareinterface_export.h"
class
KConfig
;
class
QUrl
;
class
KompareInterfacePrivate
;
class
K
D
E_EXPORT
KompareInterface
class
K
OMPAREINTERFAC
E_EXPORT
KompareInterface
{
public:
KompareInterface
();
...
...
interfaces/kompareinterfaceexport.h
deleted
100644 → 0
View file @
8e0c64e1
/***************************************************************************
* 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment