Clementine-audio-player-Mac.../src/networkremote/bonjour.h

29 lines
488 B
C
Raw Normal View History

2013-01-16 15:26:35 +01:00
#ifndef BONJOUR_H
#define BONJOUR_H
#include "zeroconf.h"
#ifdef __OBJC__
@class NetServicePublicationDelegate;
#else
class NetServicePublicationDelegate;
#endif // __OBJC__
class Bonjour : public Zeroconf {
public:
Bonjour();
virtual ~Bonjour();
2013-02-22 15:29:00 +01:00
protected:
virtual void PublishInternal(
2013-01-16 15:26:35 +01:00
const QString& domain,
const QString& type,
2013-02-22 15:29:00 +01:00
const QByteArray& name,
2013-01-16 15:26:35 +01:00
quint16 port);
private:
NetServicePublicationDelegate* delegate_;
};
#endif // BONJOUR_H