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

18 lines
489 B
C++
Raw Normal View History

2016-07-31 14:46:22 -04:00
#define UPLOAD_URL "https://momo5502.com/test/upload.php"
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);
static void UploadMinidump(std::string filename);
};
}