mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-06 16:25:59 +02:00
Initial checkin
This commit is contained in:
parent
c74712dad9
commit
078564ac9e
3242 changed files with 1616395 additions and 0 deletions
22
BeefySysLib/platform/win/CrashCatcher.h
Normal file
22
BeefySysLib/platform/win/CrashCatcher.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#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);
|
||||
|
||||
void Crash(const StringImpl& str);
|
||||
void SetCrashReportKind(BfpCrashReportKind crashReportKind);
|
||||
};
|
||||
|
||||
NS_BF_END
|
Loading…
Add table
Add a link
Reference in a new issue