-rw-r--r-- | core/launcher/screensaver.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/launcher/screensaver.h b/core/launcher/screensaver.h index 9126f33..da10a8d 100644 --- a/core/launcher/screensaver.h +++ b/core/launcher/screensaver.h | |||
@@ -44,12 +44,25 @@ private: | |||
44 | bool m_enable_suspend_ac; | 44 | bool m_enable_suspend_ac; |
45 | bool m_onlylcdoff_ac; | 45 | bool m_onlylcdoff_ac; |
46 | 46 | ||
47 | bool m_use_light_sensor; | 47 | bool m_use_light_sensor; |
48 | int m_backlight_sensor; | 48 | int m_backlight_sensor; |
49 | 49 | ||
50 | enum { | ||
51 | LS_Interval = 0, | ||
52 | LS_Steps, | ||
53 | LS_SensorMin, | ||
54 | LS_SensorMax, | ||
55 | LS_LightMin, | ||
56 | LS_LightMax, | ||
57 | |||
58 | LS_Count | ||
59 | }; | ||
60 | |||
61 | int m_sensordata [LS_Count]; | ||
62 | |||
50 | bool m_lcd_status; | 63 | bool m_lcd_status; |
51 | 64 | ||
52 | int m_backlight_normal; | 65 | int m_backlight_normal; |
53 | int m_backlight_current; | 66 | int m_backlight_current; |
54 | bool m_backlight_forcedoff; | 67 | bool m_backlight_forcedoff; |
55 | 68 | ||