Marble

ParsingRunner.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2010 Dennis Nienhüser <nienhueser@kde.org>
4// SPDX-FileCopyrightText: 2011 Thibaut Gridel <tgridel@free.fr>
5// SPDX-FileCopyrightText: 2012 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
6
7#ifndef MARBLE_PARSINGRUNNER_H
8#define MARBLE_PARSINGRUNNER_H
9
10#include "marble_export.h"
11#include <QObject>
12
13#include "GeoDataDocument.h"
14
15namespace Marble
16{
17
18class MARBLE_EXPORT ParsingRunner : public QObject
19{
20 Q_OBJECT
21
22public:
23 explicit ParsingRunner(QObject *parent = nullptr);
24
25 /**
26 * Start a file parsing.
27 * If implemented in a plugin, make sure to include Parsing in the
28 * plugin capabilities, otherwise MarbleRunnerManager will ignore the plugin
29 */
30 virtual GeoDataDocument *parseFile(const QString &fileName, DocumentRole role, QString &error) = 0;
31};
32
33}
34
35#endif
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.