forked from len0rd/rockbox
removing progressbar() and slidebar() broke backwards compatibility
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4857 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cc2e056f21
commit
84cb8606d0
2 changed files with 1 additions and 3 deletions
|
|
@ -177,7 +177,6 @@ static struct plugin_api rockbox_api = {
|
||||||
plugin_get_mp3_buffer,
|
plugin_get_mp3_buffer,
|
||||||
mpeg_sound_set,
|
mpeg_sound_set,
|
||||||
#ifndef SIMULATOR
|
#ifndef SIMULATOR
|
||||||
mp3_play_init,
|
|
||||||
mp3_play_data,
|
mp3_play_data,
|
||||||
mp3_play_pause,
|
mp3_play_pause,
|
||||||
mp3_play_stop,
|
mp3_play_stop,
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
/* update this to latest version if a change to the api struct breaks
|
/* update this to latest version if a change to the api struct breaks
|
||||||
backwards compatibility (and please take the opportunity to sort in any
|
backwards compatibility (and please take the opportunity to sort in any
|
||||||
new function which are "waiting" at the end of the function table) */
|
new function which are "waiting" at the end of the function table) */
|
||||||
#define PLUGIN_MIN_API_VERSION 10
|
#define PLUGIN_MIN_API_VERSION 18
|
||||||
|
|
||||||
/* plugin return codes */
|
/* plugin return codes */
|
||||||
enum plugin_status {
|
enum plugin_status {
|
||||||
|
|
@ -206,7 +206,6 @@ struct plugin_api {
|
||||||
void* (*plugin_get_mp3_buffer)(int* buffer_size);
|
void* (*plugin_get_mp3_buffer)(int* buffer_size);
|
||||||
void (*mpeg_sound_set)(int setting, int value);
|
void (*mpeg_sound_set)(int setting, int value);
|
||||||
#ifndef SIMULATOR
|
#ifndef SIMULATOR
|
||||||
void (*mp3_play_init)(void); /* FIXME: remove this next time we break compatibility */
|
|
||||||
void (*mp3_play_data)(unsigned char* start, int size, void (*get_more)(unsigned char** start, int* size));
|
void (*mp3_play_data)(unsigned char* start, int size, void (*get_more)(unsigned char** start, int* size));
|
||||||
void (*mp3_play_pause)(bool play);
|
void (*mp3_play_pause)(bool play);
|
||||||
void (*mp3_play_stop)(void);
|
void (*mp3_play_stop)(void);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue