Changeset View
Changeset View
Standalone View
Standalone View
src/plasma/qmlplugin/qmlplugin.h
- This file was added.
1 | /* | ||||
---|---|---|---|---|---|
2 | * Copyright 2016 Friedrich W. H. Kossebau <kossebau@kde.org> | ||||
3 | * | ||||
4 | * This program is free software; you can redistribute it and/or | ||||
5 | * modify it under the terms of the GNU Lesser General Public | ||||
6 | * License as published by the Free Software Foundation; either | ||||
7 | * version 2.1 of the License, or (at your option) any later version. | ||||
8 | * | ||||
9 | * This program is distributed in the hope that it will be useful, | ||||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||||
12 | * Lesser General Public License for more details. | ||||
13 | * | ||||
14 | * You should have received a copy of the GNU Lesser General Public | ||||
15 | * License along with this program. If not, see <http://www.gnu.org/licenses/>. | ||||
16 | */ | ||||
17 | | ||||
18 | #ifndef PLUGIN_H | ||||
19 | #define PLUGIN_H | ||||
20 | | ||||
21 | #include <MarbleDeclarativePlugin.h> | ||||
22 | | ||||
23 | /** | ||||
24 | * For now installing this separate Marble QtQuick plugin under a private namespace, | ||||
25 | * org.kde.marble.private.plasma (see qmldir) | ||||
26 | * until we have sorted out a general public Marble QtQuick plugin API | ||||
27 | * and libmarbledeclarative is turned back into a plugin instead of shared library | ||||
28 | */ | ||||
29 | class MarbleQuickPlugin : public MarbleDeclarativePlugin | ||||
30 | { | ||||
31 | Q_OBJECT | ||||
32 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") | ||||
33 | }; | ||||
34 | | ||||
35 | #endif // PLUGIN_H |