File indexing completed on 2024-09-15 06:28:41
0001 /* 0002 * BluezQt - Asynchronous BlueZ wrapper library 0003 * 0004 * SPDX-FileCopyrightText: 2015 David Rosca <nowrep@gmail.com> 0005 * 0006 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #ifndef BLUEZQT_TYPES_H 0010 #define BLUEZQT_TYPES_H 0011 0012 #include <QMap> 0013 #include <QSharedPointer> 0014 0015 namespace BluezQt 0016 { 0017 class Manager; 0018 class Adapter; 0019 class Battery; 0020 class Device; 0021 class GattServiceRemote; 0022 class GattCharacteristicRemote; 0023 class GattDescriptorRemote; 0024 class Input; 0025 class GattManager; 0026 class LEAdvertisingManager; 0027 class Media; 0028 class MediaPlayer; 0029 class MediaTransport; 0030 class Agent; 0031 class ObexManager; 0032 class ObexSession; 0033 class ObexTransfer; 0034 class ObexFileTransfer; 0035 0036 typedef QMap<uint16_t, QByteArray> ManData; 0037 0038 typedef QSharedPointer<BluezQt::Manager> ManagerPtr; 0039 typedef QSharedPointer<BluezQt::Adapter> AdapterPtr; 0040 typedef QSharedPointer<BluezQt::Battery> BatteryPtr; 0041 typedef QSharedPointer<BluezQt::Device> DevicePtr; 0042 typedef QSharedPointer<BluezQt::GattServiceRemote> GattServiceRemotePtr; 0043 typedef QSharedPointer<BluezQt::GattCharacteristicRemote> GattCharacteristicRemotePtr; 0044 typedef QSharedPointer<BluezQt::GattDescriptorRemote> GattDescriptorRemotePtr; 0045 typedef QSharedPointer<BluezQt::Input> InputPtr; 0046 typedef QSharedPointer<BluezQt::GattManager> GattManagerPtr; 0047 typedef QSharedPointer<BluezQt::LEAdvertisingManager> LEAdvertisingManagerPtr; 0048 typedef QSharedPointer<BluezQt::Media> MediaPtr; 0049 typedef QSharedPointer<BluezQt::MediaPlayer> MediaPlayerPtr; 0050 typedef QSharedPointer<BluezQt::MediaTransport> MediaTransportPtr; 0051 typedef QSharedPointer<BluezQt::ObexManager> ObexManagerPtr; 0052 typedef QSharedPointer<BluezQt::ObexSession> ObexSessionPtr; 0053 typedef QSharedPointer<BluezQt::ObexTransfer> ObexTransferPtr; 0054 0055 } // namespace BluezQt 0056 0057 #endif // BLUEZQT_TYPES_H