forked from len0rd/rockbox
Preparation for grayscale font support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4653 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6920aed858
commit
2cf4f47005
2 changed files with 8 additions and 1 deletions
|
|
@ -210,6 +210,9 @@ static struct plugin_api rockbox_api = {
|
||||||
mpeg_next_track,
|
mpeg_next_track,
|
||||||
mpeg_has_changed_track,
|
mpeg_has_changed_track,
|
||||||
mpeg_status,
|
mpeg_status,
|
||||||
|
#ifdef HAVE_LCD_BITMAP
|
||||||
|
font_get,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
int plugin_load(char* plugin, void* parameter)
|
int plugin_load(char* plugin, void* parameter)
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
|
|
||||||
/* increase this every time the api struct changes */
|
/* increase this every time the api struct changes */
|
||||||
#define PLUGIN_API_VERSION 13
|
#define PLUGIN_API_VERSION 14
|
||||||
|
|
||||||
/* 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
|
||||||
|
|
@ -231,6 +231,10 @@ struct plugin_api {
|
||||||
struct mp3entry* (*mpeg_next_track)(void);
|
struct mp3entry* (*mpeg_next_track)(void);
|
||||||
bool (*mpeg_has_changed_track)(void);
|
bool (*mpeg_has_changed_track)(void);
|
||||||
int (*mpeg_status)(void);
|
int (*mpeg_status)(void);
|
||||||
|
|
||||||
|
#ifdef HAVE_LCD_BITMAP
|
||||||
|
struct font* (*font_get)(int font);
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/* defined by the plugin loader (plugin.c) */
|
/* defined by the plugin loader (plugin.c) */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue