author | mapo |
Thu, 07 Oct 2010 12:37:16 +0200 | |
branch | podcatcher_qt_symbian4 |
changeset 224 | 9db1c2928b15 |
parent 140 | 68b48f53a8ec |
child 368 | b131f7696342 |
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 |
{ |
|
140 | 31 |
/*MENU_ITEM |
2 | 32 |
{ |
110
403412eb5292
Added "Reset database" option in settings. Further robustness fixes for Feeds.
teknolog
parents:
105
diff
changeset
|
33 |
command = EPodcastResetDb; |
403412eb5292
Added "Reset database" option in settings. Further robustness fixes for Feeds.
teknolog
parents:
105
diff
changeset
|
34 |
txt = STRING_r_podcast_setting_reset_db; |
140 | 35 |
},*/ |
110
403412eb5292
Added "Reset database" option in settings. Further robustness fixes for Feeds.
teknolog
parents:
105
diff
changeset
|
36 |
MENU_ITEM |
403412eb5292
Added "Reset database" option in settings. Further robustness fixes for Feeds.
teknolog
parents:
105
diff
changeset
|
37 |
{ |
2 | 38 |
command = EPodcastHelp; |
39 |
txt = STRING_r_view_help; |
|
110
403412eb5292
Added "Reset database" option in settings. Further robustness fixes for Feeds.
teknolog
parents:
105
diff
changeset
|
40 |
} |
2 | 41 |
}; |
42 |
} |
|
43 |
||
44 |
||
45 |
RESOURCE AVKON_VIEW r_podcast_settingsview |
|
46 |
{ |
|
47 |
menubar = r_podcast_settingsview_menubar; |
|
48 |
cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
49 |
} |
|
50 |
||
51 |
RESOURCE AVKON_SETTING_ITEM_LIST r_podcast_settings |
|
52 |
{ |
|
53 |
title = STRING_r_podcast_settings_title; |
|
54 |
items = |
|
55 |
{ |
|
56 |
AVKON_SETTING_ITEM |
|
57 |
{ |
|
58 |
name = STRING_r_podcast_setting_showdir; |
|
59 |
identifier = EPodcastSettingShowDir; |
|
60 |
setting_page_resource = r_podcast_showdir_page; |
|
61 |
}, |
|
62 |
AVKON_SETTING_ITEM |
|
63 |
{ |
|
64 |
identifier = EPodcastSettingAutoUpdate; |
|
65 |
setting_page_resource = r_podcast_autoupdate_page_resource; |
|
66 |
associated_resource = r_podcast_autoupdate_texts; |
|
67 |
name = STRING_r_podcast_setting_autoupdate; |
|
68 |
}, |
|
69 |
AVKON_SETTING_ITEM |
|
70 |
{ |
|
71 |
identifier = EPodcastSettingAutoDownload; |
|
72 |
setting_page_resource = r_podcast_autodownload_page_resource; |
|
73 |
associated_resource = r_on_off_texts; |
|
74 |
name = STRING_r_podcast_setting_autodownload; |
|
75 |
}, |
|
76 |
AVKON_SETTING_ITEM |
|
77 |
{ |
|
78 |
identifier = EPodcastSettingConnection; |
|
79 |
setting_page_resource = r_podcast_connection_page_resource; |
|
80 |
associated_resource = r_podcast_connection_texts; |
|
81 |
name = STRING_r_podcast_setting_connection; |
|
82 |
}, |
|
83 |
AVKON_SETTING_ITEM |
|
84 |
{ |
|
85 |
identifier = EPodcastSettingIAPList; |
|
86 |
setting_page_resource = r_setting_iap_page_resource; |
|
87 |
associated_resource = r_setting_iap_texts; |
|
88 |
name = STRING_r_podcast_setting_iaplist; |
|
89 |
} |
|
90 |
}; |
|
91 |
} |
|
92 |
||
93 |
RESOURCE AVKON_SETTING_PAGE r_podcast_showdir_page |
|
94 |
{ |
|
95 |
label=STRING_r_podcast_setting_showdir; |
|
96 |
type = EEikCtEdwin; |
|
97 |
editor_resource_id = r_podcast_showdir; |
|
98 |
} |
|
99 |
||
100 |
RESOURCE EDWIN r_podcast_showdir |
|
101 |
{ |
|
102 |
lines = 3; |
|
103 |
maxlength = 256; |
|
104 |
default_input_mode = EAknEditorTextInputMode; |
|
105 |
} |
|
106 |
||
107 |
RESOURCE AVKON_SETTING_PAGE r_podcast_connection_page_resource |
|
108 |
{ |
|
109 |
label= STRING_r_podcast_setting_connection; |
|
110 |
type = EAknCtPopupSettingList; |
|
111 |
editor_resource_id = r_setting_connection_popup_list_entry; |
|
112 |
} |
|
113 |
||
114 |
RESOURCE POPUP_SETTING_LIST r_setting_connection_popup_list_entry |
|
115 |
{ |
|
116 |
} |
|
117 |
||
118 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_podcast_connection_texts |
|
119 |
{ |
|
120 |
setting_texts_resource = r_podcast_connection_closed; |
|
121 |
popped_up_texts_resource = r_podcast_connection_opened; |
|
122 |
} |
|
123 |
||
124 |
RESOURCE ARRAY r_podcast_connection_closed |
|
125 |
{ |
|
126 |
items = |
|
127 |
{ |
|
128 |
AVKON_ENUMERATED_TEXT{value=EConnectionDefault; text = STRING_r_podcast_setting_default;}, |
|
129 |
AVKON_ENUMERATED_TEXT{value=EConnectionAlwaysAsk; text = STRING_r_podcast_setting_alwaysask;}, |
|
130 |
AVKON_ENUMERATED_TEXT{value=EConnectionUseIap; text = STRING_r_podcast_setting_useiap;} |
|
131 |
}; |
|
132 |
} |
|
133 |
||
134 |
RESOURCE ARRAY r_podcast_connection_opened |
|
135 |
{ |
|
136 |
items = |
|
137 |
{ |
|
138 |
LBUF { txt=STRING_r_podcast_setting_default; }, |
|
139 |
LBUF { txt=STRING_r_podcast_setting_alwaysask; }, |
|
140 |
LBUF { txt=STRING_r_podcast_setting_useiap; } |
|
141 |
}; |
|
142 |
} |
|
143 |
||
144 |
RESOURCE AVKON_SETTING_PAGE r_podcast_autodownload_page_resource |
|
145 |
{ |
|
146 |
label= STRING_r_podcast_setting_autodownload; |
|
147 |
type = EAknCtPopupSettingList; |
|
148 |
number= 0; |
|
149 |
} |
|
150 |
||
151 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_on_off_texts |
|
152 |
{ |
|
153 |
flags = 0; |
|
154 |
setting_texts_resource = r_setting_on_off_closed; |
|
155 |
popped_up_texts_resource = r_setting_on_off_opened; |
|
156 |
} |
|
157 |
||
158 |
RESOURCE ARRAY r_setting_on_off_closed |
|
159 |
{ |
|
160 |
items = |
|
161 |
{ |
|
162 |
AVKON_ENUMERATED_TEXT { value=1; text=STRING_r_on; }, |
|
163 |
AVKON_ENUMERATED_TEXT { value=0; text=STRING_r_off; } |
|
164 |
}; |
|
165 |
} |
|
166 |
||
167 |
RESOURCE ARRAY r_setting_on_off_opened |
|
168 |
{ |
|
169 |
items = |
|
170 |
{ |
|
171 |
LBUF { txt=STRING_r_on; }, |
|
172 |
LBUF { txt=STRING_r_off; } |
|
173 |
}; |
|
174 |
} |
|
175 |
||
176 |
RESOURCE AVKON_SETTING_PAGE r_podcast_autoupdate_page_resource |
|
177 |
{ |
|
178 |
label= STRING_r_podcast_setting_autoupdate; |
|
179 |
type = EAknCtPopupSettingList; |
|
180 |
editor_resource_id = r_setting_autoupdate_popup_list_entry; |
|
181 |
} |
|
182 |
||
183 |
RESOURCE POPUP_SETTING_LIST r_setting_autoupdate_popup_list_entry |
|
184 |
{ |
|
185 |
} |
|
186 |
||
187 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_podcast_autoupdate_texts |
|
188 |
{ |
|
189 |
flags = 0; |
|
190 |
setting_texts_resource = r_podcast_autoupdate_closed; |
|
191 |
popped_up_texts_resource = r_podcast_autoupdate_opened; |
|
192 |
} |
|
193 |
||
194 |
RESOURCE ARRAY r_podcast_autoupdate_closed |
|
195 |
{ |
|
196 |
items = |
|
197 |
{ |
|
198 |
AVKON_ENUMERATED_TEXT { value=0; text=STRING_podcast_autoupdate_option1; }, |
|
199 |
AVKON_ENUMERATED_TEXT { value=60; text=STRING_podcast_autoupdate_option2; }, |
|
200 |
AVKON_ENUMERATED_TEXT { value=360; text=STRING_podcast_autoupdate_option3; }, |
|
201 |
AVKON_ENUMERATED_TEXT { value=720; text=STRING_podcast_autoupdate_option4; }, |
|
202 |
AVKON_ENUMERATED_TEXT { value=1440; text=STRING_podcast_autoupdate_option5; } |
|
203 |
}; |
|
204 |
} |
|
205 |
||
206 |
RESOURCE ARRAY r_podcast_autoupdate_opened |
|
207 |
{ |
|
208 |
items = |
|
209 |
{ |
|
210 |
LBUF { txt=STRING_podcast_autoupdate_option1; }, |
|
211 |
LBUF { txt=STRING_podcast_autoupdate_option2; }, |
|
212 |
LBUF { txt=STRING_podcast_autoupdate_option3; }, |
|
213 |
LBUF { txt=STRING_podcast_autoupdate_option4; }, |
|
214 |
LBUF { txt=STRING_podcast_autoupdate_option5; } |
|
215 |
}; |
|
216 |
} |
|
217 |
||
218 |
RESOURCE FILESELECTIONDIALOG r_podcast_showdir_selector |
|
219 |
{ |
|
220 |
title = STRING_r_view_export_feeds_title; |
|
221 |
root_path = ""; |
|
222 |
filters = |
|
223 |
{ |
|
224 |
FILTER |
|
225 |
{ |
|
226 |
filter_type = EFilenameFilter; |
|
227 |
filter_style = EInclusiveFilter; |
|
228 |
filter_data = { "*.*" }; |
|
229 |
} |
|
230 |
}; |
|
231 |
} |
|
232 |
||
105
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
233 |
RESOURCE MEMORYSELECTIONDIALOG r_podcast_memory_selection |
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
234 |
{ |
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
235 |
title = "Select memory:"; |
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
236 |
softkey_1 = text_softkey_ok; // The text for the left softkey. |
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
237 |
softkey_2 = text_softkey_cancel; // The text for the right softkey. |
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
238 |
locations = |
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
239 |
{ |
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
240 |
LOCATION { root_path = text_phone_memory_root_path; }, |
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
241 |
LOCATION { root_path = text_memory_card_root_path; } |
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
242 |
}; |
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
243 |
} |
236022094302
Fix for bug 2338 - Podcatcher doesn't know about disk F:
teknolog
parents:
2
diff
changeset
|
244 |
|
2 | 245 |
RESOURCE TBUF r_podcast_softkey_select { buf = STRING_r_view_export_feeds_softkey; } |
246 |
RESOURCE TBUF r_settings_title { buf = STRING_r_podcast_settings_title; } |
|
247 |
||
248 |
RESOURCE AVKON_SETTING_PAGE r_setting_iap_page_resource |
|
249 |
{ |
|
250 |
label= STRING_r_podcast_setting_iaplist; |
|
251 |
type = EAknCtPopupSettingList; |
|
252 |
editor_resource_id = r_setting_iap_popup_list_entry; |
|
253 |
} |
|
254 |
||
255 |
RESOURCE POPUP_SETTING_LIST r_setting_iap_popup_list_entry |
|
256 |
{ |
|
257 |
} |
|
258 |
||
259 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_setting_iap_texts |
|
260 |
{ |
|
261 |
setting_texts_resource = r_setting_iap_closed; |
|
262 |
popped_up_texts_resource = r_setting_iap_opened; |
|
263 |
} |
|
264 |
||
265 |
RESOURCE ARRAY r_setting_iap_closed |
|
266 |
{ |
|
267 |
items = |
|
268 |
{ |
|
269 |
AVKON_ENUMERATED_TEXT{value=0; text = "";} |
|
270 |
}; |
|
271 |
} |
|
272 |
||
273 |
RESOURCE ARRAY r_setting_iap_opened |
|
274 |
{ |
|
275 |
items = |
|
276 |
{ |
|
277 |
LBUF { txt=""; } |
|
278 |
}; |
|
279 |
} |