diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-23 19:03:11 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-23 19:03:11 (GMT) |
commit | 3a0309d2d897bf4f399610e52ad439c002e16f9c (patch) | |
tree | 47bff40c767b95b7b395393186769e0fb68badc1 /Swiften/LinkLocal/DNSSDServiceFactory.h | |
parent | 1c1491cbbe9fca509ddc292dbeaedbba7b6a2b14 (diff) | |
download | swift-contrib-3a0309d2d897bf4f399610e52ad439c002e16f9c.zip swift-contrib-3a0309d2d897bf4f399610e52ad439c002e16f9c.tar.bz2 |
Add DNS service factory.
Diffstat (limited to 'Swiften/LinkLocal/DNSSDServiceFactory.h')
-rw-r--r-- | Swiften/LinkLocal/DNSSDServiceFactory.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Swiften/LinkLocal/DNSSDServiceFactory.h b/Swiften/LinkLocal/DNSSDServiceFactory.h new file mode 100644 index 0000000..6296165 --- /dev/null +++ b/Swiften/LinkLocal/DNSSDServiceFactory.h @@ -0,0 +1,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; + }; +} |