Extract new editor host command session bridge
This commit is contained in:
@@ -24,17 +24,12 @@
|
||||
|
||||
namespace XCEngine::UI::Editor {
|
||||
|
||||
class Application : public UIEditorHostCommandHandler {
|
||||
class Application {
|
||||
public:
|
||||
Application() = default;
|
||||
|
||||
int Run(HINSTANCE hInstance, int nCmdShow);
|
||||
|
||||
UIEditorHostCommandEvaluationResult EvaluateHostCommand(
|
||||
std::string_view commandId) const override;
|
||||
UIEditorHostCommandDispatchResult DispatchHostCommand(
|
||||
std::string_view commandId) override;
|
||||
|
||||
private:
|
||||
static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user