File indexing completed on 2025-01-05 03:58:59
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2009 Patrick Spendrin <ps_ml@gmx.de> 0004 // 0005 0006 #ifndef MARBLE_GEODATAPOINTPRIVATE_H 0007 #define MARBLE_GEODATAPOINTPRIVATE_H 0008 0009 #include "GeoDataGeometry_p.h" 0010 0011 namespace Marble 0012 { 0013 0014 class GeoDataPointPrivate : public GeoDataGeometryPrivate 0015 { 0016 public: 0017 GeoDataCoordinates m_coordinates; 0018 0019 GeoDataPointPrivate() 0020 { 0021 } 0022 0023 GeoDataGeometryPrivate *copy() const override 0024 { 0025 GeoDataPointPrivate* copy = new GeoDataPointPrivate; 0026 *copy = *this; 0027 return copy; 0028 } 0029 }; 0030 0031 } // namespace Marble 0032 0033 #endif