BluezQt

objectmanageradaptor.h
1 /*
2  * BluezQt - Asynchronous Bluez wrapper library
3  *
4  * SPDX-FileCopyrightText: 2019 Manuel Weichselbaumer <[email protected]>
5  *
6  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7  */
8 
9 #pragma once
10 
11 #include <QDBusAbstractAdaptor>
12 
13 #include "bluezqt_dbustypes.h"
14 
15 namespace BluezQt
16 {
17 class GattApplication;
18 
19 class ObjectManagerAdaptor : public QDBusAbstractAdaptor
20 {
21  Q_OBJECT
22  Q_CLASSINFO("D-Bus Interface", "org.freedesktop.DBus.ObjectManager")
23 
24 public:
25  explicit ObjectManagerAdaptor(QObject *parent);
26 
27 public Q_SLOTS:
28  DBusManagerStruct GetManagedObjects();
29 
30 Q_SIGNALS:
31  void InterfacesAdded(const QDBusObjectPath &object, const QVariantMapMap &interfaces);
32  void InterfacesRemoved(const QDBusObjectPath &object, const QStringList &interfaces);
33 
34 private:
35  GattApplication *m_gattApplication = nullptr;
36 };
37 
38 } // namespace BluezQt
Q_OBJECTQ_OBJECT
Q_CLASSINFO(Name, Value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Sep 25 2022 04:19:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.