sensorfw
|
00001 00027 #ifndef ALS_SENSOR_H 00028 #define ALS_SENSOR_H 00029 00030 #include <QtDBus/QtDBus> 00031 #include <QObject> 00032 00033 #include "datatypes/unsigned.h" 00034 #include "abstractsensor_a.h" 00035 00036 class ALSSensorChannelAdaptor : public AbstractSensorChannelAdaptor 00037 { 00038 Q_OBJECT 00039 Q_DISABLE_COPY(ALSSensorChannelAdaptor) 00040 Q_CLASSINFO("D-Bus Interface", "local.ALSSensor") 00041 Q_PROPERTY(Unsigned lux READ lux) 00042 00043 public: 00044 ALSSensorChannelAdaptor(QObject* parent); 00045 00046 public Q_SLOTS: 00047 Unsigned lux() const; 00048 00049 Q_SIGNALS: 00050 void ALSChanged(const Unsigned& value); 00051 }; 00052 00053 #endif