diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2008-01-18 10:27:58 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2008-01-18 10:27:58 -0330 |
commit | 40da4a3aecbc259c472d77f58d1d6466af42e5ef (patch) | |
tree | 3780215d0441c84682c9c281b3187b78973a6b9e /cpp/include/Slice/SignalHandler.h | |
parent | Added Windows signal handling (diff) | |
download | ice-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.h | 4 |
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&); }; |