qtmobility/plugins/sensors/symbian/rotationsensorsym.h
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
--- a/qtmobility/plugins/sensors/symbian/rotationsensorsym.h	Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/plugins/sensors/symbian/rotationsensorsym.h	Wed Jun 23 19:08:38 2010 +0300
@@ -89,11 +89,18 @@
      */
     void ConstructL();
     
+    /**
+     * Overriding this method in rotation sensor to hard code value of 
+     * mesurement range from -180 to 180 as Qt want
+     * Symbian provides measurement range from 0 to 359
+     */
+    void GetMeasurementrangeAndAccuracy();
+    
 public:
     /**
      * Holds the id of the proximity sensor
      */
-    static const char *id;
+    static char const * const id;
     
 private:     
     QRotationReading iReading;