KOSMIndoorMap

kosmindoormapquickplugin.cpp
1/*
2 SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "kosmindoormapquickplugin.h"
8
9#include "osmaddress.h"
10#include "osmelement.h"
11
12#include <KOSMIndoorMap/MapData>
13#include <KOSMIndoorMap/PlatformModel>
14
15#include <QQmlEngine>
16
17using namespace KOSMIndoorMap;
18
19void KOSMIndoorMapQuickPlugin::registerTypes(const char *uri)
20{
21 Q_UNUSED(uri);
22 Q_INIT_RESOURCE(assets);
23
24 qRegisterMetaType<MapData>();
25 qRegisterMetaType<OSMAddress>();
26 qRegisterMetaType<OSMElement>();
27 qRegisterMetaType<Platform>();
28 qRegisterMetaType<Platform::Mode>();
29
30 qmlRegisterUncreatableMetaObject(Platform::staticMetaObject, "org.kde.kosmindoormap", 1, 0, "Platform", {});
31}
32
33#include "moc_kosmindoormapquickplugin.cpp"
OSM-based multi-floor indoor maps for buildings.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:57:46 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.