Recode filetypes.c to remove its need for a static string buffer.

Functional changes:
- filetypes.c handles the open with menu now instead of onplay.c
- automatic plugin registration no longer works (did anyone know about you could do this?)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12959 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-03-29 06:16:00 +00:00
parent d71b531c25
commit 21165a3f3d
7 changed files with 268 additions and 770 deletions

View file

@ -29,6 +29,7 @@
#include "kernel.h"
#include "button.h"
#include "tree.h"
#include "filetypes.h"
#include "panic.h"
#include "menu.h"
#include "system.h"
@ -258,6 +259,7 @@ static void init(void)
#endif
sleep(HZ/2);
tree_init();
filetype_init();
playlist_init();
#if CONFIG_CODEC != SWCODEC
@ -490,6 +492,7 @@ static void init(void)
status_init();
playlist_init();
tree_init();
filetype_init();
scrobbler_init();
cuesheet_init();