27 lines
464 B
C
27 lines
464 B
C
|
#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();
|
||
|
virtual void Publish(
|
||
|
const QString& domain,
|
||
|
const QString& type,
|
||
|
const QString& name,
|
||
|
quint16 port);
|
||
|
|
||
|
private:
|
||
|
NetServicePublicationDelegate* delegate_;
|
||
|
};
|
||
|
|
||
|
#endif // BONJOUR_H
|