|
1 /* |
|
2 * Copyright (c) 2006 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: Channel group definitions. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef SENSRVGROUPS_H |
|
21 #define SENSRVGROUPS_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <sensrvtypes.h> |
|
25 |
|
26 |
|
27 /** |
|
28 * Group identifier is a 16-bit number which represents a specific group. Group Id |
|
29 * space is divided to three parts. Groups specific in the platform, groups specific |
|
30 * in the sensor policy and proprietary group. |
|
31 * |
|
32 * Spilitting is done in following way |
|
33 * |
|
34 * - Platform groups: 0x000-0xC000 |
|
35 * - Sensor policy groups: 0xC001 - 0xFFFE |
|
36 * - proprietary group: 0xFFFF |
|
37 * |
|
38 * Group Id is used as a part of Id which is used to identify property. |
|
39 * It categorizes each Id to some specific group. Each of these Ids are are 32-bit |
|
40 * numbers. So 16 MSB represents group Id and 16 LSB represents Id inside of the group. |
|
41 */ |
|
42 |
|
43 /** |
|
44 * - Name: General group |
|
45 * - Description: Contains general definitions which are common for each channel type. |
|
46 */ |
|
47 const TInt KSensrvGeneralGroup = 0x0000; |
|
48 |
|
49 /** |
|
50 * - Name: Accelerometer channels group |
|
51 * - Description: Contains accelometer related channels (including tapping-channels). |
|
52 */ |
|
53 const TInt KSensrvAccelerometerGroup = 0x0001; |
|
54 |
|
55 /** |
|
56 * - Name: Naviscroll channels group |
|
57 * - Description: Contains naviscroll related channels. |
|
58 */ |
|
59 const TInt KSensrvNaviscrollGroup = 0x0002; |
|
60 |
|
61 #endif //SENSRVGROUPS_H |