KOSMIndoorMap

mapcssparser.h
1/*
2 SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KOSMINDOORMAP_MAPCSSPARSER_H
8#define KOSMINDOORMAP_MAPCSSPARSER_H
9
10#include "kosmindoormap_export.h"
11
12#include <memory>
13
14class QString;
15
16namespace KOSMIndoorMap {
17
18class MapCSSParserPrivate;
19class MapCSSStyle;
20class MapCSSRule;
21
22/** MapCSS parser. */
23class KOSMINDOORMAP_EXPORT MapCSSParser
24{
25public:
26 explicit MapCSSParser();
28
29 MapCSSStyle parse(const QString &fileName);
30
31 [[nodiscard]] bool hasError() const;
32 [[nodiscard]] QString fileName() const;
33 [[nodiscard]] QString errorMessage() const;
34
35private:
36 friend class MapCSSParserPrivate;
37 std::unique_ptr<MapCSSParserPrivate> d;
38};
39
40}
41
42#endif // KOSMINDOORMAP_MAPCSSPARSER_H
A parsed MapCSS style sheet.
Definition mapcssstyle.h:33
OSM-based multi-floor indoor maps for buildings.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.