|
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: This file contains private central repository key definitions |
|
15 * for the tilt compensation |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef TCPRIVATECRKEYS_H |
|
21 #define TCPRIVATECRKEYS_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32cmn.h> |
|
25 |
|
26 // CONSTANTS |
|
27 const TUid KCRUidTiltCompensationParameters = {0x2001FCBA}; |
|
28 |
|
29 // Tilt compensatin parameters API |
|
30 |
|
31 /** |
|
32 * Tilt compensation parameter k. |
|
33 * |
|
34 * |
|
35 * Value type: floating point. |
|
36 * |
|
37 */ |
|
38 const TUint32 KTiltCompensationParameterK = 0x00000001; |
|
39 |
|
40 /** |
|
41 * Tilt compensation parameter m. |
|
42 * |
|
43 * |
|
44 * Value type: floating point. |
|
45 * |
|
46 */ |
|
47 const TUint32 KTiltCompensationParameterM = 0x00000002; |
|
48 |
|
49 /** |
|
50 * Tilt compensation parameter treshold angle 1. |
|
51 * |
|
52 * |
|
53 * Value type: floating point. |
|
54 * |
|
55 */ |
|
56 |
|
57 const TUint32 KTiltCompensationParameterTresholdAngle1 = 0x00000003; |
|
58 |
|
59 /** |
|
60 * Tilt compensation parameter treshold angle 2. |
|
61 * |
|
62 * |
|
63 * Value type: floating point. |
|
64 * |
|
65 */ |
|
66 |
|
67 const TUint32 KTiltCompensationParameterTresholdAngle2 = 0x00000004; |
|
68 |
|
69 /** |
|
70 * Tilt compensation accelerometer window size. |
|
71 * |
|
72 * |
|
73 * Value type: floating point. |
|
74 * |
|
75 */ |
|
76 |
|
77 const TUint32 KTiltCompensationAccWinSize = 0x00000005; |
|
78 |
|
79 /** |
|
80 * Tilt compensation magnetometer window size. |
|
81 * |
|
82 * |
|
83 * Value type: floating point. |
|
84 * |
|
85 */ |
|
86 |
|
87 const TUint32 KTiltCompensationMagWinSize = 0x00000006; |
|
88 |
|
89 |
|
90 #endif // TCPRIVATECRKEYS_H |
|
91 |
|
92 // End of File |