editor: explicit runtime path contract
This commit is contained in:
@@ -17,8 +17,7 @@ class EditorWindowHostRuntime final : public EditorWindowHostRuntimeServices {
|
||||
public:
|
||||
EditorWindowHostRuntime(
|
||||
EditorWindowHostConfig hostConfig,
|
||||
std::filesystem::path repoRoot,
|
||||
std::filesystem::path captureRoot);
|
||||
EditorRuntimePaths runtimePaths);
|
||||
~EditorWindowHostRuntime();
|
||||
|
||||
bool CreateHostWindow(
|
||||
@@ -54,8 +53,8 @@ public:
|
||||
return m_hostConfig;
|
||||
}
|
||||
|
||||
const std::filesystem::path& GetRepoRoot() const {
|
||||
return m_repoRoot;
|
||||
const EditorRuntimePaths& GetRuntimePaths() const {
|
||||
return m_runtimePaths;
|
||||
}
|
||||
|
||||
std::vector<std::unique_ptr<EditorWindow>>& GetWindowStorage() {
|
||||
@@ -73,8 +72,7 @@ private:
|
||||
const EditorWindow* FindWindowByIdImpl(std::string_view windowId) const;
|
||||
|
||||
EditorWindowHostConfig m_hostConfig = {};
|
||||
std::filesystem::path m_repoRoot = {};
|
||||
std::filesystem::path m_captureRoot = {};
|
||||
EditorRuntimePaths m_runtimePaths = {};
|
||||
std::vector<std::unique_ptr<EditorWindow>> m_windows = {};
|
||||
EditorWindow* m_pendingCreateWindow = nullptr;
|
||||
EditorWindowHostCoordinator* m_hostCoordinator = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user