File indexing completed on 2024-04-28 15:22:06

0001 /*
0002  * This file was generated by dbusxml2cpp version 0.6
0003  * Command line was: dbusxml2cpp -m -p avahi_serviceresolver_interface /home/qba/src/kdelibs/dnssd/org.freedesktop.Avahi.ServiceResolver.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_SERVICERESOLVER_INTERFACE_H_1175536773
0012 #define AVAHI_SERVICERESOLVER_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.ServiceResolver
0026  */
0027 class OrgFreedesktopAvahiServiceResolverInterface : public QDBusAbstractInterface
0028 {
0029     Q_OBJECT
0030 public:
0031     static inline const char *staticInterfaceName()
0032     {
0033         return "org.freedesktop.Avahi.ServiceResolver";
0034     }
0035 
0036 public:
0037     OrgFreedesktopAvahiServiceResolverInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
0038 
0039     ~OrgFreedesktopAvahiServiceResolverInterface() override;
0040 
0041 public Q_SLOTS: // METHODS
0042     inline QDBusReply<void> Free()
0043     {
0044         QList<QVariant> argumentList;
0045         return callWithArgumentList(QDBus::Block, QLatin1String("Free"), argumentList);
0046     }
0047 
0048 Q_SIGNALS: // SIGNALS
0049     void Failure(const QString &error);
0050     void Found(int interface,
0051                int protocol,
0052                const QString &name,
0053                const QString &type,
0054                const QString &domain,
0055                const QString &host,
0056                int aprotocol,
0057                const QString &address,
0058                ushort port,
0059                const QList<QByteArray> &txt,
0060                uint flags);
0061 };
0062 
0063 namespace org
0064 {
0065 namespace freedesktop
0066 {
0067 namespace Avahi
0068 {
0069 typedef ::OrgFreedesktopAvahiServiceResolverInterface ServiceResolver;
0070 }
0071 }
0072 }
0073 #endif