1/*
2 * BluezQt - Asynchronous BlueZ wrapper library
3 *
4 * SPDX-FileCopyrightText: 2019 Manuel Weichselbaumer <mincequi@web.de>
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
16class Properties
17{
18public:
19 Properties();
20
21 void parse(const QString &line);
22 bool finalize();
23
24 std::list<Property> properties() const;
25
26private:
27 std::list<Property> m_properties;
28 Property *m_currentProperty = nullptr;
29};
30
31#endif // PROPERTIES_H
32

source code of bluez-qt/tools/bluezapi2qt/Properties.h