summaryrefslogtreecommitdiff
path: root/apps/tree.h
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-06-22 09:16:44 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-06-22 09:16:44 +0000
commit5c8a2f5835f0980f7d1646c6c9288235b7e3499b (patch)
tree4dd4c58b37d636c44451bcd348349def75f437cd /apps/tree.h
parentcac729ef82b0da450f32b142b48923576f66caaf (diff)
downloadrockbox-5c8a2f5835f0980f7d1646c6c9288235b7e3499b.tar.gz
rockbox-5c8a2f5835f0980f7d1646c6c9288235b7e3499b.zip
sort options for files & directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4789 a1c6a512-1295-4272-9138-f99709370657
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*);