summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2007-07-25 10:08:51 +0000
committerKevin Ferrare <kevin@rockbox.org>2007-07-25 10:08:51 +0000
commita55a436993336b37a93d54a2e66de9f9ca60ee7a (patch)
tree3b1e51ddda7470ce13e06c938c7020718b8e3229 /apps/plugin.h
parentac017781e02e361074fd4da3b3eeb14745f79f03 (diff)
downloadrockbox-a55a436993336b37a93d54a2e66de9f9ca60ee7a.zip
rockbox-a55a436993336b37a93d54a2e66de9f9ca60ee7a.tar.gz
rockbox-a55a436993336b37a93d54a2e66de9f9ca60ee7a.tar.bz2
rockbox-a55a436993336b37a93d54a2e66de9f9ca60ee7a.tar.xz
fixed yellow, forgot to increase the plugin API version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13979 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 36ad3ba..2560480 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -117,7 +117,7 @@
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
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 */
enum plugin_status {
@@ -154,8 +154,6 @@ struct plugin_api {
void (*lcd_icon)(int icon, bool enable);
void (*lcd_double_height)(bool on);
#else
- void (*screen_clear_area)(struct screen * display, int xstart, int ystart,
- int width, int height);
void (*lcd_set_drawmode)(int mode);
int (*lcd_get_drawmode)(void);
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 v1first);
#endif
+#ifdef HAVE_LCD_BITMAP
+ void (*screen_clear_area)(struct screen * display, int xstart, int ystart,
+ int width, int height);
+#endif
};
/* plugin header */