qtmobility/plugins/sensors/symbian/rotationsensorsym.h
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
    87      * Second phase constructor
    87      * Second phase constructor
    88      * Initialize the backend resources
    88      * Initialize the backend resources
    89      */
    89      */
    90     void ConstructL();
    90     void ConstructL();
    91     
    91     
       
    92     /**
       
    93      * Overriding this method in rotation sensor to hard code value of 
       
    94      * mesurement range from -180 to 180 as Qt want
       
    95      * Symbian provides measurement range from 0 to 359
       
    96      */
       
    97     void GetMeasurementrangeAndAccuracy();
       
    98     
    92 public:
    99 public:
    93     /**
   100     /**
    94      * Holds the id of the proximity sensor
   101      * Holds the id of the proximity sensor
    95      */
   102      */
    96     static const char *id;
   103     static char const * const id;
    97     
   104     
    98 private:     
   105 private:     
    99     QRotationReading iReading;
   106     QRotationReading iReading;
   100     TSensrvRotationData iData;
   107     TSensrvRotationData iData;
   101     };
   108     };