examples/sensors/panorama/orientationcontroller.h
changeset 0 876b1a06bc25
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/sensors/panorama/orientationcontroller.h	Wed Aug 25 15:49:42 2010 +0300
@@ -0,0 +1,32 @@
+#ifndef ORIENTATIONCONTROLLER_H
+#define ORIENTATIONCONTROLLER_H
+
+
+#include "keycontroller.h"
+#include <qorientationsensor.h>
+#include <QTime>
+#include <QTimer>
+
+
+//QTM_USE_NAMESPACE
+
+class OrientationController : public KeyController
+{
+    Q_OBJECT
+
+public:
+    OrientationController();
+    virtual ~OrientationController();
+    virtual void updateCoordinates();
+
+private slots:
+    void update();
+
+private:
+    QTM_NAMESPACE::QOrientationSensor m_orientationSensor;
+
+};
+
+
+
+#endif // ORIENTATIONCONTROLLER_H