Debian Codegraph @

autotests/fakebluez/inputinterface.h

raw
1 /*
2 * SPDX-FileCopyrightText: 2015 David Rosca <[email protected]>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6
7 #ifndef INPUTINTERFACE_H
8 #define INPUTINTERFACE_H
9
10 #include "object.h"
11
12 #include <QDBusAbstractAdaptor>
13
14 class QDBusObjectPath;
15
16 class InputObject : public QObject
17 {
18 public:
19 explicit InputObject(const QDBusObjectPath &path, QObject *parent = nullptr);
20 };
21
22 class InputInterface : public QDBusAbstractAdaptor, public Object
23 {
24 Q_OBJECT
25 Q_CLASSINFO("D-Bus Interface", "org.bluez.Input1")
26 Q_PROPERTY(QString ReconnectMode READ reconnectMode)
27
28 public:
29 explicit InputInterface(const QDBusObjectPath &path, const QVariantMap &properties, QObject *parent = nullptr);
30
31 QString reconnectMode() const;
32 };
33
34 #endif // INPUTINTERFACE_H