qtmobility/plugins/sensors/maemo6/maemo6orientationsensor.h
changeset 11 06b8e2af4411
parent 5 453da2cfceef
child 14 6fbed849b4f4
equal deleted inserted replaced
8:71781823f776 11:06b8e2af4411
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the Qt Mobility Components.
     7 ** This file is part of the Qt Mobility Components.
     8 **
     8 **
    42 #ifndef MAEMO6ORIENTATIONSENSOR_H
    42 #ifndef MAEMO6ORIENTATIONSENSOR_H
    43 #define MAEMO6ORIENTATIONSENSOR_H
    43 #define MAEMO6ORIENTATIONSENSOR_H
    44 
    44 
    45 #include "maemo6sensorbase.h"
    45 #include "maemo6sensorbase.h"
    46 #include <qorientationsensor.h>
    46 #include <qorientationsensor.h>
    47 #include <qsensorbackend.h>
       
    48 
    47 
    49 #include <sensord/orientationsensor_i.h>
    48 #include <orientationsensor_i.h>
       
    49 #include <unsigned.h>
    50 
    50 
    51 QTM_USE_NAMESPACE
    51 QTM_USE_NAMESPACE
    52 
    52 
    53 class maemo6orientationsensor : public maemo6sensorbase
    53 class maemo6orientationsensor : public maemo6sensorbase
    54 {
    54 {
    62 private:
    62 private:
    63     QOrientationReading m_reading;
    63     QOrientationReading m_reading;
    64     static bool m_initDone;
    64     static bool m_initDone;
    65 
    65 
    66 private slots:
    66 private slots:
    67     void slotOrientationChanged(const int& orientation); 
    67     void slotOrientationChanged(const Unsigned& orientation);
    68 };
    68 };
    69 
    69 
    70 #endif
    70 #endif