aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-08-18 15:50:49 -0400
committerKen Moore <moorekou@gmail.com>2016-08-18 15:50:49 -0400
commitbd87d69b5c64a80a209e5cd8e3f0c7fac608c87c (patch)
tree1c3717afdba77275ad9b2028ee9eefae71682442 /src-qt5/core/libLumina/LuminaOS.h
parentOops - NOW the OS-detect.pri file is fixed for the LIBPREFIX variable (also c... (diff)
downloadlumina-bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c.tar.gz
lumina-bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c.tar.bz2
lumina-bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c.zip
Add in pending update detection/skipping ability to the main logout window (not the start menu options yet).
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS.h')
-rw-r--r--src-qt5/core/libLumina/LuminaOS.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS.h b/src-qt5/core/libLumina/LuminaOS.h
index a18f2909..50d6baec 100644
--- a/src-qt5/core/libLumina/LuminaOS.h
+++ b/src-qt5/core/libLumina/LuminaOS.h
@@ -61,10 +61,12 @@ public:
//Check for user system permission (shutdown/restart)
static bool userHasShutdownAccess();
static bool systemPerformingUpdates();
+ static QString systemPendingUpdates(); //returns nothing if no updates waiting to install at shutdown
+
//System Shutdown
- static void systemShutdown(); //start poweroff sequence
+ static void systemShutdown(bool skipupdates = false); //start poweroff sequence
//System Restart
- static void systemRestart(); //start reboot sequence
+ static void systemRestart(bool skipupdates = false); //start reboot sequence
//Check for suspend support
static bool systemCanSuspend();
//Put the system into the suspend state
bgstack15