LeviLamina
Loading...
Searching...
No Matches
IEditorService.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/scripting/runtime/Result.h"
8
9namespace Editor::Services {
10
12public:
13 // IEditorService inner types define
14 enum class State : int {
15 Uninitialized = 0,
16 Initialized = 1,
17 Ready = 2,
18 };
19
20public:
21 // member variables
22 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 IEditorService& operator=(IEditorService const&);
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~IEditorService() /*override*/;
38
39 // vIndex: 1
40 virtual ::Scripting::Result<void> init() = 0;
41
42 // vIndex: 2
43 virtual ::Scripting::Result<void> ready();
44
45 // vIndex: 3
46 virtual ::Scripting::Result<void> quit() = 0;
47
48 // vIndex: 4
49 virtual ::std::string_view getServiceName() const = 0;
50
51 // vIndex: 5
52 virtual bool isServiceInitialized() const;
53
54 // vIndex: 6
55 virtual bool isServiceReady() const;
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCFOLD void $dtor();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCFOLD ::Scripting::Result<void> $ready();
68
69 MCAPI bool $isServiceInitialized() const;
70
71 MCAPI bool $isServiceReady() const;
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCAPI static void** $vftable();
78 // NOLINTEND
79};
80
81} // namespace Editor::Services
Definition EnableNonOwnerReferences.h:7
Definition IEditorService.h:11
Definition Alias.h:14