improve directory handling in menu

This commit is contained in:
kub 2021-01-14 21:56:30 +01:00
parent 68c85e2a0b
commit a23a278d1e
3 changed files with 52 additions and 41 deletions

3
plat.h
View file

@ -107,6 +107,9 @@ int plat_get_root_dir(char *dst, int len);
/* return the dir/ where skin files are found */
int plat_get_skin_dir(char *dst, int len);
/* return the top level dir for image files */
int plat_get_data_dir(char *dst, int len);
int plat_is_dir(const char *path);
int plat_wait_event(int *fds_hnds, int count, int timeout_ms);
void plat_sleep_ms(int ms);