|
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 SSSETTINGSWRAPPERTYPES_H_ |
|
19 #define SSSETTINGSWRAPPERTYPES_H_ |
|
20 |
|
21 |
|
22 /** |
|
23 * It enumerates all SSSettings settings. |
|
24 * |
|
25 * Cug - closed user group setting, |
|
26 * for some values see TSSSettingsCugValue. |
|
27 * Clir - default setting for calling line identification |
|
28 * restriction, see SsSettingsWrapperClirValue. |
|
29 * Als - selected line, see SsSettingsWrapperAlsValue. |
|
30 * AlsBlocking - line selection blocking, see SsSettingsWrapperAlsBlockingValue. |
|
31 * DefaultCug - value for cug default. |
|
32 */ |
|
33 typedef enum { |
|
34 Cug = 0, // == ESSSettingsCug |
|
35 Clir = 1, // == ESSSettingsClir |
|
36 Als = 2, // == ESSSettingsAls |
|
37 AlsBlocking = 3, // == ESSSettingsAlsBlocking |
|
38 DefaultCug = 4 // == ESSSettingsCugDefault |
|
39 } SsSettingsWrapperSettings; |
|
40 |
|
41 /** |
|
42 * Translation table for TSSSettingsAlsValue |
|
43 * It enumerates all values for ALS. |
|
44 * |
|
45 * AlsNotSupported - ALS not supported, always primary line. |
|
46 * AlsPrimary - ALS supported, primary line selected. |
|
47 * AlsAlternate - ALS supported, alternate line selected. |
|
48 */ |
|
49 typedef enum { |
|
50 AlsNotSupported = 0, // == TSSSettingsAlsValue::ESSSettingsAlsNotSupported |
|
51 AlsPrimary = 1, // == TSSSettingsAlsValue::ESSSettingsAlsPrimary |
|
52 AlsAlternate = 2 // == TSSSettingsAlsValue::ESSSettingsAlsAlternate |
|
53 } SsSettingsWrapperAlsValue; |
|
54 |
|
55 /** |
|
56 * Translation table for TSSSettingsAlsBlockingValue |
|
57 * It enumerates all values for ALS blocking. |
|
58 * |
|
59 * AlsBlockingNotSupported - ALS blocking not supported. |
|
60 * AlsBlockingOff - ALS blocking off. |
|
61 * AlsBlockingOn - ALS blocking on. |
|
62 */ |
|
63 typedef enum { |
|
64 AlsBlockingNotSupported = 0, // == ESSSettingsAlsBlockingNotSupported, |
|
65 AlsBlockingOff, // == ESSSettingsAlsBlockingOff |
|
66 AlsBlockingOn // == ESSSettingsAlsBlockingOn |
|
67 } SsSettingsWrapperAlsBlockingValue; |
|
68 |
|
69 /** |
|
70 * It enumerates all values for CLIR. |
|
71 * |
|
72 * ClirNetworkDefault - use network default |
|
73 * ClirExplicitInvoke - by default, invoke CLIR |
|
74 * ClirExplicitSuppress - by default, suppress CLIR |
|
75 */ |
|
76 typedef enum { |
|
77 ClirNetworkDefault, // == ESSSettingsClirNetworkDefault |
|
78 ClirExplicitInvoke, // == ESSSettingsClirExplicitInvoke |
|
79 ClirExplicitSuppress // == ESSSettingsClirExplicitSuppress |
|
80 } SsSettingsWrapperClirValue; |
|
81 |
|
82 #endif /* SSSETTINGSWRAPPERTYPES_H_ */ |