1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once #include <boost/signal.hpp> #include <boost/optional.hpp> #include "Swiften/LinkLocal/LinkLocalServiceID.h" namespace Swift { class DNSSDPublishQuery { public: virtual ~DNSSDPublishQuery(); virtual void publish() = 0; boost::signal<void (boost::optional<LinkLocalServiceID>)> onPublishFinished; }; }