summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tderootsystemdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdehw/tderootsystemdevice.h')
-rw-r--r--tdecore/tdehw/tderootsystemdevice.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/tdecore/tdehw/tderootsystemdevice.h b/tdecore/tdehw/tderootsystemdevice.h
index 7809fb09c..a28ff62a1 100644
--- a/tdecore/tdehw/tderootsystemdevice.h
+++ b/tdecore/tdehw/tderootsystemdevice.h
@@ -41,7 +41,8 @@ enum TDESystemPowerState {
Suspend,
Hibernate,
PowerOff,
- Reboot
+ Reboot,
+ HybridSuspend
};
};
@@ -52,7 +53,8 @@ enum TDESystemHibernationMethod {
Shutdown,
Reboot,
TestProc,
- Test
+ Test,
+ Suspend
};
};
@@ -124,6 +126,11 @@ class TDECORE_EXPORT TDERootSystemDevice : public TDEGenericDevice
bool canHibernate();
/**
+ * @return TRUE if hardware and permissions allow the system to be hybrid suspended, FALSE if not
+ */
+ bool canHybridSuspend();
+
+ /**
* @return TRUE if permissions allow the system to be powered down, FALSE if not
*/
bool canPowerOff();