BluezQt 5.109.0
gattapplication.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_GATTAPPLICATION_H
10#define BLUEZQT_GATTAPPLICATION_H
11
12#include <QObject>
13
14#include "bluezqt_export.h"
15
16class QDBusObjectPath;
17
18namespace BluezQt
19{
35class BLUEZQT_EXPORT GattApplication : public QObject
36{
37 Q_OBJECT
38
39public:
47 explicit GattApplication(QObject *parent = nullptr);
48
57 explicit GattApplication(const QString &objectPathPrefix, QObject *parent = nullptr);
58
62 ~GattApplication() override;
63
64private:
74 virtual QDBusObjectPath objectPath() const;
75
76 class GattApplicationPrivate *const d;
77
78 friend class GattManager;
79 friend class GattService;
80 friend class ObjectManagerAdaptor;
81};
82
83} // namespace BluezQt
84
85#endif
Bluetooth GattApplication.
Definition gattapplication.h:36
GattApplication(const QString &objectPathPrefix, QObject *parent=nullptr)
Creates a new GattApplication object with custom object path prefix.
~GattApplication() override
Destroys a GattApplication object.
GattApplication(QObject *parent=nullptr)
Creates a new GattApplication object with default object path prefix.
Bluetooth GattManager.
Definition gattmanager.h:45
Bluetooth GattService.
Definition gattservice.h:28