2016-07-31 14:46:22 -04:00
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class Exception : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Exception();
|
2016-08-15 10:40:30 -04:00
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
const char* GetName() { return "Exception"; };
|
|
|
|
#endif
|
2016-07-31 14:46:22 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
static LONG WINAPI ExceptionFilter(LPEXCEPTION_POINTERS ExceptionInfo);
|
|
|
|
static LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilterStub(LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter);
|
|
|
|
|
2016-08-05 14:30:44 -04:00
|
|
|
static bool UploadMinidump(std::string filename);
|
2016-07-31 14:46:22 -04:00
|
|
|
};
|
|
|
|
}
|