1 | /* |
2 | This file is part of KDE. |
3 | |
4 | SPDX-FileCopyrightText: 2008 Cornelius Schumacher <schumacher@kde.org> |
5 | |
6 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
7 | */ |
8 | |
9 | #ifndef ATTICA_MESSAGEPARSER_H |
10 | #define ATTICA_MESSAGEPARSER_H |
11 | |
12 | #include <QXmlStreamReader> |
13 | |
14 | #include "message.h" |
15 | #include "parser.h" |
16 | |
17 | namespace Attica |
18 | { |
19 | class Q_DECL_HIDDEN Message::Parser : public Attica::Parser<Message> |
20 | { |
21 | private: |
22 | Message parseXml(QXmlStreamReader &xml) override; |
23 | QStringList xmlElement() const override; |
24 | }; |
25 | |
26 | } |
27 | |
28 | #endif |
29 | |