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; }
14namespace Editor { class ServiceProviderCollection; }
15// clang-format on
16
17namespace Editor::Services {
18
20public:
21 // member variables
22 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 LoggingService& operator=(LoggingService const&);
29 LoggingService(LoggingService const&);
30 LoggingService();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~LoggingService() /*override*/;
36
37 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
38
39 virtual ::Scripting::Result_deprecated<void> quit() /*override*/;
40
41 virtual ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
42 listenForLogMessage(::std::function<void(::Editor::LogMessage const&)> func) /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
49
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCNAPI void $dtor();
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCNAPI ::Scripting::Result_deprecated<void> $init();
69
70 MCNAPI ::Scripting::Result_deprecated<void> $quit();
71
72 MCNAPI ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
73 $listenForLogMessage(::std::function<void(::Editor::LogMessage const&)> func);
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftableForLoggingServiceProvider();
82
83 MCNAPI static void** $vftableForIEditorService();
84 // NOLINTEND
85};
86
87} // namespace Editor::Services
Definition Subscription.h:10
Definition LogMessage.h:12
Definition ServiceProviderCollection.h:7
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 void _dispatchLogMessageEvent(::Editor::LogMessage const &message)
MCAPI LoggingService(::Editor::ServiceProviderCollection &providers)
MCAPI ::Scripting::Result_deprecated< void > $quit()
MCAPI void * $ctor(::Editor::ServiceProviderCollection &providers)
Definition Alias.h:14