aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp
index 62bbdb1c..5ec9751e 100644
--- a/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp
@@ -95,7 +95,7 @@ int LOS::audioVolume(){ //Returns: audio volume as a percentage (0-100, with -1
}
//Set the current volume
-void LOS::setAudioVolume(int percent){
+void LOS::setAudioVolume(int){ //percent: 0-100
return;
}
@@ -137,12 +137,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 -h 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");
}
@@ -177,12 +179,12 @@ int LOS::batterySecondsLeft(){ //Returns: estimated number of seconds remaining
}
//File Checksums
-QStringList LOS::Checksums(QStringList filepaths){ //Return: checksum of the input file
+QStringList LOS::Checksums(QStringList){ //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) { //Return: percentage capacity as give by the df command
return QString();
}
@@ -202,4 +204,3 @@ QStringList LOS::DiskUsage(){ //Returns: List of current read/write stats for ea
return QStringList(); //not implemented yet
}
#endif
-#endif
bgstack15