examples/sensors/panorama/orientationcontroller.h
changeset 0 876b1a06bc25
equal deleted inserted replaced
-1:000000000000 0:876b1a06bc25
       
     1 #ifndef ORIENTATIONCONTROLLER_H
       
     2 #define ORIENTATIONCONTROLLER_H
       
     3 
       
     4 
       
     5 #include "keycontroller.h"
       
     6 #include <qorientationsensor.h>
       
     7 #include <QTime>
       
     8 #include <QTimer>
       
     9 
       
    10 
       
    11 //QTM_USE_NAMESPACE
       
    12 
       
    13 class OrientationController : public KeyController
       
    14 {
       
    15     Q_OBJECT
       
    16 
       
    17 public:
       
    18     OrientationController();
       
    19     virtual ~OrientationController();
       
    20     virtual void updateCoordinates();
       
    21 
       
    22 private slots:
       
    23     void update();
       
    24 
       
    25 private:
       
    26     QTM_NAMESPACE::QOrientationSensor m_orientationSensor;
       
    27 
       
    28 };
       
    29 
       
    30 
       
    31 
       
    32 #endif // ORIENTATIONCONTROLLER_H