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 | |
15 | namespace BluezQt |
16 | { |
17 | class Manager; |
18 | class Adapter; |
19 | class Battery; |
20 | class Device; |
21 | class GattServiceRemote; |
22 | class GattCharacteristicRemote; |
23 | class GattDescriptorRemote; |
24 | class Input; |
25 | class GattManager; |
26 | class LEAdvertisingManager; |
27 | class Media; |
28 | class MediaPlayer; |
29 | class MediaTransport; |
30 | class Agent; |
31 | class ObexManager; |
32 | class ObexSession; |
33 | class ; |
34 | class ObexFileTransfer; |
35 | |
36 | typedef QMap<uint16_t, QByteArray> ManData; |
37 | |
38 | typedef QSharedPointer<BluezQt::Manager> ManagerPtr; |
39 | typedef QSharedPointer<BluezQt::Adapter> AdapterPtr; |
40 | typedef QSharedPointer<BluezQt::Battery> BatteryPtr; |
41 | typedef QSharedPointer<BluezQt::Device> DevicePtr; |
42 | typedef QSharedPointer<BluezQt::GattServiceRemote> GattServiceRemotePtr; |
43 | typedef QSharedPointer<BluezQt::GattCharacteristicRemote> GattCharacteristicRemotePtr; |
44 | typedef QSharedPointer<BluezQt::GattDescriptorRemote> GattDescriptorRemotePtr; |
45 | typedef QSharedPointer<BluezQt::Input> InputPtr; |
46 | typedef QSharedPointer<BluezQt::GattManager> GattManagerPtr; |
47 | typedef QSharedPointer<BluezQt::LEAdvertisingManager> LEAdvertisingManagerPtr; |
48 | typedef QSharedPointer<BluezQt::Media> MediaPtr; |
49 | typedef QSharedPointer<BluezQt::MediaPlayer> MediaPlayerPtr; |
50 | typedef QSharedPointer<BluezQt::MediaTransport> MediaTransportPtr; |
51 | typedef QSharedPointer<BluezQt::ObexManager> ObexManagerPtr; |
52 | typedef QSharedPointer<BluezQt::ObexSession> ObexSessionPtr; |
53 | typedef QSharedPointer<BluezQt::ObexTransfer> ; |
54 | |
55 | } // namespace BluezQt |
56 | |
57 | #endif // BLUEZQT_TYPES_H |
58 | |