summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-05-20 08:06:15 +0000
committerJens Arnold <amiconn@rockbox.org>2004-05-20 08:06:15 +0000
commit2cf4f470053cf69f627943101a05e802195bc07b (patch)
treeed8fdaed7322a9dd98bce5a256ea015ce0f2c27f /apps/plugin.h
parent6920aed85872fa878670a89fe7ace1ef1ecbf49a (diff)
downloadrockbox-2cf4f470053cf69f627943101a05e802195bc07b.zip
rockbox-2cf4f470053cf69f627943101a05e802195bc07b.tar.gz
rockbox-2cf4f470053cf69f627943101a05e802195bc07b.tar.bz2
rockbox-2cf4f470053cf69f627943101a05e802195bc07b.tar.xz
Preparation for grayscale font support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4653 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index e234506..f539c3e 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -46,7 +46,7 @@
#include "thread.h"
/* 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
backwards compatibility (and please take the opportunity to sort in any
@@ -231,6 +231,10 @@ struct plugin_api {
struct mp3entry* (*mpeg_next_track)(void);
bool (*mpeg_has_changed_track)(void);
int (*mpeg_status)(void);
+
+#ifdef HAVE_LCD_BITMAP
+ struct font* (*font_get)(int font);
+#endif
};
/* defined by the plugin loader (plugin.c) */