diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-18 13:03:01 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-18 13:03:01 +0000 |
| commit | 36a2e3087295385d15797f83120222ff71dc32bf (patch) | |
| tree | 99ef6148d8b020396734f9c3dcfd520d730045f3 /apps/tree.h | |
| parent | f44f961812c059b69df19ac5bd828986ba10513f (diff) | |
| download | rockbox-36a2e3087295385d15797f83120222ff71dc32bf.zip rockbox-36a2e3087295385d15797f83120222ff71dc32bf.tar.gz rockbox-36a2e3087295385d15797f83120222ff71dc32bf.tar.bz2 rockbox-36a2e3087295385d15797f83120222ff71dc32bf.tar.xz | |
Move the inbuilt filetype info into filetypes.c and rename the defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13201 a1c6a512-1295-4272-9138-f99709370657
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 062dcf9..5c808e8 100644 --- a/apps/tree.h +++ b/apps/tree.h @@ -29,12 +29,6 @@ struct entry { char *name; }; -struct filetype { - char* extension; - int tree_attr; - int icon; - int voiceclip; -}; /* browser context for file or db */ struct tree_context { @@ -75,28 +69,6 @@ struct tree_context { bool dirfull; }; -/* using attribute bits not used by FAT (FAT uses lower 7) */ - -#define TREE_ATTR_THUMBNAIL 0x0080 /* corresponding .talk file exists */ - -/* (this also reflects the sort order if by type) */ -#define TREE_ATTR_BMARK 0x0100 /* book mark file */ -#define TREE_ATTR_M3U 0x0200 /* playlist */ -#define TREE_ATTR_MPA 0x0300 /* mpeg audio file */ -#define TREE_ATTR_CFG 0x0400 /* config file */ -#define TREE_ATTR_WPS 0x0500 /* wps config file */ -#define TREE_ATTR_FONT 0x0600 /* font file */ -#define TREE_ATTR_LNG 0x0700 /* binary lang file */ -#define TREE_ATTR_ROCK 0x0800 /* binary rockbox plugin */ -#define TREE_ATTR_MOD 0x0900 /* firmware file */ -#define TREE_ATTR_RWPS 0x1000 /* remote-wps config file */ -#define TREE_ATTR_BMP 0x1100 /* backdrop bmp file */ -#define TREE_ATTR_KBD 0x1200 /* keyboard file */ -#define TREE_ATTR_FMR 0x1300 /* preset file */ -#define TREE_ATTR_CUE 0x1400 /* cuesheet file */ -#define TREE_ATTR_MASK 0xFF00 /* which bits tree.c uses for file types */ - -void tree_get_filetypes(const struct filetype**, int*); void tree_init(void); void browse_root(void); void get_current_file(char* buffer, int buffer_len); |