关键节点
This commit is contained in:
18
editor/app/System/SystemInteractionService.h
Normal file
18
editor/app/System/SystemInteractionService.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <string_view>
|
||||
|
||||
namespace XCEngine::UI::Editor::System {
|
||||
|
||||
class SystemInteractionService {
|
||||
public:
|
||||
virtual ~SystemInteractionService() = default;
|
||||
|
||||
virtual bool CopyTextToClipboard(std::string_view text) = 0;
|
||||
virtual bool RevealPathInFileBrowser(
|
||||
const std::filesystem::path& path,
|
||||
bool selectTarget) = 0;
|
||||
};
|
||||
|
||||
} // namespace XCEngine::UI::Editor::System
|
||||
Reference in New Issue
Block a user