File indexing completed on 2024-04-28 15:17:53

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_INPUT_P_H
0010 #define BLUEZQT_INPUT_P_H
0011 
0012 #include <QObject>
0013 
0014 #include "input.h"
0015 
0016 namespace BluezQt
0017 {
0018 class InputPrivate : public QObject
0019 {
0020     Q_OBJECT
0021 
0022 public:
0023     explicit InputPrivate(const QString &path, const QVariantMap &properties);
0024 
0025     void propertiesChanged(const QString &interface, const QVariantMap &changed, const QStringList &invalidated);
0026 
0027     QWeakPointer<Input> q;
0028 
0029     QString m_path;
0030     Input::ReconnectMode m_reconnectMode;
0031 };
0032 
0033 } // namespace BluezQt
0034 
0035 #endif // BLUEZQT_INPUT_P_H