|
1 /* |
|
2 * Copyright (c) 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: Resource definitions for project RfsTestApp |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME RFST |
|
20 |
|
21 #include <appinfo.rh> |
|
22 #include <avkon.rh> |
|
23 #include <avkon.rsg> |
|
24 #include <commondialogs.hrh> |
|
25 #include <commondialogs.rh> |
|
26 #include <eikon.rh> |
|
27 #include <avkon.loc> |
|
28 #include "rfstestappcmds.hrh" |
|
29 |
|
30 RESOURCE RSS_SIGNATURE { } |
|
31 RESOURCE TBUF { buf=""; } |
|
32 |
|
33 // --------------------------------------------------------------------------- |
|
34 // App info resource structure |
|
35 // --------------------------------------------------------------------------- |
|
36 // |
|
37 RESOURCE EIK_APP_INFO |
|
38 { |
|
39 menubar = r_rfstestapp_main_menu; |
|
40 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
41 } |
|
42 |
|
43 |
|
44 // --------------------------------------------------------------------------- |
|
45 // r_rfstestapp_localisable_app_info |
|
46 // --------------------------------------------------------------------------- |
|
47 // |
|
48 RESOURCE LOCALISABLE_APP_INFO r_rfstestapp_localisable_app_info |
|
49 { |
|
50 short_caption = "RfsTestA"; |
|
51 caption_and_icon = CAPTION_AND_ICON_INFO |
|
52 { |
|
53 caption = "RfsTestApp"; |
|
54 }; |
|
55 } |
|
56 |
|
57 |
|
58 // --------------------------------------------------------------------------- |
|
59 // r_rfstestapp_main_cba |
|
60 // --------------------------------------------------------------------------- |
|
61 // |
|
62 RESOURCE CBA r_rfstestapp_main_cba |
|
63 { |
|
64 buttons= |
|
65 { |
|
66 AVKON_CBA_BUTTON |
|
67 { |
|
68 id = EAknSoftkeyExit; |
|
69 txt = Exit; |
|
70 } |
|
71 }; |
|
72 } |
|
73 |
|
74 |
|
75 // --------------------------------------------------------------------------- |
|
76 // r_rfstestapp_main_menu |
|
77 // --------------------------------------------------------------------------- |
|
78 // |
|
79 RESOURCE MENU_BAR r_rfstestapp_main_menu |
|
80 { |
|
81 titles= |
|
82 { |
|
83 MENU_TITLE |
|
84 { |
|
85 menu_pane = r_rfstestapp_main_menu_pane; |
|
86 txt = "Options"; |
|
87 } |
|
88 }; |
|
89 } |
|
90 |
|
91 |
|
92 // --------------------------------------------------------------------------- |
|
93 // r_rfstestapp_main_menu_pane |
|
94 // --------------------------------------------------------------------------- |
|
95 // |
|
96 RESOURCE MENU_PANE r_rfstestapp_main_menu_pane |
|
97 { |
|
98 items= |
|
99 { |
|
100 MENU_ITEM |
|
101 { |
|
102 command = ESetupTestCmd; |
|
103 txt = "Setup Test"; |
|
104 }, |
|
105 MENU_ITEM |
|
106 { |
|
107 command = ESetupAppTestCmd; |
|
108 txt = "Setup App Specific Test"; |
|
109 }, |
|
110 MENU_ITEM |
|
111 { |
|
112 command = EListListsCmd; |
|
113 txt = "List exclude files"; |
|
114 } |
|
115 }; |
|
116 } |
|
117 |
|
118 |
|
119 // --------------------------------------------------------------------------- |
|
120 // r_rfstestapp_memory_selection |
|
121 // --------------------------------------------------------------------------- |
|
122 // |
|
123 RESOURCE MEMORYSELECTIONDIALOG r_rfstestapp_memory_selection |
|
124 { |
|
125 title = ""; |
|
126 softkey_1 = "Ok"; |
|
127 } |
|
128 |
|
129 |
|
130 // --------------------------------------------------------------------------- |
|
131 // r_rfstestapp_specfile_selection |
|
132 // --------------------------------------------------------------------------- |
|
133 // |
|
134 RESOURCE FILESELECTIONDIALOG r_rfstestapp_specfile_selection |
|
135 { |
|
136 title = "Select Data Specification File"; |
|
137 softkey_1_file = "Select"; |
|
138 softkey_1_folder = "Open"; |
|
139 softkey_2_root_level = "Cancel"; |
|
140 softkey_2_subfolder = "Back"; |
|
141 filters = |
|
142 { |
|
143 FILTER |
|
144 { |
|
145 filter_type = EFilenameFilter; |
|
146 filter_style = EInclusiveFilter; |
|
147 filter_data = { "*.spc" }; |
|
148 } |
|
149 }; |
|
150 } |
|
151 |
|
152 |
|
153 // --------------------------------------------------------------------------- |
|
154 // r_rfstestapp_excludelist_selection |
|
155 // --------------------------------------------------------------------------- |
|
156 // |
|
157 RESOURCE FILESELECTIONDIALOG r_rfstestapp_excludelist_selection |
|
158 { |
|
159 title = "Select Exclude List File"; |
|
160 softkey_1_file = "Select"; |
|
161 softkey_1_folder = "Open"; |
|
162 softkey_2_root_level = "Cancel"; |
|
163 softkey_2_subfolder = "Back"; |
|
164 filters = |
|
165 { |
|
166 FILTER |
|
167 { |
|
168 filter_type = EFilenameFilter; |
|
169 filter_style = EInclusiveFilter; |
|
170 filter_data = { "*.exc" }; |
|
171 } |
|
172 }; |
|
173 } |
|
174 |
|
175 |
|
176 // --------------------------------------------------------------------------- |
|
177 // r_rfstestapp_progress |
|
178 // --------------------------------------------------------------------------- |
|
179 // |
|
180 RESOURCE DIALOG r_rfstestapp_progress |
|
181 { |
|
182 flags = EAknWaitNoteFlags; |
|
183 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
184 items = |
|
185 { |
|
186 DLG_LINE |
|
187 { |
|
188 type = EAknCtNote; |
|
189 id = EAknNoteProgressBar; |
|
190 control= AVKON_NOTE |
|
191 { |
|
192 layout = EWaitLayout; |
|
193 singular_label = "Generating data"; |
|
194 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
195 }; |
|
196 } |
|
197 }; |
|
198 } |