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

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2012 Cezar Mocan <mocancezar@gmail.com>
0004 
0005 #include "Pn2Plugin.h"
0006 #include "Pn2Runner.h"
0007 
0008 namespace Marble
0009 {
0010 
0011 Pn2Plugin::Pn2Plugin( QObject *parent ) :
0012     ParseRunnerPlugin( parent )
0013 {
0014 }
0015 
0016 QString Pn2Plugin::name() const
0017 {
0018     return tr( "Pn2 File Parser" );
0019 }
0020 
0021 QString Pn2Plugin::nameId() const
0022 {
0023     return QStringLiteral("Pn2");
0024 }
0025 
0026 QString Pn2Plugin::version() const
0027 {
0028     return QStringLiteral("1.0");
0029 }
0030 
0031 QString Pn2Plugin::description() const
0032 {
0033     return tr( "Create GeoDataDocument from Pn2 Files" );
0034 }
0035 
0036 QString Pn2Plugin::copyrightYears() const
0037 {
0038     return QStringLiteral("2012");
0039 }
0040 
0041 QVector<PluginAuthor> Pn2Plugin::pluginAuthors() const
0042 {
0043     return QVector<PluginAuthor>()
0044             << PluginAuthor(QStringLiteral("Cezar Mocan"), QStringLiteral("mocancezar@gmail.com"));
0045 }
0046 
0047 QString Pn2Plugin::fileFormatDescription() const
0048 {
0049     return tr( "Compressed Pnt" );
0050 }
0051 
0052 QStringList Pn2Plugin::fileExtensions() const
0053 {
0054     return QStringList(QStringLiteral("pn2"));
0055 }
0056 
0057 ParsingRunner* Pn2Plugin::newRunner() const
0058 {
0059     return new Pn2Runner;
0060 }
0061 
0062 }
0063 
0064 #include "moc_Pn2Plugin.cpp"