aboutsummaryrefslogtreecommitdiff
path: root/include/notifications/awake.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/notifications/awake.h')
-rw-r--r--include/notifications/awake.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/notifications/awake.h b/include/notifications/awake.h
index bc38817..9c9d434 100644
--- a/include/notifications/awake.h
+++ b/include/notifications/awake.h
@@ -39,6 +39,12 @@ public:
explicit Awake(const std::string& app_name);
~Awake();
+ /** Whether or not the display is forced on */
+ bool display_forced() const;
+
+ /** Set the display force on/off */
+ void set_display_forced(bool forced);
+
private:
class Impl;
std::unique_ptr<Impl> impl;