LeviLamina
Loading...
Searching...
No Matches
ApplicationInitHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Bedrock {
6
8public:
9 // ApplicationInitHandler inner types declare
10 // clang-format off
12 // clang-format on
13
14 // ApplicationInitHandler inner types define
15 struct InstallCrashHandlerResult {
16 public:
17 // member variables
18 // NOLINTBEGIN
20 // NOLINTEND
21
22 public:
23 // prevent constructor by default
24 InstallCrashHandlerResult& operator=(InstallCrashHandlerResult const&);
25 InstallCrashHandlerResult(InstallCrashHandlerResult const&);
26 InstallCrashHandlerResult();
27 };
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~ApplicationInitHandler() = default;
33
34 virtual void onFatalInitializationError(char const*) = 0;
35
36 virtual void onMemoryHeapInit() = 0;
37
38 virtual void onConfigureMainThread() = 0;
39
40 virtual void onCrashDumpInit() = 0;
41
42 virtual void onCrashDumpTerminate() = 0;
43
44 virtual ::Bedrock::ApplicationInitHandler::InstallCrashHandlerResult onInstallCrashHandler() = 0;
45
46 virtual void onShutdownCompleted() = 0;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52
53 // NOLINTEND
54};
55
56} // namespace Bedrock
Definition ApplicationInitHandler.h:7
Definition Alias.h:14