diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2008-11-20 10:22:31 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2008-11-20 10:22:31 -0330 |
commit | aa4f3340e17e227a26659a75a8f60d24c2dd5323 (patch) | |
tree | c118d1d651d48f236c911d25f8a3f3b34320783f /cpp/include/Slice/SignalHandler.h | |
parent | Bug 3550 - slice compiler not able to open tmp file on Vista (diff) | |
download | ice-aa4f3340e17e227a26659a75a8f60d24c2dd5323.tar.bz2 ice-aa4f3340e17e227a26659a75a8f60d24c2dd5323.tar.xz ice-aa4f3340e17e227a26659a75a8f60d24c2dd5323.zip |
Refactored CtrlCHandler usage in slice compilers
Diffstat (limited to 'cpp/include/Slice/SignalHandler.h')
-rw-r--r-- | cpp/include/Slice/SignalHandler.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/cpp/include/Slice/SignalHandler.h b/cpp/include/Slice/SignalHandler.h deleted file mode 100644 index 6d5214314fe..00000000000 --- a/cpp/include/Slice/SignalHandler.h +++ /dev/null @@ -1,45 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2008 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 <IceUtil/Config.h> -#include <IceUtil/OutputUtil.h> -#include <string> - -#ifndef SLICE_API -# ifdef SLICE_API_EXPORTS -# define SLICE_API ICE_DECLSPEC_EXPORT -# else -# define SLICE_API ICE_DECLSPEC_IMPORT -# endif -#endif - -namespace Slice -{ - -typedef void (*SignalHandlerCloseCallback)(); - -class SLICE_API SignalHandler -{ -public: - - static void addFileForCleanup(const std::string&); - - static void setCloseCallback(SignalHandlerCloseCallback); - - static void clearCleanupFileList(); - - static void removeFilesOnInterrupt(int signal); -}; - -} - -#endif |