From 92e19db34a03d5705229f1abe0e2ce8fd28d93b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohensohn?= Date: Sat, 19 Jun 2004 09:36:03 +0000 Subject: [PATCH] replaced an unuseable function by one I need, no version bump git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4774 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 2 +- apps/plugin.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/plugin.c b/apps/plugin.c index a9a2dfb58a..a990463b8c 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -210,7 +210,7 @@ static struct plugin_api rockbox_api = { mpeg_prev, mpeg_ff_rewind, mpeg_next_track, - mpeg_has_changed_track, + playlist_amount, mpeg_status, #ifdef HAVE_LCD_BITMAP font_get, diff --git a/apps/plugin.h b/apps/plugin.h index a11922c889..ec16376b11 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -44,6 +44,7 @@ #include "mp3_playback.h" #include "settings.h" #include "thread.h" +#include "playlist.h" #ifdef PLUGIN #if defined(DEBUG) || defined(SIMULATOR) @@ -239,7 +240,7 @@ struct plugin_api { void (*mpeg_prev)(void); void (*mpeg_ff_rewind)(int newtime); struct mp3entry* (*mpeg_next_track)(void); - bool (*mpeg_has_changed_track)(void); + int (*playlist_amount)(void); int (*mpeg_status)(void); #ifdef HAVE_LCD_BITMAP