summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 373795b145..fa5993d97f 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -130,12 +130,12 @@ void* plugin_get_buffer(size_t *buffer_size);
130#define PLUGIN_MAGIC 0x526F634B /* RocK */ 130#define PLUGIN_MAGIC 0x526F634B /* RocK */
131 131
132/* increase this every time the api struct changes */ 132/* increase this every time the api struct changes */
133#define PLUGIN_API_VERSION 121 133#define PLUGIN_API_VERSION 122
134 134
135/* update this to latest version if a change to the api struct breaks 135/* update this to latest version if a change to the api struct breaks
136 backwards compatibility (and please take the opportunity to sort in any 136 backwards compatibility (and please take the opportunity to sort in any
137 new function which are "waiting" at the end of the function table) */ 137 new function which are "waiting" at the end of the function table) */
138#define PLUGIN_MIN_API_VERSION 121 138#define PLUGIN_MIN_API_VERSION 122
139 139
140/* plugin return codes */ 140/* plugin return codes */
141enum plugin_status { 141enum plugin_status {
@@ -256,7 +256,8 @@ struct plugin_api {
256 void (*backlight_set_timeout_plugged)(int index); 256 void (*backlight_set_timeout_plugged)(int index);
257#endif 257#endif
258 bool (*is_backlight_on)(bool ignore_always_off); 258 bool (*is_backlight_on)(bool ignore_always_off);
259 void (*splash)(int ticks, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3); 259 void (*splash)(int ticks, const char *str);
260 void (*splashf)(int ticks, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3);
260 261
261#ifdef HAVE_REMOTE_LCD 262#ifdef HAVE_REMOTE_LCD
262 /* remote lcd */ 263 /* remote lcd */