| 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_RFKILL_P_H |
| 10 | #define BLUEZQT_RFKILL_P_H |
| 11 | |
| 12 | #include <QHash> |
| 13 | #include <QObject> |
| 14 | |
| 15 | #include "bluezqt_export.h" |
| 16 | #include "rfkill.h" |
| 17 | |
| 18 | namespace BluezQt |
| 19 | { |
| 20 | struct RfkillPrivate { |
| 21 | int m_readFd = -1; |
| 22 | int m_writeFd = -1; |
| 23 | Rfkill::State m_state = Rfkill::State::Unknown; |
| 24 | QHash<quint32, Rfkill::State> m_devices; |
| 25 | }; |
| 26 | } // namespace BluezQt |
| 27 | |
| 28 | #endif // BLUEZQT_RFKILL_P_H |
| 29 | |