Files
XCEngine/editor/app/Composition/EditorWindowWorkspaceStore.h
2026-04-25 16:46:01 +08:00

26 lines
588 B
C++

#pragma once
#include <XCEditor/Workspace/UIEditorWindowWorkspaceController.h>
#include <string>
namespace XCEngine::UI::Editor::App {
class EditorWindowWorkspaceStore final {
public:
explicit EditorWindowWorkspaceStore(UIEditorPanelRegistry panelRegistry);
const UIEditorPanelRegistry& GetPanelRegistry() const {
return m_panelRegistry;
}
bool ValidateWindowSet(
const UIEditorWindowWorkspaceSet& windowSet,
std::string& outError) const;
private:
UIEditorPanelRegistry m_panelRegistry = {};
};
} // namespace XCEngine::UI::Editor::App