qtmobility/plugins/sensors/symbian/accelerometersym.h
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
    68      * Destructor
    68      * Destructor
    69      * Closes the backend resources
    69      * Closes the backend resources
    70      */
    70      */
    71     ~CAccelerometerSensorSym();
    71     ~CAccelerometerSensorSym();
    72     
    72     
       
    73     void start();
       
    74     
    73 private:
    75 private:
    74     /**
    76     /**
    75      * Default constructor
    77      * Default constructor
    76      */
    78      */
    77     CAccelerometerSensorSym(QSensor *sensor);
    79     CAccelerometerSensorSym(QSensor *sensor);
    85     
    87     
    86     /**
    88     /**
    87      * Second phase constructor
    89      * Second phase constructor
    88      * Initialize the backend resources
    90      * Initialize the backend resources
    89      */
    91      */
    90     void ConstructL();    
    92     void ConstructL();   
    91     
    93     
    92 public:
    94 public:
    93     /**
    95     /**
    94      * Holds the id of the accelerometer
    96      * Holds the id of the accelerometer
    95      */
    97      */
    96     static const char *id;
    98     static char const * const id;
    97     
    99     
    98 private:
   100 private:
    99     QAccelerometerReading iReading;
   101     QAccelerometerReading iReading;
   100     TSensrvAccelerometerAxisData iData;
   102     TSensrvAccelerometerAxisData iData;
   101     TInt iScale, iUnit;
   103     TInt iScaleRange, iUnit;
   102     };
   104     };
   103 
   105 
   104 #endif //ACCELEROMETERSYM_H
   106 #endif //ACCELEROMETERSYM_H