File indexing completed on 2025-01-05 03:59:27
0001 /* 0002 SPDX-License-Identifier: LGPL-2.1-or-later 0003 0004 SPDX-FileCopyrightText: 2013 Ander Pijoan <ander.pijoan@deusto.es> 0005 SPDX-FileCopyrightText: 2019 John Zaitseff <J.Zaitseff@zap.org.au> 0006 */ 0007 0008 #ifndef MARBLE_JSON_RUNNER_H 0009 #define MARBLE_JSON_RUNNER_H 0010 0011 #include "ParsingRunner.h" 0012 0013 namespace Marble 0014 { 0015 0016 class JsonRunner : public ParsingRunner 0017 { 0018 Q_OBJECT 0019 0020 public: 0021 0022 explicit JsonRunner(QObject *parent = nullptr); 0023 ~JsonRunner() override; 0024 0025 GeoDataDocument* parseFile(const QString &fileName, DocumentRole role, QString& error) override; 0026 }; 0027 0028 } 0029 0030 #endif // MARBLE_JSON_RUNNER_H