|
1 /* |
|
2 * Copyright (c) 2003 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 the License "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 |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME FEED |
|
20 |
|
21 // INCLUDES |
|
22 #include <appinfo.rh> |
|
23 #include <eikon.rh> |
|
24 #include <avkon.rh> |
|
25 #include <avkon.rsg> |
|
26 #include <avkon.loc> |
|
27 |
|
28 #include "FeedsApp.hrh" |
|
29 |
|
30 |
|
31 // ***************************************************************************** |
|
32 // Application related |
|
33 // ----------------------------------------------------------------------------- |
|
34 // |
|
35 // Define the resource file signature |
|
36 // This resource should be empty. |
|
37 // |
|
38 // ----------------------------------------------------------------------------- |
|
39 // |
|
40 RESOURCE RSS_SIGNATURE |
|
41 { |
|
42 } |
|
43 |
|
44 |
|
45 // ----------------------------------------------------------------------------- |
|
46 // |
|
47 // Default Document Name |
|
48 // |
|
49 // ----------------------------------------------------------------------------- |
|
50 // |
|
51 RESOURCE TBUF r_feeds_default_docname |
|
52 { |
|
53 buf="Feeds"; |
|
54 } |
|
55 |
|
56 |
|
57 // ----------------------------------------------------------------------------- |
|
58 // |
|
59 // Define default menu and CBA key. |
|
60 // |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 RESOURCE EIK_APP_INFO |
|
64 { |
|
65 } |
|
66 |
|
67 |
|
68 // ***************************************************************************** |
|
69 // CTestHarnessView |
|
70 |
|
71 // ----------------------------------------------------------------------------- |
|
72 // |
|
73 // r_feeds_test_harness_view |
|
74 // Define view 1 |
|
75 // |
|
76 // ----------------------------------------------------------------------------- |
|
77 // |
|
78 RESOURCE AVKON_VIEW r_feeds_test_harness_view |
|
79 { |
|
80 menubar = r_feeds_test_harness_view_menubar; |
|
81 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
82 } |
|
83 |
|
84 |
|
85 // ----------------------------------------------------------------------------- |
|
86 // |
|
87 // r_feeds_test_harness_view_menubar |
|
88 // Menu title definition |
|
89 // |
|
90 // ----------------------------------------------------------------------------- |
|
91 // |
|
92 RESOURCE MENU_BAR r_feeds_test_harness_view_menubar |
|
93 { |
|
94 titles = |
|
95 { |
|
96 MENU_TITLE |
|
97 { |
|
98 menu_pane = r_feeds_test_harness_view_menu; |
|
99 } |
|
100 }; |
|
101 } |
|
102 |
|
103 // ----------------------------------------------------------------------------- |
|
104 // |
|
105 // r_feeds_test_harness_view_menu |
|
106 // Menu for "Options" |
|
107 // |
|
108 // ----------------------------------------------------------------------------- |
|
109 // |
|
110 RESOURCE MENU_PANE r_feeds_test_harness_view_menu |
|
111 { |
|
112 items = |
|
113 { |
|
114 MENU_ITEM |
|
115 { |
|
116 command = EShowFolderView; |
|
117 txt = "Show Web Feeds"; |
|
118 }, |
|
119 |
|
120 MENU_ITEM |
|
121 { |
|
122 command = ESubscribeTo; |
|
123 txt = "Subscribe to TechDirt"; |
|
124 }, |
|
125 |
|
126 MENU_ITEM |
|
127 { |
|
128 command = EFeedsDebug; |
|
129 txt = "Debug"; |
|
130 cascade = r_feeds_debug_menu; |
|
131 }, |
|
132 |
|
133 MENU_ITEM |
|
134 { |
|
135 command = EAknCmdHelp; |
|
136 txt = qtn_options_help; |
|
137 }, |
|
138 |
|
139 MENU_ITEM |
|
140 { |
|
141 command = EEikCmdExit; |
|
142 txt = qtn_options_exit; |
|
143 } |
|
144 }; |
|
145 } |
|
146 |
|
147 |
|
148 // ----------------------------------------------------------------------------- |
|
149 // |
|
150 // r_feeds_view_debug_menu |
|
151 // Tools sub-menu |
|
152 // |
|
153 // ----------------------------------------------------------------------------- |
|
154 // |
|
155 RESOURCE MENU_PANE r_feeds_debug_menu |
|
156 { |
|
157 items = |
|
158 { |
|
159 MENU_ITEM |
|
160 { |
|
161 command = EFeedsAppCmd0; |
|
162 txt = "Canned RSS"; |
|
163 }, |
|
164 |
|
165 MENU_ITEM |
|
166 { |
|
167 command = EFeedsAppCmd1; |
|
168 txt = "Canned Atom"; |
|
169 }, |
|
170 |
|
171 MENU_ITEM |
|
172 { |
|
173 command = EFeedsAppCmd2; |
|
174 txt = "Live - 500"; |
|
175 }, |
|
176 |
|
177 MENU_ITEM |
|
178 { |
|
179 command = EFeedsAppCmd22; |
|
180 txt = "Print DB Tables"; |
|
181 }, |
|
182 |
|
183 MENU_ITEM |
|
184 { |
|
185 command = EFeedsAppCmd3; |
|
186 txt = "Fetch Root Folder"; |
|
187 }, |
|
188 |
|
189 MENU_ITEM |
|
190 { |
|
191 command = EFeedsAppCmd4; |
|
192 txt = "Watch Folder List"; |
|
193 }, |
|
194 |
|
195 MENU_ITEM |
|
196 { |
|
197 command = EFeedsAppCmd5; |
|
198 txt = "Import OPML"; |
|
199 }, |
|
200 |
|
201 MENU_ITEM |
|
202 { |
|
203 command = EFeedsAppCmd21; |
|
204 txt = "ImportOPML ClearOld"; |
|
205 }, |
|
206 |
|
207 MENU_ITEM |
|
208 { |
|
209 command = EFeedsAppCmd6; |
|
210 txt = "Update All"; |
|
211 }, |
|
212 |
|
213 MENU_ITEM |
|
214 { |
|
215 command = EFeedsAppCmd7; |
|
216 txt = "Add Folder"; |
|
217 }, |
|
218 |
|
219 MENU_ITEM |
|
220 { |
|
221 command = EFeedsAppCmd8; |
|
222 txt = "Add Feed"; |
|
223 }, |
|
224 |
|
225 MENU_ITEM |
|
226 { |
|
227 command = EFeedsAppCmd9; |
|
228 txt = "Change Folder Item"; |
|
229 }, |
|
230 |
|
231 MENU_ITEM |
|
232 { |
|
233 command = EFeedsAppCmd10; |
|
234 txt = "Delete Folder Items"; |
|
235 }, |
|
236 |
|
237 MENU_ITEM |
|
238 { |
|
239 command = EFeedsAppCmd11; |
|
240 txt = "Delete All Folder Items"; |
|
241 }, |
|
242 |
|
243 MENU_ITEM |
|
244 { |
|
245 command = EFeedsAppCmd12; |
|
246 txt = "Move Folder Items To"; |
|
247 }, |
|
248 |
|
249 MENU_ITEM |
|
250 { |
|
251 command = EFeedsAppCmd13; |
|
252 txt = "Move Folder Items"; |
|
253 }, |
|
254 |
|
255 MENU_ITEM |
|
256 { |
|
257 command = EFeedsAppCmd14; |
|
258 txt = "Update Folder Items"; |
|
259 }, |
|
260 |
|
261 MENU_ITEM |
|
262 { |
|
263 command = EFeedsAppCmd15; |
|
264 txt = "Fetch Feed"; |
|
265 }, |
|
266 |
|
267 MENU_ITEM |
|
268 { |
|
269 command = EFeedsAppCmd16; |
|
270 txt = "Update Item Status"; |
|
271 }, |
|
272 |
|
273 MENU_ITEM |
|
274 { |
|
275 command = EFeedsAppCmd17; |
|
276 txt = "Settings Sync"; |
|
277 }, |
|
278 |
|
279 MENU_ITEM |
|
280 { |
|
281 command = EFeedsAppCmd23; |
|
282 txt = "Settings Async"; |
|
283 }, |
|
284 |
|
285 MENU_ITEM |
|
286 { |
|
287 command = EFeedsAppCmd18; |
|
288 txt = "Settings On"; |
|
289 }, |
|
290 |
|
291 MENU_ITEM |
|
292 { |
|
293 command = EFeedsAppCmd19; |
|
294 txt = "Settings Off"; |
|
295 }, |
|
296 |
|
297 MENU_ITEM |
|
298 { |
|
299 command = EFeedsAppCmd20; |
|
300 txt = "Disconnect"; |
|
301 } |
|
302 }; |
|
303 } |
|
304 |
|
305 |
|
306 // ***************************************************************************** |
|
307 // CFeedsWaitDialog |
|
308 // ----------------------------------------------------------------------------- |
|
309 // |
|
310 // r_feeds_wait_note_dialog |
|
311 // General wait-note dialog. |
|
312 // |
|
313 // ----------------------------------------------------------------------------- |
|
314 // |
|
315 RESOURCE DIALOG r_feeds_wait_note_dialog |
|
316 { |
|
317 flags = EAknWaitNoteFlags; |
|
318 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
319 items= |
|
320 { |
|
321 DLG_LINE |
|
322 { |
|
323 type = EAknCtNote; |
|
324 id = EFeedsWaitNoteDlgId; |
|
325 control= AVKON_NOTE |
|
326 { |
|
327 layout = EWaitLayout; |
|
328 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
329 }; |
|
330 } |
|
331 }; |
|
332 } |
|
333 |
|
334 |
|
335 // ----------------------------------------------------------------------------- |
|
336 // |
|
337 // r_feeds_progress_note_dialog |
|
338 // General progress-note dialog. |
|
339 // |
|
340 // ----------------------------------------------------------------------------- |
|
341 // |
|
342 RESOURCE DIALOG r_feeds_progress_note_dialog |
|
343 { |
|
344 flags = EAknProgressNoteFlags; |
|
345 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
346 items = |
|
347 { |
|
348 DLG_LINE |
|
349 { |
|
350 type = EAknCtNote; |
|
351 id = EFeedsProgressDlgId; |
|
352 control = AVKON_NOTE |
|
353 { |
|
354 layout = EProgressLayout; |
|
355 }; |
|
356 } |
|
357 }; |
|
358 } |
|
359 |
|
360 |
|
361 // CWaitDialog |
|
362 RESOURCE TBUF r_feeds_opening_folders { buf = "Updating"; } |
|
363 RESOURCE TBUF r_feeds_opening_feed { buf = "Updating"; } |
|
364 RESOURCE TBUF r_feeds_updating_all_wait_dialog { buf = "Updating all feeds"; } |
|
365 |