Debian Codegraph @

src/mediaendpointadaptor.h

raw
1 /*
2 * BluezQt - Asynchronous Bluez wrapper library
3 *
4 * SPDX-FileCopyrightText: 2018 Manuel Weichselbaumer <[email protected]>
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
14 class QDBusMessage;
15 class QDBusObjectPath;
16
17 namespace BluezQt
18 {
19 class MediaEndpoint;
20
21 class MediaEndpointAdaptor : public QDBusAbstractAdaptor
22 {
23 Q_OBJECT
24 Q_CLASSINFO("D-Bus Interface", "org.bluez.MediaEndpoint1")
25
26 public:
27 explicit MediaEndpointAdaptor(MediaEndpoint *parent);
28
29 public 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
35 private:
36 MediaEndpoint *m_endpoint;
37 };
38
39 } // namespace BluezQt
40
41 #endif // BLUEZQT_MEDIAENDPOINTADAPTOR_H