|
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 mpxmusicplayer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // RESOURCE NAME IDENTIFIER |
|
21 NAME MPXA // 4 letter ID |
|
22 |
|
23 // INCLUDES |
|
24 #include <avkon.rsg> |
|
25 #include <avkon.rh> |
|
26 #include <avkon.loc> |
|
27 #include <eikon.rh> |
|
28 #include <avkon.mbg> |
|
29 #include <bldvariant.hrh> |
|
30 #include <appinfo.rh> |
|
31 #include <mpx.mbg> |
|
32 #include <mpxpathconfiguration.hrh> |
|
33 |
|
34 #include <mpx.loc> |
|
35 |
|
36 |
|
37 // RESOURCE IDENTIFIER |
|
38 RESOURCE RSS_SIGNATURE { } |
|
39 |
|
40 RESOURCE TBUF |
|
41 { |
|
42 buf = ""; |
|
43 } |
|
44 |
|
45 |
|
46 // CONSTANTS |
|
47 // Bitmap file path |
|
48 #define KMPXAifMifFile "\\resource\\apps\\mpx_aif.mif" |
|
49 #define KMPXAifMbmFile "\\resource\\apps\\mpx_aif.mbm" |
|
50 |
|
51 |
|
52 // RESOURCE DEFINITIONS |
|
53 |
|
54 RESOURCE EIK_APP_INFO |
|
55 { |
|
56 status_pane = r_mpx_status_pane; |
|
57 } |
|
58 |
|
59 // --------------------------------------------------------------------------- |
|
60 // r_mpx_localisable_app_info |
|
61 // Application info. |
|
62 // --------------------------------------------------------------------------- |
|
63 // |
|
64 RESOURCE LOCALISABLE_APP_INFO r_mpx_localisable_app_info |
|
65 { |
|
66 short_caption = qtn_apps_mplayer_grid; |
|
67 caption_and_icon = |
|
68 CAPTION_AND_ICON_INFO |
|
69 { |
|
70 caption = qtn_apps_mplayer_grid; |
|
71 |
|
72 #ifdef __SCALABLE_ICONS |
|
73 number_of_icons = 1; |
|
74 icon_file = KMPXAifMifFile; |
|
75 #else // __SCALABLE_ICONS |
|
76 number_of_icons = 2; |
|
77 icon_file = KMPXAifMbmFile; |
|
78 #endif // __SCALABLE_ICONS |
|
79 }; |
|
80 } |
|
81 |
|
82 // --------------------------------------------------------------------------- |
|
83 // r_mpx_status_pane |
|
84 // Music Player's status pane. |
|
85 // --------------------------------------------------------------------------- |
|
86 // |
|
87 RESOURCE STATUS_PANE_APP_MODEL r_mpx_status_pane |
|
88 { |
|
89 layout = R_AVKON_STATUS_PANE_LAYOUT_USUAL; |
|
90 panes = |
|
91 { |
|
92 SPANE_PANE |
|
93 { |
|
94 id = EEikStatusPaneUidTitle; |
|
95 type = EAknCtTitlePane; |
|
96 resource = r_mpx_overriden_app_name; |
|
97 } |
|
98 }; |
|
99 } |
|
100 |
|
101 // ----------------------------------------------------------------------------- |
|
102 // r_mpx_save_song_confirmation_query |
|
103 // Confirmation query dialog for saving a song |
|
104 // ----------------------------------------------------------------------------- |
|
105 // |
|
106 RESOURCE DIALOG r_mpx_save_song_confirmation_query |
|
107 { |
|
108 flags = EGeneralQueryFlags; |
|
109 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
110 items = |
|
111 { |
|
112 DLG_LINE |
|
113 { |
|
114 type = EAknCtQuery; |
|
115 id = EGeneralQuery; |
|
116 control= AVKON_CONFIRMATION_QUERY |
|
117 { |
|
118 layout = EConfirmationQueryLayout; |
|
119 }; |
|
120 } |
|
121 }; |
|
122 } |
|
123 |
|
124 // --------------------------------------------------------------------------- |
|
125 // r_mpx_video_call_ongoing |
|
126 // --------------------------------------------------------------------------- |
|
127 // |
|
128 RESOURCE TBUF r_mpx_video_call_ongoing |
|
129 { |
|
130 buf = qtn_mus_info_video_call_ongoing; |
|
131 } |
|
132 |
|
133 // --------------------------------------------------------------------------- |
|
134 // r_mpx_overriden_app_name |
|
135 // Overriden application name. |
|
136 // --------------------------------------------------------------------------- |
|
137 // |
|
138 RESOURCE TITLE_PANE r_mpx_overriden_app_name |
|
139 { |
|
140 txt = " "; // Has to contain at least 1 character |
|
141 } |
|
142 |
|
143 // ----------------------------------------------------------------------------- |
|
144 // r_mpx_targetfolder_attachment |
|
145 // Folder used for saving attachments. |
|
146 // ----------------------------------------------------------------------------- |
|
147 // |
|
148 RESOURCE TBUF r_mpx_targetfolder_attachment |
|
149 { |
|
150 buf = text_targetfolder_attachment; |
|
151 } |
|
152 |
|
153 // ----------------------------------------------------------------------------- |
|
154 // r_mpx_targetfolder_downloads |
|
155 // Folder used for saving downloads. |
|
156 // ----------------------------------------------------------------------------- |
|
157 // |
|
158 RESOURCE TBUF r_mpx_targetfolder_downloads |
|
159 { |
|
160 buf = text_targetfolder_downloads; |
|
161 } |
|
162 |
|
163 // ----------------------------------------------------------------------------- |
|
164 // r_mpx_targetfolder_ringtones |
|
165 // Folder used for saving ringtones. |
|
166 // ----------------------------------------------------------------------------- |
|
167 // |
|
168 RESOURCE TBUF r_mpx_targetfolder_ringtones |
|
169 { |
|
170 buf = text_targetfolder_ringtones; |
|
171 } |
|
172 |
|
173 // --------------------------------------------------------------------------- |
|
174 // r_mpx_save_one_item_wait_note |
|
175 // Text for saving one item wait note |
|
176 // --------------------------------------------------------------------------- |
|
177 // |
|
178 RESOURCE TBUF r_mpx_save_one_item_wait_note |
|
179 { |
|
180 buf = qtn_nmp_wait_save_one_item; |
|
181 } |
|
182 |
|
183 // --------------------------------------------------------------------------- |
|
184 // r_mpx_saved_to_collection_note |
|
185 // Text for saved to collection |
|
186 // --------------------------------------------------------------------------- |
|
187 // |
|
188 RESOURCE TBUF r_mpx_saved_to_collection_note |
|
189 { |
|
190 buf = qtn_nmp_note_saved_to_collection; |
|
191 } |
|
192 |
|
193 // --------------------------------------------------------------------------- |
|
194 // r_mpx_saved_note |
|
195 // Text for saved to gallery |
|
196 // --------------------------------------------------------------------------- |
|
197 // |
|
198 RESOURCE TBUF r_mpx_saved_note |
|
199 { |
|
200 buf = qtn_nmp_note_saved_to_gallery; |
|
201 } |
|
202 |
|
203 // --------------------------------------------------------------------------- |
|
204 // r_mpx_query_conf_save_downloaded |
|
205 // Text for asking user to save |
|
206 // --------------------------------------------------------------------------- |
|
207 // |
|
208 RESOURCE TBUF r_mpx_query_conf_save_downloaded |
|
209 { |
|
210 buf = qtn_iv_query_conf_save_downloaded; |
|
211 } |
|
212 |
|
213 // ----------------------------------------------------------------------------- |
|
214 // |
|
215 // r_mpx_refresh_after_sync |
|
216 // Text for querying refresh after a usb transfer |
|
217 // |
|
218 // ----------------------------------------------------------------------------- |
|
219 // |
|
220 RESOURCE TBUF r_mpx_refresh_after_sync |
|
221 { |
|
222 buf = qtn_nmp_note_library_refresh_sync; |
|
223 } |
|
224 |
|
225 // --------------------------------------------------------------------------- |
|
226 // r_mpx_no_memory_info |
|
227 // --------------------------------------------------------------------------- |
|
228 // |
|
229 RESOURCE TBUF r_mpx_no_memory_info |
|
230 { |
|
231 buf = qtn_memlo_ram_out_of_mem; |
|
232 } |
|
233 |
|
234 // ----------------------------------------------------------------------------- |
|
235 // |
|
236 // r_mpx_query_yes_no |
|
237 // Ask the user for a yes/no question |
|
238 // |
|
239 // ----------------------------------------------------------------------------- |
|
240 // |
|
241 RESOURCE DIALOG r_mpx_query_yes_no |
|
242 { |
|
243 flags = EGeneralQueryFlags; |
|
244 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
245 items = |
|
246 { |
|
247 DLG_LINE |
|
248 { |
|
249 type = EAknCtQuery; |
|
250 id = EGeneralQuery; |
|
251 control= AVKON_CONFIRMATION_QUERY |
|
252 { |
|
253 layout = EConfirmationQueryLayout; |
|
254 }; |
|
255 } |
|
256 }; |
|
257 } |
|
258 |
|
259 // --------------------------------------------------------------------------- |
|
260 // r_mpx_cannot_proceed_with_operation |
|
261 // --------------------------------------------------------------------------- |
|
262 // |
|
263 RESOURCE TBUF r_mpx_cannot_proceed_with_operation |
|
264 { |
|
265 buf = qtn_nmp_note_cannot_proceed_with_operation; |
|
266 } |
|
267 |
|
268 // End of File |