|
1 /* |
|
2 * Copyright (c) 2002-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 * This file contains AIW related resources for Phonebook 2 application. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #include <eikon.rsg> |
|
21 #include <avkon.rsg> |
|
22 #include <AiwCommon.rh> |
|
23 #include <AiwPoCParameters.hrh> |
|
24 #include "Pbk2InternalCommands.hrh" |
|
25 |
|
26 |
|
27 // RESOURCE DEFINITIONS |
|
28 |
|
29 // --------------------------------------------------------- |
|
30 // Call UI AIW interest resource |
|
31 // --------------------------------------------------------- |
|
32 // |
|
33 RESOURCE AIW_INTEREST r_phonebook2_callui_aiw_interest |
|
34 { |
|
35 items= |
|
36 { |
|
37 AIW_CRITERIA_ITEM |
|
38 { |
|
39 id = KAiwCmdCall; // serviceCmd used here also as ID |
|
40 serviceCmd = KAiwCmdCall; |
|
41 contentType = "*"; |
|
42 serviceClass = KAiwClassMenu; |
|
43 maxProviders = 1; |
|
44 } |
|
45 }; |
|
46 } |
|
47 |
|
48 // --------------------------------------------------------- |
|
49 // Phonebook 2 call submenu, content is provided by AIW |
|
50 // --------------------------------------------------------- |
|
51 // |
|
52 RESOURCE MENU_PANE r_phonebook2_call_menu |
|
53 { |
|
54 items= |
|
55 { |
|
56 MENU_ITEM |
|
57 { |
|
58 command = KAiwCmdCall; |
|
59 txt = ""; |
|
60 cascade = AIW_INTELLIGENT_CASCADE_ID; |
|
61 } |
|
62 }; |
|
63 } |
|
64 |
|
65 // --------------------------------------------------------- |
|
66 // Phonebook 2 call stylus submenu, content is provided by AIW |
|
67 // --------------------------------------------------------- |
|
68 // |
|
69 RESOURCE MENU_PANE r_phonebook2_stylus_call_menu |
|
70 { |
|
71 items= |
|
72 { |
|
73 MENU_ITEM |
|
74 { |
|
75 command = KAiwCmdCall; |
|
76 txt = ""; |
|
77 cascade = AIW_INTELLIGENT_CASCADE_ID; |
|
78 flags = EEikMenuItemSpecific; |
|
79 } |
|
80 }; |
|
81 } |
|
82 |
|
83 // --------------------------------------------------------- |
|
84 // Phonebook 2 call submenu (context), content is |
|
85 // provided by AIW. This separate resource is needed for |
|
86 // menu filtering purposes. |
|
87 // --------------------------------------------------------- |
|
88 // |
|
89 RESOURCE MENU_PANE r_phonebook2_call_context_menu |
|
90 { |
|
91 items= |
|
92 { |
|
93 MENU_ITEM |
|
94 { |
|
95 command = KAiwCmdCall; |
|
96 txt = ""; |
|
97 cascade = AIW_INTELLIGENT_CASCADE_ID; |
|
98 } |
|
99 }; |
|
100 } |
|
101 |
|
102 // --------------------------------------------------------- |
|
103 // PoC AIW interest resource |
|
104 // --------------------------------------------------------- |
|
105 // |
|
106 RESOURCE AIW_INTEREST r_phonebook2_pocui_aiw_interest |
|
107 { |
|
108 items= |
|
109 { |
|
110 AIW_CRITERIA_ITEM |
|
111 { |
|
112 id = KAiwCmdPoC; // serviceCmd used here also as ID |
|
113 serviceCmd = KAiwCmdPoC; |
|
114 contentType = "*"; |
|
115 serviceClass = KAiwClassMenu; |
|
116 defaultProvider = KS60PoCAiwProviderImplUid; |
|
117 maxProviders = 1; |
|
118 } |
|
119 }; |
|
120 } |
|
121 |
|
122 // --------------------------------------------------------- |
|
123 // Phonebook 2 PoC submenu, content is provided by AIW |
|
124 // --------------------------------------------------------- |
|
125 // |
|
126 RESOURCE MENU_PANE r_phonebook2_poc_menu |
|
127 { |
|
128 items = |
|
129 { |
|
130 MENU_ITEM |
|
131 { |
|
132 command = KAiwCmdPoC; |
|
133 txt = ""; |
|
134 cascade = AIW_CASCADE_ID; |
|
135 } |
|
136 }; |
|
137 } |
|
138 |
|
139 // --------------------------------------------------------- |
|
140 // Phonebook 2 PoC submenu for groupview, content is provided by AIW |
|
141 // --------------------------------------------------------- |
|
142 // |
|
143 RESOURCE MENU_PANE r_phonebook2_groupviews_poc_menu |
|
144 { |
|
145 items = |
|
146 { |
|
147 MENU_ITEM |
|
148 { |
|
149 command = KAiwCmdPoC; |
|
150 txt = ""; |
|
151 cascade = AIW_CASCADE_ID; |
|
152 } |
|
153 }; |
|
154 } |
|
155 |
|
156 // --------------------------------------------------------- |
|
157 // Phonebook 2 PoC submenu (context), content is |
|
158 // provided by AIW. This separate resource is needed for |
|
159 // menu filtering purposes. |
|
160 // --------------------------------------------------------- |
|
161 // |
|
162 RESOURCE MENU_PANE r_phonebook2_poc_context_menu |
|
163 { |
|
164 items= |
|
165 { |
|
166 MENU_ITEM |
|
167 { |
|
168 command = KAiwCmdPoC; |
|
169 txt = ""; |
|
170 cascade = AIW_CASCADE_ID; |
|
171 } |
|
172 }; |
|
173 } |
|
174 |
|
175 // --------------------------------------------------------- |
|
176 // SyncML AIW interest resource |
|
177 // --------------------------------------------------------- |
|
178 // |
|
179 RESOURCE AIW_INTEREST r_phonebook2_syncml_aiw_interest |
|
180 { |
|
181 items= |
|
182 { |
|
183 AIW_CRITERIA_ITEM |
|
184 { |
|
185 id = KAiwCmdSynchronize; // serviceCmd used here also as ID |
|
186 serviceCmd = KAiwCmdSynchronize; |
|
187 contentType = "*"; |
|
188 serviceClass = KAiwClassMenu; |
|
189 maxProviders = 1; |
|
190 } |
|
191 }; |
|
192 } |
|
193 |
|
194 // --------------------------------------------------------- |
|
195 // Phonebook 2 SyncML submenu, content is provided by AIW |
|
196 // --------------------------------------------------------- |
|
197 // |
|
198 RESOURCE MENU_PANE r_phonebook2_syncml_menu |
|
199 { |
|
200 items = |
|
201 { |
|
202 MENU_ITEM |
|
203 { |
|
204 command = KAiwCmdSynchronize; |
|
205 txt = ""; |
|
206 cascade = AIW_INTELLIGENT_CASCADE_ID; |
|
207 } |
|
208 }; |
|
209 } |
|
210 |
|
211 // ---------------------------------------------------------- |
|
212 // SIND InfoView UI AIW interest resource |
|
213 // ---------------------------------------------------------- |
|
214 // |
|
215 RESOURCE AIW_INTEREST r_phonebook2_sind_infoview_aiw_interest |
|
216 { |
|
217 items= |
|
218 { |
|
219 AIW_CRITERIA_ITEM |
|
220 { |
|
221 id = KAiwCmdInfoView; // serviceCmd used here also as ID |
|
222 serviceCmd = KAiwCmdInfoView; |
|
223 contentType = "*"; |
|
224 serviceClass = KAiwClassMenu; |
|
225 maxProviders = 1; |
|
226 } |
|
227 }; |
|
228 } |
|
229 |
|
230 // ---------------------------------------------------------- |
|
231 // Phonebook SIND InfoView submenu, content is provided by AIW. |
|
232 // ---------------------------------------------------------- |
|
233 // |
|
234 RESOURCE MENU_PANE r_phonebook2_sind_infoview_menu |
|
235 { |
|
236 items = |
|
237 { |
|
238 MENU_ITEM |
|
239 { |
|
240 command = KAiwCmdInfoView; |
|
241 txt = ""; |
|
242 } |
|
243 }; |
|
244 } |
|
245 |
|
246 // --------------------------------------------------------- |
|
247 // Ovisync AIW interest resource |
|
248 // --------------------------------------------------------- |
|
249 // |
|
250 RESOURCE AIW_INTEREST r_phonebook2_ovisync_aiw_interest |
|
251 { |
|
252 items= |
|
253 { |
|
254 AIW_CRITERIA_ITEM |
|
255 { |
|
256 id = KOtasAiwCmdSynchronize; // serviceCmd used here as ID |
|
257 serviceCmd = KOtasAiwCmdSynchronize; |
|
258 contentType = "*"; |
|
259 serviceClass = KAiwClassMenu; |
|
260 maxProviders = 1; |
|
261 }, |
|
262 AIW_CRITERIA_ITEM |
|
263 { |
|
264 id = KOtasAiwCmdSettings; // serviceCmd used here as ID |
|
265 serviceCmd = KOtasAiwCmdSettings; |
|
266 contentType = "*"; |
|
267 serviceClass = KAiwClassMenu; |
|
268 maxProviders = 1; |
|
269 } |
|
270 }; |
|
271 } |
|
272 |
|
273 // --------------------------------------------------------- |
|
274 // Phonebook 2 Ovisync menu resource |
|
275 // --------------------------------------------------------- |
|
276 // |
|
277 RESOURCE MENU_PANE r_phonebook2_ovisync_menu |
|
278 { |
|
279 items = |
|
280 { |
|
281 MENU_ITEM |
|
282 { |
|
283 command = KOtasAiwCmdSynchronize; // Use the AIW ID as the menu cmd ID |
|
284 txt = ""; |
|
285 } |
|
286 }; |
|
287 } |
|
288 |
|
289 // End of File |