Isolate platform SDK includes from app header

This commit is contained in:
2026-06-04 18:58:02 +02:00
parent 08d8c1e82c
commit 63ea626cef
5 changed files with 30 additions and 8 deletions

View File

@@ -583,6 +583,12 @@ Known local toolchain state:
while non-Windows platforms still reach retained platform bridges through
the debt-tracked adapter isolated in
`src/platform_legacy/legacy_platform_services.*`.
- `src/app.h` now forward-declares retained platform handles instead of
including Objective-C, Android, or GLFW SDK headers. The full platform SDK
headers needed by retained non-Windows bridges are included in
`src/platform_legacy/legacy_platform_services.cpp`, keeping central app
header consumers lighter while `DEBT-0055` tracks removal of those handles
from `App`.
- `pp_platform_api` also owns `plan_asset_file_load`, the SDK-free file-load
policy consumed by `LayoutManager` for XML layout reload decisions. The
helper preserves desktop mtime-based reload behavior and non-desktop