File indexing completed on 2024-06-23 03:50:31

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 #include "PntRunner.h"
0007 
0008 namespace Marble
0009 {
0010 
0011 PntPlugin::PntPlugin( QObject *parent ) :
0012     ParseRunnerPlugin( parent )
0013 {
0014 }
0015 
0016 QString PntPlugin::name() const
0017 {
0018     return tr( "Pnt File Parser" );
0019 }
0020 
0021 QString PntPlugin::nameId() const
0022 {
0023     return QStringLiteral("Pnt");
0024 }
0025 
0026 QString PntPlugin::version() const
0027 {
0028     return QStringLiteral("1.0");
0029 }
0030 
0031 QString PntPlugin::description() const
0032 {
0033     return tr( "Create GeoDataDocument from Pnt Files" );
0034 }
0035 
0036 QString PntPlugin::copyrightYears() const
0037 {
0038     return QStringLiteral("2011");
0039 }
0040 
0041 QVector<PluginAuthor> PntPlugin::pluginAuthors() const
0042 {
0043     return QVector<PluginAuthor>()
0044             << PluginAuthor(QStringLiteral("Thibaut Gridel"), QStringLiteral("tgridel@free.fr"));
0045 }
0046 
0047 QString PntPlugin::fileFormatDescription() const
0048 {
0049     return tr( "Micro World Database II" );
0050 }
0051 
0052 QStringList PntPlugin::fileExtensions() const
0053 {
0054     return QStringList(QStringLiteral("pnt"));
0055 }
0056 
0057 ParsingRunner* PntPlugin::newRunner() const
0058 {
0059     return new PntRunner;
0060 }
0061 
0062 }
0063 
0064 #include "moc_PntPlugin.cpp"