summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c2
-rw-r--r--apps/plugin.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index a990463b8c..b7646c021d 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -240,6 +240,8 @@ static struct plugin_api rockbox_api = {
#ifdef HAVE_LCD_CHARCELLS
lcd_icon,
#endif
+
+ reset_poweroff_timer,
};
int plugin_load(char* plugin, void* parameter)
diff --git a/apps/plugin.h b/apps/plugin.h
index ec16376b11..1405ba3924 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -276,6 +276,8 @@ struct plugin_api {
#ifdef HAVE_LCD_CHARCELLS
void (*lcd_icon)(int icon, bool enable);
#endif
+
+ void (*reset_poweroff_timer)(void);
};
/* defined by the plugin loader (plugin.c) */