qtmobility/plugins/sensors/maemo6/maemo6als.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 **
    43 #define MAEMO6ALS_H
    43 #define MAEMO6ALS_H
    44 
    44 
    45 #include "maemo6sensorbase.h"
    45 #include "maemo6sensorbase.h"
    46 #include <qambientlightsensor.h>
    46 #include <qambientlightsensor.h>
    47 
    47 
    48 #include <sensord/alssensor_i.h>
    48 #include <alssensor_i.h>
       
    49 #include <unsigned.h>
    49 
    50 
    50 QTM_USE_NAMESPACE
    51 QTM_USE_NAMESPACE
    51 
    52 
    52 class maemo6als : public maemo6sensorbase
    53 class maemo6als : public maemo6sensorbase
    53 {
    54 {
    61 private:
    62 private:
    62     QAmbientLightReading m_reading;
    63     QAmbientLightReading m_reading;
    63     static bool m_initDone;
    64     static bool m_initDone;
    64 
    65 
    65 private slots:
    66 private slots:
    66     void slotDataAvailable(const int& data);
    67     void slotDataAvailable(const Unsigned& data);
    67 };
    68 };
    68 
    69 
    69 #endif
    70 #endif