|
1 /* |
|
2 * Copyright (c) 2002 - 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: Private keys for voice mailbox. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef VOICEMAILBOXPRIVATECRKEYS_H |
|
20 #define VOICEMAILBOXPRIVATECRKEYS_H |
|
21 #include <e32std.h> |
|
22 |
|
23 /** VoiceMailbox Settings API */ |
|
24 /** Provides access to the VoiceMailbox numbers and settings */ |
|
25 |
|
26 const TUid KCRUidVoiceMailbox = {0x101F874F}; |
|
27 |
|
28 /** Voice Mailbox number for primary line |
|
29 * |
|
30 * Integer type |
|
31 * |
|
32 * Default value: 0 |
|
33 */ |
|
34 const TUint32 KVmbxNumberLineAuxiliary = 0x00000000; |
|
35 |
|
36 /** Voice Mailbox number for auxiliary line |
|
37 * |
|
38 * Integer type |
|
39 * |
|
40 * Default value: 0 |
|
41 */ |
|
42 const TUint32 KVmbxNumberLinePrimary = 0x00000001; |
|
43 |
|
44 /** Voice Message Callback Number, a field in VMN for a direct callback Number |
|
45 * |
|
46 * Text type |
|
47 * |
|
48 * Default value: "" |
|
49 **/ |
|
50 const TUint32 KVmCallbackNumber = 0x00000002; |
|
51 |
|
52 /** |
|
53 * Voicemail Summary Info Set flag, a field in VMN |
|
54 * |
|
55 * Integer type |
|
56 * |
|
57 * Possible values: |
|
58 * 0 (not set) |
|
59 * 1 (set) |
|
60 * |
|
61 * Default value: 0 |
|
62 **/ |
|
63 const TUint32 KVmSummaryInfoIsSet = 0x00000005; |
|
64 |
|
65 /** Local Variation key. Voice Mailbox Number default for CDMA operators. |
|
66 * Default number can be Blank, MIN, MDN, and etc |
|
67 * |
|
68 * Integer type |
|
69 * |
|
70 * Possible values: |
|
71 * 0 (EBlank) |
|
72 * 1 (EDedicatedVMN) |
|
73 * 2 (EMIN) |
|
74 * 3 (EMDN) |
|
75 * 4 (EOnePlusMIN) |
|
76 * 5 (EOnePlusMDN) |
|
77 * 6 (EMDNCustom) |
|
78 * 7 (EOnePlusMDNCustom) |
|
79 * |
|
80 * Default value: 0 |
|
81 **/ |
|
82 const TUint32 KVmNumOpts = 0x00000009; |
|
83 |
|
84 /** |
|
85 * Values for KVmNumOpts |
|
86 */ |
|
87 enum TVmNumOpts |
|
88 { |
|
89 // For GSM SIM- and CDMA RUIM-based voice mbox number. |
|
90 EVmNumOptsBlank = 0, |
|
91 EVmNumOptsDedicatedVMN, |
|
92 EVmNumOptsMIN, |
|
93 EVmNumOptsMDN, |
|
94 EVmNumOptsOnePlusMIN, |
|
95 EVmNumOptsOnePlusMDN, |
|
96 EVmNumOptsMDNCustom, |
|
97 EVmNumOptsOnePlusMDNCustom, |
|
98 EVmNumOptsSharedData |
|
99 }; |
|
100 |
|
101 /** Voice Message Option to configure UI related features. |
|
102 * |
|
103 * Integer type |
|
104 * |
|
105 * This is a bit flag pattern, whose value is specified by setting individual bits. |
|
106 * For example if you want to set 3rd and 2nd bits: 0100b and 0010b ===> 0110b ==> |
|
107 * 6 in decimal representation ==> use value 6. |
|
108 * Possible values. |
|
109 * Bit 1 = Set this bit to prevent user from defining or |
|
110 * modifying the voice mailbox number, clear to allow. |
|
111 * Rest of the bits are reserved for future use and currently not used. |
|
112 * |
|
113 * Default value: 2 |
|
114 **/ |
|
115 const TUint32 KVmUIOpts = 0x00000010; |
|
116 |
|
117 /** |
|
118 * Values for KVmUIOpts |
|
119 */ |
|
120 enum TVmUiOpts |
|
121 { |
|
122 // Prevent all to change voice mail number |
|
123 EUiNmbrChangeNotAllowed = 0x01 |
|
124 }; |
|
125 |
|
126 /** Flag which decides where the vmbx number is to be stored. |
|
127 * If this is Off (equals 0) the voice mailbox number is stored in SIM memory, |
|
128 * else it is stored in Phone memory. |
|
129 * |
|
130 * Integer type |
|
131 * |
|
132 * Default value: 0 |
|
133 */ |
|
134 const TUint32 KVmUsesSimMemory = 0x00000011; |
|
135 |
|
136 /** Video Mailbox number for primary line |
|
137 * |
|
138 * Text type |
|
139 * |
|
140 * Default value: "" |
|
141 */ |
|
142 const TUint32 KVideoMbxNumberLinePrimary = 0x00000012; |
|
143 |
|
144 /** Video Mailbox number for auxiliary line |
|
145 * |
|
146 * Text type |
|
147 * |
|
148 * Default value: "" |
|
149 */ |
|
150 const TUint32 KVideoMbxNumberLineAuxiliary = 0x00000013; |
|
151 |
|
152 /** Flag which decides if writing to sim allowed. |
|
153 * If this is On (equals 1) writing to SIM is not allowed. |
|
154 * Writing is allowed with value 0 |
|
155 * Value |
|
156 * Integer type |
|
157 * |
|
158 * Default value: 1 |
|
159 */ |
|
160 const TUint32 KReadOnlySim = 0x00000016; |
|
161 |
|
162 /** Voice Mailbox number backup for primary line |
|
163 * |
|
164 * Integer type |
|
165 * |
|
166 * Default value: 0 |
|
167 */ |
|
168 const TUint32 KVmbxTmpNumberLinePrimary = 0x000000017; |
|
169 /** Voice Mailbox number for auxiliary line |
|
170 * |
|
171 * Integer type |
|
172 * |
|
173 * Default value: 0 |
|
174 */ |
|
175 const TUint32 KVmbxTmpNumberLineAuxiliary = 0x000000018; |
|
176 |
|
177 /** Flag which indicates that user has edited primary number. |
|
178 * If this is off (equals 0), number from SIM is used, |
|
179 * when available. |
|
180 * Integer type |
|
181 * |
|
182 * Default value: 0 |
|
183 */ |
|
184 const TUint32 KUserEditedNumber = 0x00000019; |
|
185 |
|
186 /** Flag which indicates that user has edited auxiliary number. |
|
187 * If this is off (equals 0), number from SIM is used, |
|
188 * when available. |
|
189 * Integer type |
|
190 * |
|
191 * Default value: 0 |
|
192 */ |
|
193 const TUint32 KUserEditedNumberAuxiliary = 0x00000020; |
|
194 |
|
195 #endif // VOICEMAILBOXPRIVATECRKEYS_H |