mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
22 lines
365 B
C++
22 lines
365 B
C++
#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
|