From 4bf70c7afae44d4005d25105690304b4e9e361f3 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 25 Mar 2015 15:47:22 -0500 Subject: the previous commit made the Awake API too complicated... simplifying. --- include/notifications/awake.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include') 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; -- cgit v1.2.3