author | Sebastian Brannstrom <sebastianb@symbian.org> |
Mon, 15 Nov 2010 13:59:40 +0000 | |
branch | newlist |
changeset 349 | 4538abb763e4 |
parent 138 | 6c8c5122867a |
permissions | -rw-r--r-- |
2 | 1 |
/* |
2 |
* Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB |
|
3 |
* |
|
4 |
* All rights reserved. |
|
5 |
* This component and the accompanying materials are made available |
|
6 |
* under the terms of the License "Eclipse Public License v1.0" |
|
7 |
* which accompanies this distribution, and is available |
|
8 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 |
* |
|
10 |
* Initial Contributors: |
|
11 |
* EmbedDev AB - initial contribution. |
|
12 |
* |
|
13 |
* Contributors: |
|
14 |
* |
|
15 |
* Description: |
|
16 |
* |
|
17 |
*/ |
|
18 |
||
19 |
RESOURCE MENU_BAR r_podcast_settingsview_menubar |
|
20 |
{ |
|
21 |
titles = |
|
22 |
{ |
|
23 |
MENU_TITLE { menu_pane = r_podcast_settingsview_menu; txt = ""; } |
|
24 |
}; |
|
25 |
} |
|
26 |
||
27 |
RESOURCE MENU_PANE r_podcast_settingsview_menu |
|
28 |
{ |
|
29 |
items = |
|
30 |
{ |
|
60 | 31 |
MENU_ITEM |
32 |
{ |
|
2 | 33 |
command = EPodcastHelp; |
34 |
txt = STRING_r_view_help; |
|
60 | 35 |
} |
2 | 36 |
}; |
37 |
} |
|
38 |
||
39 |
RESOURCE AVKON_VIEW r_podcast_settingsview |
|
40 |
{ |
|
41 |
menubar = r_podcast_settingsview_menubar; |
|
42 |
cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
43 |
} |
|
44 |
||
45 |
RESOURCE AVKON_SETTING_ITEM_LIST r_podcast_settings |
|
46 |
{ |
|
47 |
title = STRING_r_podcast_settings_title; |
|
48 |
items = |
|
49 |
{ |
|
50 |
AVKON_SETTING_ITEM |
|
51 |
{ |
|
52 |
name = STRING_r_podcast_setting_showdir; |
|
53 |
identifier = EPodcastSettingShowDir; |
|
54 |
setting_page_resource = r_podcast_showdir_page; |
|
55 |
}, |
|
56 |
AVKON_SETTING_ITEM |
|
57 |
{ |
|
58 |
identifier = EPodcastSettingAutoUpdate; |
|
59 |
setting_page_resource = r_podcast_autoupdate_page_resource; |
|
60 |
associated_resource = r_podcast_autoupdate_texts; |
|
61 |
name = STRING_r_podcast_setting_autoupdate; |
|
62 |
}, |
|
63 |
AVKON_SETTING_ITEM |
|
64 |
{ |
|
65 |
identifier = EPodcastSettingAutoDownload; |
|
66 |
setting_page_resource = r_podcast_autodownload_page_resource; |
|
67 |
associated_resource = r_on_off_texts; |
|
68 |
name = STRING_r_podcast_setting_autodownload; |
|
69 |
}, |
|
70 |
AVKON_SETTING_ITEM |
|
71 |
{ |
|
349
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
72 |
identifier = EPodcastSettingAutoDelete; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
73 |
setting_page_resource = r_podcast_autodelete_page_resource; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
74 |
associated_resource = r_podcast_autodelete_texts; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
75 |
name = STRING_r_podcast_setting_autodelete; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
76 |
}, |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
77 |
AVKON_SETTING_ITEM |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
78 |
{ |
2 | 79 |
identifier = EPodcastSettingConnection; |
80 |
setting_page_resource = r_podcast_connection_page_resource; |
|
81 |
associated_resource = r_podcast_connection_texts; |
|
82 |
name = STRING_r_podcast_setting_connection; |
|
83 |
}, |
|
84 |
AVKON_SETTING_ITEM |
|
85 |
{ |
|
86 |
identifier = EPodcastSettingIAPList; |
|
87 |
setting_page_resource = r_setting_iap_page_resource; |
|
88 |
associated_resource = r_setting_iap_texts; |
|
89 |
name = STRING_r_podcast_setting_iaplist; |
|
90 |
} |
|
91 |
}; |
|
92 |
} |
|
93 |
||
94 |
RESOURCE AVKON_SETTING_PAGE r_podcast_showdir_page |
|
95 |
{ |
|
96 |
label=STRING_r_podcast_setting_showdir; |
|
97 |
type = EEikCtEdwin; |
|
98 |
editor_resource_id = r_podcast_showdir; |
|
99 |
} |
|
100 |
||
101 |
RESOURCE EDWIN r_podcast_showdir |
|
102 |
{ |
|
103 |
lines = 3; |
|
104 |
maxlength = 256; |
|
105 |
default_input_mode = EAknEditorTextInputMode; |
|
106 |
} |
|
107 |
||
108 |
RESOURCE AVKON_SETTING_PAGE r_podcast_connection_page_resource |
|
109 |
{ |
|
110 |
label= STRING_r_podcast_setting_connection; |
|
111 |
type = EAknCtPopupSettingList; |
|
112 |
editor_resource_id = r_setting_connection_popup_list_entry; |
|
113 |
} |
|
114 |
||
115 |
RESOURCE POPUP_SETTING_LIST r_setting_connection_popup_list_entry |
|
116 |
{ |
|
117 |
} |
|
118 |
||
119 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_podcast_connection_texts |
|
120 |
{ |
|
121 |
setting_texts_resource = r_podcast_connection_closed; |
|
122 |
popped_up_texts_resource = r_podcast_connection_opened; |
|
123 |
} |
|
124 |
||
125 |
RESOURCE ARRAY r_podcast_connection_closed |
|
126 |
{ |
|
127 |
items = |
|
128 |
{ |
|
129 |
AVKON_ENUMERATED_TEXT{value=EConnectionDefault; text = STRING_r_podcast_setting_default;}, |
|
130 |
AVKON_ENUMERATED_TEXT{value=EConnectionAlwaysAsk; text = STRING_r_podcast_setting_alwaysask;}, |
|
131 |
AVKON_ENUMERATED_TEXT{value=EConnectionUseIap; text = STRING_r_podcast_setting_useiap;} |
|
132 |
}; |
|
133 |
} |
|
134 |
||
135 |
RESOURCE ARRAY r_podcast_connection_opened |
|
136 |
{ |
|
137 |
items = |
|
138 |
{ |
|
139 |
LBUF { txt=STRING_r_podcast_setting_default; }, |
|
140 |
LBUF { txt=STRING_r_podcast_setting_alwaysask; }, |
|
141 |
LBUF { txt=STRING_r_podcast_setting_useiap; } |
|
142 |
}; |
|
143 |
} |
|
144 |
||
145 |
RESOURCE AVKON_SETTING_PAGE r_podcast_autodownload_page_resource |
|
146 |
{ |
|
147 |
label= STRING_r_podcast_setting_autodownload; |
|
148 |
type = EAknCtPopupSettingList; |
|
149 |
number= 0; |
|
150 |
} |
|
151 |
||
152 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_on_off_texts |
|
153 |
{ |
|
154 |
flags = 0; |
|
155 |
setting_texts_resource = r_setting_on_off_closed; |
|
156 |
popped_up_texts_resource = r_setting_on_off_opened; |
|
157 |
} |
|
158 |
||
159 |
RESOURCE ARRAY r_setting_on_off_closed |
|
160 |
{ |
|
161 |
items = |
|
162 |
{ |
|
163 |
AVKON_ENUMERATED_TEXT { value=1; text=STRING_r_on; }, |
|
164 |
AVKON_ENUMERATED_TEXT { value=0; text=STRING_r_off; } |
|
165 |
}; |
|
166 |
} |
|
167 |
||
168 |
RESOURCE ARRAY r_setting_on_off_opened |
|
169 |
{ |
|
170 |
items = |
|
171 |
{ |
|
172 |
LBUF { txt=STRING_r_on; }, |
|
173 |
LBUF { txt=STRING_r_off; } |
|
174 |
}; |
|
175 |
} |
|
176 |
||
349
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
177 |
RESOURCE AVKON_SETTING_PAGE r_podcast_autodelete_page_resource |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
178 |
{ |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
179 |
label= STRING_r_podcast_setting_autodelete; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
180 |
type = EAknCtPopupSettingList; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
181 |
editor_resource_id = r_setting_autodelete_popup_list_entry; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
182 |
} |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
183 |
|
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
184 |
RESOURCE POPUP_SETTING_LIST r_setting_autodelete_popup_list_entry |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
185 |
{ |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
186 |
} |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
187 |
|
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
188 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_podcast_autodelete_texts |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
189 |
{ |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
190 |
flags = 0; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
191 |
setting_texts_resource = r_podcast_autodelete_closed; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
192 |
popped_up_texts_resource = r_podcast_autodelete_opened; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
193 |
} |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
194 |
|
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
195 |
RESOURCE ARRAY r_podcast_autodelete_closed |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
196 |
{ |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
197 |
items = |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
198 |
{ |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
199 |
AVKON_ENUMERATED_TEXT { value=0; text=STRING_podcast_autodelete_option1; }, |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
200 |
AVKON_ENUMERATED_TEXT { value=1; text=STRING_podcast_autodelete_option2; }, |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
201 |
AVKON_ENUMERATED_TEXT { value=2; text=STRING_podcast_autodelete_option3; } |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
202 |
}; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
203 |
} |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
204 |
|
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
205 |
RESOURCE ARRAY r_podcast_autodelete_opened |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
206 |
{ |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
207 |
items = |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
208 |
{ |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
209 |
LBUF { txt=STRING_podcast_autodelete_option1; }, |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
210 |
LBUF { txt=STRING_podcast_autodelete_option2; }, |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
211 |
LBUF { txt=STRING_podcast_autodelete_option3; } |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
212 |
}; |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
213 |
} |
4538abb763e4
Added auto delete feature
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
138
diff
changeset
|
214 |
|
2 | 215 |
RESOURCE AVKON_SETTING_PAGE r_podcast_autoupdate_page_resource |
216 |
{ |
|
217 |
label= STRING_r_podcast_setting_autoupdate; |
|
218 |
type = EAknCtPopupSettingList; |
|
219 |
editor_resource_id = r_setting_autoupdate_popup_list_entry; |
|
220 |
} |
|
221 |
||
222 |
RESOURCE POPUP_SETTING_LIST r_setting_autoupdate_popup_list_entry |
|
223 |
{ |
|
224 |
} |
|
225 |
||
226 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_podcast_autoupdate_texts |
|
227 |
{ |
|
228 |
flags = 0; |
|
229 |
setting_texts_resource = r_podcast_autoupdate_closed; |
|
230 |
popped_up_texts_resource = r_podcast_autoupdate_opened; |
|
231 |
} |
|
232 |
||
233 |
RESOURCE ARRAY r_podcast_autoupdate_closed |
|
234 |
{ |
|
235 |
items = |
|
236 |
{ |
|
237 |
AVKON_ENUMERATED_TEXT { value=0; text=STRING_podcast_autoupdate_option1; }, |
|
238 |
AVKON_ENUMERATED_TEXT { value=60; text=STRING_podcast_autoupdate_option2; }, |
|
239 |
AVKON_ENUMERATED_TEXT { value=360; text=STRING_podcast_autoupdate_option3; }, |
|
240 |
AVKON_ENUMERATED_TEXT { value=720; text=STRING_podcast_autoupdate_option4; }, |
|
241 |
AVKON_ENUMERATED_TEXT { value=1440; text=STRING_podcast_autoupdate_option5; } |
|
242 |
}; |
|
243 |
} |
|
244 |
||
245 |
RESOURCE ARRAY r_podcast_autoupdate_opened |
|
246 |
{ |
|
247 |
items = |
|
248 |
{ |
|
249 |
LBUF { txt=STRING_podcast_autoupdate_option1; }, |
|
250 |
LBUF { txt=STRING_podcast_autoupdate_option2; }, |
|
251 |
LBUF { txt=STRING_podcast_autoupdate_option3; }, |
|
252 |
LBUF { txt=STRING_podcast_autoupdate_option4; }, |
|
253 |
LBUF { txt=STRING_podcast_autoupdate_option5; } |
|
254 |
}; |
|
255 |
} |
|
256 |
||
257 |
RESOURCE FILESELECTIONDIALOG r_podcast_showdir_selector |
|
258 |
{ |
|
259 |
title = STRING_r_view_export_feeds_title; |
|
260 |
root_path = ""; |
|
261 |
filters = |
|
262 |
{ |
|
263 |
FILTER |
|
264 |
{ |
|
265 |
filter_type = EFilenameFilter; |
|
266 |
filter_style = EInclusiveFilter; |
|
267 |
filter_data = { "*.*" }; |
|
268 |
} |
|
269 |
}; |
|
270 |
} |
|
271 |
||
60 | 272 |
RESOURCE MEMORYSELECTIONDIALOG r_podcast_memory_selection |
273 |
{ |
|
274 |
title = "Select memory:"; |
|
275 |
softkey_1 = text_softkey_ok; // The text for the left softkey. |
|
276 |
softkey_2 = text_softkey_cancel; // The text for the right softkey. |
|
277 |
locations = |
|
278 |
{ |
|
279 |
LOCATION { root_path = text_phone_memory_root_path; }, |
|
280 |
LOCATION { root_path = text_memory_card_root_path; } |
|
281 |
}; |
|
282 |
} |
|
283 |
||
2 | 284 |
RESOURCE TBUF r_podcast_softkey_select { buf = STRING_r_view_export_feeds_softkey; } |
285 |
RESOURCE TBUF r_settings_title { buf = STRING_r_podcast_settings_title; } |
|
286 |
||
287 |
RESOURCE AVKON_SETTING_PAGE r_setting_iap_page_resource |
|
288 |
{ |
|
289 |
label= STRING_r_podcast_setting_iaplist; |
|
290 |
type = EAknCtPopupSettingList; |
|
291 |
editor_resource_id = r_setting_iap_popup_list_entry; |
|
292 |
} |
|
293 |
||
294 |
RESOURCE POPUP_SETTING_LIST r_setting_iap_popup_list_entry |
|
295 |
{ |
|
296 |
} |
|
297 |
||
298 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_setting_iap_texts |
|
299 |
{ |
|
300 |
setting_texts_resource = r_setting_iap_closed; |
|
301 |
popped_up_texts_resource = r_setting_iap_opened; |
|
302 |
} |
|
303 |
||
304 |
RESOURCE ARRAY r_setting_iap_closed |
|
305 |
{ |
|
306 |
items = |
|
307 |
{ |
|
308 |
AVKON_ENUMERATED_TEXT{value=0; text = "";} |
|
309 |
}; |
|
310 |
} |
|
311 |
||
312 |
RESOURCE ARRAY r_setting_iap_opened |
|
313 |
{ |
|
314 |
items = |
|
315 |
{ |
|
316 |
LBUF { txt=""; } |
|
317 |
}; |
|
318 |
} |