summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/LinkLocal/DNSSDServiceFactory.h')
-rw-r--r--Swiften/LinkLocal/DNSSDServiceFactory.h15
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;
+ };
+}