File indexing completed on 2024-09-08 06:38:32
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_RFKILL_P_H 0010 #define BLUEZQT_RFKILL_P_H 0011 0012 #include <QHash> 0013 #include <QObject> 0014 0015 #include "bluezqt_export.h" 0016 #include "rfkill.h" 0017 0018 namespace BluezQt 0019 { 0020 struct RfkillPrivate { 0021 int m_readFd = -1; 0022 int m_writeFd = -1; 0023 Rfkill::State m_state = Rfkill::State::Unknown; 0024 QHash<quint32, Rfkill::State> m_devices; 0025 }; 0026 } // namespace BluezQt 0027 0028 #endif // BLUEZQT_RFKILL_P_H