Marble

GeoSceneParser.h
1 /*
2  SPDX-FileCopyrightText: 2007, 2008 Nikolas Zimmermann <[email protected]>
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 <geodata_export.h>
11 #include "GeoParser.h"
12 
13 namespace Marble
14 {
15 
16 class GeoDocument;
17 class GeoSceneDocument;
18 
19 enum GeoSceneSourceType {
20  GeoScene_DGML = 0
21 };
22 
23 class GEODATA_EXPORT GeoSceneParser : public GeoParser
24 {
25 public:
26  explicit GeoSceneParser(GeoSceneSourceType source);
27  ~GeoSceneParser() override;
28 
29 private:
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
37 GeoSceneDocument* 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-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.