Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/runner/json/JsonRunner.h
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | This file is part of the Marble Virtual Globe. | 2 | This file is part of the Marble Virtual Globe. | ||
3 | 3 | | |||
4 | This program is free software licensed under the GNU LGPL. You can | 4 | This program is free software licensed under the GNU LGPL. You can | ||
5 | find a copy of this license in LICENSE.txt in the top directory of | 5 | find a copy of this license in LICENSE.txt in the top directory of | ||
6 | the source code. | 6 | the source code. | ||
7 | 7 | | |||
8 | Copyright 2013 Ander Pijoan <ander.pijoan@deusto.es> | 8 | Copyright 2013 Ander Pijoan <ander.pijoan@deusto.es> | ||
9 | Copyright 2019 John Zaitseff <J.Zaitseff@zap.org.au> | ||||
9 | */ | 10 | */ | ||
10 | 11 | | |||
11 | #ifndef MARBLE_JSONRUNNER_H | 12 | #ifndef MARBLE_JSONRUNNER_H | ||
12 | #define MARBLE_JSONRUNNER_H | 13 | #define MARBLE_JSONRUNNER_H | ||
13 | 14 | | |||
14 | #include "ParsingRunner.h" | 15 | #include "ParsingRunner.h" | ||
15 | 16 | | |||
16 | namespace Marble | 17 | namespace Marble | ||
17 | { | 18 | { | ||
18 | 19 | | |||
19 | class JsonRunner : public ParsingRunner | 20 | class JsonRunner : public ParsingRunner | ||
20 | { | 21 | { | ||
21 | Q_OBJECT | 22 | Q_OBJECT | ||
22 | public: | 23 | public: | ||
23 | explicit JsonRunner(QObject *parent = nullptr); | 24 | explicit JsonRunner(QObject *parent = nullptr); | ||
24 | ~JsonRunner() override; | 25 | ~JsonRunner() override; | ||
25 | GeoDataDocument* parseFile( const QString &fileName, DocumentRole role, QString& error ) override; | 26 | GeoDataDocument* parseFile(const QString &fileName, DocumentRole role, QString& error) override; | ||
26 | }; | 27 | }; | ||
27 | 28 | | |||
28 | } | 29 | } | ||
30 | | ||||
29 | #endif // MARBLE_JSONRUNNER_H | 31 | #endif // MARBLE_JSONRUNNER_H |