CrossFramework Library
|
00001 00006 #if defined(XBASE_INCLUDED_RUNTIMEERROR_HPP) 00007 #else 00008 #define XBASE_INCLUDED_RUNTIMEERROR_HPP 00009 00010 //------------------------------------------------------------ 00011 namespace XBase { 00012 class IRuntimeErrorCallback; 00013 } 00014 00015 //------------------------------------------------------------ 00016 namespace XBase { 00018 00019 00020 struct RuntimeError 00021 { 00028 static IRuntimeErrorCallback& DefaultCallback(); 00029 00035 static void SetCallback( IRuntimeErrorCallback& aCallback ); 00036 00041 static void OnError(); 00042 }; 00044 } 00045 //------------------------------------------------------------ 00046 #endif 00047 // EOF