File indexing completed on 2024-05-05 03:50:58

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