File indexing completed on 2024-05-12 15:31:19
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2009 Bastian Holst <bastianholst@gmx.de> 0004 // 0005 0006 #ifndef BBCSTATION_H 0007 #define BBCSTATION_H 0008 0009 #include <QtGlobal> 0010 0011 class QString; 0012 0013 namespace Marble 0014 { 0015 0016 class GeoDataCoordinates; 0017 class BBCStationPrivate; 0018 0019 class BBCStation 0020 { 0021 public: 0022 BBCStation(); 0023 BBCStation( const BBCStation& other ); 0024 0025 ~BBCStation(); 0026 0027 void detach(); 0028 0029 BBCStation& operator=( const BBCStation &other ); 0030 bool operator<( const BBCStation& other ) const; 0031 0032 QString name() const; 0033 void setName( const QString& name ); 0034 0035 GeoDataCoordinates coordinate() const; 0036 void setCoordinate( const GeoDataCoordinates& coordinate ); 0037 0038 quint32 bbcId() const; 0039 void setBbcId( quint32 id ); 0040 0041 quint8 priority() const; 0042 void setPriority( quint8 priority ); 0043 0044 private: 0045 BBCStationPrivate *d; 0046 }; 0047 0048 } // namespace Marble 0049 0050 #endif // BBCSTATION_H