diff options
Diffstat (limited to 'Swiften/LinkLocal/AppleDNSSDService.h')
-rw-r--r-- | Swiften/LinkLocal/AppleDNSSDService.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Swiften/LinkLocal/AppleDNSSDService.h b/Swiften/LinkLocal/AppleDNSSDService.h index fe4a648..7fdfd3e 100644 --- a/Swiften/LinkLocal/AppleDNSSDService.h +++ b/Swiften/LinkLocal/AppleDNSSDService.h @@ -6,6 +6,7 @@ #include <dns_sd.h> #include "Swiften/LinkLocal/DNSSDService.h" +#include "Swiften/LinkLocal/LinkLocalServiceID.h" #include "Swiften/EventLoop/EventOwner.h" namespace Swift { @@ -21,8 +22,8 @@ namespace Swift { virtual void updateService(const LinkLocalServiceInfo&); virtual void unregisterService(); - virtual void startResolvingService(const Service&); - virtual void stopResolvingService(const Service&); + virtual void startResolvingService(const LinkLocalServiceID&); + virtual void stopResolvingService(const LinkLocalServiceID&); virtual void resolveHostname(const String& hostname, int interfaceIndex = 0); @@ -48,7 +49,7 @@ namespace Swift { boost::mutex sdRefsMutex; DNSServiceRef browseSDRef; DNSServiceRef registerSDRef; - typedef std::map<Service, DNSServiceRef> ServiceSDRefMap; + typedef std::map<LinkLocalServiceID, DNSServiceRef> ServiceSDRefMap; ServiceSDRefMap resolveSDRefs; typedef std::vector<DNSServiceRef> HostnameSDRefs; HostnameSDRefs hostnameResolveSDRefs; |