summaryrefslogtreecommitdiff
path: root/cpp/test/include/TestHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/include/TestHelper.h')
-rw-r--r--cpp/test/include/TestHelper.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/cpp/test/include/TestHelper.h b/cpp/test/include/TestHelper.h
index 0fe70986285..ee711ff617b 100644
--- a/cpp/test/include/TestHelper.h
+++ b/cpp/test/include/TestHelper.h
@@ -24,16 +24,8 @@
#include <Ice/CommunicatorF.h>
#include <Ice/ProxyF.h>
#include <Ice/Initialize.h>
-
-#if defined(ICE_OS_UWP) || (TARGET_OS_IPHONE != 0)
-# include <Ice/Logger.h>
-# include <Ice/LocalException.h>
-
-# include <cassert>
-# include <cstdlib>
-# include <string>
-# include <iostream>
-#endif
+#include <Ice/Logger.h>
+#include <Ice/LocalException.h>
#include <IceUtil/IceUtil.h>
@@ -189,8 +181,7 @@ public:
void serverReady();
void shutdown();
- static void shutdownOnInterrupt();
- static void shutdownOnInterruptCallback(int);
+ void shutdownOnInterrupt();
virtual void run(int argc, char* argv[]) = 0;
@@ -198,7 +189,9 @@ private:
ControllerHelper* _controllerHelper;
Ice::CommunicatorPtr _communicator;
- IceUtil::Mutex _mutex;
+#if !defined(ICE_OS_UWP) && (!defined(__APPLE__) || TARGET_OS_IPHONE == 0)
+ IceUtil::CtrlCHandler* _ctrlCHandler;
+#endif
};
#if defined(ICE_OS_UWP) || (TARGET_OS_IPHONE != 0)