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, 7 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index c9d118e873..8839271f43 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -120,7 +120,7 @@
120#define PLUGIN_MAGIC 0x526F634B /* RocK */ 120#define PLUGIN_MAGIC 0x526F634B /* RocK */
121 121
122/* increase this every time the api struct changes */ 122/* increase this every time the api struct changes */
123#define PLUGIN_API_VERSION 109 123#define PLUGIN_API_VERSION 110
124 124
125/* update this to latest version if a change to the api struct breaks 125/* update this to latest version if a change to the api struct breaks
126 backwards compatibility (and please take the opportunity to sort in any 126 backwards compatibility (and please take the opportunity to sort in any
@@ -731,6 +731,12 @@ struct plugin_api {
731#ifdef HAVE_LCD_INVERT 731#ifdef HAVE_LCD_INVERT
732 void (*lcd_set_invert_display)(bool yesno); 732 void (*lcd_set_invert_display)(bool yesno);
733#endif /* HAVE_LCD_INVERT */ 733#endif /* HAVE_LCD_INVERT */
734#ifdef HAVE_BUTTON_DATA
735 intptr_t (*button_get_data)(void);
736#endif /* HAVE_BUTTON_DATA */
737#ifdef HAVE_TOUCHPAD
738 void (*touchpad_set_mode)(enum touchpad_mode);
739#endif /* HAVE_TOUCHPAD */
734}; 740};
735 741
736/* plugin header */ 742/* plugin header */