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

0001 /*
0002     SPDX-License-Identifier: LGPL-2.1-or-later
0003 
0004     SPDX-FileCopyrightText: 2013 Ander Pijoan <ander.pijoan@deusto.es>
0005     SPDX-FileCopyrightText: 2019 John Zaitseff <J.Zaitseff@zap.org.au>
0006 */
0007 
0008 #ifndef MARBLE_JSON_PLUGIN_H
0009 #define MARBLE_JSON_PLUGIN_H
0010 
0011 #include "ParseRunnerPlugin.h"
0012 
0013 namespace Marble
0014 {
0015 
0016 class JsonPlugin : public ParseRunnerPlugin
0017 {
0018     Q_OBJECT
0019     Q_PLUGIN_METADATA(IID "org.kde.marble.JsonPlugin")
0020     Q_INTERFACES( Marble::ParseRunnerPlugin )
0021 
0022 public:
0023 
0024     explicit JsonPlugin(QObject* const parent = nullptr);
0025 
0026     QString name() 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     QString fileFormatDescription() const override;
0039 
0040     QStringList fileExtensions() const override;
0041 
0042     ParsingRunner* newRunner() const override;
0043 };
0044 
0045 } // namespace Marble
0046 
0047 #endif