|
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 AudioFetcher |
|
15 * |
|
16 */ |
|
17 |
|
18 // RESOURCE IDENTIFIER |
|
19 NAME MGFP // 4 letter ID |
|
20 |
|
21 |
|
22 // INCLUDES |
|
23 #include <eikon.rh> |
|
24 #include <avkon.rh> |
|
25 #include <avkon.loc> |
|
26 #include <avkon.rsg> |
|
27 #include <appinfo.rh> |
|
28 |
|
29 #include "audiofetcher.hrh" |
|
30 #include <audiofetcher.loc> |
|
31 |
|
32 |
|
33 // RESOURCE DEFINITIONS |
|
34 // ----------------------------------------------------------------------------- |
|
35 // |
|
36 // Define the resource file signature |
|
37 // This resource should be empty. |
|
38 // |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 RESOURCE RSS_SIGNATURE { } |
|
42 |
|
43 RESOURCE TBUF { buf="MGFP"; } |
|
44 |
|
45 RESOURCE AVKON_VIEW r_audiofetcher_dialog |
|
46 { |
|
47 menubar = r_audiofetcher_menubar; |
|
48 } |
|
49 |
|
50 RESOURCE MENU_BAR r_audiofetcher_menubar |
|
51 { |
|
52 titles = |
|
53 { |
|
54 MENU_TITLE {menu_pane=r_audiofetcher_menu; txt="";} |
|
55 }; |
|
56 } |
|
57 |
|
58 RESOURCE MENU_PANE r_audiofetcher_menu |
|
59 { |
|
60 items= |
|
61 { |
|
62 }; |
|
63 } |
|
64 |
|
65 RESOURCE TBUF r_audiofetcher_dialog_title_audio |
|
66 { |
|
67 buf = qtn_audiofetcher_select_audio; |
|
68 } |
|
69 |
|
70 RESOURCE TBUF r_audiofetcher_dialog_title_any_file |
|
71 { |
|
72 buf = qtn_audiofetcher_select_any_file; |
|
73 } |
|
74 |
|
75 //MultiSelect |
|
76 /* |
|
77 RESOURCE MENU_BAR r_multiselect_audiofetcher_menubar |
|
78 { |
|
79 titles = |
|
80 { |
|
81 MENU_TITLE {menu_pane=r_multiselect_audiofetcher_menu; txt="";} |
|
82 }; |
|
83 } |
|
84 |
|
85 RESOURCE MENU_PANE r_multiselect_audiofetcher_menu |
|
86 { |
|
87 items= |
|
88 { |
|
89 MENU_ITEM |
|
90 { |
|
91 command=EAknSoftkeySelect; |
|
92 txt = qtn_cffh_options_select; |
|
93 }, |
|
94 |
|
95 MENU_ITEM |
|
96 { |
|
97 command=ECmdSelectMarked; |
|
98 txt = qtn_cffh_select_marked; |
|
99 }, |
|
100 |
|
101 MENU_ITEM |
|
102 { |
|
103 command=ECmdMarkingSubmenu; |
|
104 txt = qtn_options_list; |
|
105 cascade = r_multiselect_marking_submenu; |
|
106 }, |
|
107 |
|
108 MENU_ITEM |
|
109 { |
|
110 command=EAknCmdHelp; |
|
111 txt = qtn_options_help; |
|
112 } |
|
113 }; |
|
114 } |
|
115 */ |
|
116 /* |
|
117 RESOURCE MENU_PANE r_multiselect_marking_submenu |
|
118 { |
|
119 items= |
|
120 { |
|
121 MENU_ITEM |
|
122 { |
|
123 command = EAknCmdMark; |
|
124 txt = qtn_options_list_mark_one; |
|
125 }, |
|
126 MENU_ITEM |
|
127 { |
|
128 command = EAknMarkAll; |
|
129 txt = qtn_options_list_mark_all; |
|
130 }, |
|
131 MENU_ITEM |
|
132 { |
|
133 command = EAknCmdUnmark; |
|
134 txt = qtn_options_list_unmark_one; |
|
135 }, |
|
136 MENU_ITEM |
|
137 { |
|
138 command = EAknUnmarkAll; |
|
139 txt = qtn_options_list_unmark_all; |
|
140 } |
|
141 }; |
|
142 } |
|
143 |
|
144 RESOURCE MENU_BAR r_multiselect_ok_menubar |
|
145 { |
|
146 titles= |
|
147 { |
|
148 MENU_TITLE { menu_pane=r_multiselect_ok_menu; txt=""; } |
|
149 }; |
|
150 } |
|
151 |
|
152 |
|
153 RESOURCE MENU_PANE r_multiselect_ok_menu |
|
154 { |
|
155 items= |
|
156 { |
|
157 MENU_ITEM |
|
158 { |
|
159 command=EAknSoftkeySelect; |
|
160 txt = qtn_cffh_options_select; |
|
161 }, |
|
162 |
|
163 MENU_ITEM |
|
164 { |
|
165 command=ECmdSelectMarked; |
|
166 txt = qtn_cffh_select_marked; |
|
167 }, |
|
168 MENU_ITEM |
|
169 { |
|
170 command = ECmdStartMultipleMarking; |
|
171 txt = qtn_audiofetcher_options_mark_multi; |
|
172 }, |
|
173 MENU_ITEM |
|
174 { |
|
175 command=ECmdMarkingSubmenu; |
|
176 txt = qtn_options_list; |
|
177 cascade = r_multiselect_marking_submenu; |
|
178 } |
|
179 }; |
|
180 } |
|
181 */ |
|
182 |
|
183 //End of MultiSelect |
|
184 |
|
185 //RESOURCE DIALOG r_modal_multi_dialog |
|
186 //{ |
|
187 // blocking dialog with CBA and no border please |
|
188 //flags=EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect | |
|
189 //EEikDialogFlagCbaButtons | EEikDialogFlagWait |EEikDialogFlagNoBackgroundFade |EEikDialogFlagNoBorder; |
|
190 // softkeys: left options, middle select, right cancel |
|
191 //buttons = R_AVKON_SOFTKEYS_OK_CANCEL__MARK; |
|
192 // Do not add any items |
|
193 //} |
|
194 |
|
195 // ----------------------------------------------------------------------------- |
|
196 // mediafetch plug-in dialog resource. |
|
197 // ----------------------------------------------------------------------------- |
|
198 // |
|
199 RESOURCE DIALOG r_modal_single_dialog |
|
200 { |
|
201 flags=EEikDialogFlagWait | EEikDialogFlagFillAppClientRect | EEikDialogFlagNotifyEsc | EEikDialogFlagNoBackup; |
|
202 buttons = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
203 items= |
|
204 { |
|
205 DLG_LINE |
|
206 { |
|
207 type=EAknCtSingleGraphicListBox; |
|
208 itemflags=EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
209 id=1; |
|
210 control=LISTBOX |
|
211 { |
|
212 flags = EAknListBoxSelectionList; |
|
213 }; |
|
214 } |
|
215 }; |
|
216 } |
|
217 |
|
218 |
|
219 RESOURCE TBUF r_audiofetcher_empty_list_text_no_audio |
|
220 { |
|
221 buf = qtn_audiofetcher_empty_list_no_audio; |
|
222 } |
|
223 |
|
224 RESOURCE TBUF r_audiofetcher_empty_list_text_no_media |
|
225 { |
|
226 buf = qtn_audiofetcher_empty_list_no_media; |
|
227 } |
|
228 |
|
229 |
|
230 // custom CBA resource for options - ok options menu - cancel |
|
231 /* |
|
232 RESOURCE CBA r_glx_softkeys_options_cancel_context |
|
233 { |
|
234 buttons = |
|
235 { |
|
236 CBA_BUTTON { id=EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
237 CBA_BUTTON { id=EAknSoftkeyCancel; txt = text_softkey_cancel; }, |
|
238 CBA_BUTTON { id=EAknSoftkeyContextOptions; txt = text_softkey_option; } |
|
239 }; |
|
240 } |
|
241 */ |