1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Source file was org.bluez.LEAdvertisingManager1.xml
4 *
5 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
6 *
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
9 */
10
11#ifndef LEADVERTISINGMANAGER1_P_H
12#define LEADVERTISINGMANAGER1_P_H
13
14//
15// W A R N I N G
16// -------------
17//
18// This file is not part of the Qt API. It exists purely as an
19// implementation detail. This header file may change from version to
20// version without notice, or even be removed.
21//
22// We mean it.
23//
24
25#include <QtCore/QObject>
26#include <QtCore/QByteArray>
27#include <QtCore/QList>
28#include <QtCore/QMap>
29#include <QtCore/QString>
30#include <QtCore/QStringList>
31#include <QtCore/QVariant>
32#include <QtDBus/QtDBus>
33#include <QtCore/private/qglobal_p.h>
34
35namespace QtBluetoothPrivate {
36
37/*
38 * Proxy class for interface org.bluez.LEAdvertisingManager1
39 */
40class OrgBluezLEAdvertisingManager1Interface: public QDBusAbstractInterface
41{
42 Q_OBJECT
43public:
44 static inline const char *staticInterfaceName()
45 { return "org.bluez.LEAdvertisingManager1"; }
46
47public:
48 OrgBluezLEAdvertisingManager1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
49
50 ~OrgBluezLEAdvertisingManager1Interface();
51
52 Q_PROPERTY(uchar ActiveInstances READ activeInstances)
53 inline uchar activeInstances() const
54 { return qvariant_cast< uchar >(v: property(name: "ActiveInstances")); }
55
56 Q_PROPERTY(QStringList SupportedIncludes READ supportedIncludes)
57 inline QStringList supportedIncludes() const
58 { return qvariant_cast< QStringList >(v: property(name: "SupportedIncludes")); }
59
60 Q_PROPERTY(uchar SupportedInstances READ supportedInstances)
61 inline uchar supportedInstances() const
62 { return qvariant_cast< uchar >(v: property(name: "SupportedInstances")); }
63
64public Q_SLOTS: // METHODS
65 inline QDBusPendingReply<> RegisterAdvertisement(const QDBusObjectPath &advertisement, const QVariantMap &options)
66 {
67 QList<QVariant> argumentList;
68 argumentList << QVariant::fromValue(value: advertisement) << QVariant::fromValue(value: options);
69 return asyncCallWithArgumentList(QStringLiteral("RegisterAdvertisement"), args: argumentList);
70 }
71
72 inline QDBusPendingReply<> UnregisterAdvertisement(const QDBusObjectPath &advertisement)
73 {
74 QList<QVariant> argumentList;
75 argumentList << QVariant::fromValue(value: advertisement);
76 return asyncCallWithArgumentList(QStringLiteral("UnregisterAdvertisement"), args: argumentList);
77 }
78
79Q_SIGNALS: // SIGNALS
80};
81
82} // end of namespace QtBluetoothPrivate
83
84namespace org {
85 namespace bluez {
86 using LEAdvertisingManager1 = ::QtBluetoothPrivate::OrgBluezLEAdvertisingManager1Interface;
87 }
88}
89
90#endif
91

source code of qtconnectivity/src/bluetooth/bluez/leadvertisingmanager1_p.h