diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-06-22 07:16:31 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-06-22 07:16:31 +0000 |
| commit | e61f6fa5995780054760b44b35ef4f4d4a35afed (patch) | |
| tree | 15c6088c7ec50acbcd807cbff555399108281ad1 /apps/plugin.h | |
| parent | 0907631464198e30235e1c628ba630bb73c498d2 (diff) | |
| download | rockbox-e61f6fa5995780054760b44b35ef4f4d4a35afed.zip rockbox-e61f6fa5995780054760b44b35ef4f4d4a35afed.tar.gz rockbox-e61f6fa5995780054760b44b35ef4f4d4a35afed.tar.bz2 rockbox-e61f6fa5995780054760b44b35ef4f4d4a35afed.tar.xz | |
Added reset_poweroff_timer(), which can be used to prevent idle poweroff. This is also available in the plugin API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4787 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index ec16376..1405ba3 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) */ |