diff options
Diffstat (limited to 'apps/tree.h')
-rw-r--r-- | apps/tree.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/apps/tree.h b/apps/tree.h index 062dcf9639..5c808e8df7 100644 --- a/apps/tree.h +++ b/apps/tree.h | |||
@@ -29,12 +29,6 @@ struct entry { | |||
29 | char *name; | 29 | char *name; |
30 | }; | 30 | }; |
31 | 31 | ||
32 | struct filetype { | ||
33 | char* extension; | ||
34 | int tree_attr; | ||
35 | int icon; | ||
36 | int voiceclip; | ||
37 | }; | ||
38 | 32 | ||
39 | /* browser context for file or db */ | 33 | /* browser context for file or db */ |
40 | struct tree_context { | 34 | struct tree_context { |
@@ -75,28 +69,6 @@ struct tree_context { | |||
75 | bool dirfull; | 69 | bool dirfull; |
76 | }; | 70 | }; |
77 | 71 | ||
78 | /* using attribute bits not used by FAT (FAT uses lower 7) */ | ||
79 | |||
80 | #define TREE_ATTR_THUMBNAIL 0x0080 /* corresponding .talk file exists */ | ||
81 | |||
82 | /* (this also reflects the sort order if by type) */ | ||
83 | #define TREE_ATTR_BMARK 0x0100 /* book mark file */ | ||
84 | #define TREE_ATTR_M3U 0x0200 /* playlist */ | ||
85 | #define TREE_ATTR_MPA 0x0300 /* mpeg audio file */ | ||
86 | #define TREE_ATTR_CFG 0x0400 /* config file */ | ||
87 | #define TREE_ATTR_WPS 0x0500 /* wps config file */ | ||
88 | #define TREE_ATTR_FONT 0x0600 /* font file */ | ||
89 | #define TREE_ATTR_LNG 0x0700 /* binary lang file */ | ||
90 | #define TREE_ATTR_ROCK 0x0800 /* binary rockbox plugin */ | ||
91 | #define TREE_ATTR_MOD 0x0900 /* firmware file */ | ||
92 | #define TREE_ATTR_RWPS 0x1000 /* remote-wps config file */ | ||
93 | #define TREE_ATTR_BMP 0x1100 /* backdrop bmp file */ | ||
94 | #define TREE_ATTR_KBD 0x1200 /* keyboard file */ | ||
95 | #define TREE_ATTR_FMR 0x1300 /* preset file */ | ||
96 | #define TREE_ATTR_CUE 0x1400 /* cuesheet file */ | ||
97 | #define TREE_ATTR_MASK 0xFF00 /* which bits tree.c uses for file types */ | ||
98 | |||
99 | void tree_get_filetypes(const struct filetype**, int*); | ||
100 | void tree_init(void); | 72 | void tree_init(void); |
101 | void browse_root(void); | 73 | void browse_root(void); |
102 | void get_current_file(char* buffer, int buffer_len); | 74 | void get_current_file(char* buffer, int buffer_len); |