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 BLUEZQT_GATTSERVICEADAPTOR_H
10#define BLUEZQT_GATTSERVICEADAPTOR_H
11
12#include <QDBusAbstractAdaptor>
13
14namespace BluezQt
15{
16class GattService;
17
18class GattServiceAdaptor : public QDBusAbstractAdaptor
19{
20 Q_OBJECT
21 Q_CLASSINFO("D-Bus Interface", "org.bluez.GattService1")
22 Q_PROPERTY(QString UUID READ uuid)
23 Q_PROPERTY(bool Primary READ primary)
24
25public:
26 explicit GattServiceAdaptor(GattService *parent);
27
28 QString uuid() const;
29
30 bool primary() const;
31
32private:
33 GattService *m_gattService;
34};
35
36} // namespace BluezQt
37
38#endif
39

source code of bluez-qt/src/gattserviceadaptor.h