BluezQt

types.h
1/*
2 * BluezQt - Asynchronous BlueZ wrapper library
3 *
4 * SPDX-FileCopyrightText: 2015 David Rosca <nowrep@gmail.com>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9#ifndef BLUEZQT_TYPES_H
10#define BLUEZQT_TYPES_H
11
12#include <QMap>
13#include <QSharedPointer>
14
15namespace BluezQt
16{
17class Manager;
18class Adapter;
19class Battery;
20class Device;
21class GattServiceRemote;
24class Input;
25class GattManager;
27class Media;
28class MediaPlayer;
29class MediaTransport;
30class Agent;
31class ObexManager;
32class ObexSession;
33class ObexTransfer;
35
36typedef QMap<uint16_t, QByteArray> ManData;
37
38typedef QSharedPointer<BluezQt::Manager> ManagerPtr;
39typedef QSharedPointer<BluezQt::Adapter> AdapterPtr;
40typedef QSharedPointer<BluezQt::Battery> BatteryPtr;
41typedef QSharedPointer<BluezQt::Device> DevicePtr;
42typedef QSharedPointer<BluezQt::GattServiceRemote> GattServiceRemotePtr;
43typedef QSharedPointer<BluezQt::GattCharacteristicRemote> GattCharacteristicRemotePtr;
44typedef QSharedPointer<BluezQt::GattDescriptorRemote> GattDescriptorRemotePtr;
45typedef QSharedPointer<BluezQt::Input> InputPtr;
46typedef QSharedPointer<BluezQt::GattManager> GattManagerPtr;
47typedef QSharedPointer<BluezQt::LEAdvertisingManager> LEAdvertisingManagerPtr;
48typedef QSharedPointer<BluezQt::Media> MediaPtr;
49typedef QSharedPointer<BluezQt::MediaPlayer> MediaPlayerPtr;
50typedef QSharedPointer<BluezQt::MediaTransport> MediaTransportPtr;
51typedef QSharedPointer<BluezQt::ObexManager> ObexManagerPtr;
52typedef QSharedPointer<BluezQt::ObexSession> ObexSessionPtr;
53typedef QSharedPointer<BluezQt::ObexTransfer> ObexTransferPtr;
54
55} // namespace BluezQt
56
57#endif // BLUEZQT_TYPES_H
Bluetooth adapter.
Definition adapter.h:34
Bluetooth agent.
Definition agent.h:37
Device battery.
Definition battery.h:29
Bluetooth device.
Definition device.h:32
Bluetooth LE GATT characteristic.
Bluetooth LE GATT descriptor.
Bluetooth GattManager.
Definition gattmanager.h:47
Device input.
Definition input.h:29
Bluetooth LE advertising manager.
Bluetooth manager.
Definition manager.h:80
Media player.
Definition mediaplayer.h:32
Bluetooth Media.
Definition media.h:41
OBEX manager.
Definition obexmanager.h:40
OBEX session.
Definition obexsession.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.