Refactor editor window synchronization flow
This commit is contained in:
21
editor/app/Windowing/System/EditorWindowPresentationPolicy.h
Normal file
21
editor/app/Windowing/System/EditorWindowPresentationPolicy.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <XCEditor/Workspace/UIEditorWindowWorkspaceModel.h>
|
||||
#include <XCEditor/Workspace/UIEditorWorkspaceController.h>
|
||||
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
namespace XCEngine::UI::Editor::App {
|
||||
|
||||
UIEditorWorkspaceController BuildWorkspaceControllerForWindowState(
|
||||
const UIEditorPanelRegistry& panelRegistry,
|
||||
const UIEditorWindowWorkspaceState& windowState);
|
||||
|
||||
std::wstring ResolveEditorWindowPresentationTitle(
|
||||
std::wstring_view primaryWindowTitle,
|
||||
const UIEditorPanelRegistry& panelRegistry,
|
||||
const UIEditorWindowWorkspaceState& windowState,
|
||||
bool primary);
|
||||
|
||||
} // namespace XCEngine::UI::Editor::App
|
||||
Reference in New Issue
Block a user