Files
XCEngine/editor/app/System/SystemInteractionService.h
2026-04-25 16:46:01 +08:00

19 lines
425 B
C++

#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