summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-06-19 09:36:03 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-06-19 09:36:03 +0000
commit92e19db34a03d5705229f1abe0e2ce8fd28d93b0 (patch)
treebf4e099abbddf48dd05749ed6c3fec1d2802da12 /apps
parente6f1a4aaa460d773aa7ff8c49d49ea5a64f23b7a (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c2
-rw-r--r--apps/plugin.h3
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