BluezQt 5.109.0
gattmanager.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_GATTMANAGER_H
10#define BLUEZQT_GATTMANAGER_H
11
12#include <QObject>
13
14#include "bluezqt_export.h"
15
16namespace BluezQt
17{
18class GattApplication;
19class PendingCall;
20
44class BLUEZQT_EXPORT GattManager : public QObject
45{
46 Q_OBJECT
47
48public:
52 ~GattManager() override;
53
70
84
85private:
86 BLUEZQT_NO_EXPORT explicit GattManager(const QString &path, QObject *parent = nullptr);
87
88 class GattManagerPrivate *const d;
89
90 friend class AdapterPrivate;
91};
92
93} // namespace BluezQt
94
95#endif
Bluetooth GattApplication.
Definition gattapplication.h:36
Bluetooth GattManager.
Definition gattmanager.h:45
~GattManager() override
Destroys a GattManager object.
PendingCall * registerApplication(GattApplication *application)
Registers a local GATT services hierarchy as described above (GATT Server) and/or GATT profiles (GATT...
PendingCall * unregisterApplication(GattApplication *application)
This unregisters the services that has been previously registered.
Pending method call.
Definition pendingcall.h:33