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#ifdef LL_PLAT_S
36 virtual ::std::shared_ptr<::Bedrock::SessionInfo> findCrashedSessionInfo(::std::string_view) const /*override*/;
37#else // LL_PLAT_C
38 virtual ::std::shared_ptr<::Bedrock::SessionInfo> findCrashedSessionInfo(::std::string_view sessionId) const
39 /*override*/;
40#endif
41
42#ifdef LL_PLAT_S
43 virtual void notifyCrashUploadStatus(::Bedrock::CrashFileProcessor::CrashHandler::StatusUpdate const&) /*override*/;
44#else // LL_PLAT_C
45 virtual void
46 notifyCrashUploadStatus(::Bedrock::CrashFileProcessor::CrashHandler::StatusUpdate const& status) /*override*/;
47#endif
48
49#ifdef LL_PLAT_S
50 virtual void notifyDoneWithSession(::std::string_view) /*override*/;
51#else // LL_PLAT_C
52 virtual void notifyDoneWithSession(::std::string_view sessionId) /*override*/;
53#endif
54
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60#ifdef LL_PLAT_C
61 MCNAPI CrashHandlerImpl(::Bedrock::CrashManagerImpl& manager, ::Core::PathBuffer<::std::string> const& filePath);
62#endif
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68#ifdef LL_PLAT_C
69 MCNAPI void* $ctor(::Bedrock::CrashManagerImpl& manager, ::Core::PathBuffer<::std::string> const& filePath);
70#endif
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76#ifdef LL_PLAT_C
77 MCNAPI ::std::shared_ptr<::Bedrock::SessionInfo> $findCrashedSessionInfo(::std::string_view sessionId) const;
78
79 MCNAPI void $notifyCrashUploadStatus(::Bedrock::CrashFileProcessor::CrashHandler::StatusUpdate const& status);
80
81 MCNAPI void $notifyDoneWithSession(::std::string_view sessionId);
82#endif
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
93
94} // 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