|
1 /* |
|
2 * Copyright (c) 2006 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: Resource definitions for project mpxwaitnotedialog |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME MPWN |
|
20 |
|
21 #include <avkon.rsg> |
|
22 #include <avkon.rh> |
|
23 #include <avkon.loc> |
|
24 #include <eikon.rh> |
|
25 #include <avkon.mbg> |
|
26 #include <bldvariant.hrh> |
|
27 |
|
28 #include <mpxwaitnotedialog.loc> |
|
29 |
|
30 RESOURCE RSS_SIGNATURE { } |
|
31 RESOURCE TBUF { buf=""; } |
|
32 |
|
33 // RESOURCE DEFINITIONS |
|
34 |
|
35 //------------------------------------------------------------------------------ |
|
36 // |
|
37 // r_mpx_generic_wait_note |
|
38 // Generic wait note. |
|
39 // |
|
40 //------------------------------------------------------------------------------ |
|
41 // |
|
42 RESOURCE DIALOG r_mpx_generic_wait_note |
|
43 { |
|
44 flags = EAknWaitNoteFlags; |
|
45 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
46 items = |
|
47 { |
|
48 DLG_LINE |
|
49 { |
|
50 type = EAknCtNote; |
|
51 id = 0x1000; |
|
52 control = AVKON_NOTE |
|
53 { |
|
54 layout = EWaitLayout; |
|
55 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
56 }; |
|
57 } |
|
58 }; |
|
59 } |
|
60 |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 // r_mpx_waitnote_softkeys_empty_stop |
|
64 // Softkeys used by generic wait note. |
|
65 // |
|
66 // ----------------------------------------------------------------------------- |
|
67 // |
|
68 RESOURCE CBA r_mpx_waitnote_softkeys_empty_stop |
|
69 { |
|
70 buttons= |
|
71 { |
|
72 CBA_BUTTON |
|
73 { |
|
74 txt = text_softkey_empty; |
|
75 }, |
|
76 CBA_BUTTON |
|
77 { |
|
78 id = EAknSoftkeyCancel; |
|
79 txt = text_softkey_stop; |
|
80 } |
|
81 }; |
|
82 } |
|
83 |
|
84 // ----------------------------------------------------------------------------- |
|
85 // |
|
86 // r_mpx_scanning_db_txt |
|
87 // Text for scanning library wait note. |
|
88 // |
|
89 // ----------------------------------------------------------------------------- |
|
90 // |
|
91 RESOURCE TBUF r_mpx_scanning_db_txt |
|
92 { |
|
93 buf = qtn_nmp_note_scanning_db; |
|
94 } |
|
95 |
|
96 // ----------------------------------------------------------------------------- |
|
97 // |
|
98 // r_mpx_scanning_complete_txt |
|
99 // Text for scanning library dialog. |
|
100 // |
|
101 // ----------------------------------------------------------------------------- |
|
102 // |
|
103 RESOURCE TBUF r_mpx_scanning_complete_txt |
|
104 { |
|
105 buf = qtn_mus_note_search_complete1; |
|
106 } |
|
107 |
|
108 // ----------------------------------------------------------------------------- |
|
109 // |
|
110 // r_mpx_scanning_stopped_txt |
|
111 // Text for scanning library dialog. |
|
112 // |
|
113 // ----------------------------------------------------------------------------- |
|
114 // |
|
115 RESOURCE TBUF r_mpx_scanning_stopped_txt |
|
116 { |
|
117 buf = qtn_mus_note_search_stopped1; |
|
118 } |
|
119 |
|
120 // ----------------------------------------------------------------------------- |
|
121 // |
|
122 // r_mpx_refreshing_db_txt |
|
123 // Text for refreshing library wait note. |
|
124 // |
|
125 // ----------------------------------------------------------------------------- |
|
126 // |
|
127 RESOURCE TBUF r_mpx_refreshing_db_txt |
|
128 { |
|
129 buf = qtn_mus_note_refreshing_db; |
|
130 } |
|
131 |
|
132 // ----------------------------------------------------------------------------- |
|
133 // |
|
134 // r_mpx_refreshing_db_complete_txt |
|
135 // Text for refreshing library popup dialog. |
|
136 // |
|
137 // ----------------------------------------------------------------------------- |
|
138 // |
|
139 RESOURCE TBUF r_mpx_refreshing_db_complete_txt |
|
140 { |
|
141 buf = qtn_mus_note_refreshing_db_complete; |
|
142 } |
|
143 |
|
144 // ----------------------------------------------------------------------------- |
|
145 // |
|
146 // r_mpx_refreshing_db_stopped_txt |
|
147 // Text for refreshing library popup dialog. |
|
148 // |
|
149 // ----------------------------------------------------------------------------- |
|
150 // |
|
151 RESOURCE TBUF r_mpx_refreshing_db_stopped_txt |
|
152 { |
|
153 buf = qtn_mus_note_refreshing_db_stopped; |
|
154 } |
|
155 |
|
156 // ----------------------------------------------------------------------------- |
|
157 // |
|
158 // r_mpx_mem_lo_not_enough_memory |
|
159 // Text for not enough memory |
|
160 // |
|
161 // ----------------------------------------------------------------------------- |
|
162 // |
|
163 RESOURCE TBUF r_mpx_mem_lo_not_enough_memory |
|
164 { |
|
165 buf = qtn_nmp_note_no_mem_complete_refresh; |
|
166 } |
|
167 |
|
168 // ----------------------------------------------------------------------------- |
|
169 // |
|
170 // r_mpx_usb_connection_in_progress |
|
171 // Text for USB transfer wait note |
|
172 // |
|
173 // ----------------------------------------------------------------------------- |
|
174 // |
|
175 RESOURCE TBUF r_mpx_usb_connection_in_progress |
|
176 { |
|
177 buf = qtn_nmp_note_usb_connection_in_progress; |
|
178 } |
|
179 |
|
180 |
|
181 // ----------------------------------------------------------------------------- |
|
182 // |
|
183 // r_mpx_mtp_transfer_in_progress |
|
184 // Text for MTP transfer wait note |
|
185 // |
|
186 // ----------------------------------------------------------------------------- |
|
187 // |
|
188 RESOURCE TBUF r_mpx_mtp_transfer_in_progress |
|
189 { |
|
190 buf = qtn_mus_note_media_transfer_in_progress; |
|
191 } |
|
192 |
|
193 // ----------------------------------------------------------------------------- |
|
194 // |
|
195 // r_mpx_repairing_corrupt_db |
|
196 // Text for rebuilding corrupt databases |
|
197 // |
|
198 // ----------------------------------------------------------------------------- |
|
199 // |
|
200 RESOURCE TBUF r_mpx_repairing_corrupt_db |
|
201 { |
|
202 buf = qtn_nmp_note_rebuilding_db; |
|
203 } |
|
204 |
|
205 // ----------------------------------------------------------------------------- |
|
206 // |
|
207 // r_mpx_query_yes_no |
|
208 // Ask the user for a yes/no question |
|
209 // |
|
210 // ----------------------------------------------------------------------------- |
|
211 // |
|
212 RESOURCE DIALOG r_mpx_query_yes_no |
|
213 { |
|
214 flags = EGeneralQueryFlags; |
|
215 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
216 items = |
|
217 { |
|
218 DLG_LINE |
|
219 { |
|
220 type = EAknCtQuery; |
|
221 id = EGeneralQuery; |
|
222 control= AVKON_CONFIRMATION_QUERY |
|
223 { |
|
224 layout = EConfirmationQueryLayout; |
|
225 }; |
|
226 } |
|
227 }; |
|
228 } |
|
229 |
|
230 // ----------------------------------------------------------------------------- |
|
231 // |
|
232 // r_mpx_empty_close_note |
|
233 // Dialog note with "empty" and "close" CBAs |
|
234 // |
|
235 // ----------------------------------------------------------------------------- |
|
236 // |
|
237 RESOURCE DIALOG r_mpx_empty_close_note |
|
238 { |
|
239 flags = EAknInformationNoteFlags; |
|
240 buttons = R_AVKON_SOFTKEYS_CLOSE; |
|
241 items = |
|
242 { |
|
243 DLG_LINE |
|
244 { |
|
245 type = EAknCtNote; |
|
246 id = EGeneralQuery; |
|
247 control = AVKON_NOTE |
|
248 { |
|
249 layout = EGeneralLayout; |
|
250 animation = R_QGN_NOTE_INFO_ANIM; |
|
251 }; |
|
252 } |
|
253 }; |
|
254 } |
|
255 |
|
256 // ----------------------------------------------------------------------------- |
|
257 // |
|
258 // r_mpx_opening_txt |
|
259 // Text for opening wait note. |
|
260 // |
|
261 // ----------------------------------------------------------------------------- |
|
262 // |
|
263 RESOURCE TBUF r_mpx_opening_txt |
|
264 { |
|
265 buf = qtn_nmp_note_opening; |
|
266 } |
|
267 |
|
268 // ----------------------------------------------------------------------------- |
|
269 // |
|
270 // r_mpx_formatting_txt |
|
271 // Text for formatting wait note. |
|
272 // |
|
273 // ----------------------------------------------------------------------------- |
|
274 // |
|
275 RESOURCE TBUF r_mpx_formatting_txt |
|
276 { |
|
277 buf = qtn_nmp_note_mp_unavailable_mmc; |
|
278 } |
|
279 |
|
280 // ----------------------------------------------------------------------------- |
|
281 // |
|
282 // r_mpx_updating_library_txt |
|
283 // Text for updating library wait note. |
|
284 // |
|
285 // ----------------------------------------------------------------------------- |
|
286 // |
|
287 RESOURCE TBUF r_mpx_updating_library_txt |
|
288 { |
|
289 buf = qtn_mus_note_updating_library; |
|
290 } |
|
291 |
|
292 // ----------------------------------------------------------------------------- |
|
293 // |
|
294 // r_mpx_uptodate_txt |
|
295 // Text for update music library complete. |
|
296 // |
|
297 // ----------------------------------------------------------------------------- |
|
298 // |
|
299 RESOURCE TBUF r_mpx_uptodate_txt |
|
300 { |
|
301 buf = qtn_mus_note_uptodate; |
|
302 } |