Debian Codegraph @

tools/bluezapi2qt/Properties.h

raw
1 /*
2 * BluezQt - Asynchronous BlueZ wrapper library
3 *
4 * SPDX-FileCopyrightText: 2019 Manuel Weichselbaumer <[email protected]>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9 #ifndef PROPERTIES_H
10 #define PROPERTIES_H
11
12 #include "Property.h"
13
14 #include <list>
15
16 class Properties
17 {
18 public:
19 Properties();
20
21 void parse(const QString &line);
22 bool finalize();
23
24 std::list<Property> properties() const;
25
26 private:
27 std::list<Property> m_properties;
28 Property *m_currentProperty = nullptr;
29 };
30
31 #endif // PROPERTIES_H