|
1 /* |
|
2 * Copyright (c) 2006-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: Resource definitions for project Native Ui Controller |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 NAME AINU |
|
21 |
|
22 #include <eikon.rh> |
|
23 #include <eikcore.rsg> |
|
24 #include <avkon.rsg> |
|
25 #include <avkon.rh> |
|
26 #include <avkon.mbg> |
|
27 #include <avkon.loc> |
|
28 #include <e32keys.h> |
|
29 #include <activeidle3.loc> |
|
30 // for qtn_apps_mode_list |
|
31 #include <profileapp.loc> |
|
32 #include "ainativeui.hrh" |
|
33 |
|
34 |
|
35 RESOURCE RSS_SIGNATURE { } |
|
36 |
|
37 RESOURCE TBUF { buf="AiNativeUi"; } |
|
38 |
|
39 RESOURCE EIK_APP_INFO |
|
40 { |
|
41 menubar = r_nativeui_main_menubar; |
|
42 cba = r_nativeui_softkeys_default; |
|
43 status_pane = r_nativeui_status_pane; |
|
44 } |
|
45 |
|
46 // --------------------------------------------------------------------------- |
|
47 // ?resource_name |
|
48 // ?description |
|
49 // --------------------------------------------------------------------------- |
|
50 // |
|
51 RESOURCE TBUF r_activeidle_sim_registration_failed |
|
52 { |
|
53 buf = text_imsi_unknown_in_hlr; |
|
54 } |
|
55 |
|
56 RESOURCE TBUF r_activeidle_title_tapped_header |
|
57 { |
|
58 buf = qtn_idle_title_tapped_header; |
|
59 } |
|
60 |
|
61 RESOURCE TBUF r_activeidle_title_tapped_link1 |
|
62 { |
|
63 buf = qtn_idle_title_tapped_link1; |
|
64 } |
|
65 |
|
66 RESOURCE TBUF r_activeidle_title_tapped_link2 |
|
67 { |
|
68 buf = qtn_idle_title_tapped_link2; |
|
69 } |
|
70 |
|
71 RESOURCE TBUF r_idle_navi_tapped_cale |
|
72 { |
|
73 buf = qtn_idle_navi_tapped_cale; |
|
74 } |
|
75 |
|
76 RESOURCE TBUF r_idle_navi_tapped_all_prof |
|
77 { |
|
78 buf = qtn_idle_navi_tapped_all_prof; |
|
79 } |
|
80 |
|
81 RESOURCE TBUF r_nativeui_sk_back |
|
82 { |
|
83 buf = text_softkey_back; |
|
84 } |
|
85 |
|
86 RESOURCE TBUF r_nativeui_sk_newmsg |
|
87 { |
|
88 buf = qtn_idle_skey_new_msg; |
|
89 } |
|
90 |
|
91 RESOURCE TBUF r_nativeui_sk_email |
|
92 { |
|
93 buf = qtn_apps_email_skey; |
|
94 } |
|
95 |
|
96 RESOURCE TBUF r_nativeui_sk_syncmlmail |
|
97 { |
|
98 buf = qtn_apps_syncml_mail_skey; |
|
99 } |
|
100 |
|
101 RESOURCE TBUF r_nativeui_sk_mmspostcard |
|
102 { |
|
103 buf = qtn_apps_mmspostcard_skey; |
|
104 } |
|
105 |
|
106 RESOURCE TBUF r_nativeui_sk_audiomsg |
|
107 { |
|
108 buf = qtn_apps_audio_msg_skey; |
|
109 } |
|
110 |
|
111 RESOURCE TBUF r_nativeui_sk_msgtype |
|
112 { |
|
113 buf = qtn_set_idle_skey_select_msg_type; |
|
114 } |
|
115 |
|
116 RESOURCE TBUF r_nativeui_sk_changetheme |
|
117 { |
|
118 buf = qtn_apps_idle_skin_skey; |
|
119 } |
|
120 |
|
121 // ----------------------------------------------------------------------------- |
|
122 // |
|
123 // r_idle_title_pane |
|
124 // It defines idle's status pane. Title pane is empty. |
|
125 // |
|
126 // ----------------------------------------------------------------------------- |
|
127 // |
|
128 RESOURCE TITLE_PANE r_nativeui_title_pane |
|
129 { |
|
130 txt = " "; |
|
131 } |
|
132 |
|
133 // ----------------------------------------------------------------------------- |
|
134 // |
|
135 // r_idle_status_pane |
|
136 // It defines idle's status pane. |
|
137 // |
|
138 // ----------------------------------------------------------------------------- |
|
139 // |
|
140 RESOURCE STATUS_PANE_APP_MODEL r_nativeui_status_pane |
|
141 { |
|
142 layout = R_AVKON_STATUS_PANE_LAYOUT_IDLE; |
|
143 panes = |
|
144 { |
|
145 SPANE_PANE |
|
146 { |
|
147 id = EEikStatusPaneUidTitle; |
|
148 type = EAknCtTitlePane; |
|
149 resource = r_nativeui_title_pane; |
|
150 } |
|
151 }; |
|
152 } |
|
153 |
|
154 |
|
155 RESOURCE MENU_BAR r_nativeui_main_menubar |
|
156 { |
|
157 titles = |
|
158 { |
|
159 MENU_TITLE { menu_pane = r_nativeui_main_menupane; } |
|
160 }; |
|
161 } |
|
162 |
|
163 RESOURCE MENU_PANE r_nativeui_main_menupane |
|
164 { |
|
165 items = |
|
166 { |
|
167 MENU_ITEM { command = EAknCmdExit; txt = text_softkey_exit; } |
|
168 }; |
|
169 } |
|
170 |
|
171 RESOURCE CBA r_nativeui_softkeys_default |
|
172 { |
|
173 buttons = |
|
174 { |
|
175 CBA_BUTTON |
|
176 { |
|
177 id = ENativeUiSoftkeyLeft; |
|
178 txt = " "; |
|
179 }, |
|
180 CBA_BUTTON |
|
181 { |
|
182 id = ENativeUiSoftkeyRight; |
|
183 txt = " "; |
|
184 }, |
|
185 CBA_BUTTON |
|
186 { |
|
187 id = ENativeUiSelectionKey; |
|
188 txt = " "; |
|
189 } |
|
190 }; |
|
191 } |
|
192 |
|
193 |
|
194 RESOURCE AVKON_SKEY_LIST r_nativeui_default_skey_list |
|
195 { |
|
196 list = |
|
197 { |
|
198 AVKON_SKEY_INFO {key='0'; sid=EAvkonSIDNoSound;}, |
|
199 AVKON_SKEY_INFO {key='0'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
200 AVKON_SKEY_INFO {key='0'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;}, |
|
201 AVKON_SKEY_INFO {key='1'; sid=EAvkonSIDNoSound;}, |
|
202 AVKON_SKEY_INFO {key='1'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
203 AVKON_SKEY_INFO {key='1'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;}, |
|
204 AVKON_SKEY_INFO {key='2'; sid=EAvkonSIDNoSound;}, |
|
205 AVKON_SKEY_INFO {key='2'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
206 AVKON_SKEY_INFO {key='2'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;}, |
|
207 AVKON_SKEY_INFO {key='3'; sid=EAvkonSIDNoSound;}, |
|
208 AVKON_SKEY_INFO {key='3'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
209 AVKON_SKEY_INFO {key='3'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;}, |
|
210 AVKON_SKEY_INFO {key='4'; sid=EAvkonSIDNoSound;}, |
|
211 AVKON_SKEY_INFO {key='4'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
212 AVKON_SKEY_INFO {key='4'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;}, |
|
213 AVKON_SKEY_INFO {key='5'; sid=EAvkonSIDNoSound;}, |
|
214 AVKON_SKEY_INFO {key='5'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
215 AVKON_SKEY_INFO {key='5'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;}, |
|
216 AVKON_SKEY_INFO {key='6'; sid=EAvkonSIDNoSound;}, |
|
217 AVKON_SKEY_INFO {key='6'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
218 AVKON_SKEY_INFO {key='6'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;}, |
|
219 AVKON_SKEY_INFO {key='7'; sid=EAvkonSIDNoSound;}, |
|
220 AVKON_SKEY_INFO {key='7'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
221 AVKON_SKEY_INFO {key='7'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;}, |
|
222 AVKON_SKEY_INFO {key='8'; sid=EAvkonSIDNoSound;}, |
|
223 AVKON_SKEY_INFO {key='8'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
224 AVKON_SKEY_INFO {key='8'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;}, |
|
225 AVKON_SKEY_INFO {key='9'; sid=EAvkonSIDNoSound;}, |
|
226 AVKON_SKEY_INFO {key='9'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
227 AVKON_SKEY_INFO {key='9'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;}, |
|
228 AVKON_SKEY_INFO {key='*'; sid=EAvkonSIDNoSound;}, |
|
229 AVKON_SKEY_INFO {key='*'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
230 AVKON_SKEY_INFO {key='*'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;}, |
|
231 AVKON_SKEY_INFO {key=EStdKeyHash; sid=EAvkonSIDNoSound;}, |
|
232 AVKON_SKEY_INFO {key=EStdKeyHash; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
233 AVKON_SKEY_INFO {key=EStdKeyHash; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;} |
|
234 #ifdef __QWERTY_INPUT |
|
235 , |
|
236 AVKON_SKEY_INFO {key='+'; sid=EAvkonSIDNoSound;}, |
|
237 AVKON_SKEY_INFO {key='+'; sid=EAvkonSIDNoSound; type = ESKeyTypeLong;}, |
|
238 AVKON_SKEY_INFO {key='+'; sid=EAvkonSIDNoSound; type = ESKeyTypeRepeat;} |
|
239 #endif // __QWERTY_INPUT |
|
240 }; |
|
241 } |
|
242 // Common toolbar resource |
|
243 RESOURCE AVKON_TOOLBAR r_common_toolbar |
|
244 { |
|
245 flags = KAknToolbarFixed | KAknToolbarWithoutCba; |
|
246 items = |
|
247 { |
|
248 }; |
|
249 } |