summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugin.c1
-rw-r--r--apps/plugin.h3
-rw-r--r--docs/PLUGIN_API8
3 files changed, 11 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index e0932f4730..28577ab251 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -677,6 +677,7 @@ static const struct plugin_api rockbox_api = {
#endif
/* playback control */
+ playlist_get_current,
playlist_amount,
playlist_resume,
playlist_resume_track,
diff --git a/apps/plugin.h b/apps/plugin.h
index b152300f97..ee21291192 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -161,6 +161,8 @@ void* plugin_get_buffer(size_t *buffer_size);
new function which are "waiting" at the end of the function table) */
#define PLUGIN_MIN_API_VERSION 239
+/* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */
+
/* plugin return codes */
/* internal returns start at 0x100 to make exit(1..255) work */
#define INTERNAL_PLUGIN_RETVAL_START 0x100
@@ -769,6 +771,7 @@ struct plugin_api {
#endif
/* playback control */
+ struct playlist_info* (*playlist_get_current)(void);
int (*playlist_amount)(void);
int (*playlist_resume)(void);
void (*playlist_resume_track)(int start_index, unsigned int crc,
diff --git a/docs/PLUGIN_API b/docs/PLUGIN_API
index b61e383977..1febe9fdf4 100644
--- a/docs/PLUGIN_API
+++ b/docs/PLUGIN_API
@@ -792,10 +792,11 @@ bool is_backlight_on(bool ignore_always_off)
\return
\description
-int kbd_input(char* buffer, int buflen)
+int kbd_input(char* buffer, int buflen, unsigned short *kbd)
\group misc
\param buffer
\param buflen
+ \param *kbd
\return 0 upon success, negative upon failure
\description Prompt for a string to be stored in =buffer= which is of length =buflen=
@@ -1513,6 +1514,11 @@ void pcm_stop_recording(void)
\conditions defined(HAVE_RECORDING)
\description
+struct playlist_info *playlist_get_current(void)
+ \group playback control
+ \return pointer to current playlist
+ \description
+
int playlist_amount(void)
\group playback control
\return the number of tracks in current playlist