6#ifndef KOSMINDOORMAP_TYPES_H
7#define KOSMINDOORMAP_TYPES_H
9#include <KOSMIndoorMap/EquipmentModel>
10#include <KOSMIndoorMap/GateModel>
11#include <KOSMIndoorMap/PlatformModel>
13#include "amenitymodel.h"
14#include "amenitysortfilterproxymodel.h"
15#include "floorlevelchangemodel.h"
17#include "osmelementinformationmodel.h"
19#include "roomsortfilterproxymodel.h"
24struct EquipmentModelForeign {
26 QML_NAMED_ELEMENT(EquipmentModel)
27 QML_FOREIGN(KOSMIndoorMap::EquipmentModel)
30struct FloorLevelModelForeign {
32 QML_NAMED_ELEMENT(FloorLevelModel)
33 QML_FOREIGN(KOSMIndoorMap::FloorLevelModel)
34 QML_UNCREATABLE(
"only provided via C++ API")
37struct GateModelForeign {
39 QML_NAMED_ELEMENT(GateModel)
40 QML_FOREIGN(KOSMIndoorMap::GateModel)
43struct MapDataForeign {
45 QML_FOREIGN(KOSMIndoorMap::MapData)
46 QML_VALUE_TYPE(mapData)
47 QML_UNCREATABLE(
"only provided via C++ API")
50struct MapLoaderForeign {
52 QML_NAMED_ELEMENT(MapLoader)
53 QML_FOREIGN(KOSMIndoorMap::MapLoader)
54 QML_UNCREATABLE(
"only provided via C++ API")
57struct PlatformModelForeign {
59 QML_NAMED_ELEMENT(PlatformModel)
60 QML_FOREIGN(KOSMIndoorMap::PlatformModel)
65 QML_NAMED_ELEMENT(View)
66 QML_FOREIGN(KOSMIndoorMap::View)
67 QML_UNCREATABLE(
"only provided via C++ API")
72struct AmenityModelForeign {
74 QML_NAMED_ELEMENT(AmenityModel)
75 QML_FOREIGN(KOSMIndoorMap::AmenityModel)
78struct AmenitySortFilterProxyModelForeign {
80 QML_NAMED_ELEMENT(AmenitySortFilterProxyModel)
81 QML_FOREIGN(KOSMIndoorMap::AmenitySortFilterProxyModel)
84struct FloorLevelChangeModelForeign {
86 QML_NAMED_ELEMENT(FloorLevelChangeModel)
87 QML_FOREIGN(KOSMIndoorMap::FloorLevelChangeModel)
90struct MapItemForeign {
92 QML_NAMED_ELEMENT(MapItemImpl)
93 QML_FOREIGN(KOSMIndoorMap::MapItem)
96struct OSMElementForeign {
98 QML_NAMED_ELEMENT(osmElement)
99 QML_FOREIGN(KOSMIndoorMap::OSMElement)
100 QML_UNCREATABLE(
"only provided via C++ API")
103struct OSMElementInformationModelForeign {
105 QML_NAMED_ELEMENT(OSMElementInformationModel)
106 QML_FOREIGN(KOSMIndoorMap::OSMElementInformationModel)
109struct RoomModelForeign {
111 QML_NAMED_ELEMENT(RoomModel)
112 QML_FOREIGN(KOSMIndoorMap::RoomModel)
115struct RoomSortFilterProxyModelForeign {
117 QML_NAMED_ELEMENT(RoomSortFilterProxyModel)
118 QML_FOREIGN(KOSMIndoorMap::RoomSortFilterProxyModel)