Debian Codegraph @

autotests/fakebluez/obexclient.h

raw
1 /*
2 * SPDX-FileCopyrightText: 2014-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 OBEXCLIENT_H
8 #define OBEXCLIENT_H
9
10 #include "object.h"
11
12 #include <QDBusAbstractAdaptor>
13
14 class QDBusMessage;
15
16 class ObexClient : public QDBusAbstractAdaptor, public Object
17 {
18 Q_OBJECT
19 Q_CLASSINFO("D-Bus Interface", "org.bluez.obex.Client1")
20
21 public:
22 explicit ObexClient(QObject *parent = nullptr);
23
24 void runAction(const QString &actionName, const QVariantMap &properties);
25
26 public Q_SLOTS:
27 void CreateSession(const QString &destination, const QVariantMap &args, const QDBusMessage &msg);
28 void RemoveSession(const QDBusObjectPath &session, const QDBusMessage &msg);
29 };
30
31 #endif // OBEXCLIENT_H