summaryrefslogtreecommitdiff
path: root/cpp/include/Slice/SignalHandler.h
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-01-18 10:27:58 -0330
committerDwayne Boone <dwayne@zeroc.com>2008-01-18 10:27:58 -0330
commit40da4a3aecbc259c472d77f58d1d6466af42e5ef (patch)
tree3780215d0441c84682c9c281b3187b78973a6b9e /cpp/include/Slice/SignalHandler.h
parentAdded Windows signal handling (diff)
downloadice-40da4a3aecbc259c472d77f58d1d6466af42e5ef.tar.bz2
ice-40da4a3aecbc259c472d77f58d1d6466af42e5ef.tar.xz
ice-40da4a3aecbc259c472d77f58d1d6466af42e5ef.zip
Windows fixes for translator interrupt cleanup
Diffstat (limited to 'cpp/include/Slice/SignalHandler.h')
-rw-r--r--cpp/include/Slice/SignalHandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/include/Slice/SignalHandler.h b/cpp/include/Slice/SignalHandler.h
index 613e35ae613..5c047b5e8e3 100644
--- a/cpp/include/Slice/SignalHandler.h
+++ b/cpp/include/Slice/SignalHandler.h
@@ -24,6 +24,8 @@
namespace Slice
{
+typedef void (*SignalHandlerCallback)();
+
class SLICE_API SignalHandler
{
public:
@@ -31,6 +33,8 @@ public:
SignalHandler();
~SignalHandler();
+ static void setCallback(SignalHandlerCallback);
+
static void addFile(const std::string&);
};