Route document browse roots through platform services

This commit is contained in:
2026-06-04 16:41:56 +02:00
parent 6419645e03
commit 7d992931d9
10 changed files with 74 additions and 8 deletions

View File

@@ -298,6 +298,21 @@ public:
#endif
}
[[nodiscard]] std::vector<std::string> document_browse_roots(
std::string_view work_path,
std::string_view data_path) override
{
#ifdef __IOS__
return {
std::string(work_path),
std::string(data_path) + "/Inbox",
};
#else
(void)data_path;
return { std::string(work_path) };
#endif
}
[[nodiscard]] bool enables_live_asset_reloading() override
{
#if defined(__OSX__)