--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/sensors/panoramaWithSense/magnetometercontroller.h Mon Oct 04 01:37:06 2010 +0300
@@ -0,0 +1,33 @@
+#ifndef MAGNETOMETERCONTROLLER_H
+#define MAGNETOMETERCONTROLLER_H
+
+#include "inputcontroller.h"
+#include <qmagnetometer.h>
+
+
+
+class MagnetometerController : public InputController
+{
+ Q_OBJECT
+
+public:
+ MagnetometerController();
+ virtual ~MagnetometerController();
+
+public slots:
+ virtual void doStart();
+ virtual void doStop();
+
+private slots:
+ void update();
+
+private:
+ QTM_NAMESPACE::QMagnetometer m_magnetometer;
+ int m_width;
+ int m_height;
+
+};
+
+
+
+#endif // MAGNETOMETERCONTROLLER_H