examples/sensors/panorama/magnetometercontroller.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 01:37:06 +0300
changeset 5 603d3f8b6302
parent 0 876b1a06bc25
permissions -rw-r--r--
Revision: 201037 Kit: 201039

#ifndef MAGNETOMETERCONTROLLER_H
#define MAGNETOMETERCONTROLLER_H

#include "inputcontroller.h"
#include <qmagnetometer.h>



class MagnetometerController : public InputController
{
    Q_OBJECT

public:
    MagnetometerController();
    virtual ~MagnetometerController();

private slots:
    void update();

private:
    QTM_NAMESPACE::QMagnetometer  m_magnetometer;
    int m_width;
    int m_height;

};



#endif // MAGNETOMETERCONTROLLER_H