diff options
Diffstat (limited to 'Swiften/LinkLocal/LinkLocalRoster.h')
-rw-r--r-- | Swiften/LinkLocal/LinkLocalRoster.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Swiften/LinkLocal/LinkLocalRoster.h b/Swiften/LinkLocal/LinkLocalRoster.h new file mode 100644 index 0000000..625bf8b --- /dev/null +++ b/Swiften/LinkLocal/LinkLocalRoster.h @@ -0,0 +1,19 @@ +#pragma once + +#include <boost/shared_ptr.hpp> + +#include "Swiften/LinkLocal/DNSSDService.h" + +namespace Swift { + class LinkLocalRoster { + public: + LinkLocalRoster(boost::shared_ptr<DNSSDService> service); + + private: + void handleServiceAdded(const DNSSDService::DiscoveredService&); + void handleServiceRemoved(const DNSSDService::DiscoveredService&); + + private: + boost::shared_ptr<DNSSDService> dnsSDService; + }; +} |