-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 | |||
@@ -38,24 +38,37 @@ private: | |||
38 | bool m_enable_lightoff; | 38 | bool m_enable_lightoff; |
39 | bool m_enable_suspend; | 39 | bool m_enable_suspend; |
40 | bool m_onlylcdoff; | 40 | bool m_onlylcdoff; |
41 | 41 | ||
42 | bool m_enable_dim_ac; | 42 | bool m_enable_dim_ac; |
43 | bool m_enable_lightoff_ac; | 43 | bool m_enable_lightoff_ac; |
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 | ||
56 | bool m_on_ac; | 69 | bool m_on_ac; |
57 | 70 | ||
58 | int m_level; | 71 | int m_level; |
59 | }; | 72 | }; |
60 | 73 | ||
61 | #endif | 74 | #endif |