Add new editor product shell baseline
This commit is contained in:
@@ -9,6 +9,11 @@
|
||||
|
||||
namespace XCEngine::UI::Editor {
|
||||
|
||||
enum class UIEditorCommandKind : std::uint8_t {
|
||||
Workspace = 0,
|
||||
Host
|
||||
};
|
||||
|
||||
enum class UIEditorCommandPanelSource : std::uint8_t {
|
||||
None = 0,
|
||||
FixedPanelId,
|
||||
@@ -25,6 +30,7 @@ struct UIEditorCommandDescriptor {
|
||||
std::string commandId = {};
|
||||
std::string displayName = {};
|
||||
UIEditorWorkspaceCommandDescriptor workspaceCommand = {};
|
||||
UIEditorCommandKind kind = UIEditorCommandKind::Workspace;
|
||||
};
|
||||
|
||||
struct UIEditorCommandRegistry {
|
||||
@@ -52,6 +58,7 @@ struct UIEditorCommandRegistryValidationResult {
|
||||
};
|
||||
|
||||
std::string_view GetUIEditorCommandPanelSourceName(UIEditorCommandPanelSource source);
|
||||
std::string_view GetUIEditorCommandKindName(UIEditorCommandKind kind);
|
||||
|
||||
const UIEditorCommandDescriptor* FindUIEditorCommandDescriptor(
|
||||
const UIEditorCommandRegistry& registry,
|
||||
|
||||
Reference in New Issue
Block a user