summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/uwp/PluginI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/uwp/PluginI.cpp')
-rw-r--r--cpp/src/IceSSL/uwp/PluginI.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/uwp/PluginI.cpp b/cpp/src/IceSSL/uwp/PluginI.cpp
new file mode 100644
index 00000000000..96f968ab01f
--- /dev/null
+++ b/cpp/src/IceSSL/uwp/PluginI.cpp
@@ -0,0 +1,36 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#include <IceSSL/PluginI.h>
+#include <IceSSL/Instance.h>
+#include <IceSSL/SSLEngine.h>
+#include <IceSSL/EndpointI.h>
+
+#include <Ice/ProtocolPluginFacade.h>
+#include <Ice/ProtocolInstance.h>
+#include <Ice/LocalException.h>
+
+using namespace std;
+using namespace Ice;
+using namespace IceSSL;
+
+//
+// Plug-in factory function.
+//
+
+namespace Ice
+{
+
+ICE_SSL_API void
+registerIceSSL(bool loadOnInitialize)
+{
+ Ice::registerPluginFactory("IceSSL", createIceSSL, true);
+}
+
+}