BluezQt

gattserviceadaptor.h
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{
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
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.