1 /*
2     SPDX-FileCopyrightText: 2008 Torsten Rahn <rahn@kde.org>
3 
4     SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef MARBLE_GEOSCENEPALETTE_H
8 #define MARBLE_GEOSCENEPALETTE_H
9 
10 #include <QString>
11 
12 #include "GeoDocument.h"
13 
14 namespace Marble
15 {
16 
17 /**
18  * @short Palette of a GeoScene document.
19  */
20 
21 class GeoScenePalette : public GeoNode
22 {
23  public:
24     GeoScenePalette( const QString& type, const QString& file );
25 
26     QString type() const;
27     void    setType( const QString& type );
28 
29     QString file() const;
30     void    setFile( const QString& file );
31 
32     bool operator==( const GeoScenePalette& rhs ) const;
33 
34     const char *nodeType() const override;
35 
36  private:
37     QString m_type;
38     QString m_file;
39 };
40 
41 }
42 
43 #endif
44