Files
XCEngine/new_editor/app/Composition/EditorShellAssetBuilder.h

28 lines
726 B
C++

#pragma once
#include <XCEditor/Shell/UIEditorShellAsset.h>
#include <XCEditor/Workspace/UIEditorWorkspaceController.h>
#include <cstdint>
#include <filesystem>
#include <string_view>
namespace XCEngine::UI::Editor::App {
enum class EditorShellVariant : std::uint8_t {
Primary = 0,
DetachedWindow
};
EditorShellAsset BuildEditorShellAsset(const std::filesystem::path& repoRoot);
UIEditorShellInteractionDefinition BuildEditorShellInteractionDefinition(
const EditorShellAsset& asset,
const UIEditorWorkspaceController& controller,
std::string_view statusText,
std::string_view captureText,
EditorShellVariant variant = EditorShellVariant::Primary);
} // namespace XCEngine::UI::Editor::App