File indexing completed on 2024-06-23 03:50:32

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2010 Dennis Nienhüser <nienhueser@kde.org>
0004 // SPDX-FileCopyrightText: 2016 Piotr Wójcik <chocimier@tlen.pl>
0005 //
0006 
0007 
0008 #ifndef MARBLE_YOURSPLUGIN_H
0009 #define MARBLE_YOURSPLUGIN_H
0010 
0011 #include "RoutingRunnerPlugin.h"
0012 
0013 namespace Marble
0014 {
0015 
0016 class YoursPlugin : public RoutingRunnerPlugin
0017 {
0018     Q_OBJECT
0019     Q_PLUGIN_METADATA(IID "org.kde.marble.YoursPlugin")
0020     Q_INTERFACES( Marble::RoutingRunnerPlugin )
0021 
0022 public:
0023     explicit YoursPlugin( QObject *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     RoutingRunner *newRunner() const override;
0040 
0041     ConfigWidget* configWidget() override;
0042 
0043     bool supportsTemplate(RoutingProfilesModel::ProfileTemplate profileTemplate) const override;
0044 
0045     QHash< QString, QVariant > templateSettings(RoutingProfilesModel::ProfileTemplate profileTemplate) const override;
0046 };
0047 
0048 }
0049 
0050 #endif