diff options
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 |