diff -r 90517678cc4f -r 453da2cfceef qtmobility/plugins/sensors/symbian/sensorbackendsym.h --- a/qtmobility/plugins/sensors/symbian/sensorbackendsym.h Mon May 03 13:18:40 2010 +0300 +++ b/qtmobility/plugins/sensors/symbian/sensorbackendsym.h Fri May 14 16:41:33 2010 +0300 @@ -154,6 +154,49 @@ void InitializeL(); /* + * SetProperty is used to set property to the channel + */ + TInt SetProperty(TSensrvPropertyId aPropertyId, TSensrvPropertyType aPropertyType, TSensrvArrayIndex aArrayIndex, TReal aValue); + + /* + * SetMeasurementRange is used to check measurement range type and set the measurement range + */ + TInt SetMeasurementRange(); + + /* + * SetDataRate is used to calculate appropriate data rate for given interval and set that interval to the channel + */ + TInt SetDataRate(); + + /* + * SetProperties is used to set properties on the channel before start data listening + */ + void SetProperties(); + + /* + * GetPropertiesL used to get the properties from sensor server and sets as metadata for Qt. + */ + void GetPropertiesL(); + + /* + * GetDescription used to get description of sensor from symbian and set + * as description in Qt + */ + void GetDescription(); + + /* + * GetDataRate used to get available datarates from symbian and set + * as availableDataRates in Qt + */ + void GetDataRate(); + + /* + * GetMeasurementrangeAndAccuracy used to get measurement ranges and accuracy from + * symbian and set as outputRanges in Qt + */ + void GetMeasurementrangeAndAccuracy(); + + /* * Close is used to release all the sensor server objects * May change when error handling is supported by mobility apis */ @@ -186,12 +229,6 @@ * Used to stop listening to the sensor */ void StopListeningL(); - - /* - * timerEvent is called when timer expires, this is used for supporting time based - * sensor update policies - */ - void timerEvent(QTimerEvent *aTimerEvent); protected: TSensorBackendDataSym iBackendData;