// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #ifndef PARSER_H #define PARSER_H #include #include #include #include class ContentHandler; class Parser : public QXmlSimpleReader { public: Parser(); ~Parser(); bool parseFile(QFile *file); QString result() const; QString errorMsg() const; private: ContentHandler *handler; }; #endif