diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2018-07-25 13:26:48 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2018-08-03 08:32:25 +0000 |
commit | f1d00a83d12f27c37c20b6138f00ff82960018c1 (patch) | |
tree | 3045b0e10b06f6822d6a4982be9f24a6aaf0d505 /src/bluetooth/bluez/profile1_p.h | |
parent | 061b4afed568f279759c6da3b3ecd543d25941d2 (diff) |
Add new Profile1 Interface from Bluez DBus
This interface is added to the build but not yet functional in the library.
Task-number: QTBUG-68550
Change-Id: I59df7761dc02a6afe807a2bbd9377d94e0186784
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/bluetooth/bluez/profile1_p.h')
-rw-r--r-- | src/bluetooth/bluez/profile1_p.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/src/bluetooth/bluez/profile1_p.h b/src/bluetooth/bluez/profile1_p.h new file mode 100644 index 00000000..63ea40b8 --- /dev/null +++ b/src/bluetooth/bluez/profile1_p.h @@ -0,0 +1,67 @@ +/* + * This file was generated by qdbusxml2cpp version 0.8 + * Command line was: qdbusxml2cpp -p profile1_p.h:profile1.cpp org.bluez.Profile1.xml + * + * qdbusxml2cpp is Copyright (C) 2018 The Qt Company Ltd. + * + * This is an auto-generated file. + * Do not edit! All changes made to it will be lost. + */ + +#ifndef PROFILE1_P_H +#define PROFILE1_P_H + +#include <QtCore/QObject> +#include <QtCore/QByteArray> +#include <QtCore/QList> +#include <QtCore/QMap> +#include <QtCore/QString> +#include <QtCore/QStringList> +#include <QtCore/QVariant> +#include <QtDBus/QtDBus> + +/* + * Proxy class for interface org.bluez.Profile1 + */ +class OrgBluezProfile1Interface: public QDBusAbstractInterface +{ + Q_OBJECT +public: + static inline const char *staticInterfaceName() + { return "org.bluez.Profile1"; } + +public: + OrgBluezProfile1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); + + ~OrgBluezProfile1Interface(); + +public Q_SLOTS: // METHODS + inline QDBusPendingReply<> NewConnection(const QDBusObjectPath &in0, const QDBusUnixFileDescriptor &in1, const QVariantMap &in2) + { + QList<QVariant> argumentList; + argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1) << QVariant::fromValue(in2); + return asyncCallWithArgumentList(QStringLiteral("NewConnection"), argumentList); + } + + inline Q_NOREPLY void Release() + { + QList<QVariant> argumentList; + callWithArgumentList(QDBus::NoBlock, QStringLiteral("Release"), argumentList); + } + + inline QDBusPendingReply<> RequestDisconnection(const QDBusObjectPath &in0) + { + QList<QVariant> argumentList; + argumentList << QVariant::fromValue(in0); + return asyncCallWithArgumentList(QStringLiteral("RequestDisconnection"), argumentList); + } + +Q_SIGNALS: // SIGNALS +}; + +namespace org { + namespace bluez { + typedef ::OrgBluezProfile1Interface Profile1; + } +} +#endif |