summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
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 7c35902248..6d96d36dc1 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -98,7 +98,7 @@
98#define PLUGIN_MAGIC 0x526F634B /* RocK */ 98#define PLUGIN_MAGIC 0x526F634B /* RocK */
99 99
100/* increase this every time the api struct changes */ 100/* increase this every time the api struct changes */
101#define PLUGIN_API_VERSION 8 101#define PLUGIN_API_VERSION 9
102 102
103/* update this to latest version if a change to the api struct breaks 103/* update this to latest version if a change to the api struct breaks
104 backwards compatibility (and please take the opportunity to sort in any 104 backwards compatibility (and please take the opportunity to sort in any
@@ -469,6 +469,10 @@ struct plugin_api {
469 the API gets incompatible */ 469 the API gets incompatible */
470 470
471 struct tree_context* (*tree_get_context)(void); 471 struct tree_context* (*tree_get_context)(void);
472#if defined(SIMULATOR) && defined(HAVE_LCD_BITMAP) && LCD_DEPTH < 8
473 void (*sim_lcd_ex_init)(int shades, unsigned long (*getpixel)(int, int));
474 void (*sim_lcd_ex_update_rect)(int x, int y, int width, int height);
475#endif
472 476
473}; 477};
474 478