equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CXEFAKESENSOREVENTHANDLER_H |
|
19 #define CXEFAKESENSOREVENTHANDLER_H |
|
20 |
|
21 #include "cxesensoreventhandler.h" //API |
|
22 |
|
23 /** |
|
24 * Sensor Event Handler implements basic sensor's events handling. It |
|
25 * automatically updates the clients intersted in knowing the sensor events |
|
26 * that is currently supported and used by camera app. |
|
27 * |
|
28 * All the supported sensor types are defined by enum "SensorType" |
|
29 * This class provides one signal which basically carries out corresponding sensor data for |
|
30 * the given sensor type. |
|
31 */ |
|
32 class CxeFakeSensorEventHandler : public CxeSensorEventHandler |
|
33 { |
|
34 public: |
|
35 |
|
36 CxeFakeSensorEventHandler(); |
|
37 |
|
38 virtual ~CxeFakeSensorEventHandler(); |
|
39 |
|
40 |
|
41 // From CxeSensorEventHandler |
|
42 void init(); |
|
43 void deinit(); |
|
44 |
|
45 QVariant sensorData(CxeSensorEventHandler::SensorType type); |
|
46 |
|
47 }; |
|
48 |
|
49 #endif // CXEFAKESENSOREVENTHANDLER_H |