File indexing completed on 2024-09-15 03:35:57
0001 /* 0002 * SPDX-FileCopyrightText: 2015 David Rosca <nowrep@gmail.com> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef INPUTINTERFACE_H 0008 #define INPUTINTERFACE_H 0009 0010 #include "object.h" 0011 0012 #include <QDBusAbstractAdaptor> 0013 0014 class QDBusObjectPath; 0015 0016 class InputObject : public QObject 0017 { 0018 public: 0019 explicit InputObject(const QDBusObjectPath &path, QObject *parent = nullptr); 0020 }; 0021 0022 class InputInterface : public QDBusAbstractAdaptor, public Object 0023 { 0024 Q_OBJECT 0025 Q_CLASSINFO("D-Bus Interface", "org.bluez.Input1") 0026 Q_PROPERTY(QString ReconnectMode READ reconnectMode) 0027 0028 public: 0029 explicit InputInterface(const QDBusObjectPath &path, const QVariantMap &properties, QObject *parent = nullptr); 0030 0031 QString reconnectMode() const; 0032 }; 0033 0034 #endif // INPUTINTERFACE_H