BluezQt

gattserviceadaptor.cpp
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#include "gattserviceadaptor.h"
10
11#include "gattservice.h"
12#include "request.h"
13
14#include <QDBusObjectPath>
15
16namespace BluezQt
17{
18GattServiceAdaptor::GattServiceAdaptor(GattService *parent)
19 : QDBusAbstractAdaptor(parent)
20 , m_gattService(parent)
21{
22}
23
24QString GattServiceAdaptor::uuid() const
25{
26 return m_gattService->uuid();
27}
28
29bool GattServiceAdaptor::primary() const
30{
31 return m_gattService->isPrimary();
32}
33
34} // namespace BluezQt
35
36#include "moc_gattserviceadaptor.cpp"
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:00:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.