File indexing completed on 2024-04-28 15:22:05
0001 /* 0002 * This file was generated by dbusxml2cpp version 0.6 0003 * Command line was: dbusxml2cpp -m -p avahi_entrygroup_interface /home/qba/src/kdelibs/dnssd/org.freedesktop.Avahi.EntryGroup.xml 0004 * 0005 * dbusxml2cpp is Copyright (C) 2006 Trolltech ASA. All rights reserved. 0006 * 0007 * This is an auto-generated file. 0008 * Do not edit! All changes made to it will be lost. 0009 */ 0010 0011 #ifndef AVAHI_ENTRYGROUP_INTERFACE_H_1175536773 0012 #define AVAHI_ENTRYGROUP_INTERFACE_H_1175536773 0013 0014 #include <QDBusAbstractInterface> 0015 #include <QDBusConnection> 0016 #include <QDBusReply> 0017 #include <QList> 0018 #include <QMap> 0019 #include <QObject> 0020 #include <QString> 0021 #include <QStringList> 0022 #include <QVariant> 0023 0024 /* 0025 * Proxy class for interface org.freedesktop.Avahi.EntryGroup 0026 */ 0027 class OrgFreedesktopAvahiEntryGroupInterface : public QDBusAbstractInterface 0028 { 0029 Q_OBJECT 0030 public: 0031 static inline const char *staticInterfaceName() 0032 { 0033 return "org.freedesktop.Avahi.EntryGroup"; 0034 } 0035 0036 public: 0037 OrgFreedesktopAvahiEntryGroupInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); 0038 0039 ~OrgFreedesktopAvahiEntryGroupInterface() override; 0040 0041 public Q_SLOTS: // METHODS 0042 inline QDBusReply<void> AddAddress(int interface, int protocol, uint flags, const QString &name, const QString &address) 0043 { 0044 QList<QVariant> argumentList; 0045 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) 0046 << QVariant::fromValue(address); 0047 return callWithArgumentList(QDBus::Block, QLatin1String("AddAddress"), argumentList); 0048 } 0049 0050 inline QDBusReply<void> 0051 AddRecord(int interface, int protocol, uint flags, const QString &name, ushort clazz, ushort type, uint ttl, const QByteArray &rdata) 0052 { 0053 QList<QVariant> argumentList; 0054 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) 0055 << QVariant::fromValue(clazz) << QVariant::fromValue(type) << QVariant::fromValue(ttl) << QVariant::fromValue(rdata); 0056 return callWithArgumentList(QDBus::Block, QLatin1String("AddRecord"), argumentList); 0057 } 0058 0059 inline QDBusReply<void> AddService(int interface, 0060 int protocol, 0061 uint flags, 0062 const QString &name, 0063 const QString &type, 0064 const QString &domain, 0065 const QString &host, 0066 ushort port, 0067 const QList<QByteArray> &txt) 0068 { 0069 QList<QVariant> argumentList; 0070 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) 0071 << QVariant::fromValue(type) << QVariant::fromValue(domain) << QVariant::fromValue(host) << QVariant::fromValue(port) 0072 << QVariant::fromValue(txt); 0073 return callWithArgumentList(QDBus::Block, QLatin1String("AddService"), argumentList); 0074 } 0075 0076 inline QDBusReply<void> 0077 AddServiceSubtype(int interface, int protocol, uint flags, const QString &name, const QString &type, const QString &domain, const QString &subtype) 0078 { 0079 QList<QVariant> argumentList; 0080 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) 0081 << QVariant::fromValue(type) << QVariant::fromValue(domain) << QVariant::fromValue(subtype); 0082 return callWithArgumentList(QDBus::Block, QLatin1String("AddServiceSubtype"), argumentList); 0083 } 0084 0085 inline QDBusReply<void> Commit() 0086 { 0087 QList<QVariant> argumentList; 0088 return callWithArgumentList(QDBus::Block, QLatin1String("Commit"), argumentList); 0089 } 0090 0091 inline QDBusReply<void> Free() 0092 { 0093 QList<QVariant> argumentList; 0094 return callWithArgumentList(QDBus::Block, QLatin1String("Free"), argumentList); 0095 } 0096 0097 inline QDBusReply<int> GetState() 0098 { 0099 QList<QVariant> argumentList; 0100 return callWithArgumentList(QDBus::Block, QLatin1String("GetState"), argumentList); 0101 } 0102 0103 inline QDBusReply<bool> IsEmpty() 0104 { 0105 QList<QVariant> argumentList; 0106 return callWithArgumentList(QDBus::Block, QLatin1String("IsEmpty"), argumentList); 0107 } 0108 0109 inline QDBusReply<void> Reset() 0110 { 0111 QList<QVariant> argumentList; 0112 return callWithArgumentList(QDBus::Block, QLatin1String("Reset"), argumentList); 0113 } 0114 0115 inline QDBusReply<void> 0116 UpdateServiceTxt(int interface, int protocol, uint flags, const QString &name, const QString &type, const QString &domain, const QList<QByteArray> &txt) 0117 { 0118 QList<QVariant> argumentList; 0119 argumentList << QVariant::fromValue(interface) << QVariant::fromValue(protocol) << QVariant::fromValue(flags) << QVariant::fromValue(name) 0120 << QVariant::fromValue(type) << QVariant::fromValue(domain) << QVariant::fromValue(txt); 0121 return callWithArgumentList(QDBus::Block, QLatin1String("UpdateServiceTxt"), argumentList); 0122 } 0123 0124 Q_SIGNALS: // SIGNALS 0125 void StateChanged(int state, const QString &error); 0126 }; 0127 0128 namespace org 0129 { 0130 namespace freedesktop 0131 { 0132 namespace Avahi 0133 { 0134 typedef ::OrgFreedesktopAvahiEntryGroupInterface EntryGroup; 0135 } 0136 } 0137 } 0138 #endif