File indexing completed on 2025-01-05 03:59:27

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2010 Dennis Nienhüser <nienhueser@kde.org>
0004 // SPDX-FileCopyrightText: 2012 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0005 //
0006 
0007 #ifndef MARBLE_NOMINATIM_REVERSE_GEOCODING_PLUGIN_H
0008 #define MARBLE_NOMINATIM_REVERSE_GEOCODING_PLUGIN_H
0009 
0010 #include "ReverseGeocodingRunnerPlugin.h"
0011 
0012 namespace Marble
0013 {
0014 
0015 class NominatimPlugin : public ReverseGeocodingRunnerPlugin
0016 {
0017     Q_OBJECT
0018     Q_PLUGIN_METADATA(IID "org.kde.marble.NominatimReverseGeocodingPlugin")
0019     Q_INTERFACES( Marble::ReverseGeocodingRunnerPlugin )
0020 
0021 public:
0022 
0023     explicit NominatimPlugin(QObject * const parent = nullptr);
0024 
0025     QString name() const override;
0026 
0027     QString guiString() const override;
0028 
0029     QString nameId() const override;
0030 
0031     QString version() const override;
0032 
0033     QString description() const override;
0034 
0035     QString copyrightYears() const override;
0036 
0037     QVector<PluginAuthor> pluginAuthors() const override;
0038 
0039     ReverseGeocodingRunner* newRunner() const override;
0040 };
0041 
0042 } // namespace Marble
0043 
0044 #endif // MARBLE_NOMINATIM_REVERSE_GEOCODING_PLUGIN_H