diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-05 00:03:18 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-05 00:03:18 +0000 |
| commit | 6e80ac39a5a3e7091c14db19cac791c9ddb8849f (patch) | |
| tree | e719274318b79d5fc5e5df8a01ad1b32a9be7745 /firmware/export | |
| parent | 839dbcaed7ea135dcc0812de76f9ff5c1dc924f5 (diff) | |
| download | rockbox-6e80ac39a5a3e7091c14db19cac791c9ddb8849f.zip rockbox-6e80ac39a5a3e7091c14db19cac791c9ddb8849f.tar.gz rockbox-6e80ac39a5a3e7091c14db19cac791c9ddb8849f.tar.bz2 rockbox-6e80ac39a5a3e7091c14db19cac791c9ddb8849f.tar.xz | |
New poweroff handling, using the SYS_POWEROFF event, allowing plugins to save their settings before powering off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7019 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/powermgmt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h index 29ef9eb..e32867a 100644 --- a/firmware/export/powermgmt.h +++ b/firmware/export/powermgmt.h @@ -130,5 +130,6 @@ int get_sleep_timer(void); void set_car_adapter_mode(bool setting); void reset_poweroff_timer(void); void shutdown_hw(void); +void sys_poweroff(bool halt); #endif |