Marble

GeoDocument.h
1/*
2 SPDX-FileCopyrightText: 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 SPDX-FileCopyrightText: 2008 Jens-Michael Hoffmann <jensmh@gmx.de>
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
13namespace Marble
14{
15
16/**
17 * @short A shared base class between GeoDataDocument/GeoSourceDocument
18 */
19class GEODATA_EXPORT GeoDocument
20{
21protected:
23
24public:
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 */
34class GEODATA_EXPORT GeoNode
35{
36public:
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
A shared base class between GeoDataDocument/GeoSourceDocument.
Definition GeoDocument.h:20
A shared base class for all classes that are mapped to a specific tag (ie.
Definition GeoDocument.h:35
virtual const char * nodeType() const =0
Provides type information for downcasting a GeoNode.
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 Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.