|
1 /* |
|
2 * Copyright (c) 2004 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 Podcast Collection |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDES |
|
20 #include <bldvariant.hrh> |
|
21 #include <badef.rh> |
|
22 #include <pathconfiguration.hrh> |
|
23 #include "mpxpodcastcollectiondb.hrh" |
|
24 #include <mpxpodcastcollectiondb.loc> |
|
25 |
|
26 STRUCT MENU_ITEM |
|
27 { |
|
28 LONG id; |
|
29 STRUCT name; |
|
30 } |
|
31 |
|
32 STRUCT MENU_ITEM_ARRAY |
|
33 { |
|
34 STRUCT array_of_menu_items[]; |
|
35 } |
|
36 |
|
37 // RESOURCE IDENTIFIER |
|
38 NAME OAPC // 4 letter ID |
|
39 |
|
40 // RESOURCE DEFINITIONS |
|
41 |
|
42 RESOURCE BA_RSS_SIGNATURE { } |
|
43 |
|
44 //---------------------------------------------------- |
|
45 // r_mc_music_library_menu_items |
|
46 // Menu items to be displayed in the music library view |
|
47 //---------------------------------------------------- |
|
48 // |
|
49 RESOURCE MENU_ITEM_ARRAY r_mc_menu_items_array |
|
50 { |
|
51 array_of_menu_items = |
|
52 { |
|
53 MENU_ITEM {id = EBrowseAll; name = LBUF {txt = qtn_nmp_all_episodes;};}, |
|
54 MENU_ITEM {id = EBrowseTitle; name = LBUF {txt = qtn_nmp_by_title;};}, |
|
55 MENU_ITEM {id = EBrowsePubDate; name = LBUF {txt = qtn_nmp_by_publish_date;};}, |
|
56 MENU_ITEM {id = EBrowseRecentlyAdded; name = LBUF {txt = qtn_nmp_recently_added;};}, |
|
57 MENU_ITEM {id = EBrowseNotPlayed; name = LBUF {txt = qtn_nmp_not_yet_played;};} |
|
58 }; |
|
59 } |
|
60 |
|
61 //---------------------------------------------------- |
|
62 // r_mc_music_library_menu_items |
|
63 // Menu items to be displayed in the music library view |
|
64 //---------------------------------------------------- |
|
65 // |
|
66 RESOURCE MENU_ITEM_ARRAY r_mc_menu_titles_array |
|
67 { |
|
68 array_of_menu_items = |
|
69 { |
|
70 MENU_ITEM {id = EBrowseAll; name = LBUF {txt = qtn_nmp_title_all_episodes;};}, |
|
71 MENU_ITEM {id = EBrowseTitle; name = LBUF {txt = qtn_mus_title_titles;};}, |
|
72 MENU_ITEM {id = EBrowsePubDate; name = LBUF {txt = qtn_mus_title_publish_date;};}, |
|
73 MENU_ITEM {id = EBrowseRecentlyAdded; name = LBUF {txt = qtn_nmp_title_recently_added;};}, |
|
74 MENU_ITEM {id = EBrowseNotPlayed; name = LBUF {txt = qtn_nmp_unplayed;};} |
|
75 }; |
|
76 } |
|
77 |
|
78 RESOURCE TBUF { buf="PCRES"; } |
|
79 |
|
80 |
|
81 // ** DEFAULT MUSIC FOLDER STRINGS |
|
82 |
|
83 //---------------------------------------------------- |
|
84 // |
|
85 // r_mc_default_music_folders |
|
86 // |
|
87 //---------------------------------------------------- |
|
88 // |
|
89 RESOURCE ARRAY r_mc_default_music_folders |
|
90 { |
|
91 items = |
|
92 { |
|
93 LBUF {txt = text_memory_card_root_path;}, |
|
94 LBUF {txt = text_phone_memory_root_path;} |
|
95 }; |
|
96 } |
|
97 |
|
98 //---------------------------------------------------- |
|
99 // r_mc_music_file_extensions |
|
100 // file extensions which be scanned by music collection |
|
101 //---------------------------------------------------- |
|
102 // |
|
103 RESOURCE ARRAY r_mc_music_file_extensions |
|
104 { |
|
105 items = |
|
106 { |
|
107 #ifdef __WMA |
|
108 LBUF {txt = ".wma";}, |
|
109 #endif |
|
110 LBUF {txt = ".mp3";}, |
|
111 LBUF {txt = ".m4a";}, |
|
112 LBUF {txt = ".aac";} |
|
113 }; |
|
114 } |
|
115 |
|
116 //---------------------------------------------------- |
|
117 // r_mc_file_extensions_mime |
|
118 // file extensions which can be scanned by music |
|
119 // collection, however, these files types must be |
|
120 // checked whether their MIME types match as well |
|
121 // because they can be DRM or video files |
|
122 //---------------------------------------------------- |
|
123 // |
|
124 RESOURCE ARRAY r_mc_file_extensions_mime |
|
125 { |
|
126 items = |
|
127 { |
|
128 LBUF {txt = "";}, |
|
129 #ifdef RD_RA_SUPPORT_FOR_MUSIC_PLAYER |
|
130 LBUF {txt = ".ra";}, |
|
131 LBUF {txt = ".rm";}, |
|
132 #endif |
|
133 LBUF {txt = ".mp4";}, |
|
134 LBUF {txt = ".3gpp";}, |
|
135 LBUF {txt = ".3gp";}, |
|
136 LBUF {txt = ".3gpp2";}, |
|
137 LBUF {txt = ".3g2";}, |
|
138 LBUF {txt = ".dcf";}, |
|
139 LBUF {txt = ".odf";} |
|
140 }; |
|
141 } |
|
142 |
|
143 //---------------------------------------------------- |
|
144 // r_mc_file_extensions_drm |
|
145 // file extensions which can be scanned by music |
|
146 // collection, however, these files types must be |
|
147 // checked which type of DRM is used |
|
148 //---------------------------------------------------- |
|
149 // |
|
150 RESOURCE ARRAY r_mc_file_extensions_drm |
|
151 { |
|
152 items = |
|
153 { |
|
154 LBUF {txt = "";}, |
|
155 LBUF {txt = ".dcf";}, |
|
156 LBUF {txt = ".odf";} |
|
157 }; |
|
158 } |
|
159 |
|
160 //---------------------------------------------------- |
|
161 // r_mc_mime_types |
|
162 // Mime types which be scanned by music collection |
|
163 //---------------------------------------------------- |
|
164 // |
|
165 RESOURCE ARRAY r_mc_mime_types |
|
166 { |
|
167 items = |
|
168 { |
|
169 #ifdef __WMA |
|
170 LBUF {txt = "audio/x-ms-wma";}, |
|
171 #endif |
|
172 #ifdef RD_RA_SUPPORT_FOR_MUSIC_PLAYER |
|
173 LBUF {txt = "audio/x-pn-realaudio";}, |
|
174 LBUF {txt = "audio/x-realaudio";}, |
|
175 LBUF {txt = "audio/vnd.rn-realaudio";}, |
|
176 // LBUF {txt = "application/vnd.rn-realmedia";} |
|
177 #endif |
|
178 LBUF {txt = "audio/mpeg";}, |
|
179 LBUF {txt = "audio/aac";}, |
|
180 LBUF {txt = "audio/mp3";}, |
|
181 LBUF {txt = "audio/x-mp3";}, |
|
182 LBUF {txt = "audio/mp4";}, |
|
183 LBUF {txt = "audio/3gpp";}, |
|
184 LBUF {txt = "audio/m4a";}, |
|
185 LBUF {txt = "audio/3gpp2";}, |
|
186 LBUF {txt = "audio/mpeg4";} |
|
187 }; |
|
188 } |
|
189 |
|
190 // --------------------------------------------------------------------------- |
|
191 // r_mpx_qtn_mp_recently_added |
|
192 // Text string for recently added playlist |
|
193 // --------------------------------------------------------------------------- |
|
194 // |
|
195 RESOURCE LBUF r_mpx_qtn_mp_recently_added |
|
196 { |
|
197 txt = qtn_nmp_recently_added; |
|
198 } |
|
199 |
|
200 // --------------------------------------------------------------------------- |
|
201 // r_mpx_qtn_mp_unplayed |
|
202 // Text string for not yet played playlist |
|
203 // --------------------------------------------------------------------------- |
|
204 // |
|
205 RESOURCE LBUF r_mpx_qtn_mp_unplayed |
|
206 { |
|
207 txt = qtn_nmp_not_yet_played; |
|
208 } |
|
209 |
|
210 // --------------------------------------------------------------------------- |
|
211 // r_mpx_qtn_mus_podcast_num_episodes |
|
212 // Number of episodes text for > 1 episodes or 0 |
|
213 // --------------------------------------------------------------------------- |
|
214 // |
|
215 RESOURCE LBUF r_mpx_qtn_mus_podcast_num_episodes |
|
216 { |
|
217 txt = qtn_mus_podcast_num_episodes; |
|
218 } |
|
219 |
|
220 // --------------------------------------------------------------------------- |
|
221 // r_mpx_qtn_mus_podcast_one_episode |
|
222 // Number of episodes text for a single episode |
|
223 // --------------------------------------------------------------------------- |
|
224 // |
|
225 RESOURCE LBUF r_mpx_qtn_mus_podcast_one_episode |
|
226 { |
|
227 txt = qtn_mus_podcast_one_episode; |
|
228 } |
|
229 |
|
230 //---------------------------------------------------- |
|
231 // r_mpx_qtn_nmp_publish_date_array |
|
232 // Menu items to be displayed in the music library view |
|
233 //---------------------------------------------------- |
|
234 // |
|
235 RESOURCE MENU_ITEM_ARRAY r_mpx_qtn_nmp_publish_date_array |
|
236 { |
|
237 array_of_menu_items = |
|
238 { |
|
239 MENU_ITEM {id = EMPXPublishToday; name = LBUF {txt = qtn_nmp_publish_date_today;};}, |
|
240 MENU_ITEM {id = EMPXPublishYesterday; name = LBUF {txt = qtn_nmp_publish_date_yesterday;};}, |
|
241 MENU_ITEM {id = EMPXPublishThisWeek; name = LBUF {txt = qtn_nmp_publish_date_this_week;};}, |
|
242 MENU_ITEM {id = EMPXPublishLastWeek; name = LBUF {txt = qtn_nmp_publish_date_last_week;};}, |
|
243 MENU_ITEM {id = EMPXPublish2WeekAgo; name = LBUF {txt = qtn_nmp_publish_date_2_weeks;};}, |
|
244 MENU_ITEM {id = EMPXPublish3WeekAgo; name = LBUF {txt = qtn_nmp_publish_date_3_weeks;};}, |
|
245 MENU_ITEM {id = EMPXPublishLastMonth; name = LBUF {txt = qtn_nmp_publish_date_last_months;};}, |
|
246 MENU_ITEM {id = EMPXPublishEarlier; name = LBUF {txt = qtn_nmp_publish_date_earlier;};}, |
|
247 MENU_ITEM {id = EMPXPublishUnknown; name = LBUF {txt = qtn_nmp_publish_date_unknown;};} |
|
248 }; |
|
249 } |
|
250 |
|
251 //---------------------------------------------------- |
|
252 // r_mpx_qtn_nmp_episodes_title_published_date_array |
|
253 // Episode View titles to be displayed when Episode view |
|
254 // is activated via selecting a Publish Date View category |
|
255 //---------------------------------------------------- |
|
256 // |
|
257 RESOURCE MENU_ITEM_ARRAY r_mpx_qtn_nmp_episodes_title_published_date_array |
|
258 { |
|
259 array_of_menu_items = |
|
260 { |
|
261 MENU_ITEM {id = EMPXPublishToday; name = LBUF {txt = qtn_nmp_episodes_title_published_today;};}, |
|
262 MENU_ITEM {id = EMPXPublishYesterday; name = LBUF {txt = qtn_nmp_episodes_title_published_yesterday;};}, |
|
263 MENU_ITEM {id = EMPXPublishThisWeek; name = LBUF {txt = qtn_nmp_episodes_title_published_this_week;};}, |
|
264 MENU_ITEM {id = EMPXPublishLastWeek; name = LBUF {txt = qtn_nmp_episodes_title_published_last_week;};}, |
|
265 MENU_ITEM {id = EMPXPublish2WeekAgo; name = LBUF {txt = qtn_nmp_episodes_title_published_two_weeks_ago;};}, |
|
266 MENU_ITEM {id = EMPXPublish3WeekAgo; name = LBUF {txt = qtn_nmp_episodes_title_published_three_weeks_ago;};}, |
|
267 MENU_ITEM {id = EMPXPublishLastMonth; name = LBUF {txt = qtn_nmp_episodes_title_published_last_month;};}, |
|
268 MENU_ITEM {id = EMPXPublishEarlier; name = LBUF {txt = qtn_nmp_episodes_title_published_earlier;};}, |
|
269 MENU_ITEM {id = EMPXPublishUnknown; name = LBUF {txt = qtn_nmp_episodes_title_published_date_unknown;};} |
|
270 }; |
|
271 } |
|
272 |
|
273 // r_mpx_qtn_mus_podcasts |
|
274 // Text for podcast collection plugin menu item within |
|
275 // main music player view |
|
276 // --------------------------------------------------------------------------- |
|
277 // |
|
278 RESOURCE LBUF r_mpx_qtn_mus_podcasts { txt = qtn_mus_podcasts; } |
|
279 |
|
280 // --------------------------------------------------------------------------- |
|
281 // r_mpx_qtn_mp_title_my_podcast |
|
282 // Title text for Podcast Menu View |
|
283 // --------------------------------------------------------------------------- |
|
284 // |
|
285 RESOURCE LBUF r_mpx_qtn_mp_title_my_podcast { txt = qtn_mp_title_my_podcast; } |
|
286 |
|
287 // --------------------------------------------------------------------------- |
|
288 // r_mpx_qtn_mp_title_podcasts |
|
289 // Title text for Podcast main view |
|
290 // --------------------------------------------------------------------------- |
|
291 // |
|
292 RESOURCE LBUF r_mpx_qtn_mp_title_podcasts { txt = qtn_vmp_title_podcasts; } |
|
293 |
|
294 // --------------------------------------------------------------------------- |
|
295 // r_mpx_qtn_mp_title_all_episodes |
|
296 // Title text Episodes View when accessed via "All episodes" |
|
297 // --------------------------------------------------------------------------- |
|
298 // |
|
299 RESOURCE LBUF r_mpx_qtn_mp_title_all_episodes { txt = qtn_nmp_title_all_episodes; } |
|
300 |
|
301 // --------------------------------------------------------------------------- |
|
302 // r_mpx_qtn_mus_title_publish_date |
|
303 // Title text for Publish Date View |
|
304 // --------------------------------------------------------------------------- |
|
305 // |
|
306 RESOURCE LBUF r_mpx_qtn_mus_title_publish_date { txt = qtn_mus_title_publish_date; } |
|
307 |
|
308 // --------------------------------------------------------------------------- |
|
309 // r_mpx_qtn_mus_title_publish_date |
|
310 // Title text for Titles View |
|
311 // --------------------------------------------------------------------------- |
|
312 // |
|
313 RESOURCE LBUF r_mpx_qtn_mus_title_titles { txt = qtn_mus_title_titles; } |
|
314 |
|
315 // --------------------------------------------------------------------------- |
|
316 // r_mpx_qtn_mp_title_recently_added |
|
317 // Title text Episodes View when accessed via "Recently added" |
|
318 // --------------------------------------------------------------------------- |
|
319 // |
|
320 RESOURCE LBUF r_mpx_qtn_mp_title_recently_added { txt = qtn_nmp_recently_added; } |
|
321 |
|
322 // --------------------------------------------------------------------------- |
|
323 // r_mpx_qtn_mp_title_unplayed |
|
324 // Title text Episodes View when accessed via "Not yet played" |
|
325 // --------------------------------------------------------------------------- |
|
326 // |
|
327 RESOURCE LBUF r_mpx_qtn_mp_title_unplayed { txt = qtn_nmp_unplayed; } |
|
328 |
|
329 |
|
330 // End of File |