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.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-template.cpp b/src-qt5/core/libLumina/LuminaOS-template.cpp
index 00bbae52..c6dedf3b 100644
--- a/src-qt5/core/libLumina/LuminaOS-template.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-template.cpp
@@ -78,14 +78,18 @@ bool LOS::userHasShutdownAccess(){
bool LOS::systemPerformingUpdates(){
return false; //Not implemented yet
}
+//Return the details of any updates which are waiting to apply on shutdown
+QString LOS::systemPendingUpdates(){
+ return "";
+}
//System Shutdown
-void LOS::systemShutdown(){ //start poweroff sequence
+void LOS::systemShutdown(bool skipupdates){ //start poweroff sequence
QProcess::startDetached("shutdown -p now");
}
//System Restart
-void LOS::systemRestart(){ //start reboot sequence
+void LOS::systemRestart(bool skipupdates){ //start reboot sequence
QProcess::startDetached("shutdown -r now");
}
bgstack15