locationsystemui/locationsysui/possettings/possettingsengine/inc/possettingscommon.h
equal
deleted
inserted
replaced
|
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: This header exposes common data structues and enums. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef POSSETTINGSCOMMON_H |
|
19 #define POSSETTINGSCOMMON_H |
|
20 |
|
21 #include <e32cmn.h> |
|
22 |
|
23 /** |
|
24 * This enum defines type of position technology. |
|
25 */ |
|
26 enum PositionTechnology |
|
27 { |
|
28 /** |
|
29 * Bit mask used to specify GPS technology. |
|
30 */ |
|
31 PositionTechnologyGps = 0x01, |
|
32 |
|
33 /** |
|
34 * Bit mask used to specify network technology. |
|
35 */ |
|
36 PositionTechnologyNetwork = 0x02, |
|
37 |
|
38 }; |
|
39 |
|
40 /** |
|
41 * This enum defines different state. |
|
42 */ |
|
43 enum State |
|
44 { |
|
45 StateEnable, |
|
46 |
|
47 StateDisable |
|
48 }; |
|
49 |
|
50 /** |
|
51 * PSY module information |
|
52 */ |
|
53 struct PsyModuleInfo |
|
54 { |
|
55 /** |
|
56 * Module id of Psy |
|
57 */ |
|
58 TUid mPsyModuleId; |
|
59 |
|
60 /** |
|
61 * Position technology. |
|
62 */ |
|
63 PositionTechnology mPosTech; |
|
64 |
|
65 /** |
|
66 * State of Psy |
|
67 */ |
|
68 State mState; |
|
69 }; |
|
70 |
|
71 |
|
72 #endif /* PosSettingsCOMMON_H */ |