diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-03-07 13:00:46 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-03-07 13:00:46 +0000 |
commit | 3452146217cbb8bac3c836aa8033160a1f5a5da8 (patch) | |
tree | 416935e8b2cc5d51a70eb411ce7f0c402b290ff5 /apps/plugin.c | |
parent | c70d51398329c56754899cc4be483f4478a93aa8 (diff) |
Make the old menu aPI use the new API. Both are avialable to core and
rocks, but use the new API unless you absolutly have to use the old one
(and file a FS bug if you do)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12670 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 230b62b819..eb1325c827 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -370,17 +370,13 @@ static const struct plugin_api rockbox_api = { #endif /* !SIMULATOR && CONFIG_CODEC != SWCODEC */ /* menu */ + do_menu, + /* OLD API - dont use unless you have to */ menu_init, menu_exit, menu_show, menu_run, - menu_cursor, - menu_description, - menu_delete, menu_count, - menu_draw, - menu_insert, - menu_set_cursor, set_option, set_int, set_bool, |