DNSSD
avahi_serviceresolver_interface.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef AVAHI_SERVICERESOLVER_INTERFACE_H_1175536773
00012 #define AVAHI_SERVICERESOLVER_INTERFACE_H_1175536773
00013
00014 #include <QtCore/QObject>
00015 #include <QtCore/QByteRef>
00016 #include <QtCore/QList>
00017 #include <QtCore/QMap>
00018 #include <QtCore/QString>
00019 #include <QtCore/QStringList>
00020 #include <QtCore/QVariant>
00021 #include <QtDBus/QtDBus>
00022
00023
00024
00025
00026 class OrgFreedesktopAvahiServiceResolverInterface: public QDBusAbstractInterface
00027 {
00028 Q_OBJECT
00029 public:
00030 static inline const char *staticInterfaceName()
00031 { return "org.freedesktop.Avahi.ServiceResolver"; }
00032
00033 public:
00034 OrgFreedesktopAvahiServiceResolverInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
00035
00036 ~OrgFreedesktopAvahiServiceResolverInterface();
00037
00038 public Q_SLOTS:
00039 inline QDBusReply<void> Free()
00040 {
00041 QList<QVariant> argumentList;
00042 return callWithArgumentList(QDBus::Block, QLatin1String("Free"), argumentList);
00043 }
00044
00045 Q_SIGNALS:
00046 void Failure(const QString &error);
00047 void Found(int interface, int protocol, const QString &name, const QString &type, const QString &domain, const QString &host, int aprotocol, const QString &address, ushort port, const QList<QByteArray> &txt, uint flags);
00048 };
00049
00050 namespace org {
00051 namespace freedesktop {
00052 namespace Avahi {
00053 typedef ::OrgFreedesktopAvahiServiceResolverInterface ServiceResolver;
00054 }
00055 }
00056 }
00057 #endif