summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/CtrlCHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/IceUtil/CtrlCHandler.h')
-rw-r--r--cpp/include/IceUtil/CtrlCHandler.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpp/include/IceUtil/CtrlCHandler.h b/cpp/include/IceUtil/CtrlCHandler.h
index d6a847547fb..d203804b898 100644
--- a/cpp/include/IceUtil/CtrlCHandler.h
+++ b/cpp/include/IceUtil/CtrlCHandler.h
@@ -44,7 +44,7 @@ namespace IceUtil
typedef void (*CtrlCHandlerCallback)(int);
-class ICE_UTIL_API CtrlCHandler
+class ICE_API CtrlCHandler
{
public:
@@ -55,14 +55,16 @@ public:
CtrlCHandlerCallback getCallback() const;
};
-class ICE_UTIL_API CtrlCHandlerException : public Exception
+class ICE_API CtrlCHandlerException : public ExceptionHelper<CtrlCHandlerException>
{
public:
CtrlCHandlerException(const char*, int);
- virtual std::string ice_name() const;
+ virtual std::string ice_id() const;
+
+#ifndef ICE_CPP11_MAPPING
virtual CtrlCHandlerException* ice_clone() const;
- virtual void ice_throw() const;
+#endif
};
}