mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
plugin api: new functions set the end of the structure. thanks to Frank Gevaerts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27335 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
276dfa23b6
commit
3691435c25
2 changed files with 12 additions and 8 deletions
|
|
@ -565,10 +565,6 @@ static const struct plugin_api rockbox_api = {
|
|||
/* statusbars */
|
||||
&statusbars,
|
||||
gui_syncstatusbar_draw,
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
sb_skin_get_info_vp,
|
||||
sb_skin_update,
|
||||
#endif
|
||||
|
||||
/* options */
|
||||
get_settings_list,
|
||||
|
|
@ -722,6 +718,12 @@ static const struct plugin_api rockbox_api = {
|
|||
#endif
|
||||
|
||||
rbversion,
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
sb_skin_get_info_vp,
|
||||
sb_skin_update,
|
||||
#endif
|
||||
|
||||
/* new stuff at the end, sort into place next time
|
||||
the API gets incompatible */
|
||||
};
|
||||
|
|
|
|||
|
|
@ -695,10 +695,6 @@ struct plugin_api {
|
|||
/* scroll bar */
|
||||
struct gui_syncstatusbar *statusbars;
|
||||
void (*gui_syncstatusbar_draw)(struct gui_syncstatusbar * bars, bool force_redraw);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
struct viewport *(*sb_skin_get_info_vp)(enum screen_type screen);
|
||||
void (*sb_skin_update)(enum screen_type screen, bool force);
|
||||
#endif
|
||||
|
||||
/* options */
|
||||
const struct settings_list* (*get_settings_list)(int*count);
|
||||
|
|
@ -889,6 +885,12 @@ struct plugin_api {
|
|||
#endif
|
||||
|
||||
const char *rbversion;
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
struct viewport *(*sb_skin_get_info_vp)(enum screen_type screen);
|
||||
void (*sb_skin_update)(enum screen_type screen, bool force);
|
||||
#endif
|
||||
|
||||
/* new stuff at the end, sort into place next time
|
||||
the API gets incompatible */
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue