File indexing completed on 2024-04-28 03:50:32

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2012 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0004 
0005 #include "LogPlugin.h"
0006 #include "LogRunner.h"
0007 
0008 namespace Marble
0009 {
0010 
0011 LogfilePlugin::LogfilePlugin( QObject *parent ) :
0012     ParseRunnerPlugin( parent )
0013 {
0014 }
0015 
0016 QString LogfilePlugin::name() const
0017 {
0018     return tr( "TangoGPS Log File Parser" );
0019 }
0020 
0021 QString LogfilePlugin::nameId() const
0022 {
0023     return QStringLiteral("Log");
0024 }
0025 
0026 QString LogfilePlugin::version() const
0027 {
0028     return QStringLiteral("1.0");
0029 }
0030 
0031 QString LogfilePlugin::description() const
0032 {
0033     return tr( "Allows loading of TangoGPS log files." );
0034 }
0035 
0036 QString LogfilePlugin::copyrightYears() const
0037 {
0038     return QStringLiteral("2012");
0039 }
0040 
0041 QVector<PluginAuthor> LogfilePlugin::pluginAuthors() const
0042 {
0043     return QVector<PluginAuthor>()
0044             << PluginAuthor(QStringLiteral("Bernhard Beschow"), QStringLiteral("bbeschow@cs.tu-berlin.de"));
0045 }
0046 
0047 QString LogfilePlugin::fileFormatDescription() const
0048 {
0049     return tr( "TangoGPS Log Files" );
0050 }
0051 
0052 QStringList LogfilePlugin::fileExtensions() const
0053 {
0054     return QStringList(QStringLiteral("log"));
0055 }
0056 
0057 ParsingRunner* LogfilePlugin::newRunner() const
0058 {
0059     return new LogRunner;
0060 }
0061 
0062 }
0063 
0064 #include "moc_LogPlugin.cpp"