diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2008-01-17 13:11:19 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2008-01-17 13:11:19 -0330 |
commit | a2e4ce4b60e9fac86c2cf81e3f22845a699efaa6 (patch) | |
tree | bbb1b67428ee22ec495456dc1a6bdd46f8e45236 /cpp/include/Slice/SignalHandler.h | |
parent | Bug 2261 - renaming Ice for C# to Ice for .NET (diff) | |
download | ice-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.h | 30 |
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 |