2026-04-19 15:52:28 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <filesystem>
|
|
|
|
|
#include <string_view>
|
|
|
|
|
|
2026-04-23 14:11:33 +08:00
|
|
|
namespace XCEngine::UI::Editor::System {
|
2026-04-19 15:52:28 +08:00
|
|
|
|
2026-04-23 14:11:33 +08:00
|
|
|
class SystemInteractionService {
|
2026-04-19 15:52:28 +08:00
|
|
|
public:
|
2026-04-23 14:11:33 +08:00
|
|
|
virtual ~SystemInteractionService() = default;
|
2026-04-19 15:52:28 +08:00
|
|
|
|
|
|
|
|
virtual bool CopyTextToClipboard(std::string_view text) = 0;
|
|
|
|
|
virtual bool RevealPathInFileBrowser(
|
|
|
|
|
const std::filesystem::path& path,
|
|
|
|
|
bool selectTarget) = 0;
|
|
|
|
|
};
|
|
|
|
|
|
2026-04-23 14:11:33 +08:00
|
|
|
} // namespace XCEngine::UI::Editor::System
|