LeviLamina
Loading...
Searching...
No Matches
LoggingService.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result_deprecated.h"
7#include "mc/editor/script/LoggingServiceProvider.h"
8#include "mc/editor/services/IEditorService.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace Bedrock::PubSub { class Subscription; }
13namespace Editor { class LogMessage; }
14// clang-format on
15
16namespace Editor::Services {
17
19public:
20 // member variables
21 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 LoggingService& operator=(LoggingService const&);
28 LoggingService(LoggingService const&);
29 LoggingService();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~LoggingService() /*override*/;
35
36 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
37
38 virtual ::Scripting::Result_deprecated<void> quit() /*override*/;
39
40 virtual ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
41 listenForLogMessage(::std::function<void(::Editor::LogMessage const&)> func) /*override*/;
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCNAPI void $dtor();
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCNAPI ::Scripting::Result_deprecated<void> $init();
54
55 MCNAPI ::Scripting::Result_deprecated<void> $quit();
56
57 MCNAPI ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
58 $listenForLogMessage(::std::function<void(::Editor::LogMessage const&)> func);
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftableForLoggingServiceProvider();
67
68 MCNAPI static void** $vftableForIEditorService();
69 // NOLINTEND
70};
71
72} // namespace Editor::Services
Definition Subscription.h:10
Definition LogMessage.h:12
Definition IEditorService.h:11
Definition LoggingServiceProvider.h:21
static MCAPI void ** $vftableForIEditorService()
MCAPI ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription > $listenForLogMessage(::std::function< void(::Editor::LogMessage const &)> func)
MCAPI ::Scripting::Result_deprecated< void > $init()
static MCAPI void ** $vftableForLoggingServiceProvider()
MCAPI ::Scripting::Result_deprecated< void > $quit()
Definition Alias.h:14