Hide Android asset manager state from asset header

This commit is contained in:
2026-06-04 19:09:39 +02:00
parent e6831fcb28
commit b2334e65c9
6 changed files with 30 additions and 3 deletions

View File

@@ -662,6 +662,11 @@ The central `App` header now forward-declares retained platform handles instead
of including Objective-C, Android, or GLFW SDK headers; the full platform
headers live in the legacy platform adapter until those handles move out of
`App` during Phase 6.
The retained `Asset` header now forward-declares Android asset-manager types,
hides the Android asset handles behind `Asset::set_android_asset_manager`, and
keeps concrete Android asset-manager headers in `asset.cpp`/the Android
entrypoint. This reduces legacy asset I/O header coupling while the actual
Android asset-reader implementation remains inside `pp_legacy_assets_io`.
Prepared-file save/download handoff is now also part of the service contract,
so iOS/Web export completion routes through `PlatformServices` after the app
writes the temporary/exported payload.