File indexing completed on 2024-12-01 03:37:33
0001 /* 0002 This file is part of KDE. 0003 0004 SPDX-FileCopyrightText: 2011 Laszlo Papp <djszapi@archlinux.us> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #ifndef ATTICA_ACHIEVEMENTPARSER_H 0010 #define ATTICA_ACHIEVEMENTPARSER_H 0011 0012 #include "achievement.h" 0013 #include "parser.h" 0014 0015 namespace Attica 0016 { 0017 class Q_DECL_HIDDEN Achievement::Parser : public Attica::Parser<Achievement> 0018 { 0019 private: 0020 Achievement parseXml(QXmlStreamReader &xml) override; 0021 QStringList parseXmlOptions(QXmlStreamReader &xml); 0022 QStringList parseXmlDependencies(QXmlStreamReader &xml); 0023 QVariant parseXmlProgress(QXmlStreamReader &xml); 0024 QStringList xmlElement() const override; 0025 }; 0026 0027 } 0028 0029 #endif