Marble

GeoSceneParser.h
1/*
2 SPDX-FileCopyrightText: 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef MARBLE_GEOSCENEPARSER_H
8#define MARBLE_GEOSCENEPARSER_H
9
10#include "GeoParser.h"
11#include <geodata_export.h>
12
13namespace Marble
14{
15
16class GeoDocument;
17class GeoSceneDocument;
18
19enum GeoSceneSourceType {
20 GeoScene_DGML = 0
21};
22
23class GEODATA_EXPORT GeoSceneParser : public GeoParser
24{
25public:
26 explicit GeoSceneParser(GeoSceneSourceType source);
27 ~GeoSceneParser() override;
28
29private:
30 bool isValidElement(const QString &tagName) const override;
31 bool isValidRootElement() override;
32
33 GeoDocument *createDocument() const override;
34};
35
36// Global helper function for the tag handlers
37GeoSceneDocument *geoSceneDoc(GeoParser &parser);
38
39}
40
41#endif
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:51:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.