diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-03-25 12:42:28 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2015-03-25 12:42:28 -0500 |
commit | 9e29a4fdb99b722c43af1268312db68fff17fc60 (patch) | |
tree | b4225826a96ca428e02f8badeb52f506047256b8 /include/notifications/awake.h | |
parent | 432db089ea22325c85718d43e4fbe148cbb94109 (diff) | |
download | ayatana-indicator-datetime-9e29a4fdb99b722c43af1268312db68fff17fc60.tar.gz ayatana-indicator-datetime-9e29a4fdb99b722c43af1268312db68fff17fc60.tar.bz2 ayatana-indicator-datetime-9e29a4fdb99b722c43af1268312db68fff17fc60.zip |
60 seconds after triggering an alarm, release our keepDisplayOn request
Diffstat (limited to 'include/notifications/awake.h')
-rw-r--r-- | include/notifications/awake.h | 6 |
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; |