|
1 /* |
|
2 * Copyright (c) 2007 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: Resource definitions for project bctestdomaiwakn |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 NAME ATOA |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 #include <eikon.rh> |
|
26 #include <eikon.rsg> |
|
27 #include <avkon.hrh> |
|
28 #include <avkon.mbg> |
|
29 #include <avkon.rsg> |
|
30 #include <avkon.rh> |
|
31 #include <avkonicons.hrh> |
|
32 #include <appinfo.rh> |
|
33 #include <commondialogs.hrh> |
|
34 #include <commondialogs.rh> |
|
35 #include <pathconfiguration.hrh> |
|
36 |
|
37 |
|
38 #include "bctestdomaiwakn.hrh" |
|
39 #include "bctestdomaiwakn.loc" |
|
40 |
|
41 // CONSTANTS |
|
42 #define APP_BITMAP_DIR "\\resource\\apps" |
|
43 #define AVKON_BMP_FILENAME AVKON_ICON_FILE |
|
44 #define bctestdomaiwakn_BMP_FNAME APP_BITMAP_DIR"\\BCTestAiwAkn.mbm" |
|
45 |
|
46 |
|
47 |
|
48 // MACROS |
|
49 |
|
50 |
|
51 |
|
52 // RESOURCE DEFINITIONS |
|
53 //----------------------------------------------------------------------------- |
|
54 // |
|
55 // RSS_SIGNATURE |
|
56 // |
|
57 // |
|
58 //----------------------------------------------------------------------------- |
|
59 // |
|
60 RESOURCE RSS_SIGNATURE |
|
61 { |
|
62 } |
|
63 |
|
64 //----------------------------------------------------------------------------- |
|
65 // |
|
66 // TBUF16 |
|
67 // |
|
68 // |
|
69 //----------------------------------------------------------------------------- |
|
70 // |
|
71 RESOURCE TBUF16 |
|
72 { |
|
73 buf = qtn_apps_name; |
|
74 } |
|
75 |
|
76 //----------------------------------------------------------------------------- |
|
77 // |
|
78 // EIK_APP_INFO |
|
79 // |
|
80 // |
|
81 //----------------------------------------------------------------------------- |
|
82 // |
|
83 RESOURCE EIK_APP_INFO |
|
84 { |
|
85 menubar = r_bctestdomaiwakn_menubar_main; |
|
86 cba = r_bctestdomaiwakn_cba_options_next; |
|
87 } |
|
88 |
|
89 // --------------------------------------------------------- |
|
90 // Provide Caption and Icon Info for Scalable UI |
|
91 // |
|
92 // --------------------------------------------------------- |
|
93 // |
|
94 RESOURCE LOCALISABLE_APP_INFO r_bctestdomaiwakn_localisable_app_info |
|
95 { |
|
96 short_caption = qtn_apps_tavl_grid; |
|
97 |
|
98 caption_and_icon = |
|
99 CAPTION_AND_ICON_INFO |
|
100 { |
|
101 caption = qtn_apps_tavl_list; |
|
102 //number_of_icons = 2; |
|
103 //icon_file = APP_BITMAP_DIR"\\BCTestaiwmenu_aif.mbm"; |
|
104 }; |
|
105 } |
|
106 |
|
107 //----------------------------------------------------------------------------- |
|
108 // |
|
109 // r_bctestdomaiwakn_view |
|
110 // AVKON_VIEW for CBCTestDomAiwAknView |
|
111 // |
|
112 //----------------------------------------------------------------------------- |
|
113 // |
|
114 RESOURCE AVKON_VIEW r_bctestdomaiwakn_view |
|
115 { |
|
116 menubar = r_bctestdomaiwakn_menubar_main; |
|
117 } |
|
118 |
|
119 //----------------------------------------------------------------------------- |
|
120 // |
|
121 // r_bctestdomaiwakn_menubar_main |
|
122 // MenuBar |
|
123 // |
|
124 //----------------------------------------------------------------------------- |
|
125 // |
|
126 RESOURCE MENU_BAR r_bctestdomaiwakn_menubar_main |
|
127 { |
|
128 titles = |
|
129 { |
|
130 MENU_TITLE |
|
131 { |
|
132 menu_pane = r_bctestdomaiwakn_menu; |
|
133 }, |
|
134 MENU_TITLE |
|
135 { |
|
136 menu_pane = r_bctestdomaiwakn_case_menu; |
|
137 } |
|
138 }; |
|
139 } |
|
140 |
|
141 |
|
142 //----------------------------------------------------------------------------- |
|
143 // |
|
144 // r_bctestdomaiwakn_case_menu |
|
145 // Menu pane |
|
146 // |
|
147 //----------------------------------------------------------------------------- |
|
148 // |
|
149 RESOURCE MENU_PANE r_bctestdomaiwakn_case_menu |
|
150 { |
|
151 items = |
|
152 { |
|
153 MENU_ITEM |
|
154 { |
|
155 command = EBCTestDomCmdOutline1; |
|
156 txt = qtn_bctestdomaiwakn_testoutline1; |
|
157 }, |
|
158 MENU_ITEM |
|
159 { |
|
160 command = EBCTestDomCmdOutline2; |
|
161 txt = qtn_bctestdomaiwakn_testoutline2; |
|
162 }, |
|
163 MENU_ITEM |
|
164 { |
|
165 command = EBCTestDomCmdOutline3; |
|
166 txt = qtn_bctestdomaiwakn_testoutline3; |
|
167 }, |
|
168 MENU_ITEM |
|
169 { |
|
170 command = EBCTestDomCmdOutline4; |
|
171 txt = qtn_bctestdomaiwakn_testoutline4; |
|
172 } |
|
173 |
|
174 }; |
|
175 } |
|
176 |
|
177 |
|
178 //----------------------------------------------------------------------------- |
|
179 // |
|
180 // r_bctestdomaiwakn_menu |
|
181 // Menu pane |
|
182 // |
|
183 //----------------------------------------------------------------------------- |
|
184 // |
|
185 RESOURCE MENU_PANE r_bctestdomaiwakn_menu |
|
186 { |
|
187 items = |
|
188 { |
|
189 MENU_ITEM |
|
190 { |
|
191 command = EProgCmdAutoTest; |
|
192 txt = qtn_bctestdomaiwakn_autotest; |
|
193 }, |
|
194 MENU_ITEM // Menu "Exit" |
|
195 { |
|
196 command = EAknCmdExit; |
|
197 txt = qtn_bctestdomaiwakn_menu_exit; |
|
198 } |
|
199 }; |
|
200 } |
|
201 |
|
202 // ---------------------------------------------------------------------------- |
|
203 // |
|
204 // r_bctestdomaiwakn_cba_options_next |
|
205 // CBA |
|
206 // |
|
207 // ---------------------------------------------------------------------------- |
|
208 // |
|
209 |
|
210 RESOURCE CBA r_bctestdomaiwakn_cba_options_next |
|
211 { |
|
212 buttons = |
|
213 { |
|
214 CBA_BUTTON |
|
215 { |
|
216 id=EAknSoftkeyOptions; |
|
217 txt = text_softkey_option; |
|
218 }, |
|
219 AVKON_CBA_BUTTON |
|
220 { |
|
221 id = EBCTestDomAiwAknCbaCmdNext; |
|
222 txt = qtn_bctestdomaiwakn_cba_next; |
|
223 } |
|
224 }; |
|
225 } |
|
226 |
|
227 // --------------------------------------------------------------------------- |
|
228 // r_bctestdomaiwakn_aknbattery_battery_pane |
|
229 // |
|
230 // BATTERY_PANE for testing CAknBatteryPane in aknbattery.h . |
|
231 // --------------------------------------------------------------------------- |
|
232 // |
|
233 RESOURCE BATTERY_PANE r_bctestdomaiwakn_aknbattery_battery_pane |
|
234 { |
|
235 |
|
236 } |
|
237 |
|
238 // --------------------------------------------------------------------------- |
|
239 // r_bctestdomaiwakn_caiwmenupane_menu |
|
240 // |
|
241 // Menu for testing CAiwMenuPane. |
|
242 // --------------------------------------------------------------------------- |
|
243 // |
|
244 RESOURCE MENU_PANE r_bctestdomaiwakn_caiwmenupane_menu |
|
245 { |
|
246 items = |
|
247 { |
|
248 MENU_ITEM |
|
249 { |
|
250 command = EBCTestDomCmdAiwMenuPane; |
|
251 txt = qtn_bctestdomaiwakn_dummy; |
|
252 extratxt = qtn_bctestdomaiwakn_dummy; |
|
253 } |
|
254 }; |
|
255 } |
|
256 |
|
257 // --------------------------------------------------------------------------- |
|
258 // r_bctestdomaiwakn_aknanimdata_bmpanim_data |
|
259 // |
|
260 // For testting APIs in AknAnimData.h |
|
261 // --------------------------------------------------------------------------- |
|
262 // |
|
263 RESOURCE BMPANIM_DATA r_bctestdomaiwakn_aknanimdata_bmpanim_data |
|
264 { |
|
265 frameinterval = 500; |
|
266 playmode = EAknBitmapAnimationPlayModeCycle; |
|
267 bmpfile = AVKON_BITMAP_FILE; |
|
268 frames = r_bctestdomaiwakn_aknanimdata_bmpanim_frame ; |
|
269 backgroundframe = 0; |
|
270 } |
|
271 |
|
272 // --------------------------------------------------------------------------- |
|
273 // r_bctestdomaiwakn_aknanimdata_bmpanim_frame |
|
274 // |
|
275 // For testting APIs in AknAnimData.h |
|
276 // --------------------------------------------------------------------------- |
|
277 // |
|
278 RESOURCE ARRAY r_bctestdomaiwakn_aknanimdata_bmpanim_frame |
|
279 { |
|
280 items = |
|
281 { |
|
282 BMPANIM_FRAME |
|
283 { |
|
284 bmpid = EBCTestDomEmptyBmpId; |
|
285 maskid = EBCTestDomEmptyMaskId; |
|
286 } |
|
287 }; |
|
288 } |
|
289 |
|
290 // --------------------------------------------------------------------------- |
|
291 // r_bctestdomaiwakn_aknfilefilterfactory_filter |
|
292 // |
|
293 // For testting APIs in AknFileFilterFactory.h |
|
294 // --------------------------------------------------------------------------- |
|
295 // |
|
296 RESOURCE FILTER r_bctestdomaiwakn_aknfilefilterfactory_filter |
|
297 { |
|
298 filter_type = 1; |
|
299 filter_style = EFilenameFilter; |
|
300 filter_data = |
|
301 { |
|
302 qtn_bctestdomaiwakn_dummy, |
|
303 qtn_bctestdomaiwakn_dummy |
|
304 }; |
|
305 } |
|
306 |
|
307 |
|
308 // End of File |