19 lines
425 B
C++
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
|