Diffstat (limited to 'libopie2/opiecore/device/odevice_genuineintel.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice_genuineintel.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libopie2/opiecore/device/odevice_genuineintel.cpp b/libopie2/opiecore/device/odevice_genuineintel.cpp index 61ba052..1584249 100644 --- a/libopie2/opiecore/device/odevice_genuineintel.cpp +++ b/libopie2/opiecore/device/odevice_genuineintel.cpp | |||
@@ -115,79 +115,73 @@ void GenuineIntel::initButtons() | |||
115 | b. setFactoryPresetHeldAction ( OQCopMessage ( makeChannel ( ib->fheldservice ), ib->fheldaction )); | 115 | b. setFactoryPresetHeldAction ( OQCopMessage ( makeChannel ( ib->fheldservice ), ib->fheldaction )); |
116 | 116 | ||
117 | d->m_buttons->append ( b ); | 117 | d->m_buttons->append ( b ); |
118 | } | 118 | } |
119 | reloadButtonMapping(); | 119 | reloadButtonMapping(); |
120 | } | 120 | } |
121 | 121 | ||
122 | QValueList <OLed> GenuineIntel::ledList() const | 122 | QValueList <OLed> GenuineIntel::ledList() const |
123 | { | 123 | { |
124 | QValueList <OLed> vl; | 124 | QValueList <OLed> vl; |
125 | return vl; //none | 125 | return vl; //none |
126 | } | 126 | } |
127 | 127 | ||
128 | QValueList <OLedState> GenuineIntel::ledStateList ( OLed ) const | 128 | QValueList <OLedState> GenuineIntel::ledStateList ( OLed ) const |
129 | { | 129 | { |
130 | QValueList <OLedState> vl; | 130 | QValueList <OLedState> vl; |
131 | return vl; // none | 131 | return vl; // none |
132 | } | 132 | } |
133 | 133 | ||
134 | OLedState GenuineIntel::ledState ( OLed ) const | 134 | OLedState GenuineIntel::ledState ( OLed ) const |
135 | { | 135 | { |
136 | return Led_Off; | 136 | return Led_Off; |
137 | } | 137 | } |
138 | 138 | ||
139 | bool GenuineIntel::setLedState ( OLed , OLedState ) | 139 | bool GenuineIntel::setLedState ( OLed , OLedState ) |
140 | { | 140 | { |
141 | return false; | 141 | return false; |
142 | } | 142 | } |
143 | 143 | ||
144 | 144 | ||
145 | bool GenuineIntel::filter ( int /*unicode*/, int , int , bool , bool ) | 145 | bool GenuineIntel::filter ( int /*unicode*/, int , int , bool , bool ) |
146 | { | 146 | { |
147 | return false; | 147 | return false; |
148 | } | 148 | } |
149 | 149 | ||
150 | void GenuineIntel::playAlarmSound() | 150 | void GenuineIntel::playAlarmSound() |
151 | { | 151 | { |
152 | #ifndef QT_NO_SOUND | 152 | #ifndef QT_NO_SOUND |
153 | static Sound snd ( "alarm" ); | 153 | static Sound snd ( "alarm" ); |
154 | if(!snd.isFinished()) | 154 | if(!snd.isFinished()) |
155 | return; | 155 | return; |
156 | 156 | ||
157 | changeMixerForAlarm(0, "/dev/sound/mixer", &snd ); | 157 | changeMixerForAlarm(0, "/dev/sound/mixer", &snd ); |
158 | snd. play(); | 158 | snd. play(); |
159 | #endif | 159 | #endif |
160 | } | 160 | } |
161 | 161 | ||
162 | 162 | ||
163 | bool GenuineIntel::setSoftSuspend ( bool ) | ||
164 | { | ||
165 | return false; | ||
166 | } | ||
167 | |||
168 | |||
169 | bool GenuineIntel::setDisplayBrightness ( int ) | 163 | bool GenuineIntel::setDisplayBrightness ( int ) |
170 | { | 164 | { |
171 | return false; | 165 | return false; |
172 | } | 166 | } |
173 | 167 | ||
174 | int GenuineIntel::displayBrightnessResolution() const | 168 | int GenuineIntel::displayBrightnessResolution() const |
175 | { | 169 | { |
176 | return 1; // perhaps to avoid division by zero | 170 | return 1; // perhaps to avoid division by zero |
177 | } | 171 | } |
178 | 172 | ||
179 | 173 | ||
180 | bool GenuineIntel::hasLightSensor() const | 174 | bool GenuineIntel::hasLightSensor() const |
181 | { | 175 | { |
182 | return false; | 176 | return false; |
183 | } | 177 | } |
184 | 178 | ||
185 | int GenuineIntel::readLightSensor() | 179 | int GenuineIntel::readLightSensor() |
186 | { | 180 | { |
187 | return 0; | 181 | return 0; |
188 | } | 182 | } |
189 | 183 | ||
190 | int GenuineIntel::lightSensorResolution() const | 184 | int GenuineIntel::lightSensorResolution() const |
191 | { | 185 | { |
192 | return 1; // see above | 186 | return 1; // see above |
193 | } | 187 | } |