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, 6 insertions, 5 deletions
diff --git a/apps/tree.h b/apps/tree.h
index a0015b6e76..01f3669477 100644
--- a/apps/tree.h
+++ b/apps/tree.h
@@ -36,15 +36,16 @@ struct filetype {
36 36
37 37
38/* using attribute not used by FAT */ 38/* using attribute not used by FAT */
39#define TREE_ATTR_MPA 0x0100 /* mpeg audio file */ 39/* (this also reflects the sort order if by type) */
40#define TREE_ATTR_BMARK 0x0100 /* book mark file */
40#define TREE_ATTR_M3U 0x0200 /* playlist */ 41#define TREE_ATTR_M3U 0x0200 /* playlist */
41#define TREE_ATTR_WPS 0x0300 /* wps config file */ 42#define TREE_ATTR_MPA 0x0300 /* mpeg audio file */
42#define TREE_ATTR_MOD 0x0400 /* firmware file */ 43#define TREE_ATTR_CFG 0x0400 /* config file */
43#define TREE_ATTR_CFG 0x0500 /* config file */ 44#define TREE_ATTR_WPS 0x0500 /* wps config file */
44#define TREE_ATTR_FONT 0x0600 /* font file */ 45#define TREE_ATTR_FONT 0x0600 /* font file */
45#define TREE_ATTR_LNG 0x0700 /* binary lang file */ 46#define TREE_ATTR_LNG 0x0700 /* binary lang file */
46#define TREE_ATTR_ROCK 0x0800 /* binary rockbox plugin */ 47#define TREE_ATTR_ROCK 0x0800 /* binary rockbox plugin */
47#define TREE_ATTR_BMARK 0x0900 /* book mark file */ 48#define TREE_ATTR_MOD 0x0900 /* firmware file */
48#define TREE_ATTR_MASK 0xFFC0 /* which bits tree.c uses (above) */ 49#define TREE_ATTR_MASK 0xFFC0 /* which bits tree.c uses (above) */
49 50
50void tree_get_filetypes(struct filetype**, int*); 51void tree_get_filetypes(struct filetype**, int*);