LeviLamina
Loading...
Searching...
No Matches
CrashHandlerImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/application/crash_manager/CrashFileProcessor.h"
7#include "mc/deps/core/file/PathBuffer.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Bedrock { class CrashManagerImpl; }
12namespace Bedrock { class SessionInfo; }
13// clang-format on
14
15namespace Bedrock {
16
17class CrashHandlerImpl : public ::Bedrock::CrashFileProcessor::CrashHandler {
18public:
19 // member variables
20 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 CrashHandlerImpl& operator=(CrashHandlerImpl const&);
29 CrashHandlerImpl(CrashHandlerImpl const&);
30 CrashHandlerImpl();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ::std::shared_ptr<::Bedrock::SessionInfo> findCrashedSessionInfo(::std::string_view sessionId) const
36 /*override*/;
37
38 virtual void
39 notifyCrashUploadStatus(::Bedrock::CrashFileProcessor::CrashHandler::StatusUpdate const& status) /*override*/;
40
41 virtual void notifyDoneWithSession(::std::string_view sessionId) /*override*/;
42
43 virtual ~CrashHandlerImpl() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49#ifdef LL_PLAT_C
50 MCNAPI CrashHandlerImpl(::Bedrock::CrashManagerImpl& manager, ::Core::PathBuffer<::std::string> const& filePath);
51#endif
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57#ifdef LL_PLAT_C
58 MCNAPI void* $ctor(::Bedrock::CrashManagerImpl& manager, ::Core::PathBuffer<::std::string> const& filePath);
59#endif
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65#ifdef LL_PLAT_C
66 MCNAPI ::std::shared_ptr<::Bedrock::SessionInfo> $findCrashedSessionInfo(::std::string_view sessionId) const;
67
68 MCNAPI void $notifyCrashUploadStatus(::Bedrock::CrashFileProcessor::CrashHandler::StatusUpdate const& status);
69
70 MCNAPI void $notifyDoneWithSession(::std::string_view sessionId);
71#endif
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
82
83} // namespace Bedrock
Definition CrashFileProcessor.h:31
static MCAPI void ** $vftable()
Definition CrashManagerImpl.h:22
Definition SessionInfo.h:7
Definition PathBuffer.h:8
Definition Alias.h:14