equal
deleted
inserted
replaced
90 * sensor buffer |
90 * sensor buffer |
91 */ |
91 */ |
92 void DataReceived(CSensrvChannel &aChannel, TInt aCount, TInt aDataLost); |
92 void DataReceived(CSensrvChannel &aChannel, TInt aCount, TInt aDataLost); |
93 |
93 |
94 /** |
94 /** |
95 * DataError is called to indicate an error, fatal errors are inrecoverable |
95 * DataError is called to indicate an error, fatal errors are unrecoverable |
96 */ |
96 */ |
97 void DataError(CSensrvChannel &aChannel, TSensrvErrorSeverity aError); |
97 void DataError(CSensrvChannel &aChannel, TSensrvErrorSeverity aError); |
98 |
98 |
99 /* |
99 /* |
100 * GetDataListenerInterfaceL is used to get a pointer to the sensor server backend |
100 * GetDataListenerInterfaceL is used to get a pointer to the sensor server backend |
192 |
192 |
193 /* |
193 /* |
194 * GetMeasurementrangeAndAccuracy used to get measurement ranges and accuracy from |
194 * GetMeasurementrangeAndAccuracy used to get measurement ranges and accuracy from |
195 * symbian and set as outputRanges in Qt |
195 * symbian and set as outputRanges in Qt |
196 */ |
196 */ |
197 void GetMeasurementrangeAndAccuracy(); |
197 virtual void GetMeasurementrangeAndAccuracy(); |
198 |
198 |
199 /* |
199 /* |
200 * Close is used to release all the sensor server objects |
200 * Close is used to release all the sensor server objects |
201 * May change when error handling is supported by mobility apis |
201 * May change when error handling is supported by mobility apis |
202 */ |
202 */ |
227 |
227 |
228 /* |
228 /* |
229 * Used to stop listening to the sensor |
229 * Used to stop listening to the sensor |
230 */ |
230 */ |
231 void StopListeningL(); |
231 void StopListeningL(); |
|
232 |
|
233 private: |
|
234 TSensrvPropertyType propertyType(TSensrvPropertyId, TInt&); |
232 |
235 |
233 protected: |
236 protected: |
234 TSensorBackendDataSym iBackendData; |
237 TSensorBackendDataSym iBackendData; |
235 }; |
238 }; |
236 |
239 |