File indexing completed on 2025-01-05 03:59:27
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2011 Thibaut Gridel <tgridel@free.fr> 0004 0005 #ifndef MARBLE_KML_PARSER_H 0006 #define MARBLE_KML_PARSER_H 0007 0008 #include "GeoParser.h" 0009 0010 namespace Marble 0011 { 0012 0013 class KmlParser : public GeoParser 0014 { 0015 public: 0016 0017 KmlParser(); 0018 ~KmlParser() override; 0019 0020 private: 0021 0022 bool isValidElement(const QString& tagName) const override; 0023 bool isValidRootElement() override; 0024 0025 GeoDocument* createDocument() const override; 0026 }; 0027 0028 } 0029 0030 #endif // MARBLE_KML_PARSER_H