diff options
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-Debian.cpp')
-rw-r--r-- | src-qt5/core/libLumina/LuminaOS-Debian.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-Debian.cpp b/src-qt5/core/libLumina/LuminaOS-Debian.cpp index 8794928a..4acbe7d8 100644 --- a/src-qt5/core/libLumina/LuminaOS-Debian.cpp +++ b/src-qt5/core/libLumina/LuminaOS-Debian.cpp @@ -152,15 +152,20 @@ 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("dbus-send --system --print-reply \ --dest=org.freedesktop.login1 /org/freedesktop/login1 \ org.freedesktop.login1.Manager.PowerOff boolean:true"); } //System Restart -void LOS::systemRestart(){ //start reboot sequence +void LOS::systemRestart(bool skipupdates){ //start reboot sequence QProcess::startDetached("dbus-send --system --print-reply \ --dest=org.freedesktop.login1 /org/freedesktop/login1 \ org.freedesktop.login1.Manager.Reboot boolean:true"); |