|
1 /* |
|
2 * Copyright (c) 2006-2009 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: resources for the module |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 // RESOURCE IDENTIFIER |
|
27 NAME EH |
|
28 |
|
29 // INCLUDES |
|
30 |
|
31 #include <eikon.rh> |
|
32 #include <eikon.rsg> |
|
33 #include <avkon.hrh> |
|
34 #include <avkon.mbg> |
|
35 #include <avkon.rsg> |
|
36 #include <avkon.rh> |
|
37 #include <uikon.rh> |
|
38 #include <avkonicons.hrh> |
|
39 |
|
40 #include <appinfo.rh> |
|
41 |
|
42 #include "bctesteh.hrh" |
|
43 #include "bctesteh.loc" |
|
44 #include "autotestcommands.h" |
|
45 |
|
46 // CONSTANTS |
|
47 #define APP_BITMAP_DIR "\\resource\\apps" |
|
48 #define AVKON_BMP_FILENAME AVKON_ICON_FILE |
|
49 #define bctestEH_BMP_FNAME APP_BITMAP_DIR"\\BCTestEH.mbm" |
|
50 |
|
51 |
|
52 // MACROS |
|
53 |
|
54 |
|
55 |
|
56 // RESOURCE DEFINITIONS |
|
57 //----------------------------------------------------------------------------- |
|
58 // |
|
59 // RSS_SIGNATURE |
|
60 // |
|
61 // |
|
62 //----------------------------------------------------------------------------- |
|
63 // |
|
64 RESOURCE RSS_SIGNATURE |
|
65 { |
|
66 } |
|
67 |
|
68 //----------------------------------------------------------------------------- |
|
69 // |
|
70 // TBUF16 |
|
71 // |
|
72 // |
|
73 //----------------------------------------------------------------------------- |
|
74 // |
|
75 RESOURCE TBUF16 |
|
76 { |
|
77 buf = qtn_bctesteh_buf; |
|
78 } |
|
79 |
|
80 //----------------------------------------------------------------------------- |
|
81 // |
|
82 // EIK_APP_INFO |
|
83 // |
|
84 // |
|
85 //----------------------------------------------------------------------------- |
|
86 // |
|
87 RESOURCE EIK_APP_INFO |
|
88 { |
|
89 menubar = r_bctesteh_menubar_main; |
|
90 cba = r_bctesteh_cba_options_next; |
|
91 hotkeys = r_bctesteh_hotkey_command; |
|
92 } |
|
93 |
|
94 // --------------------------------------------------------- |
|
95 // Provide Caption and Icon Info for Scalable UI |
|
96 // |
|
97 // --------------------------------------------------------- |
|
98 // |
|
99 RESOURCE LOCALISABLE_APP_INFO r_bctesteh_localisable_app_info |
|
100 { |
|
101 short_caption = qtn_apps_tavl_grid; |
|
102 |
|
103 caption_and_icon = |
|
104 CAPTION_AND_ICON_INFO |
|
105 { |
|
106 caption = qtn_apps_tavl_list; |
|
107 }; |
|
108 } |
|
109 |
|
110 //----------------------------------------------------------------------------- |
|
111 // |
|
112 // r_bctesteh_view |
|
113 // AVKON_VIEW for BCTestEHView |
|
114 // |
|
115 //----------------------------------------------------------------------------- |
|
116 // |
|
117 RESOURCE AVKON_VIEW r_bctesteh_view |
|
118 { |
|
119 menubar = r_bctesteh_menubar_main; |
|
120 hotkeys = r_bctesteh_hotkey_command; |
|
121 } |
|
122 |
|
123 //----------------------------------------------------------------------------- |
|
124 // |
|
125 // r_bctesteh_menubar |
|
126 // MenuBar |
|
127 // |
|
128 //----------------------------------------------------------------------------- |
|
129 // |
|
130 RESOURCE MENU_BAR r_bctesteh_menubar_main |
|
131 { |
|
132 titles = |
|
133 { |
|
134 MENU_TITLE |
|
135 { |
|
136 menu_pane = r_bctesteh_menu; |
|
137 }, |
|
138 MENU_TITLE |
|
139 { |
|
140 menu_pane = r_bctesteh_case_menu; |
|
141 } |
|
142 }; |
|
143 } |
|
144 |
|
145 //----------------------------------------------------------------------------- |
|
146 // |
|
147 // r_bctesteh_case_menu |
|
148 // Menu pane |
|
149 // |
|
150 //----------------------------------------------------------------------------- |
|
151 // |
|
152 RESOURCE MENU_PANE r_bctesteh_case_menu |
|
153 { |
|
154 items = |
|
155 { |
|
156 MENU_ITEM |
|
157 { |
|
158 command = EBCTestCmdOutline1; |
|
159 txt = qtn_bctesteh_outline1; |
|
160 } |
|
161 }; |
|
162 } |
|
163 |
|
164 //----------------------------------------------------------------------------- |
|
165 // |
|
166 // r_bctesteh_menu |
|
167 // Menu pane |
|
168 // |
|
169 //----------------------------------------------------------------------------- |
|
170 // |
|
171 RESOURCE MENU_PANE r_bctesteh_menu |
|
172 { |
|
173 items = |
|
174 { |
|
175 MENU_ITEM |
|
176 { |
|
177 command = EProgCmdAutoTest; |
|
178 txt = qtn_bctesteh_autotest; |
|
179 }, |
|
180 MENU_ITEM // Menu "Exit" |
|
181 { |
|
182 command = EAknCmdExit; |
|
183 txt = qtn_bctesteh_menu_exit; |
|
184 } |
|
185 }; |
|
186 } |
|
187 |
|
188 |
|
189 //----------------------------------------------------------------------------- |
|
190 // |
|
191 // r_bctesteh_hotkey_command |
|
192 // HotKey Command |
|
193 // |
|
194 //----------------------------------------------------------------------------- |
|
195 // |
|
196 RESOURCE HOTKEYS r_bctesteh_hotkey_command |
|
197 { |
|
198 plain = |
|
199 { |
|
200 HOTKEY { command=EBCTestCmdOutline1; key= 'o'; } |
|
201 }; |
|
202 |
|
203 control = |
|
204 { |
|
205 HOTKEY { command=EBCTestCmdOutline1; key= 'o'; } |
|
206 }; |
|
207 |
|
208 shift_control = |
|
209 { |
|
210 HOTKEY { command=EBCTestCmdOutline1; key= 'o'; } |
|
211 }; |
|
212 } |
|
213 |
|
214 // ---------------------------------------------------------------------------- |
|
215 // |
|
216 // r_bctesteh_cba_options_next |
|
217 // ?description |
|
218 // |
|
219 // ---------------------------------------------------------------------------- |
|
220 // |
|
221 RESOURCE CBA r_bctesteh_cba_options_next |
|
222 { |
|
223 buttons = |
|
224 { |
|
225 CBA_BUTTON |
|
226 { |
|
227 id=EAknSoftkeyOptions; |
|
228 txt = text_softkey_option; |
|
229 }, |
|
230 AVKON_CBA_BUTTON |
|
231 { |
|
232 id = EBCTestEHCbaCmdNext; |
|
233 txt = qtn_bctesteh_cba_next; |
|
234 } |
|
235 }; |
|
236 } |
|
237 |
|
238 |
|
239 // End of File |