1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-07-04 21:28:54 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
Maarten ter Huurne
8d662c95f6 Various cleanups in PowerSaver
Use nullptr instead of NULL, evaluate pointer as bool where possible.
Declare the timer callback as a friend function so the methods it uses
can stay private.
Initialize screenState to false; was uninitialized which means that
an initially blanked screen might not be unblanked.
Force screen enable in constructor instead of when timeout is set.
Add removeScreenTimer method.
Include C++-ified versions of the C headers.
2014-08-14 09:28:41 +02:00
Paul Cercueil
2d81b13459 Reinitialize the powersaver timer when a suspend has been detected. 2012-02-02 23:36:26 +01:00
Maarten ter Huurne
ae685a9729 PowerSaver: re-layouted code.
No functional changes.
2011-10-23 07:05:54 +02:00
Ayla
f31828667f Added a boolean function to know if the powersaver is running. 2011-08-17 00:44:45 +02:00
Sergey Kukunin
240286df11 Add powersaver class 2011-06-02 06:32:39 +03:00