BluezQt

objectmanageradaptor.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_OBJECTMANAGERADAPTOR_H
10#define BLUEZQT_OBJECTMANAGERADAPTOR_H
11
12#include <QDBusAbstractAdaptor>
13
14#include "bluezqt_dbustypes.h"
15
16namespace BluezQt
17{
18class GattApplication;
19
20class ObjectManagerAdaptor : public QDBusAbstractAdaptor
21{
23 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.DBus.ObjectManager")
24
25public:
26 explicit ObjectManagerAdaptor(QObject *parent);
27
28public Q_SLOTS:
29 DBusManagerStruct GetManagedObjects();
30
32 void InterfacesAdded(const QDBusObjectPath &object, const QVariantMapMap &interfaces);
33 void InterfacesRemoved(const QDBusObjectPath &object, const QStringList &interfaces);
34
35private:
36 GattApplication *m_gattApplication = nullptr;
37};
38
39} // namespace BluezQt
40
41#endif
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.