summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/CommunicatorI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-05-12 19:03:58 +0200
committerBenoit Foucher <benoit@zeroc.com>2014-05-12 19:03:58 +0200
commitef5846e612d315e89b3101ef280f7ef0a7e3556e (patch)
tree211f449c0b245917b7e5306be0141b017203d6dc /cpp/src/Ice/CommunicatorI.cpp
parentMinor build system fixes (diff)
downloadice-ef5846e612d315e89b3101ef280f7ef0a7e3556e.tar.bz2
ice-ef5846e612d315e89b3101ef280f7ef0a7e3556e.tar.xz
ice-ef5846e612d315e89b3101ef280f7ef0a7e3556e.zip
Added IceWS support to WinRT
Diffstat (limited to 'cpp/src/Ice/CommunicatorI.cpp')
-rw-r--r--cpp/src/Ice/CommunicatorI.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/Ice/CommunicatorI.cpp b/cpp/src/Ice/CommunicatorI.cpp
index 25fc6841fb3..fbac019a293 100644
--- a/cpp/src/Ice/CommunicatorI.cpp
+++ b/cpp/src/Ice/CommunicatorI.cpp
@@ -26,6 +26,10 @@
#include <IceUtil/MutexPtrLock.h>
#include <IceUtil/UUID.h>
+#ifdef ICE_OS_WINRT
+# include <IceWS/PluginI.h>
+#endif
+
using namespace std;
using namespace Ice;
using namespace IceInternal;
@@ -458,6 +462,10 @@ Ice::CommunicatorI::~CommunicatorI()
void
Ice::CommunicatorI::finishSetup(int& argc, char* argv[])
{
+#if defined(ICE_OS_WINRT)
+ Ice::PluginPtr plugin(new IceWS::PluginI(this)); // Initialize the IceWS transport.
+#endif
+
try
{
_instance->finishSetup(argc, argv);