File indexing completed on 2024-07-21 06:33:40

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2010 Dennis Nienhüser <nienhueser@kde.org>
0004 //
0005 
0006 
0007 #ifndef MARBLE_ROUTINOPLUGIN_H
0008 #define MARBLE_ROUTINOPLUGIN_H
0009 
0010 #include "RoutingRunnerPlugin.h"
0011 
0012 namespace Marble
0013 {
0014 
0015 class RoutinoPlugin : public RoutingRunnerPlugin
0016 {
0017     Q_OBJECT
0018     Q_PLUGIN_METADATA(IID "org.kde.marble.RoutinoPlugin")
0019     Q_INTERFACES( Marble::RoutingRunnerPlugin )
0020 
0021 public:
0022     explicit RoutinoPlugin( 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     QHash< QString, QVariant > templateSettings(RoutingProfilesModel::ProfileTemplate profileTemplate) const override;
0045 
0046     bool canWork() const override;
0047 };
0048 
0049 }
0050 
0051 #endif