File indexing completed on 2024-05-05 16:03:10
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_JSONPLUGIN_H 0009 #define MARBLE_JSONPLUGIN_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 explicit JsonPlugin( QObject *parent = nullptr ); 0024 0025 QString name() const override; 0026 0027 QString nameId() const override; 0028 0029 QString version() const override; 0030 0031 QString description() const override; 0032 0033 QString copyrightYears() const override; 0034 0035 QVector<PluginAuthor> pluginAuthors() const override; 0036 0037 QString fileFormatDescription() const override; 0038 0039 QStringList fileExtensions() const override; 0040 0041 ParsingRunner* newRunner() const override; 0042 }; 0043 0044 } 0045 0046 #endif