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

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2011 Thibaut Gridel <tgridel@free.fr>
0004 
0005 #include "PntPlugin.h"
0006 
0007 #include <klocalizedstring.h>
0008 
0009 #include "PntRunner.h"
0010 
0011 namespace Marble
0012 {
0013 
0014 PntPlugin::PntPlugin(QObject * const parent)
0015     : ParseRunnerPlugin(parent)
0016 {
0017 }
0018 
0019 QString PntPlugin::name() const
0020 {
0021     return i18n( "Pnt File Parser" );
0022 }
0023 
0024 QString PntPlugin::nameId() const
0025 {
0026     return QStringLiteral("Pnt");
0027 }
0028 
0029 QString PntPlugin::version() const
0030 {
0031     return QStringLiteral("1.0");
0032 }
0033 
0034 QString PntPlugin::description() const
0035 {
0036     return i18n( "A plugin to load Geolocation Data from the Micro World Database II Files format" );
0037 }
0038 
0039 QString PntPlugin::copyrightYears() const
0040 {
0041     return QStringLiteral("2011");
0042 }
0043 
0044 QVector<PluginAuthor> PntPlugin::pluginAuthors() const
0045 {
0046     return QVector<PluginAuthor>()
0047             << PluginAuthor(QStringLiteral("Thibaut Gridel"), QStringLiteral("tgridel@free.fr"));
0048 }
0049 
0050 QString PntPlugin::fileFormatDescription() const
0051 {
0052     return i18n( "Micro World Database II" );
0053 }
0054 
0055 QStringList PntPlugin::fileExtensions() const
0056 {
0057     return QStringList(QStringLiteral("pnt"));
0058 }
0059 
0060 ParsingRunner* PntPlugin::newRunner() const
0061 {
0062     return new PntRunner;
0063 }
0064 
0065 } // namespace Marble
0066 
0067 #include "moc_PntPlugin.cpp"