summaryrefslogtreecommitdiff
path: root/cpp/include/Slice/SignalHandler.h
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-01-17 13:11:19 -0330
committerDwayne Boone <dwayne@zeroc.com>2008-01-17 13:11:19 -0330
commita2e4ce4b60e9fac86c2cf81e3f22845a699efaa6 (patch)
treebbb1b67428ee22ec495456dc1a6bdd46f8e45236 /cpp/include/Slice/SignalHandler.h
parentBug 2261 - renaming Ice for C# to Ice for .NET (diff)
downloadice-a2e4ce4b60e9fac86c2cf81e3f22845a699efaa6.tar.bz2
ice-a2e4ce4b60e9fac86c2cf81e3f22845a699efaa6.tar.xz
ice-a2e4ce4b60e9fac86c2cf81e3f22845a699efaa6.zip
Bug 2540 - trap ctrl-C and unlink output files
Diffstat (limited to 'cpp/include/Slice/SignalHandler.h')
-rw-r--r--cpp/include/Slice/SignalHandler.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/cpp/include/Slice/SignalHandler.h b/cpp/include/Slice/SignalHandler.h
new file mode 100644
index 00000000000..de7cccfeb74
--- /dev/null
+++ b/cpp/include/Slice/SignalHandler.h
@@ -0,0 +1,30 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2007 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.
+//
+// **********************************************************************
+
+#ifndef SLICE_SIGNAL_HANDLER_H
+#define SLICE_SIGNAL_HANDLER_H
+
+#include <string>
+
+namespace Slice
+{
+
+class SignalHandler
+{
+public:
+
+ SignalHandler();
+ ~SignalHandler();
+
+ static void addFile(const std::string&);
+};
+
+}
+
+#endif