forked from len0rd/rockbox
fixed yellow, forgot to increase the plugin API version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13979 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ac017781e0
commit
a55a436993
3 changed files with 9 additions and 5 deletions
|
@ -87,7 +87,6 @@ static const struct plugin_api rockbox_api = {
|
||||||
lcd_icon,
|
lcd_icon,
|
||||||
lcd_double_height,
|
lcd_double_height,
|
||||||
#else
|
#else
|
||||||
screen_clear_area,
|
|
||||||
lcd_set_drawmode,
|
lcd_set_drawmode,
|
||||||
lcd_get_drawmode,
|
lcd_get_drawmode,
|
||||||
lcd_setfont,
|
lcd_setfont,
|
||||||
|
@ -491,6 +490,9 @@ static const struct plugin_api rockbox_api = {
|
||||||
get_codec_filename,
|
get_codec_filename,
|
||||||
get_metadata,
|
get_metadata,
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_LCD_BITMAP
|
||||||
|
screen_clear_area,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
int plugin_load(const char* plugin, void* parameter)
|
int plugin_load(const char* plugin, void* parameter)
|
||||||
|
|
|
@ -117,7 +117,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 65
|
#define PLUGIN_MIN_API_VERSION 66
|
||||||
|
|
||||||
/* plugin return codes */
|
/* plugin return codes */
|
||||||
enum plugin_status {
|
enum plugin_status {
|
||||||
|
@ -154,8 +154,6 @@ struct plugin_api {
|
||||||
void (*lcd_icon)(int icon, bool enable);
|
void (*lcd_icon)(int icon, bool enable);
|
||||||
void (*lcd_double_height)(bool on);
|
void (*lcd_double_height)(bool on);
|
||||||
#else
|
#else
|
||||||
void (*screen_clear_area)(struct screen * display, int xstart, int ystart,
|
|
||||||
int width, int height);
|
|
||||||
void (*lcd_set_drawmode)(int mode);
|
void (*lcd_set_drawmode)(int mode);
|
||||||
int (*lcd_get_drawmode)(void);
|
int (*lcd_get_drawmode)(void);
|
||||||
void (*lcd_setfont)(int font);
|
void (*lcd_setfont)(int font);
|
||||||
|
@ -613,6 +611,10 @@ struct plugin_api {
|
||||||
bool (*get_metadata)(struct track_info* track, int fd, const char* trackname,
|
bool (*get_metadata)(struct track_info* track, int fd, const char* trackname,
|
||||||
bool v1first);
|
bool v1first);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_LCD_BITMAP
|
||||||
|
void (*screen_clear_area)(struct screen * display, int xstart, int ystart,
|
||||||
|
int width, int height);
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/* plugin header */
|
/* plugin header */
|
||||||
|
|
|
@ -52,7 +52,7 @@ static unsigned long char_patterns[NB_SLOTS];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct jackpot_picture{
|
struct jackpot_picture{
|
||||||
const fb_data* data;
|
const void* data;
|
||||||
int width;
|
int width;
|
||||||
int height;
|
int height;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue