File indexing completed on 2024-05-12 15:31:20

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2011 Valery Kharitonov <kharvd@gmail.com>
0004 //
0005 
0006 #ifndef GEONAMESWEATHERITEM_H
0007 #define GEONAMESWEATHERITEM_H
0008 
0009 #include "WeatherItem.h"
0010 
0011 namespace Marble
0012 {
0013 
0014 class GeoNamesWeatherItem : public WeatherItem
0015 {
0016     Q_OBJECT
0017 
0018  public:
0019     explicit GeoNamesWeatherItem( QObject *parent = nullptr );
0020     ~GeoNamesWeatherItem() override;
0021 
0022     void addDownloadedFile( const QString& url, const QString& type ) override;
0023 
0024     QString service() const override;
0025     QString creditHtml() const;
0026 };
0027 
0028 } // namespace Marble
0029 
0030 #endif // GEONAMESWEATHERITEM_H