21 lines
496 B
C++
21 lines
496 B
C++
#pragma once
|
|
|
|
#include <XCEditor/Foundation/UIEditorCommandDispatcher.h>
|
|
|
|
#include <string_view>
|
|
|
|
namespace XCEngine::UI::Editor::App {
|
|
|
|
class EditorEditCommandRoute {
|
|
public:
|
|
virtual ~EditorEditCommandRoute() = default;
|
|
|
|
virtual UIEditorHostCommandEvaluationResult EvaluateEditCommand(
|
|
std::string_view commandId) const = 0;
|
|
|
|
virtual UIEditorHostCommandDispatchResult DispatchEditCommand(
|
|
std::string_view commandId) = 0;
|
|
};
|
|
|
|
} // namespace XCEngine::UI::Editor::App
|