summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-01-28 12:12:42 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-01-28 12:12:42 +0000
commit745adad22a3803e7d7f3c14ba7ae2f8d3accb75a (patch)
tree644ae59e3b53daf9b534893763d2d0d7610f91fa /apps/plugin.h
parent9bd06032a37c60b17ae1643677ddc9a56a46d67f (diff)
downloadrockbox-745adad22a3803e7d7f3c14ba7ae2f8d3accb75a.zip
rockbox-745adad22a3803e7d7f3c14ba7ae2f8d3accb75a.tar.gz
rockbox-745adad22a3803e7d7f3c14ba7ae2f8d3accb75a.tar.bz2
rockbox-745adad22a3803e7d7f3c14ba7ae2f8d3accb75a.tar.xz
Color BMP support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8472 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 747c9e0..10ae180 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -97,12 +97,12 @@
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 3
+#define PLUGIN_API_VERSION 4
/* 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 1
+#define PLUGIN_MIN_API_VERSION 2
/* plugin return codes */
enum plugin_status {
@@ -420,8 +420,8 @@ struct plugin_api {
bool (*peak_meter_get_use_dbfs)(void);
#endif
#ifdef HAVE_LCD_BITMAP
- int (*read_bmp_file)(char* filename, int *get_width, int *get_height,
- char *bitmap, int maxsize);
+ int (*read_bmp_file)(char* filename, struct bitmap *bm, int maxsize,
+ int format);
void (*screen_dump_set_hook)(void (*hook)(int fh));
#endif
int (*show_logo)(void);