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