关键节点
This commit is contained in:
25
editor/app/Composition/EditorWindowWorkspaceStore.h
Normal file
25
editor/app/Composition/EditorWindowWorkspaceStore.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user