Route document browse roots through platform services
This commit is contained in:
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user