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;
22class GattCharacteristicRemote;
23class GattDescriptorRemote;
24class Input;
25class GattManager;
26class LEAdvertisingManager;
27class Media;
28class MediaPlayer;
29class MediaTransport;
30class Agent;
31class ObexManager;
32class ObexSession;
33class ObexTransfer;
34class ObexFileTransfer;
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
58

source code of bluez-qt/src/types.h