1 /* |
|
2 * Copyright (c) 2010 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 |
|
19 #include "cxesensoreventhandlerdesktop.h" |
|
20 #include "cxutils.h" |
|
21 |
|
22 |
|
23 CxeSensorEventHandlerDesktop::CxeSensorEventHandlerDesktop() |
|
24 : CxeSensorEventHandler() |
|
25 { |
|
26 CX_DEBUG_ENTER_FUNCTION(); |
|
27 CX_DEBUG_EXIT_FUNCTION(); |
|
28 } |
|
29 |
|
30 CxeSensorEventHandlerDesktop::~CxeSensorEventHandlerDesktop() |
|
31 { |
|
32 CX_DEBUG_ENTER_FUNCTION(); |
|
33 CX_DEBUG_EXIT_FUNCTION(); |
|
34 } |
|
35 |
|
36 /** |
|
37 * Data read from sensor. The "type" of data embedded in QVariant is specific to sensor type. |
|
38 */ |
|
39 QVariant CxeSensorEventHandlerDesktop::sensorData(CxeSensorEventHandler::SensorType type) |
|
40 { |
|
41 QVariant sensorData; |
|
42 CX_DEBUG_ENTER_FUNCTION(); |
|
43 CX_DEBUG_EXIT_FUNCTION(); |
|
44 return sensorData; |
|
45 } |
|
46 |
|
47 /* |
|
48 * initializes and enables all supported sensor events |
|
49 */ |
|
50 void CxeSensorEventHandlerDesktop::init() |
|
51 { |
|
52 CX_DEBUG_ENTER_FUNCTION(); |
|
53 CX_DEBUG_EXIT_FUNCTION(); |
|
54 } |
|
55 |
|
56 |
|
57 /* |
|
58 * closes all supported sensors. |
|
59 */ |
|
60 void CxeSensorEventHandlerDesktop::deinit() |
|
61 { |
|
62 CX_DEBUG_ENTER_FUNCTION(); |
|
63 CX_DEBUG_EXIT_FUNCTION(); |
|
64 } |
|
65 |
|
66 // end of file |
|