diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-03-25 15:47:22 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2015-03-25 15:47:22 -0500 |
commit | 4bf70c7afae44d4005d25105690304b4e9e361f3 (patch) | |
tree | cf35ba35345305a0934326202e8a4b8e6ec69208 /include/notifications/awake.h | |
parent | 9e29a4fdb99b722c43af1268312db68fff17fc60 (diff) | |
download | ayatana-indicator-datetime-4bf70c7afae44d4005d25105690304b4e9e361f3.tar.gz ayatana-indicator-datetime-4bf70c7afae44d4005d25105690304b4e9e361f3.tar.bz2 ayatana-indicator-datetime-4bf70c7afae44d4005d25105690304b4e9e361f3.zip |
the previous commit made the Awake API too complicated... simplifying.
Diffstat (limited to 'include/notifications/awake.h')
-rw-r--r-- | include/notifications/awake.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/notifications/awake.h b/include/notifications/awake.h index 9c9d434..ad04cca 100644 --- a/include/notifications/awake.h +++ b/include/notifications/awake.h @@ -36,15 +36,9 @@ namespace notifications { class Awake { public: - explicit Awake(const std::string& app_name); + explicit Awake(const std::string& app_name, unsigned int display_on_seconds); ~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; |