diff options
Diffstat (limited to 'Swiften/LinkLocal/DNSSD/DNSSDBrowseQuery.h')
-rw-r--r-- | Swiften/LinkLocal/DNSSD/DNSSDBrowseQuery.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Swiften/LinkLocal/DNSSD/DNSSDBrowseQuery.h b/Swiften/LinkLocal/DNSSD/DNSSDBrowseQuery.h new file mode 100644 index 0000000..e548ca5 --- /dev/null +++ b/Swiften/LinkLocal/DNSSD/DNSSDBrowseQuery.h @@ -0,0 +1,18 @@ +#pragma once + +#include <boost/signal.hpp> + +#include "Swiften/LinkLocal/LinkLocalServiceID.h" + +namespace Swift { + class DNSSDBrowseQuery { + public: + virtual ~DNSSDBrowseQuery(); + + virtual void startBrowsing() = 0; + virtual void stopBrowsing() = 0; + + boost::signal<void (const LinkLocalServiceID&)> onServiceAdded; + boost::signal<void (const LinkLocalServiceID&)> onServiceRemoved; + }; +} |