summaryrefslogtreecommitdiff
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 @@
97#define PLUGIN_MAGIC 0x526F634B /* RocK */ 97#define PLUGIN_MAGIC 0x526F634B /* RocK */
98 98
99/* increase this every time the api struct changes */ 99/* increase this every time the api struct changes */
100#define PLUGIN_API_VERSION 3 100#define PLUGIN_API_VERSION 4
101 101
102/* update this to latest version if a change to the api struct breaks 102/* update this to latest version if a change to the api struct breaks
103 backwards compatibility (and please take the opportunity to sort in any 103 backwards compatibility (and please take the opportunity to sort in any
104 new function which are "waiting" at the end of the function table) */ 104 new function which are "waiting" at the end of the function table) */
105#define PLUGIN_MIN_API_VERSION 1 105#define PLUGIN_MIN_API_VERSION 2
106 106
107/* plugin return codes */ 107/* plugin return codes */
108enum plugin_status { 108enum plugin_status {
@@ -420,8 +420,8 @@ struct plugin_api {
420 bool (*peak_meter_get_use_dbfs)(void); 420 bool (*peak_meter_get_use_dbfs)(void);
421#endif 421#endif
422#ifdef HAVE_LCD_BITMAP 422#ifdef HAVE_LCD_BITMAP
423 int (*read_bmp_file)(char* filename, int *get_width, int *get_height, 423 int (*read_bmp_file)(char* filename, struct bitmap *bm, int maxsize,
424 char *bitmap, int maxsize); 424 int format);
425 void (*screen_dump_set_hook)(void (*hook)(int fh)); 425 void (*screen_dump_set_hook)(void (*hook)(int fh));
426#endif 426#endif
427 int (*show_logo)(void); 427 int (*show_logo)(void);