1/*
2 * BluezQt - Asynchronous Bluez wrapper library
3 *
4 * SPDX-FileCopyrightText: 2018 Manuel Weichselbaumer <mincequi@web.de>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9#ifndef BLUEZQT_MEDIAENDPOINTADAPTOR_H
10#define BLUEZQT_MEDIAENDPOINTADAPTOR_H
11
12#include <QDBusAbstractAdaptor>
13
14class QDBusMessage;
15class QDBusObjectPath;
16
17namespace BluezQt
18{
19class MediaEndpoint;
20
21class MediaEndpointAdaptor : public QDBusAbstractAdaptor
22{
23 Q_OBJECT
24 Q_CLASSINFO("D-Bus Interface", "org.bluez.MediaEndpoint1")
25
26public:
27 explicit MediaEndpointAdaptor(MediaEndpoint *parent);
28
29public Q_SLOTS:
30 void SetConfiguration(const QDBusObjectPath &transport, const QVariantMap &properties);
31 QByteArray SelectConfiguration(const QByteArray &capabilities, const QDBusMessage &msg);
32 void ClearConfiguration(const QDBusObjectPath &transport);
33 Q_NOREPLY void Release();
34
35private:
36 MediaEndpoint *m_endpoint;
37};
38
39} // namespace BluezQt
40
41#endif // BLUEZQT_MEDIAENDPOINTADAPTOR_H
42

source code of bluez-qt/src/mediaendpointadaptor.h