1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#pragma once #include <boost/shared_ptr.hpp> namespace Swift { class DNSSDService; class DNSSDServiceFactory { public: virtual ~DNSSDServiceFactory(); virtual bool canCreate() const = 0; virtual boost::shared_ptr<DNSSDService> createDNSSDService() = 0; }; }