aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-NetBSD.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-02-28 16:12:42 -0500
committerKen Moore <ken@ixsystems.com>2017-02-28 16:12:42 -0500
commita2f40d986bdb6a235f8619a7e3578ada1ca270ac (patch)
tree5128e2dd1508798e6eb179f841da65776d22196e /src-qt5/core/libLumina/LuminaOS-NetBSD.cpp
parentTrack down and fix a really weird Fluxbox bug: (diff)
parentTranslated using Weblate (lumina_CONFIG@lt (generated)) (diff)
downloadlumina-a2f40d986bdb6a235f8619a7e3578ada1ca270ac.tar.gz
lumina-a2f40d986bdb6a235f8619a7e3578ada1ca270ac.tar.bz2
lumina-a2f40d986bdb6a235f8619a7e3578ada1ca270ac.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-NetBSD.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-NetBSD.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-NetBSD.cpp b/src-qt5/core/libLumina/LuminaOS-NetBSD.cpp
index 75feb345..b05185e9 100644
--- a/src-qt5/core/libLumina/LuminaOS-NetBSD.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-NetBSD.cpp
@@ -43,7 +43,7 @@ int LOS::ScreenBrightness(){
}
//Set screen brightness
-void LOS::setScreenBrightness(int percent){
+void LOS::setScreenBrightness(int){ //percent: 0-100
//not implemented yet
}
@@ -54,12 +54,12 @@ int LOS::audioVolume(){
}
//Set the current volume
-void LOS::setAudioVolume(int percent){
+void LOS::setAudioVolume(int){ //percent: 0-100
//not implemented yet
}
//Change the current volume a set amount (+ or -)
-void LOS::changeAudioVolume(int percentdiff){
+void LOS::changeAudioVolume(int){ //percent difference (+ or -)
//not implemented yet
}
@@ -91,12 +91,14 @@ QString LOS::systemPendingUpdates(){
}
//System Shutdown
-void LOS::systemShutdown(bool skipupdates){ //start poweroff sequence
+void LOS::systemShutdown(bool){ //start poweroff sequence
+ //INPUT: skip updates (true/false)
QProcess::startDetached("shutdown -p now");
}
//System Restart
-void LOS::systemRestart(bool skipupdates){ //start reboot sequence
+void LOS::systemRestart(bool){ //start reboot sequence
+ //INPUT: skip updates (true/false)
QProcess::startDetached("shutdown -r now");
}
bgstack15