File indexing completed on 2024-05-12 03:50:09

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2014 Sanjiban Bairagya <sanjiban22393@gmail.com>
0004 //
0005 
0006 #ifndef GEODATACHANGE_H
0007 #define GEODATACHANGE_H
0008 
0009 #include "GeoDataContainer.h"
0010 #include "geodata_export.h"
0011 
0012 namespace Marble
0013 {
0014 
0015 class GeoDataChangePrivate;
0016 
0017 /**
0018  */
0019 class GEODATA_EXPORT GeoDataChange : public GeoDataContainer
0020 {
0021 public:
0022     GeoDataChange();
0023 
0024     GeoDataChange( const GeoDataChange &other );
0025 
0026     ~GeoDataChange() override;
0027 
0028     GeoDataChange& operator=( const GeoDataChange &other );
0029 
0030     bool operator==( const GeoDataChange &other ) const;
0031     bool operator!=( const GeoDataChange &other ) const;
0032 
0033     GeoDataFeature * clone() const override;
0034 
0035     /** Provides type information for downcasting a GeoNode */
0036     const char* nodeType() const override;
0037 
0038 private:
0039     Q_DECLARE_PRIVATE(GeoDataChange)
0040 };
0041 
0042 }
0043 
0044 #endif