aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-template.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-template.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-template.cpp22
1 files changed, 13 insertions, 9 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-template.cpp b/src-qt5/core/libLumina/LuminaOS-template.cpp
index c6dedf3b..90aab15c 100644
--- a/src-qt5/core/libLumina/LuminaOS-template.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-template.cpp
@@ -9,7 +9,7 @@
#include <unistd.h>
#include <stdio.h> // Needed for BUFSIZ
-QString LOS::OSName(){ return "Sample"; }
+QString LOS::OSName(){ return "Unknown"; }
//OS-specific prefix(s)
// NOTE: PREFIX, L_ETCDIR, L_SHAREDIR are defined in the OS-detect.pri project file and passed in
@@ -39,7 +39,7 @@ int LOS::ScreenBrightness(){
}
//Set screen brightness
-void LOS::setScreenBrightness(int percent){
+void LOS::setScreenBrightness(int){ //percent: 0-100
//not implemented yet
}
@@ -50,12 +50,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 from current (+ or -)
//not implemented yet
}
@@ -84,12 +84,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");
}
@@ -124,12 +126,14 @@ int LOS::batterySecondsLeft(){ //Returns: estimated number of seconds remaining
}
//File Checksums
-QStringList LOS::Checksums(QStringList filepaths){ //Return: checksum of the input file
- return QStringList();
+QStringList LOS::Checksums(QStringList){ //QStringList filepaths
+ //Return: checksum of the input file
+ return QStringList();
}
//file system capacity
-QString LOS::FileSystemCapacity(QString dir) { //Return: percentage capacity as give by the df command
+QString LOS::FileSystemCapacity(QString) { //QString directory path
+ //Return: percentage capacity as give by the df command
return QString();
}
bgstack15