summaryrefslogtreecommitdiff
path: root/apps/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.h')
-rw-r--r--apps/tree.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/tree.h b/apps/tree.h
index 6b8879001f..a1e132f775 100644
--- a/apps/tree.h
+++ b/apps/tree.h
@@ -21,6 +21,17 @@
21 21
22#include <stdbool.h> 22#include <stdbool.h>
23 23
24/* using attribute not used by FAT */
25#define TREE_ATTR_MPA 0x40 /* mpeg audio file */
26#define TREE_ATTR_M3U 0x80 /* playlist */
27#define TREE_ATTR_WPS 0x100 /* wps config file */
28#define TREE_ATTR_MOD 0x200 /* firmware file */
29#define TREE_ATTR_CFG 0x400 /* config file */
30#define TREE_ATTR_TXT 0x500 /* text file */
31#define TREE_ATTR_FONT 0x800 /* font file */
32#define TREE_ATTR_LNG 0x1000 /* binary lang file */
33#define TREE_ATTR_MASK 0xffd0 /* which bits tree.c uses (above + DIR) */
34
24void browse_root(void); 35void browse_root(void);
25void set_current_file(char *path); 36void set_current_file(char *path);
26bool dirbrowse(char *root); 37bool dirbrowse(char *root);