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