00001 #ifndef __CVstExceptionHandler__ 00002 #define __CVstExceptionHandler__ 00003 00004 // =========================================================================== 00005 00006 #include <Exceptions/CException.hpp> 00007 #include <Basics/CSystemString.hpp> 00008 #include "CHostCanDo.hpp" 00009 00010 // =========================================================================== 00011 00012 using Exponent::Basics::CSystemString; 00013 using Exponent::Exceptions::CException; 00014 using Exponent::Vst::CHostCanDo; 00015 00016 // =========================================================================== 00017 00018 namespace Exponent 00019 { 00020 namespace Vst 00021 { 00042 class CVstExceptionHandler 00043 { 00044 public: 00045 00052 static void handleException(CException exception, const CHostCanDo &canDo, const CSystemString &path); 00053 00059 static void preVstExceptionHandler(CException exception, const CSystemString &path); 00060 }; 00061 } 00062 } 00063 #endif // End of CVstExceptionHandler.hpp