| 1 | #ifndef APP_H |
| 2 | #define APP_H |
| 3 | |
| 4 | #include <stdint.h> |
| 5 | |
| 6 | int app_start(void); |
| 7 | uint32_t *app_frame(int *drawn); // runs a frame; *drawn says whether the canvas was redrawn |
| 8 | void app_background(void); // while the system menu is up (downloads run by themselves) |
| 9 | void app_redraw(void); // draw the next frame whatever happens |
| 10 | void app_shutdown(void); |
| 11 | |
| 12 | void http_init(void); // in the backend's http file |
| 13 | |
| 14 | #endif |