|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME TTSD |
|
20 |
|
21 #include <avkon.rsg> |
|
22 #include <avkon.rh> |
|
23 #include <eikon.rh> |
|
24 #include <appinfo.rh> |
|
25 #include <avkon.loc> |
|
26 #include <data_caging_paths_strings.hrh> |
|
27 |
|
28 #include "texttospeech.hrh" |
|
29 #include "texttospeech.loc" |
|
30 |
|
31 |
|
32 RESOURCE RSS_SIGNATURE |
|
33 { |
|
34 } |
|
35 |
|
36 RESOURCE TBUF r_default_document_name |
|
37 { |
|
38 buf = "TextToSpeech"; |
|
39 } |
|
40 |
|
41 RESOURCE EIK_APP_INFO |
|
42 { |
|
43 } |
|
44 |
|
45 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info |
|
46 { |
|
47 short_caption = STR_TextToSpeechApplication_2; |
|
48 caption_and_icon = CAPTION_AND_ICON_INFO |
|
49 { |
|
50 caption = STR_TextToSpeechApplication_1; |
|
51 number_of_icons = 1; |
|
52 icon_file = APP_BITMAP_DIR"\\texttospeech_aif.mif"; |
|
53 }; |
|
54 } |
|
55 |
|
56 RESOURCE AVKON_VIEW r_text_to_speech_setting_item_list_text_to_speech_setting_item_list_view |
|
57 { |
|
58 cba = r_text_to_speech_softkeys; |
|
59 menubar = r_text_to_speech_setting_item_list_options_menu; |
|
60 } |
|
61 |
|
62 RESOURCE CBA r_text_to_speech_softkeys |
|
63 { |
|
64 buttons = |
|
65 { |
|
66 CBA_BUTTON {id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
67 CBA_BUTTON {id = EAknSoftkeyExit; txt = text_softkey_exit; }, |
|
68 CBA_BUTTON {id = EAknSoftkeyChange; txt = qtn_msk_change; } |
|
69 }; |
|
70 } |
|
71 |
|
72 RESOURCE MENU_BAR r_text_to_speech_setting_item_list_options_menu |
|
73 { |
|
74 titles = |
|
75 { |
|
76 MENU_TITLE |
|
77 { |
|
78 menu_pane = r_text_to_speech_setting_item_list_menu_pane1_menu_pane; |
|
79 } |
|
80 }; |
|
81 } |
|
82 |
|
83 RESOURCE MENU_PANE r_text_to_speech_setting_item_list_menu_pane1_menu_pane |
|
84 { |
|
85 items = |
|
86 { |
|
87 MENU_ITEM |
|
88 { |
|
89 command = ETextToSpeechSettingItemListViewMenuItem1Command; |
|
90 txt = STR_TextToSpeechSettingItemListView_4; |
|
91 }, |
|
92 MENU_ITEM |
|
93 { |
|
94 command = ETextToSpeechSettingItemListViewSynthesiseMenuItemCommand; |
|
95 txt = STR_TextToSpeechSettingItemListView_45; |
|
96 }, |
|
97 MENU_ITEM |
|
98 { |
|
99 command = ETextToSpeechSettingItemListViewExitMenuItemCommand; |
|
100 txt = STR_TextToSpeechSettingItemListView_46; |
|
101 } |
|
102 }; |
|
103 } |
|
104 |
|
105 RESOURCE STATUS_PANE_APP_MODEL r_text_to_speech_setting_item_list_status_pane |
|
106 { |
|
107 panes = |
|
108 { |
|
109 SPANE_PANE |
|
110 { |
|
111 id = EEikStatusPaneUidTitle; |
|
112 type = EAknCtTitlePane; |
|
113 resource = r_text_to_speech_setting_item_list_title_resource; |
|
114 } |
|
115 }; |
|
116 } |
|
117 |
|
118 RESOURCE TITLE_PANE r_text_to_speech_setting_item_list_title_resource |
|
119 { |
|
120 txt = STR_TextToSpeechSettingItemListView_2; |
|
121 } |
|
122 |
|
123 RESOURCE AVKON_SETTING_ITEM_LIST r_text_to_speech_setting_item_list_text_to_speech_setting_item_list |
|
124 { |
|
125 items = |
|
126 { |
|
127 AVKON_SETTING_ITEM |
|
128 { |
|
129 name = STR_TextToSpeechSettingItemListView_6; |
|
130 identifier = ETextToSpeechSettingItemListViewEdit1; |
|
131 setting_page_resource = r_text_to_speech_setting_item_list_edit1_setting_page_resource; |
|
132 }, |
|
133 AVKON_SETTING_ITEM |
|
134 { |
|
135 name = STR_TextToSpeechSettingItemListView_7; |
|
136 identifier = ETextToSpeechSettingItemListViewEnumeratedTextPopup1; |
|
137 setting_page_resource = r_text_to_speech_setting_item_list_enumerated_text_popup1_setting_page_resource; |
|
138 associated_resource = r_text_to_speech_setting_item_list_enumerated_text_popup1; |
|
139 }, |
|
140 AVKON_SETTING_ITEM |
|
141 { |
|
142 name = STR_TextToSpeechSettingItemListView_8; |
|
143 identifier = ETextToSpeechSettingItemListViewEnumeratedTextPopup2; |
|
144 setting_page_resource = r_text_to_speech_setting_item_list_enumerated_text_popup2_setting_page_resource; |
|
145 associated_resource = r_text_to_speech_setting_item_list_enumerated_text_popup2; |
|
146 }, |
|
147 AVKON_SETTING_ITEM |
|
148 { |
|
149 name = STR_TextToSpeechSettingItemListView_11; |
|
150 identifier = ETextToSpeechSettingItemListViewSlider1; |
|
151 setting_page_resource = r_text_to_speech_setting_item_list_slider1_setting_page_resource; |
|
152 } |
|
153 }; |
|
154 } |
|
155 |
|
156 RESOURCE AVKON_SETTING_PAGE r_text_to_speech_setting_item_list_edit1_setting_page_resource |
|
157 { |
|
158 number = -16380; |
|
159 label = STR_TextToSpeechSettingItemListView_6; |
|
160 type = EEikCtEdwin; |
|
161 editor_resource_id = r_text_to_speech_setting_item_list_edit1_editor_resource_id; |
|
162 } |
|
163 |
|
164 RESOURCE EDWIN r_text_to_speech_setting_item_list_edit1_editor_resource_id |
|
165 { |
|
166 // default_case = EAknEditorTextCase; |
|
167 // allowed_case_modes = EAknEditorAllCaseModes; |
|
168 // numeric_keymap = EAknEditorStandardNumberModeKeymap; |
|
169 // default_input_mode = EAknEditorTextInputMode; |
|
170 // allowed_input_modes = EAknEditorAllInputModes; |
|
171 special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG; |
|
172 // avkon_flags = EAknEditorFlagDefault; |
|
173 maxlength = 255; |
|
174 } |
|
175 |
|
176 RESOURCE AVKON_SETTING_PAGE r_text_to_speech_setting_item_list_enumerated_text_popup1_setting_page_resource |
|
177 { |
|
178 number = -16380; |
|
179 label = STR_TextToSpeechSettingItemListView_7; |
|
180 type = EAknCtPopupSettingList; |
|
181 editor_resource_id = r_text_to_speech_setting_item_list_enumerated_text_popup1_editor_resource_id; |
|
182 } |
|
183 |
|
184 RESOURCE POPUP_SETTING_LIST r_text_to_speech_setting_item_list_enumerated_text_popup1_editor_resource_id |
|
185 { |
|
186 } |
|
187 |
|
188 RESOURCE AVKON_POPUP_SETTING_TEXTS r_text_to_speech_setting_item_list_enumerated_text_popup1 |
|
189 { |
|
190 setting_texts_resource = r_text_to_speech_setting_item_list_enumerated_text_popup1_setting_texts_resource; |
|
191 } |
|
192 |
|
193 RESOURCE ARRAY r_text_to_speech_setting_item_list_enumerated_text_popup1_setting_texts_resource |
|
194 { |
|
195 items = |
|
196 { |
|
197 AVKON_ENUMERATED_TEXT |
|
198 { |
|
199 text = STR_TextToSpeechSettingItemListView_17; |
|
200 } |
|
201 }; |
|
202 } |
|
203 |
|
204 RESOURCE AVKON_SETTING_PAGE r_text_to_speech_setting_item_list_enumerated_text_popup2_setting_page_resource |
|
205 { |
|
206 number = -16380; |
|
207 label = STR_TextToSpeechSettingItemListView_8; |
|
208 type = EAknCtPopupSettingList; |
|
209 editor_resource_id = r_text_to_speech_setting_item_list_enumerated_text_popup2_editor_resource_id; |
|
210 } |
|
211 |
|
212 RESOURCE POPUP_SETTING_LIST r_text_to_speech_setting_item_list_enumerated_text_popup2_editor_resource_id |
|
213 { |
|
214 } |
|
215 |
|
216 RESOURCE AVKON_POPUP_SETTING_TEXTS r_text_to_speech_setting_item_list_enumerated_text_popup2 |
|
217 { |
|
218 setting_texts_resource = r_text_to_speech_setting_item_list_enumerated_text_popup2_setting_texts_resource; |
|
219 } |
|
220 |
|
221 RESOURCE ARRAY r_text_to_speech_setting_item_list_enumerated_text_popup2_setting_texts_resource |
|
222 { |
|
223 items = |
|
224 { |
|
225 AVKON_ENUMERATED_TEXT |
|
226 { |
|
227 text = STR_TextToSpeechSettingItemListView_24; |
|
228 } |
|
229 }; |
|
230 } |
|
231 |
|
232 RESOURCE AVKON_SETTING_PAGE r_text_to_speech_setting_item_list_slider1_setting_page_resource |
|
233 { |
|
234 number = -16380; |
|
235 label = STR_TextToSpeechSettingItemListView_11; |
|
236 type = EAknCtSlider; |
|
237 editor_resource_id = r_text_to_speech_setting_item_list_slider1_editor_resource_id; |
|
238 } |
|
239 |
|
240 RESOURCE SLIDER r_text_to_speech_setting_item_list_slider1_editor_resource_id |
|
241 { |
|
242 layout = EAknSettingsItemSliderLayout; |
|
243 minvalue = 10; |
|
244 maxvalue = 100; |
|
245 step = 10; |
|
246 valuetype = EAknSliderValueBareFigure; |
|
247 minlabel = STR_TextToSpeechSettingItemListView_9; |
|
248 maxlabel = STR_TextToSpeechSettingItemListView_10; |
|
249 } |
|
250 |
|
251 RESOURCE TBUF r_text_to_speech_setting_item_list_edit1 |
|
252 { |
|
253 buf = STR_TextToSpeechSettingItemListView_5; |
|
254 } |