File indexing completed on 2024-07-21 09:27:04

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2013 Mihail Ivchenko <ematirov@gmail.com>
0004 //
0005 
0006 
0007 #ifndef MARBLE_CYCLESTREETSPLUGIN_H
0008 #define MARBLE_CYCLESTREETSPLUGIN_H
0009 
0010 #include "RoutingRunnerPlugin.h"
0011 
0012 namespace Marble
0013 {
0014 
0015 class CycleStreetsPlugin : public RoutingRunnerPlugin
0016 {
0017     Q_OBJECT
0018     Q_PLUGIN_METADATA(IID "org.kde.marble.CycleStreetsPlugin")
0019     Q_INTERFACES( Marble::RoutingRunnerPlugin )
0020 
0021 public:
0022     explicit CycleStreetsPlugin( QObject *parent = nullptr );
0023 
0024     QString name() const override;
0025 
0026     QString guiString() const override;
0027 
0028     QString nameId() const override;
0029 
0030     QString version() const override;
0031 
0032     QString description() const override;
0033 
0034     QString copyrightYears() const override;
0035 
0036     QVector<PluginAuthor> pluginAuthors() const override;
0037 
0038     RoutingRunner *newRunner() const override;
0039 
0040     ConfigWidget* configWidget() override;
0041 
0042     bool supportsTemplate( RoutingProfilesModel::ProfileTemplate profileTemplate ) const override;
0043 
0044 };
0045 
0046 }
0047 
0048 #endif