1 | /* |
2 | * This file was generated by qdbusxml2cpp version 0.8 |
3 | * Command line was: qdbusxml2cpp -I QtCore/private/qglobal_p.h -p leadvertisingmanager1_p.h:leadvertisingmanager1.cpp org.bluez.LEAdvertisingManager1.xml --moc |
4 | * |
5 | * qdbusxml2cpp is Copyright (C) 2022 The Qt Company Ltd. |
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 | |
35 | /* |
36 | * Proxy class for interface org.bluez.LEAdvertisingManager1 |
37 | */ |
38 | class OrgBluezLEAdvertisingManager1Interface: public QDBusAbstractInterface |
39 | { |
40 | Q_OBJECT |
41 | public: |
42 | static inline const char *staticInterfaceName() |
43 | { return "org.bluez.LEAdvertisingManager1" ; } |
44 | |
45 | public: |
46 | OrgBluezLEAdvertisingManager1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); |
47 | |
48 | ~OrgBluezLEAdvertisingManager1Interface(); |
49 | |
50 | Q_PROPERTY(uchar ActiveInstances READ activeInstances) |
51 | inline uchar activeInstances() const |
52 | { return qvariant_cast< uchar >(v: property(name: "ActiveInstances" )); } |
53 | |
54 | Q_PROPERTY(QStringList SupportedIncludes READ supportedIncludes) |
55 | inline QStringList supportedIncludes() const |
56 | { return qvariant_cast< QStringList >(v: property(name: "SupportedIncludes" )); } |
57 | |
58 | Q_PROPERTY(uchar SupportedInstances READ supportedInstances) |
59 | inline uchar supportedInstances() const |
60 | { return qvariant_cast< uchar >(v: property(name: "SupportedInstances" )); } |
61 | |
62 | public Q_SLOTS: // METHODS |
63 | inline QDBusPendingReply<> RegisterAdvertisement(const QDBusObjectPath &advertisement, const QVariantMap &options) |
64 | { |
65 | QList<QVariant> argumentList; |
66 | argumentList << QVariant::fromValue(value: advertisement) << QVariant::fromValue(value: options); |
67 | return asyncCallWithArgumentList(QStringLiteral("RegisterAdvertisement" ), args: argumentList); |
68 | } |
69 | |
70 | inline QDBusPendingReply<> UnregisterAdvertisement(const QDBusObjectPath &advertisement) |
71 | { |
72 | QList<QVariant> argumentList; |
73 | argumentList << QVariant::fromValue(value: advertisement); |
74 | return asyncCallWithArgumentList(QStringLiteral("UnregisterAdvertisement" ), args: argumentList); |
75 | } |
76 | |
77 | Q_SIGNALS: // SIGNALS |
78 | }; |
79 | |
80 | namespace org { |
81 | namespace bluez { |
82 | using LEAdvertisingManager1 = ::OrgBluezLEAdvertisingManager1Interface; |
83 | } |
84 | } |
85 | #endif |
86 | |