Route SonarPen tools action through platform services

This commit is contained in:
2026-06-04 17:47:08 +02:00
parent 883be98557
commit c698de1482
11 changed files with 102 additions and 23 deletions

View File

@@ -458,6 +458,22 @@ public:
#endif
}
[[nodiscard]] bool supports_sonarpen() override
{
#if __IOS__
return true;
#else
return false;
#endif
}
void start_sonarpen() override
{
#if __IOS__
[App::I->ios_app sonarpen_start];
#endif
}
[[nodiscard]] pp::platform::PreparedFileTarget prepare_writable_file(
std::string_view type,
std::string_view default_name,