| 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_INPUT_P_H |
| 10 | #define BLUEZQT_INPUT_P_H |
| 11 | |
| 12 | #include <QObject> |
| 13 | |
| 14 | #include "input.h" |
| 15 | |
| 16 | namespace BluezQt |
| 17 | { |
| 18 | class InputPrivate : public QObject |
| 19 | { |
| 20 | Q_OBJECT |
| 21 | |
| 22 | public: |
| 23 | explicit InputPrivate(const QString &path, const QVariantMap &properties); |
| 24 | |
| 25 | void propertiesChanged(const QString &interface, const QVariantMap &changed, const QStringList &invalidated); |
| 26 | |
| 27 | QWeakPointer<Input> q; |
| 28 | |
| 29 | QString m_path; |
| 30 | Input::ReconnectMode m_reconnectMode; |
| 31 | }; |
| 32 | |
| 33 | } // namespace BluezQt |
| 34 | |
| 35 | #endif // BLUEZQT_INPUT_P_H |
| 36 | |