1
0
Fork 0
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:
Jens Arnold 2004-05-20 08:06:15 +00:00
parent 6920aed858
commit 2cf4f47005
2 changed files with 8 additions and 1 deletions

View file

@ -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)

View file

@ -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) */