equal
deleted
inserted
replaced
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 MAEMO6PROXIMITYSENSOR_H |
43 #define MAEMO6PROXIMITYSENSOR_H |
44 |
44 |
45 #include "maemo6sensorbase.h" |
45 #include "maemo6sensorbase.h" |
46 #include <qproximitysensor.h> |
46 #include <qproximitysensor.h> |
47 |
47 |
48 #include <sensord/proximitysensor_i.h> |
48 #include <proximitysensor_i.h> |
|
49 #include <unsigned.h> |
49 |
50 |
50 QTM_USE_NAMESPACE |
51 QTM_USE_NAMESPACE |
51 |
52 |
52 class maemo6proximitysensor : public maemo6sensorbase |
53 class maemo6proximitysensor : public maemo6sensorbase |
53 { |
54 { |
61 private: |
62 private: |
62 QProximityReading m_reading; |
63 QProximityReading 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 |