summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/StreamStack/PlatformTLSLayerFactory.h')
-rw-r--r--Swiften/StreamStack/PlatformTLSLayerFactory.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Swiften/StreamStack/PlatformTLSLayerFactory.h b/Swiften/StreamStack/PlatformTLSLayerFactory.h
new file mode 100644
index 0000000..6ebee32
--- /dev/null
+++ b/Swiften/StreamStack/PlatformTLSLayerFactory.h
@@ -0,0 +1,16 @@
+#ifndef SWIFTEN_OpenSSLLayerFactory_H
+#define SWIFTEN_OpenSSLLayerFactory_H
+
+#include "Swiften/StreamStack/TLSLayerFactory.h"
+
+namespace Swift {
+ class PlatformTLSLayerFactory : public TLSLayerFactory {
+ public:
+ PlatformTLSLayerFactory();
+
+ bool canCreate() const;
+ virtual TLSLayer* createTLSLayer();
+ };
+}
+
+#endif