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-OpenBSD.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-OpenBSD.cpp')
-rw-r--r-- | libLumina/LuminaOS-OpenBSD.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-OpenBSD.cpp b/libLumina/LuminaOS-OpenBSD.cpp index df6ddeba..5fda4866 100644 --- a/libLumina/LuminaOS-OpenBSD.cpp +++ b/libLumina/LuminaOS-OpenBSD.cpp @@ -166,6 +166,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 -b").join("").toInt(); |