2016-08-05 14:30:44 -04:00
|
|
|
#define UPLOAD_URL "https://reich.io/upload.php"
|
2016-08-27 12:18:03 -04:00
|
|
|
#define BITMESSAGE_UPLOAD_IDENTITY "BM-NBhqCHraxGyUT38cfhRQYWx29gJ7QePa"
|
2016-08-27 17:46:24 -04:00
|
|
|
#define BITMESSAGE_SIZE_LIMIT 230000
|
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
|
2016-08-27 12:18:03 -04:00
|
|
|
const char* GetName() { return "Exception"; };
|
2016-08-15 10:40:30 -04:00
|
|
|
#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-08-27 12:18:03 -04:00
|
|
|
static bool UploadMinidump2BM(std::string filename);
|
2016-07-31 14:46:22 -04:00
|
|
|
};
|
|
|
|
}
|