Decouple editor render runtime factory
This commit is contained in:
@@ -15,6 +15,10 @@ namespace XCEngine::UI::Editor {
|
||||
class EditorWindowSystem;
|
||||
struct UIEditorWindowWorkspaceState;
|
||||
|
||||
namespace Rendering::Host {
|
||||
class EditorWindowRenderRuntimeFactory;
|
||||
}
|
||||
|
||||
} // namespace XCEngine::UI::Editor
|
||||
|
||||
namespace XCEngine::UI::Editor::App {
|
||||
@@ -33,6 +37,7 @@ public:
|
||||
EditorWindowManager(
|
||||
EditorContext& editorContext,
|
||||
EditorWindowSystem& windowSystem,
|
||||
Rendering::Host::EditorWindowRenderRuntimeFactory& renderRuntimeFactory,
|
||||
EditorWindowHostRuntimeServices& hostRuntime);
|
||||
~EditorWindowManager();
|
||||
|
||||
@@ -80,6 +85,7 @@ private:
|
||||
bool requestSkipNextSteadyStateFrame);
|
||||
|
||||
EditorContext& m_editorContext;
|
||||
Rendering::Host::EditorWindowRenderRuntimeFactory& m_renderRuntimeFactory;
|
||||
EditorWindowHostRuntimeServices& m_hostRuntime;
|
||||
std::unique_ptr<EditorWindowContentFactory> m_contentFactory = {};
|
||||
std::unique_ptr<EditorWindowLifecycleCoordinator> m_lifecycleCoordinator = {};
|
||||
|
||||
Reference in New Issue
Block a user