1 /* |
|
2 * Copyright (c) 2002 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 * This file contains all the resources for the module ProvisioningHandler. |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 // RESOURCE IDENTIFIER |
|
22 |
|
23 NAME PROV |
|
24 |
|
25 // INCLUDES |
|
26 |
|
27 #include <eikon.rh> |
|
28 #include <avkon.loc> |
|
29 #include <eikon.rsg> |
|
30 #include <avkon.rsg> |
|
31 #include <avkon.rh> |
|
32 #include <avkon.mbg> |
|
33 #include "ProvisioningCx.hrh" |
|
34 #include <ProvisioningCx.loc> |
|
35 |
|
36 #include <appinfo.rh> |
|
37 |
|
38 // RESOURCE DEFINITIONS |
|
39 |
|
40 RESOURCE RSS_SIGNATURE { } |
|
41 |
|
42 RESOURCE TBUF { buf=qtn_op_conf_cont_title; } |
|
43 |
|
44 //not_used |
|
45 RESOURCE EIK_APP_INFO not_used |
|
46 { |
|
47 menubar = 0; |
|
48 cba = 0; |
|
49 } |
|
50 |
|
51 RESOURCE LOCALISABLE_APP_INFO r_provisioningcx_localisable_app_info |
|
52 { |
|
53 short_caption = qtn_op_conf_cont_title; |
|
54 caption_and_icon = |
|
55 CAPTION_AND_ICON_INFO |
|
56 { |
|
57 caption = qtn_op_conf_cont_title; |
|
58 #ifdef __SCALABLE_ICONS |
|
59 number_of_icons = 1; |
|
60 icon_file = "Z:\\resource\\apps\\ProvisioningCx_aif.mif"; |
|
61 #else |
|
62 number_of_icons = 2; |
|
63 icon_file = "Z:\\resource\\apps\\ProvisioningCx_aif.mbm"; |
|
64 #endif |
|
65 }; |
|
66 } |
|
67 |
|
68 #ifdef __SERIES60_32__ |
|
69 //---------------------------------------------------- |
|
70 // |
|
71 // r_provisioningcx_softkeys_options_back__contextoptions |
|
72 // Provisioning context list view |
|
73 // |
|
74 //---------------------------------------------------- |
|
75 // |
|
76 RESOURCE CBA r_provisioningcx_softkeys_options_back__contextoptions |
|
77 { |
|
78 buttons = |
|
79 { |
|
80 |
|
81 CBA_BUTTON |
|
82 { |
|
83 id = EAknSoftkeyOptions; txt = text_softkey_option; |
|
84 }, |
|
85 |
|
86 |
|
87 CBA_BUTTON |
|
88 { |
|
89 id = EAknSoftkeyBack; txt = text_softkey_back; |
|
90 }, |
|
91 |
|
92 CBA_BUTTON |
|
93 { |
|
94 id = EAknSoftkeyContextOptions; txt = text_softkey_option; |
|
95 } |
|
96 |
|
97 }; |
|
98 |
|
99 } |
|
100 #endif |
|
101 //---------------------------------------------------- |
|
102 // |
|
103 // r_provisioningcx_view1 |
|
104 // Provisioning context list view |
|
105 // |
|
106 //---------------------------------------------------- |
|
107 // |
|
108 RESOURCE AVKON_VIEW r_provisioningcx_view1 |
|
109 { |
|
110 menubar=r_provisioningcx_menubar_view1; |
|
111 #ifdef __SERIES60_32__ // KS |
|
112 cba = r_provisioningcx_softkeys_options_back__contextoptions; |
|
113 #else |
|
114 cba=R_AVKON_SOFTKEYS_SELECTION_LIST; |
|
115 #endif |
|
116 } |
|
117 |
|
118 //---------------------------------------------------- |
|
119 // |
|
120 // r_provisioningcx_menubar_view1 |
|
121 // Menu bar for view |
|
122 // |
|
123 //---------------------------------------------------- |
|
124 // |
|
125 RESOURCE MENU_BAR r_provisioningcx_menubar_view1 |
|
126 { |
|
127 titles= |
|
128 { |
|
129 MENU_TITLE { menu_pane = r_provisioningcx_app_menu; } |
|
130 }; |
|
131 } |
|
132 |
|
133 //---------------------------------------------------- |
|
134 // |
|
135 // r_provisioningcx_app_menu |
|
136 // Menu bar for view |
|
137 // |
|
138 //---------------------------------------------------- |
|
139 // |
|
140 RESOURCE MENU_PANE r_provisioningcx_app_menu |
|
141 { |
|
142 items= |
|
143 { |
|
144 MENU_ITEM { command=EProvisioningCxCmdDeleteContext; txt = qtn_op_opt_delete; }, |
|
145 MENU_ITEM { command=EAknCmdHelp; txt=qtn_options_help; }, |
|
146 MENU_ITEM { command=EAknCmdExit; txt=qtn_options_exit; } |
|
147 }; |
|
148 } |
|
149 |
|
150 //---------------------------------------------------- |
|
151 // |
|
152 // r_provisioningcx_context_menubar |
|
153 // Menu bar for view |
|
154 // |
|
155 //---------------------------------------------------- |
|
156 // |
|
157 RESOURCE MENU_BAR r_provisioningcx_context_menubar |
|
158 { |
|
159 titles = |
|
160 { |
|
161 MENU_TITLE { menu_pane = r_provisioningcx_context_menu; } |
|
162 }; |
|
163 } |
|
164 |
|
165 //---------------------------------------------------- |
|
166 // |
|
167 // r_provisioningcx_context_menu |
|
168 // Menu bar for view |
|
169 // |
|
170 //---------------------------------------------------- |
|
171 // |
|
172 RESOURCE MENU_PANE r_provisioningcx_context_menu |
|
173 { |
|
174 items= |
|
175 { |
|
176 MENU_ITEM { command=EProvisioningCxCmdDeleteContext; txt = qtn_op_opt_delete; } |
|
177 }; |
|
178 } |
|
179 |
|
180 //---------------------------------------------------- |
|
181 // |
|
182 // r_provisioningcx_listbox |
|
183 // Context list box |
|
184 // |
|
185 //---------------------------------------------------- |
|
186 // |
|
187 RESOURCE LISTBOX r_provisioningcx_listbox |
|
188 { |
|
189 flags = EAknListBoxSelectionList; |
|
190 } |
|
191 |
|
192 // --------------------------------------------------------- |
|
193 // |
|
194 // r_provisioncx_query_delete |
|
195 // Confirmation query for deletion |
|
196 // |
|
197 // --------------------------------------------------------- |
|
198 // |
|
199 RESOURCE DIALOG r_provisioncx_query_delete |
|
200 { |
|
201 flags = EGeneralQueryFlags; |
|
202 #ifdef __SERIES60_32__ // KS |
|
203 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
204 #else |
|
205 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
206 #endif |
|
207 |
|
208 items = |
|
209 { |
|
210 DLG_LINE |
|
211 { |
|
212 type = EAknCtQuery; |
|
213 id = EGeneralQuery; |
|
214 control = AVKON_CONFIRMATION_QUERY |
|
215 { |
|
216 layout = EConfirmationLayout; |
|
217 }; |
|
218 } |
|
219 }; |
|
220 } |
|
221 |
|
222 //---------------------------------------------------- |
|
223 // |
|
224 // r_provisioningcx_empty |
|
225 // Text when there are no configuration contexts |
|
226 // |
|
227 //---------------------------------------------------- |
|
228 // |
|
229 RESOURCE TBUF r_qtn_op_conf_cont_empty |
|
230 { |
|
231 buf = qtn_op_conf_cont_empty; |
|
232 } |
|
233 |
|
234 //---------------------------------------------------- |
|
235 // |
|
236 // r_provisioningcx_delete |
|
237 // Text for deletion query |
|
238 // |
|
239 //---------------------------------------------------- |
|
240 // |
|
241 RESOURCE TBUF r_qtn_op_delete_context |
|
242 { |
|
243 buf = qtn_op_delete_context; |
|
244 } |
|
245 |
|
246 //---------------------------------------------------- |
|
247 // |
|
248 // r_provisioningcx_default_name |
|
249 // Text for deletion query |
|
250 // |
|
251 //---------------------------------------------------- |
|
252 // |
|
253 RESOURCE TBUF r_qtn_op_context_name |
|
254 { |
|
255 buf = qtn_op_context_name; |
|
256 } |
|
257 |
|
258 //---------------------------------------------------- |
|
259 // |
|
260 // r_provisioningcx_default_name2 |
|
261 // Text for deletion query |
|
262 // |
|
263 //---------------------------------------------------- |
|
264 // |
|
265 RESOURCE TBUF r_qtn_op_context_name2 |
|
266 { |
|
267 buf = qtn_op_context_name2; |
|
268 } |
|
269 |
|
270 |
|
271 // --------------------------------------------------------- |
|
272 // |
|
273 // r_waitnote_delete |
|
274 // Save wait note |
|
275 // |
|
276 // --------------------------------------------------------- |
|
277 // |
|
278 RESOURCE DIALOG r_waitnote_delete |
|
279 { |
|
280 flags = EAknProgressNoteFlags; |
|
281 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
282 items = |
|
283 { |
|
284 DLG_LINE |
|
285 { |
|
286 type = EAknCtNote; |
|
287 id = 1; |
|
288 control = AVKON_NOTE |
|
289 { |
|
290 layout = EProgressLayout; |
|
291 singular_label = qtn_fldr_deleting_wait_note; |
|
292 }; |
|
293 } |
|
294 }; |
|
295 } |
|
296 |
|
297 // --------------------------------------------------------- |
|
298 // |
|
299 // r_text_qtn_op_del_cont_no |
|
300 // Error note when a context is active. |
|
301 // |
|
302 // --------------------------------------------------------- |
|
303 // |
|
304 RESOURCE TBUF r_text_qtn_op_del_cont_no |
|
305 { |
|
306 buf=qtn_op_del_cont_no; |
|
307 } |
|
308 |
|
309 // End of File |
|