From 9e29a4fdb99b722c43af1268312db68fff17fc60 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 25 Mar 2015 12:42:28 -0500 Subject: 60 seconds after triggering an alarm, release our keepDisplayOn request --- include/notifications/awake.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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; -- cgit v1.2.3