|
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: This file contains all the resources for the module. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 // RESOURCE IDENTIFIER |
|
24 NAME SPCT // 4 letter ID |
|
25 |
|
26 // INCLUDES |
|
27 |
|
28 #include <eikon.rh> |
|
29 #include <eikon.rsg> |
|
30 #include <avkon.rsg> |
|
31 #include <avkon.rh> |
|
32 #include <avkon.loc> |
|
33 #include <avkon.mbg> |
|
34 #include <avkon.hrh> |
|
35 #include <EIKCTL.rsg> |
|
36 #include <spdctrl.mbg> |
|
37 |
|
38 #include <speeddial.loc> |
|
39 #include "Speeddial.laf" |
|
40 #include "SpdiaControl.hrh" |
|
41 #include <AiwCommon.rh> |
|
42 #include <AiwGenericParam.hrh> |
|
43 #include "speeddial.hrh" |
|
44 |
|
45 // CONSTANTS |
|
46 //#define ?constant ?value |
|
47 |
|
48 |
|
49 // MACROS |
|
50 //#define ?macro |
|
51 |
|
52 |
|
53 // RESOURCE DEFINITIONS |
|
54 |
|
55 RESOURCE RSS_SIGNATURE { } |
|
56 |
|
57 //RESOURCE TBUF16 |
|
58 RESOURCE TBUF |
|
59 { |
|
60 buf = "Spdctrl"; |
|
61 } |
|
62 |
|
63 // --------------------------------------------------------- |
|
64 // |
|
65 // r_spdia_text_release |
|
66 // Define text of confirmation query ( Release ) |
|
67 // |
|
68 // --------------------------------------------------------- |
|
69 // |
|
70 //RESOURCE TBUF256 r_spdia_text_release |
|
71 RESOURCE TBUF r_spdia_text_release |
|
72 { |
|
73 buf = text_spdia_erase_query; |
|
74 } |
|
75 |
|
76 // --------------------------------------------------------- |
|
77 // |
|
78 // r_spdia_text_replace |
|
79 // Define text of confirmation query ( Relpace ) |
|
80 // |
|
81 // --------------------------------------------------------- |
|
82 // |
|
83 //RESOURCE TBUF256 r_spdia_text_replace |
|
84 RESOURCE TBUF r_spdia_text_replace |
|
85 { |
|
86 buf = text_speed_dial_replace; |
|
87 } |
|
88 |
|
89 // --------------------------------------------------------- |
|
90 // |
|
91 // r_spdia_text_key_assigned |
|
92 // Define text of confirmation query ( KeyAssinged ) |
|
93 // |
|
94 // --------------------------------------------------------- |
|
95 // |
|
96 //RESOURCE TBUF256 r_spdia_text_key_assigned |
|
97 RESOURCE TBUF r_spdia_text_key_assigned |
|
98 { |
|
99 buf = text_speed_dial_key_assinged; |
|
100 } |
|
101 // --------------------------------------------------------- |
|
102 // |
|
103 // r_qtn_spdia_grid_voice_mail |
|
104 // Define text of voice mailbox |
|
105 // |
|
106 // --------------------------------------------------------- |
|
107 // |
|
108 //RESOURCE TBUF64 r_qtn_spdia_grid_voice_mail |
|
109 RESOURCE TBUF r_qtn_spdia_grid_voice_mail |
|
110 { |
|
111 buf = qtn_spdia_grid_voice_mail; |
|
112 } |
|
113 // --------------------------------------------------------- |
|
114 // |
|
115 // r_qtn_spdia_title |
|
116 // Speed Dial title |
|
117 // |
|
118 // --------------------------------------------------------- |
|
119 // |
|
120 //RESOURCE TBUF64 r_qtn_spdia_title |
|
121 |
|
122 RESOURCE TBUF r_qtn_spdia_title |
|
123 { |
|
124 buf = qtn_apps_sd_grid; |
|
125 } |
|
126 |
|
127 // --------------------------------------------------------- |
|
128 // |
|
129 // r_qtn_spdia_contact_in_use |
|
130 // Information note when contact in use |
|
131 // |
|
132 // --------------------------------------------------------- |
|
133 // |
|
134 //RESOURCE TBUF64 r_qtn_spdia_contact_in_use |
|
135 RESOURCE TBUF r_qtn_spdia_contact_in_use |
|
136 { |
|
137 buf = qtn_speed_dial_contact_in_use; |
|
138 } |
|
139 |
|
140 //---------------------------------------------------- |
|
141 // |
|
142 // r_spdia_select_dialog |
|
143 // main_pane select phone number from phonebook |
|
144 // |
|
145 //---------------------------------------------------- |
|
146 // |
|
147 RESOURCE DIALOG r_spdia_select_dialog |
|
148 { |
|
149 flags = EEikDialogFlagWait | EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | |
|
150 EEikDialogFlagFillAppClientRect | |
|
151 EEikDialogFlagCbaButtons | EEikDialogFlagNoBorder; |
|
152 buttons = R_AVKON_SOFTKEYS_TEXT_SETTING_ITEM; |
|
153 items = |
|
154 { |
|
155 DLG_LINE |
|
156 { |
|
157 type = EAknCtSingleGraphicListBox; |
|
158 itemflags = EEikDlgItemTakesEnterKey | |
|
159 EEikDlgItemOfferAllHotKeys; |
|
160 id = ESpdListItem; |
|
161 control = LISTBOX |
|
162 { |
|
163 array_id = r_dlgapp_inbox_msgs; |
|
164 flags = EAknListBoxMarkableList; |
|
165 height = 8; |
|
166 }; |
|
167 } |
|
168 }; |
|
169 } |
|
170 |
|
171 RESOURCE ARRAY r_dlgapp_inbox_msgs |
|
172 { |
|
173 items = |
|
174 { |
|
175 LBUF { txt = "dummy"; } // dummy |
|
176 }; |
|
177 } |
|
178 |
|
179 //---------------------------------------------------- |
|
180 // |
|
181 // r_spdctrl_softkeys_assign_back_assign |
|
182 // LeftSoftkey RightSoftkey MiddleSoftkey |
|
183 // |
|
184 //---------------------------------------------------- |
|
185 RESOURCE CBA r_spdctrl_softkeys_assign_back_assign |
|
186 { |
|
187 buttons = |
|
188 { |
|
189 CBA_BUTTON {id = EAknSoftkeyOk; txt = text_softkey_assign;}, |
|
190 CBA_BUTTON {id = EAknSoftkeyBack; txt = text_softkey_back;}, |
|
191 CBA_BUTTON {id = EAknSoftkeyOk; txt = text_softkey_assign;} |
|
192 }; |
|
193 } |
|
194 //////////////////////////////////////////////////////////////////////// |
|
195 //---------------------------------------------------- |
|
196 // |
|
197 // r_spdia_grid_dialog |
|
198 // main_pane select phone number from phonebook |
|
199 // |
|
200 //---------------------------------------------------- |
|
201 // |
|
202 RESOURCE DIALOG r_spdia_grid_dialog |
|
203 { |
|
204 flags = EEikDialogFlagWait | EEikDialogFlagNoDrag | |
|
205 EEikDialogFlagFillScreen | EEikDialogFlagNoBorder | |
|
206 EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons; |
|
207 buttons = R_AVKON_SOFTKEYS_BACK; |
|
208 items = |
|
209 { |
|
210 DLG_LINE |
|
211 { |
|
212 type = ESpdiaGrid; |
|
213 // type = EAknCtAppGrid; |
|
214 // type = EAknCtQdialGrid; |
|
215 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
216 id = ESpdGridItem; |
|
217 control = GRID |
|
218 { |
|
219 //flags = EAknListBoxMarkableGridWithShortcuts; |
|
220 array_id = r_dlgapp_inbox_msgs; |
|
221 emptytext = "empty"; |
|
222 }; |
|
223 } |
|
224 }; |
|
225 } |
|
226 |
|
227 //---------------------------------------------------- |
|
228 // |
|
229 // r_spdia_query_replace |
|
230 // main_pane confirmation query |
|
231 // |
|
232 //---------------------------------------------------- |
|
233 // |
|
234 RESOURCE DIALOG r_spdia_query_replace |
|
235 { |
|
236 flags = EGeneralQueryFlags; |
|
237 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
238 items= |
|
239 { |
|
240 DLG_LINE |
|
241 { |
|
242 type = EAknCtQuery; |
|
243 id = EGeneralQuery; |
|
244 control= AVKON_CONFIRMATION_QUERY |
|
245 { |
|
246 layout = EConfirmationLayout; |
|
247 //label = text_speed_dial_replace; |
|
248 }; |
|
249 } |
|
250 }; |
|
251 } |
|
252 |
|
253 //---------------------------------------------------- |
|
254 // |
|
255 // r_spdia_query_assign |
|
256 // main_pane confirmation query |
|
257 // |
|
258 //---------------------------------------------------- |
|
259 // |
|
260 RESOURCE DIALOG r_spdia_query_assign |
|
261 { |
|
262 flags = EGeneralQueryFlags; |
|
263 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
264 items= |
|
265 { |
|
266 DLG_LINE |
|
267 { |
|
268 type = EAknCtQuery; |
|
269 id = EGeneralQuery; |
|
270 control= AVKON_CONFIRMATION_QUERY |
|
271 { |
|
272 layout = EConfirmationLayout; |
|
273 label = text_speed_dial_assign_new_qu; |
|
274 }; |
|
275 } |
|
276 }; |
|
277 } |
|
278 |
|
279 RESOURCE AIW_INTEREST r_spdia_single_entry_fetch_interest |
|
280 { |
|
281 items= |
|
282 { |
|
283 AIW_CRITERIA_ITEM |
|
284 { |
|
285 id = KAiwCmdSelect; // serviceCmd used here also as ID |
|
286 serviceCmd = KAiwCmdSelect; |
|
287 contentType = EGenericParamContactLinkArrayStr; |
|
288 serviceClass = KAiwClassBase; |
|
289 maxProviders = 1; |
|
290 } |
|
291 }; |
|
292 } |
|
293 |
|
294 RESOURCE AIW_INTEREST r_spdia_single_assign_interest |
|
295 { |
|
296 items= |
|
297 { |
|
298 AIW_CRITERIA_ITEM |
|
299 { |
|
300 id = KAiwCmdAssign; // serviceCmd used here also as ID |
|
301 serviceCmd = KAiwCmdAssign; |
|
302 contentType = EGenericParamContactLinkArrayStr; |
|
303 serviceClass = KAiwClassMenu; |
|
304 maxProviders = 1; |
|
305 } |
|
306 }; |
|
307 } |
|
308 // -------------------------------------------------------------------------- |
|
309 // AIW_INTEREST |
|
310 // Email selection interest. |
|
311 // -------------------------------------------------------------------------- |
|
312 // |
|
313 RESOURCE AIW_INTEREST r_speeddial_email_selection_interest |
|
314 { |
|
315 items= |
|
316 { |
|
317 AIW_CRITERIA_ITEM |
|
318 { |
|
319 id = KAiwCmdSelect; // serviceCmd used here also as ID |
|
320 serviceCmd = KAiwCmdSelect; |
|
321 contentType = EGenericParamContactLinkArrayStr; |
|
322 serviceClass = KAiwClassBase; |
|
323 maxProviders = 1; |
|
324 } |
|
325 }; |
|
326 } |
|
327 //---------------------------------------------------- |
|
328 // |
|
329 // r_spdia_query_release |
|
330 // main_pane confirmation query |
|
331 // |
|
332 //---------------------------------------------------- |
|
333 // |
|
334 RESOURCE DIALOG r_spdia_query_release |
|
335 { |
|
336 flags = EGeneralQueryFlags; |
|
337 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
338 items= |
|
339 { |
|
340 DLG_LINE |
|
341 { |
|
342 type = EAknCtQuery; |
|
343 id = EGeneralQuery; |
|
344 control= AVKON_CONFIRMATION_QUERY |
|
345 { |
|
346 layout = EConfirmationLayout; |
|
347 //label = text_spdai_erase_query; |
|
348 }; |
|
349 } |
|
350 }; |
|
351 } |
|
352 |
|
353 |
|
354 //---------------------------------------------------- |
|
355 // |
|
356 // r_spdia_cba_enable_spdial |
|
357 // main_pane confirmation query |
|
358 // |
|
359 //---------------------------------------------------- |
|
360 // |
|
361 RESOURCE CBA r_spdia_cba_enable_spdial |
|
362 { |
|
363 flags = 0; |
|
364 buttons = |
|
365 { |
|
366 CBA_BUTTON { id = ESpdCmdEnableYes; txt = text_softkey_yes; }, |
|
367 CBA_BUTTON { id = ESpdCmdEnableNo; txt = text_softkey_no; }, |
|
368 CBA_BUTTON { id = ESpdCmdEnableYes; } |
|
369 }; |
|
370 } |
|
371 |
|
372 //---------------------------------------------------- |
|
373 // |
|
374 // r_spdia_query_enable_onekeydialling |
|
375 // main_pane confirmation query |
|
376 // |
|
377 //---------------------------------------------------- |
|
378 // |
|
379 RESOURCE DIALOG r_spdia_query_enable_onekeydialling |
|
380 { |
|
381 flags = EGeneralQueryFlags; |
|
382 buttons = r_spdia_cba_enable_spdial; |
|
383 items= |
|
384 { |
|
385 DLG_LINE |
|
386 { |
|
387 type = EAknCtQuery; |
|
388 id = EGeneralQuery; |
|
389 control= AVKON_CONFIRMATION_QUERY |
|
390 { |
|
391 layout = EConfirmationLayout; |
|
392 label = qtn_speed_dial_query_first_assign; |
|
393 }; |
|
394 } |
|
395 }; |
|
396 } |
|
397 // End of File |