iw4x-client/src/Components/Modules/Exception.hpp

18 lines
480 B
C++
Raw Normal View History

2016-08-05 14:30:44 -04:00
#define UPLOAD_URL "https://reich.io/upload.php"
2016-07-31 14:46:22 -04:00
namespace Components
{
class Exception : public Component
{
public:
Exception();
const char* GetName() { return "Exception"; };
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
};
}