1 #ifndef TINYSVCMDNS_H 2 #define TINYSVCMDNS_H 3 4 #include "zeroconf.h" 5 #include <QList> 6 7 struct mdnsd; 8 9 class TinySVCMDNS : public Zeroconf { 10 public: 11 TinySVCMDNS(); 12 virtual ~TinySVCMDNS(); 13 14 protected: 15 virtual void PublishInternal(const QString& domain, const QString& type, 16 const QByteArray& name, quint16 port); 17 18 private: 19 void CreateMdnsd(uint32_t ipv4, QString ipv6); 20 QList<mdnsd*> mdnsd_; 21 }; 22 23 #endif // TINYSVCMDNS_H 24