19 lines
417 B
C++
19 lines
417 B
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
#include <string_view>
|
|
|
|
namespace XCEngine::UI::Editor::Ports {
|
|
|
|
class SystemInteractionPort {
|
|
public:
|
|
virtual ~SystemInteractionPort() = default;
|
|
|
|
virtual bool CopyTextToClipboard(std::string_view text) = 0;
|
|
virtual bool RevealPathInFileBrowser(
|
|
const std::filesystem::path& path,
|
|
bool selectTarget) = 0;
|
|
};
|
|
|
|
} // namespace XCEngine::UI::Editor::Ports
|