summaryrefslogtreecommitdiffstats
path: root/apps/plugin.h
diff options
context:
space:
mode:
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 747c9e099a..10ae180df7 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);