summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/eandroid/eandroidlight.h
blob: 3929dea918a2b3c9daf914c3e37eb3de230466d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef EANDROIDLIGHT_H
#define EANDROIDLIGHT_H

#include <eandroidbasesensor.h>

#include <QtSensors/QLightReading>

class EAndroidLight : public EAndroidBaseSensor
{
    Q_OBJECT
public:
    EAndroidLight(int type, QSensor *sensor);
    ~EAndroidLight();
    void processEvent(sensors_event_t &ev);

private:
    QLightReading m_reading;
};

#endif // EANDROIDLIGHT_H