848 B
848 B
| id | title | status | priority | created | updated | started | completed | tags | class | |
|---|---|---|---|---|---|---|---|---|---|---|
| 18 | Introduce ZAPHandler interface for getContent() | done | medium | 2026-07-17T03:57:59.054256365+02:00 | 2026-07-18T11:51:03.280085523+02:00 | 2026-07-18T11:51:03.281402582+02:00 | 2026-07-18T11:51:03.281402582+02:00 |
|
standard |
From framework review (docs/framework_review.md), P1-7. Currently getContent() is convention-only — no interface enforces it. A handler missing the method fails at runtime, not definition time. Fix: create a ZAPHandler (or ModeHandler) interface with public function getContent(), implement it on all existing handlers, add instanceof check in ZAPController.
2026-07-18 Sat 11:50 Created ZAPHandler interface with getContent(), implemented on ZAPHome/ZAPDisplay/ZAPZap, added instanceof check in ZAPController::fetch().