summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpeg_settings.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-05-08 11:55:43 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-05-08 11:55:43 +0000
commit77a458a464450c4e9d6977ac3f27b0e56217443c (patch)
tree526440820d32959de28747194effefb2ad6012d0 /apps/plugins/mpegplayer/mpeg_settings.c
parentb15ef987ca75a6940313ae22f638363d50d7919e (diff)
downloadrockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.zip
rockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.tar.gz
rockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.tar.bz2
rockbox-77a458a464450c4e9d6977ac3f27b0e56217443c.tar.xz
Move the old api out of the core and into the plugin lib.
ew plugins shuold use the new api and not this one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13358 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_settings.c')
-rw-r--r--apps/plugins/mpegplayer/mpeg_settings.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c
index c692edf..964bad0 100644
--- a/apps/plugins/mpegplayer/mpeg_settings.c
+++ b/apps/plugins/mpegplayer/mpeg_settings.c
@@ -1,5 +1,6 @@
#include "plugin.h"
#include "lib/configfile.h"
+#include "lib/oldmenuapi.h"
#include "mpeg_settings.h"
@@ -41,13 +42,13 @@ bool mpeg_menu(void)
{ "Quit mpegplayer", NULL },
};
- m = rb->menu_init(items, sizeof(items) / sizeof(*items),
+ m = menu_init(rb, items, sizeof(items) / sizeof(*items),
NULL, NULL, NULL, NULL);
rb->button_clear_queue();
while (!menu_quit) {
- result=rb->menu_show(m);
+ result=menu_show(m);
switch(result)
{
@@ -71,7 +72,7 @@ bool mpeg_menu(void)
}
}
- rb->menu_exit(m);
+ menu_exit(m);
rb->lcd_clear_display();
rb->lcd_update();