|
1 /* |
|
2 * Copyright (c) 2005 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 file for plugin. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME TNVW // 4 letter ID |
|
21 |
|
22 // INCLUDES |
|
23 //#include "GSPrslnPlugin.loc" |
|
24 |
|
25 #include <data_caging_paths_strings.hrh> |
|
26 #include <bldvariant.hrh> |
|
27 #include <avkon.loc> // Avkon localized strings |
|
28 #include <profile.hrh> |
|
29 #include <profilesettingsview.hrh> |
|
30 #include <profileinternal.hrh> |
|
31 #include <ProfileEng.hrh> |
|
32 #include <eikon.rh> |
|
33 #include <avkon.rh> |
|
34 #include <avkon.mbg> |
|
35 #include <avkon.rsg> |
|
36 #include <eikcore.rsg> |
|
37 #include <uikon.rh> |
|
38 #include "ProfilesGsTonesPlugin.hrh" |
|
39 #include <ProfilesGsTonesPlugin.loc> |
|
40 #include <ProfileApp.loc> |
|
41 // FileListModel path definitions |
|
42 #include <PathConfiguration.hrh> |
|
43 // FileListModel structure |
|
44 #include <filelistmodel.rh> |
|
45 |
|
46 // CONSTANTS |
|
47 |
|
48 // RESOURCE DEFINITIONS |
|
49 |
|
50 //---------------------------------------------------- |
|
51 // |
|
52 // |
|
53 // Needed or loading the resource fails! |
|
54 // |
|
55 //---------------------------------------------------- |
|
56 // |
|
57 RESOURCE RSS_SIGNATURE |
|
58 { |
|
59 } |
|
60 |
|
61 // Include the common part of the resources (of application and plugin): |
|
62 #include "ProfileSettingsViewCommon.rss" |
|
63 |
|
64 //---------------------------------------------------- |
|
65 // |
|
66 // r_profiles_gs_tones_view |
|
67 // Tones view. |
|
68 // |
|
69 //---------------------------------------------------- |
|
70 // |
|
71 RESOURCE AVKON_VIEW r_profiles_gs_tones_view |
|
72 { |
|
73 menubar = r_profiles_gs_options_menubar; |
|
74 cba = r_profiles_gs_tones_view_softkeys_options_back_change; |
|
75 } |
|
76 |
|
77 //---------------------------------------------------- |
|
78 // |
|
79 // r_profiles_gs_tones_view_softkeys_options_back_change |
|
80 // Tones view cba. |
|
81 // |
|
82 //---------------------------------------------------- |
|
83 // |
|
84 RESOURCE CBA r_profiles_gs_tones_view_softkeys_options_back_change |
|
85 { |
|
86 flags = 0; |
|
87 buttons = |
|
88 { |
|
89 CBA_BUTTON {id=EAknSoftkeyOptions; txt=text_softkey_option;}, |
|
90 CBA_BUTTON {id=EAknSoftkeyBack; txt=text_softkey_back;}, |
|
91 CBA_BUTTON {id=EAknSoftkeyChange; txt=qtn_msk_change;} |
|
92 }; |
|
93 } |
|
94 |
|
95 //---------------------------------------------------- |
|
96 // |
|
97 // r_profiles_gs_tones_view_title |
|
98 // Tones view title. |
|
99 // |
|
100 //---------------------------------------------------- |
|
101 // |
|
102 RESOURCE TBUF r_profiles_gs_tones_view_title |
|
103 { |
|
104 buf = qtn_set_title_pers_tones; |
|
105 } |
|
106 |
|
107 //---------------------------------------------------- |
|
108 // |
|
109 // r_profiles_gs_tones_view_caption |
|
110 // Tones view caption for plugin |
|
111 // |
|
112 //---------------------------------------------------- |
|
113 // |
|
114 RESOURCE TBUF r_profiles_gs_tones_view_caption |
|
115 { |
|
116 buf = qtn_set_pers_tones; |
|
117 } |
|
118 |
|
119 //---------------------------------------------------- |
|
120 // |
|
121 // r_profiles_gs_tones_view_updated_note |
|
122 // Active profile changed. View updated -note |
|
123 // |
|
124 //---------------------------------------------------- |
|
125 // |
|
126 RESOURCE TBUF r_profiles_gs_tones_view_updated_note |
|
127 { |
|
128 buf = qtn_profiles_info_tones_view_updated; |
|
129 } |
|
130 |
|
131 //---------------------------------------------------- |
|
132 // |
|
133 // r_profiles_gs_options_menubar |
|
134 // Options menu with 'Change' and 'Exit' items. |
|
135 // |
|
136 //---------------------------------------------------- |
|
137 // |
|
138 RESOURCE MENU_BAR r_profiles_gs_options_menubar |
|
139 { |
|
140 titles = |
|
141 { |
|
142 MENU_TITLE |
|
143 { |
|
144 menu_pane = r_profiles_gs_options_menupane; |
|
145 } |
|
146 }; |
|
147 } |
|
148 |
|
149 //---------------------------------------------------- |
|
150 // |
|
151 // r_profiles_gs_menu_item_change |
|
152 // Options menu item 'Change'. |
|
153 // |
|
154 //---------------------------------------------------- |
|
155 // |
|
156 RESOURCE MENU_PANE r_profiles_gs_menu_item_change |
|
157 { |
|
158 items = |
|
159 { |
|
160 MENU_ITEM |
|
161 { |
|
162 command = EProfilesGsTonesCmdChange; |
|
163 txt = qtn_options_change; |
|
164 } |
|
165 }; |
|
166 } |
|
167 |
|
168 //---------------------------------------------------- |
|
169 // |
|
170 // r_profiles_gs_options_menupane |
|
171 // Options menu of GS tones view |
|
172 // |
|
173 //---------------------------------------------------- |
|
174 // |
|
175 RESOURCE MENU_PANE r_profiles_gs_options_menupane |
|
176 { |
|
177 items = |
|
178 { |
|
179 MENU_ITEM |
|
180 { |
|
181 command = EProfilesGsTonesCmdChange; |
|
182 txt = qtn_options_change; |
|
183 }, |
|
184 MENU_ITEM |
|
185 { |
|
186 command = EAknCmdHelp; |
|
187 txt = qtn_options_help; |
|
188 }, |
|
189 MENU_ITEM |
|
190 { |
|
191 command = EAknCmdExit; |
|
192 txt = qtn_options_exit; |
|
193 } |
|
194 }; |
|
195 } |
|
196 |
|
197 // ----------------------------------------------------------------------------- |
|
198 // |
|
199 // r_profile_gs_tones_view_setting_item_list |
|
200 // ?description |
|
201 // |
|
202 // ----------------------------------------------------------------------------- |
|
203 // |
|
204 RESOURCE AVKON_SETTING_ITEM_LIST r_profile_gs_tones_view_setting_item_list |
|
205 { |
|
206 items = |
|
207 { |
|
208 AVKON_SETTING_ITEM |
|
209 { |
|
210 identifier = EProfileSettingRingingToneId; |
|
211 name = qtn_mode_ringing_tone; |
|
212 }, |
|
213 AVKON_SETTING_ITEM |
|
214 { |
|
215 identifier = EProfileSettingRingingToneLine1Id; |
|
216 name = qtn_mode_line1_tone; |
|
217 }, |
|
218 AVKON_SETTING_ITEM |
|
219 { |
|
220 identifier = EProfileSettingRingingToneLine2Id; |
|
221 name = qtn_mode_line2_tone; |
|
222 }, |
|
223 AVKON_SETTING_ITEM |
|
224 { |
|
225 identifier = EProfileSettingVideoCallToneId; |
|
226 name = qtn_mode_vt_tone; |
|
227 }, |
|
228 AVKON_SETTING_ITEM |
|
229 { |
|
230 identifier = EProfileSettingTTSRingingToneId; |
|
231 name = qtn_mode_tts_ringing_tone; |
|
232 setting_page_resource = r_profile_tts_tones_setting_page; |
|
233 associated_resource = r_profile_tts_setting_texts; |
|
234 }, |
|
235 AVKON_SETTING_ITEM |
|
236 { |
|
237 identifier = EProfileSettingRingingTypeId; |
|
238 name = qtn_mode_ringing_type_2; |
|
239 setting_page_resource = r_profile_ringing_type_setting_page; |
|
240 associated_resource = r_profile_ringing_type_setting_texts; |
|
241 }, |
|
242 AVKON_SETTING_ITEM |
|
243 { |
|
244 identifier = EProfileSettingRingingVolumeId; |
|
245 name = qtn_mode_ringing_volume; |
|
246 setting_page_resource = r_profile_ringing_volume_setting_page; |
|
247 }, |
|
248 AVKON_SETTING_ITEM |
|
249 { |
|
250 identifier = EProfileSettingMessageAlertToneId; |
|
251 name = qtn_mode_message_tone; |
|
252 }, |
|
253 AVKON_SETTING_ITEM |
|
254 { |
|
255 identifier = EProfileSettingEmailAlertToneId; |
|
256 name = qtn_profiles_e_mail_tone; |
|
257 }, |
|
258 AVKON_SETTING_ITEM |
|
259 { |
|
260 identifier = EProfileGSTonesPluginSettingCalendarToneId; |
|
261 name = qtn_profiles_calendar_tone; |
|
262 }, |
|
263 AVKON_SETTING_ITEM |
|
264 { |
|
265 identifier = EProfileGSTonesPluginSettingClockToneId; |
|
266 name = qtn_profiles_clock_tone; |
|
267 }, |
|
268 AVKON_SETTING_ITEM |
|
269 { |
|
270 identifier = EProfileSettingVibratingAlertId; |
|
271 name = qtn_mode_vibrating_alert; |
|
272 setting_page_resource = r_profile_vibrating_alert_setting_page; |
|
273 associated_resource = r_profile_vibrating_alert_setting_texts; |
|
274 }, |
|
275 AVKON_SETTING_ITEM |
|
276 { |
|
277 identifier = EProfileSettingKeypadVolumeId; |
|
278 name = qtn_mode_keypad_volume; |
|
279 setting_page_resource = r_profile_keypad_volume_setting_page; |
|
280 associated_resource = r_profile_keypad_volume_setting_texts; |
|
281 }, |
|
282 AVKON_SETTING_ITEM |
|
283 { |
|
284 identifier = EProfileSettingWarningAndGameTonesId; |
|
285 name = qtn_mode_warning_game; |
|
286 setting_page_resource = r_profile_warning_tones_setting_page; |
|
287 associated_resource = r_profile_warning_alert_setting_texts; |
|
288 }, |
|
289 AVKON_SETTING_ITEM |
|
290 { |
|
291 identifier = EProfileGSTonesPluginSettingHacModeId; |
|
292 name = qtn_set_audio_hac_mode; |
|
293 setting_page_resource = r_profile_hac_mode_setting_page; |
|
294 associated_resource = r_profile_hac_mode_setting_texts; |
|
295 } |
|
296 }; |
|
297 } |
|
298 |
|
299 // ----------------------------------------------------------------------------- |
|
300 // |
|
301 // r_qtn_no_personal_tone |
|
302 // Default tone text used in Calendar/Clock alarm tone selection list. |
|
303 // |
|
304 // ----------------------------------------------------------------------------- |
|
305 // |
|
306 RESOURCE TBUF r_qtn_no_personal_tone |
|
307 { |
|
308 buf = qtn_tc_no_personal_tone; |
|
309 } |
|
310 |
|
311 // ----------------------------------------------------------------------------- |
|
312 // |
|
313 // r_profile_hac_mode_setting_page |
|
314 // Setting page resource for Hearing aid compatibility setting item. |
|
315 // |
|
316 // ----------------------------------------------------------------------------- |
|
317 // |
|
318 RESOURCE AVKON_SETTING_PAGE r_profile_hac_mode_setting_page |
|
319 { |
|
320 label = qtn_set_audio_hac_mode; |
|
321 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
322 type = EAknCtPopupSettingList; |
|
323 editor_resource_id = r_profile_empty_popup_setting_list_control; |
|
324 } |
|
325 |
|
326 // ----------------------------------------------------------------------------- |
|
327 // |
|
328 // r_profile_vibrating_alert_setting_texts |
|
329 // ?description |
|
330 // |
|
331 // ----------------------------------------------------------------------------- |
|
332 // |
|
333 RESOURCE AVKON_POPUP_SETTING_TEXTS r_profile_hac_mode_setting_texts |
|
334 { |
|
335 setting_texts_resource = r_profile_hac_mode_texts_and_values; |
|
336 } |
|
337 |
|
338 // ----------------------------------------------------------------------------- |
|
339 // |
|
340 // r_profile_vibrating_alert_texts_and_values |
|
341 // ?description |
|
342 // |
|
343 // ----------------------------------------------------------------------------- |
|
344 // |
|
345 RESOURCE ARRAY r_profile_hac_mode_texts_and_values |
|
346 { |
|
347 items = |
|
348 { |
|
349 AVKON_ENUMERATED_TEXT { value = 1; text = qtn_set_audio_hac_mode_on; }, |
|
350 AVKON_ENUMERATED_TEXT { value = 0; text = qtn_set_audio_hac_mode_off; } |
|
351 }; |
|
352 } |
|
353 |
|
354 // End of File |
|
355 |