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

27 lines
744 B
C++

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