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

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2011 Thibaut Gridel <tgridel@free.fr>
0004 
0005 #ifndef MARBLE_GPX_PLUGIN_H
0006 #define MARBLE_GPX_PLUGIN_H
0007 
0008 #include "ParseRunnerPlugin.h"
0009 
0010 namespace Marble
0011 {
0012 
0013 class GpxPlugin : public ParseRunnerPlugin
0014 {
0015     Q_OBJECT
0016     Q_PLUGIN_METADATA(IID "org.kde.marble.GpxPlugin")
0017     Q_INTERFACES( Marble::ParseRunnerPlugin )
0018 
0019 public:
0020 
0021     explicit GpxPlugin( QObject* const parent = nullptr );
0022 
0023     QString name() const override;
0024 
0025     QString nameId() const override;
0026 
0027     QString version() const override;
0028 
0029     QString description() const override;
0030 
0031     QString copyrightYears() const override;
0032 
0033     QVector<PluginAuthor> pluginAuthors() const override;
0034 
0035     QString fileFormatDescription() const override;
0036 
0037     QStringList fileExtensions() const override;
0038 
0039     ParsingRunner* newRunner() const override;
0040 };
0041 
0042 } // namespace Marble
0043 
0044 #endif // MARBLE_GPX_PLUGIN_H