aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-04-19 14:19:11 -0400
committerKen Moore <ken@pcbsd.org>2015-04-19 14:19:11 -0400
commitfbd67e202c15ffec78ad15dc9ea1ba8b6eb1b798 (patch)
tree19760bc59fa1b55133cec99e8764ccbb710194d3 /libLumina/LuminaOS.h
parentAdjust te brightness control labelling a bit in the sytem dashboard. Now the ... (diff)
downloadlumina-fbd67e202c15ffec78ad15dc9ea1ba8b6eb1b798.tar.gz
lumina-fbd67e202c15ffec78ad15dc9ea1ba8b6eb1b798.tar.bz2
lumina-fbd67e202c15ffec78ad15dc9ea1ba8b6eb1b798.zip
Add support to LuminaOS for checking/starting the system suspend functionality.
Diffstat (limited to 'libLumina/LuminaOS.h')
-rw-r--r--libLumina/LuminaOS.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libLumina/LuminaOS.h b/libLumina/LuminaOS.h
index 091a8d96..eb0e2eb6 100644
--- a/libLumina/LuminaOS.h
+++ b/libLumina/LuminaOS.h
@@ -71,6 +71,11 @@ public:
static void systemShutdown(); //start poweroff sequence
//System Restart
static void systemRestart(); //start reboot sequence
+ //Check for suspend support
+ static bool systemCanSuspend();
+ //Put the system into the suspend state
+ static void systemSuspend();
+
//Battery Availability
static bool hasBattery();
bgstack15