File indexing completed on 2024-07-14 07:23:06

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