Marble

GeoDocument.h
1 /*
2  SPDX-FileCopyrightText: 2008 Nikolas Zimmermann <[email protected]>
3  SPDX-FileCopyrightText: 2008 Jens-Michael Hoffmann <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #ifndef MARBLE_GEODOCUMENT_H
9 #define MARBLE_GEODOCUMENT_H
10 
11 #include "geodata_export.h"
12 
13 namespace Marble
14 {
15 
16 /**
17  * @short A shared base class between GeoDataDocument/GeoSourceDocument
18  */
19 class GEODATA_EXPORT GeoDocument
20 {
21 protected:
22  GeoDocument();
23 
24 public:
25  virtual ~GeoDocument();
26 
27  virtual bool isGeoDataDocument() const;
28  virtual bool isGeoSceneDocument() const;
29 };
30 
31 /**
32  * @short A shared base class for all classes that are mapped to a specific tag (ie. GeoFolder)
33  */
34 class GEODATA_EXPORT GeoNode
35 {
36 public:
37  GeoNode();
38  virtual ~GeoNode();
39 
40  /// Provides type information for downcasting a GeoNode
41  virtual const char* nodeType() const = 0;
42 };
43 
44 }
45 
46 #endif
Binds a QML item to a specific geodetic location in screen coordinates.
A shared base class for all classes that are mapped to a specific tag (ie.
Definition: GeoDocument.h:34
A shared base class between GeoDataDocument/GeoSourceDocument.
Definition: GeoDocument.h:19
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:10:38 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.