diff options
author | Ken Moore <ken@pcbsd.org> | 2015-04-19 14:19:11 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-04-19 14:19:11 -0400 |
commit | fbd67e202c15ffec78ad15dc9ea1ba8b6eb1b798 (patch) | |
tree | 19760bc59fa1b55133cec99e8764ccbb710194d3 /libLumina/LuminaOS-DragonFly.cpp | |
parent | Adjust te brightness control labelling a bit in the sytem dashboard. Now the ... (diff) | |
download | lumina-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-DragonFly.cpp')
-rw-r--r-- | libLumina/LuminaOS-DragonFly.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-DragonFly.cpp b/libLumina/LuminaOS-DragonFly.cpp index b9ba58a2..57ff1b2a 100644 --- a/libLumina/LuminaOS-DragonFly.cpp +++ b/libLumina/LuminaOS-DragonFly.cpp @@ -148,6 +148,16 @@ void LOS::systemRestart(){ //start reboot sequence QProcess::startDetached("shutdown -r now"); } +//Check for suspend support +bool LOS::systemCanSuspend(){ + return false; +} + +//Put the system into the suspend state +void LOS::systemSuspend(){ + +} + //Battery Availability bool LOS::hasBattery(){ int val = LUtils::getCmdOutput("apm -l").join("").toInt(); |