summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 0aacd4e..9105932 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -113,7 +113,7 @@
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 90
+#define PLUGIN_API_VERSION 91
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -648,7 +648,13 @@ struct plugin_api {
bool (*file_exists)(const char *file);
bool (*dir_exists)(const char *path);
-
+
+#ifdef HAVE_REMOTE_LCD
+ void (*remote_backlight_set_timeout)(int index);
+#if CONFIG_CHARGING
+ void (*remote_backlight_set_timeout_plugged)(int index);
+#endif
+#endif /* HAVE_REMOTE_LCD */
};
/* plugin header */