1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00
Beef/BeefySysLib/platform/win/CrashCatcher.h

24 lines
379 B
C
Raw Normal View History

2019-08-23 11:56:54 -07:00
#pragma once
#include "../../BeefySysLib/Common.h"
NS_BF_BEGIN
typedef void(*CrashInfoFunc)();
class CrashCatcher
{
public:
CrashCatcher();
void Init();
void AddCrashInfoFunc(CrashInfoFunc crashInfoFunc);
void AddInfo(const StringImpl& str);
2019-09-12 09:47:19 -07:00
void Test();
2019-08-23 11:56:54 -07:00
void Crash(const StringImpl& str);
void SetCrashReportKind(BfpCrashReportKind crashReportKind);
};
NS_BF_END