Refine editor host boundary
This commit is contained in:
15
editor/app/Host/Win32/System/Win32SystemInteractionHost.h
Normal file
15
editor/app/Host/Win32/System/Win32SystemInteractionHost.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include "SystemInteractionService.h"
|
||||
|
||||
namespace XCEngine::UI::Editor::Host {
|
||||
|
||||
class Win32SystemInteractionHost final : public System::SystemInteractionService {
|
||||
public:
|
||||
bool CopyTextToClipboard(std::string_view text) override;
|
||||
bool RevealPathInFileBrowser(
|
||||
const std::filesystem::path& path,
|
||||
bool selectTarget) override;
|
||||
};
|
||||
|
||||
} // namespace XCEngine::UI::Editor::Host
|
||||
Reference in New Issue
Block a user