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: Test PslnFWBaseView.h |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // [INCLUDE FILES] |
|
20 #include <aknnavi.h> |
|
21 #include <aknform.h> |
|
22 #include <aknnavide.h> |
|
23 #include <testdompslnframework.rsg> |
|
24 #include <avkon.hrh> |
|
25 #include <psln.hrh> |
|
26 #include <stifparser.h> |
|
27 |
|
28 #include "testdompslnfwbv.h" |
|
29 #include "testdompslnframework.h" |
|
30 #include "testdompslnfwappui.h" |
|
31 |
|
32 _LIT( KFileName, "testdompslnframework.rsc" ); |
|
33 _LIT8( KMessage, "test message"); |
|
34 |
|
35 // ============================ MEMBER FUNCTIONS =============================== |
|
36 |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // Ctestdompslnframework::TestPlsnFWBVCPslnFWBaseView |
|
40 // ----------------------------------------------------------------------------- |
|
41 // |
|
42 TInt CTestDOMPSLNFramework::TestPlsnFWBVCPslnFWBaseViewL( CStifItemParser& /*aItem*/) |
|
43 { |
|
44 // Print to UI |
|
45 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
46 _LIT( KTestPlsnFWBVCPslnFWBaseView, "In TestPlsnFWBVCPslnFWBaseView" ); |
|
47 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVCPslnFWBaseView ); |
|
48 // Print to log file |
|
49 iLog->Log( KTestPlsnFWBVCPslnFWBaseView ); |
|
50 |
|
51 iFWBView = new ( ELeave ) CTestPslnFWBaseView(); |
|
52 STIF_ASSERT_NOT_NULL( iFWBView ); |
|
53 |
|
54 return KErrNone; |
|
55 } |
|
56 |
|
57 |
|
58 // ----------------------------------------------------------------------------- |
|
59 // Ctestdompslnframework::TestPlsnFWBVConstructL |
|
60 // ----------------------------------------------------------------------------- |
|
61 // |
|
62 TInt CTestDOMPSLNFramework::TestPlsnFWBVConstructL( CStifItemParser& /*aItem*/) |
|
63 { |
|
64 // Print to UI |
|
65 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
66 _LIT( KTestPlsnFWBVConstructL, "In TestPlsnFWBVConstructL" ); |
|
67 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVConstructL ); |
|
68 // Print to log file |
|
69 iLog->Log( KTestPlsnFWBVConstructL ); |
|
70 |
|
71 TInt err = KErrNone; |
|
72 TRAP( err, iFWBView->ConstructL() ); |
|
73 return err; |
|
74 } |
|
75 |
|
76 |
|
77 // ----------------------------------------------------------------------------- |
|
78 // Ctestdompslnframework::TestPlsnFWBVDelete |
|
79 // ----------------------------------------------------------------------------- |
|
80 // |
|
81 TInt CTestDOMPSLNFramework::TestPlsnFWBVDelete( CStifItemParser& /*aItem*/) |
|
82 { |
|
83 // Print to UI |
|
84 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
85 _LIT( KTestPlsnFWBVDelete, "In TestPlsnFWBVDelete" ); |
|
86 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVDelete ); |
|
87 // Print to log file |
|
88 iLog->Log( KTestPlsnFWBVDelete ); |
|
89 |
|
90 delete iFWBView; |
|
91 iFWBView=NULL; |
|
92 |
|
93 return KErrNone; |
|
94 } |
|
95 |
|
96 |
|
97 // ----------------------------------------------------------------------------- |
|
98 // Ctestdompslnframework::TestPlsnFWBVSetCurrentItem |
|
99 // ----------------------------------------------------------------------------- |
|
100 // |
|
101 TInt CTestDOMPSLNFramework::TestPlsnFWBVSetCurrentItem( CStifItemParser& aItem ) |
|
102 { |
|
103 // Print to UI |
|
104 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
105 _LIT( KTestPlsnFWBVSetCurrentItem, "In TestPlsnFWBVSetCurrentItem" ); |
|
106 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVSetCurrentItem ); |
|
107 // Print to log file |
|
108 iLog->Log( KTestPlsnFWBVSetCurrentItem ); |
|
109 |
|
110 TInt flag; |
|
111 TInt err = aItem.GetNextInt( flag ); |
|
112 if( err != KErrNone) |
|
113 return err; |
|
114 switch ( flag ) |
|
115 { |
|
116 case 1: |
|
117 iFWBView->SetCurrentItem( 0 ); |
|
118 break; |
|
119 case 2: |
|
120 iFWBView->SetCurrentItem( 1 ); |
|
121 default: |
|
122 break; |
|
123 } |
|
124 |
|
125 return KErrNone; |
|
126 } |
|
127 |
|
128 |
|
129 // ----------------------------------------------------------------------------- |
|
130 // Ctestdompslnframework::TestPlsnFWBVContainer |
|
131 // ----------------------------------------------------------------------------- |
|
132 // |
|
133 TInt CTestDOMPSLNFramework::TestPlsnFWBVContainer( CStifItemParser& /*aItem*/) |
|
134 { |
|
135 // Print to UI |
|
136 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
137 _LIT( KTestPlsnFWBVContainer, "In TestPlsnFWBVContainer" ); |
|
138 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVContainer ); |
|
139 // Print to log file |
|
140 iLog->Log( KTestPlsnFWBVContainer ); |
|
141 |
|
142 iFWBView->Container(); |
|
143 |
|
144 return KErrNone; |
|
145 } |
|
146 |
|
147 |
|
148 // ----------------------------------------------------------------------------- |
|
149 // Ctestdompslnframework::TestPlsnFWBVOpenLocalizedResourceFileL |
|
150 // ----------------------------------------------------------------------------- |
|
151 // |
|
152 TInt CTestDOMPSLNFramework::TestPlsnFWBVOpenLocalizedResourceFileL( CStifItemParser& /*aItem*/) |
|
153 { |
|
154 // Print to UI |
|
155 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
156 _LIT( KTestPlsnFWBVOpenLocalizedResourceFileLw, "In TestPlsnFWBVOpenLocalizedResourceFileL" ); |
|
157 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVOpenLocalizedResourceFileLw ); |
|
158 // Print to log file |
|
159 iLog->Log( KTestPlsnFWBVOpenLocalizedResourceFileLw ); |
|
160 |
|
161 RConeResourceLoader loader( *CCoeEnv::Static() ); |
|
162 |
|
163 TRAPD( err, iFWBView->OpenLocalizedResourceFileL( KFilePath, loader ) ); |
|
164 |
|
165 return err; |
|
166 } |
|
167 |
|
168 |
|
169 // ----------------------------------------------------------------------------- |
|
170 // Ctestdompslnframework::TestPlsnFWBVOpenLocalizedResourceFileLWithPathL |
|
171 // ----------------------------------------------------------------------------- |
|
172 // |
|
173 TInt CTestDOMPSLNFramework::TestPlsnFWBVOpenLocalizedResourceFileLWithPathL( CStifItemParser& /*aItem*/) |
|
174 { |
|
175 // Print to UI |
|
176 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
177 _LIT( KTestPlsnFWBVOpenLocalizedResourceFileLWithPathL, "In TestPlsnFWBVOpenLocalizedResourceFileLWithPathL" ); |
|
178 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVOpenLocalizedResourceFileLWithPathL ); |
|
179 // Print to log file |
|
180 iLog->Log( KTestPlsnFWBVOpenLocalizedResourceFileLWithPathL ); |
|
181 |
|
182 RConeResourceLoader loader( *CCoeEnv::Static() ); |
|
183 |
|
184 TInt err = KErrNone; |
|
185 TRAP( err, iFWBView->OpenLocalizedResourceFileL( KFileName, loader, &KFileDir ) ); |
|
186 |
|
187 return err; |
|
188 } |
|
189 |
|
190 |
|
191 // ----------------------------------------------------------------------------- |
|
192 // Ctestdompslnframework::TestPlsnFWBVSetNaviPaneDecorator |
|
193 // ----------------------------------------------------------------------------- |
|
194 // |
|
195 TInt CTestDOMPSLNFramework::TestPlsnFWBVSetNaviPaneDecoratorL( CStifItemParser& /*aItem*/) |
|
196 { |
|
197 // Print to UI |
|
198 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
199 _LIT( KTestPlsnFWBVSetNaviPaneDecorator, "In TestPlsnFWBVSetNaviPaneDecorator" ); |
|
200 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVSetNaviPaneDecorator ); |
|
201 // Print to log file |
|
202 iLog->Log( KTestPlsnFWBVSetNaviPaneDecorator ); |
|
203 |
|
204 CAknAppUi* appui = static_cast<CAknAppUi*>( CCoeEnv::Static()->AppUi() ); |
|
205 CEikStatusPane* pane = appui->StatusPane (); |
|
206 CAknNavigationControlContainer* ncContainer =static_cast<CAknNavigationControlContainer*>( |
|
207 pane->ControlL( TUid::Uid( EEikStatusPaneUidNavi ) ) ); |
|
208 |
|
209 CAknForm* frm = new( ELeave ) CAknForm(); |
|
210 CleanupStack::PushL( frm ); |
|
211 frm->ConstructL(); |
|
212 |
|
213 CAknNavigationDecorator* decorate = CAknNavigationDecorator::NewL( ncContainer, frm ); |
|
214 CleanupStack::PushL( decorate ); |
|
215 |
|
216 iFWBView->SetNaviPaneDecorator( decorate ); |
|
217 |
|
218 CleanupStack::Pop( decorate ); |
|
219 CleanupStack::Pop( frm ); |
|
220 |
|
221 return KErrNone; |
|
222 } |
|
223 |
|
224 |
|
225 // ----------------------------------------------------------------------------- |
|
226 // Ctestdompslnframework::TestPlsnFWBVDoActivateL |
|
227 // ----------------------------------------------------------------------------- |
|
228 // |
|
229 TInt CTestDOMPSLNFramework::TestPlsnFWBVDoActivateL( CStifItemParser& /*aItem*/) |
|
230 { |
|
231 // Print to UI |
|
232 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
233 _LIT( KTestPlsnFWBVDoActivateL, "In TestPlsnFWBVDoActivateL" ); |
|
234 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVDoActivateL ); |
|
235 // Print to log file |
|
236 iLog->Log( KTestPlsnFWBVDoActivateL ); |
|
237 |
|
238 TVwsViewId viewid; |
|
239 TInt err = KErrNone; |
|
240 TRAP( err, iFWBView->DoActivateL( viewid, KNullUid, KMessage ) ); |
|
241 |
|
242 return err; |
|
243 } |
|
244 |
|
245 |
|
246 // ----------------------------------------------------------------------------- |
|
247 // Ctestdompslnframework::TestPlsnFWBVDoDeactivate |
|
248 // ----------------------------------------------------------------------------- |
|
249 // |
|
250 TInt CTestDOMPSLNFramework::TestPlsnFWBVDoDeactivateL( CStifItemParser& /*aItem*/) |
|
251 { |
|
252 // Print to UI |
|
253 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
254 _LIT( KTestPlsnFWBVDoDeactivate, "In TestPlsnFWBVDoDeactivate" ); |
|
255 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVDoDeactivate ); |
|
256 // Print to log file |
|
257 iLog->Log( KTestPlsnFWBVDoDeactivate ); |
|
258 |
|
259 //instantiating class CPslnFWBaseContainerExt ->iContainer |
|
260 iFWBView->ConstructL(); |
|
261 |
|
262 iFWBView->DoDeactivate(); |
|
263 |
|
264 return KErrNone; |
|
265 } |
|
266 |
|
267 |
|
268 // ----------------------------------------------------------------------------- |
|
269 // Ctestdompslnframework::TestPlsnFWBVSetTabIndex |
|
270 // ----------------------------------------------------------------------------- |
|
271 // |
|
272 TInt CTestDOMPSLNFramework::TestPlsnFWBVSetTabIndex( CStifItemParser& /*aItem*/) |
|
273 { |
|
274 // Print to UI |
|
275 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
276 _LIT( KTestPlsnFWBVSetTabIndex, "In TestPlsnFWBVSetTabIndex" ); |
|
277 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVSetTabIndex ); |
|
278 // Print to log file |
|
279 iLog->Log( KTestPlsnFWBVSetTabIndex ); |
|
280 |
|
281 iFWBView->SetTabIndex( 0 ); |
|
282 |
|
283 return KErrNone; |
|
284 } |
|
285 |
|
286 |
|
287 // ----------------------------------------------------------------------------- |
|
288 // Ctestdompslnframework::TestPlsnFWBVGetTabIndex |
|
289 // ----------------------------------------------------------------------------- |
|
290 // |
|
291 TInt CTestDOMPSLNFramework::TestPlsnFWBVGetTabIndex( CStifItemParser& /*aItem*/) |
|
292 { |
|
293 // Print to UI |
|
294 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
295 _LIT( KTestPlsnFWBVGetTabIndex, "In TestPlsnFWBVGetTabIndex" ); |
|
296 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVGetTabIndex ); |
|
297 // Print to log file |
|
298 iLog->Log( KTestPlsnFWBVGetTabIndex ); |
|
299 |
|
300 TInt myTabIndex = 0; |
|
301 myTabIndex = iFWBView->GetTabIndex(); |
|
302 TInt expected = -1; |
|
303 STIF_ASSERT_EQUALS( expected, myTabIndex ); |
|
304 return KErrNone; |
|
305 } |
|
306 |
|
307 // ========================test for the protected methods ======================= |
|
308 |
|
309 // ----------------------------------------------------------------------------- |
|
310 // Ctestdompslnframework::TestPlsnFWBVSetNaviPaneL |
|
311 // ----------------------------------------------------------------------------- |
|
312 // |
|
313 TInt CTestDOMPSLNFramework::TestPlsnFWBVSetNaviPaneL( CStifItemParser& /*aItem*/) |
|
314 { |
|
315 // Print to UI |
|
316 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
317 _LIT( KTestPlsnFWBVGetTabIndex, "In TestPlsnFWBVGetTabIndex" ); |
|
318 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVGetTabIndex ); |
|
319 // Print to log file |
|
320 iLog->Log( KTestPlsnFWBVGetTabIndex ); |
|
321 |
|
322 TInt err = KErrNone; |
|
323 TRAP( err, iFWBView->SetNaviPaneL() ); |
|
324 |
|
325 return err; |
|
326 } |
|
327 |
|
328 // ----------------------------------------------------------------------------- |
|
329 // Ctestdompslnframework::TestPlsnFWBVCreateNaviPaneContextL |
|
330 // ----------------------------------------------------------------------------- |
|
331 // |
|
332 TInt CTestDOMPSLNFramework::TestPlsnFWBVCreateNaviPaneContextL( CStifItemParser& /*aItem*/) |
|
333 { |
|
334 // Print to UI |
|
335 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
336 _LIT( KTestPlsnFWBVGetTabIndex, "In TestPlsnFWBVGetTabIndex" ); |
|
337 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVGetTabIndex ); |
|
338 // Print to log file |
|
339 iLog->Log( KTestPlsnFWBVGetTabIndex ); |
|
340 |
|
341 TInt err = KErrNone; |
|
342 TRAP( err, iFWBView->CreateNaviPaneContextL( 0 ) ); |
|
343 |
|
344 return err; |
|
345 } |
|
346 |
|
347 // ----------------------------------------------------------------------------- |
|
348 // Ctestdompslnframework::TestPlsnFWBVCreateContainerL |
|
349 // ----------------------------------------------------------------------------- |
|
350 // |
|
351 TInt CTestDOMPSLNFramework::TestPlsnFWBVCreateContainerL( CStifItemParser& /*aItem*/) |
|
352 { |
|
353 // Print to UI |
|
354 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
355 _LIT( KTestPlsnFWBVGetTabIndex, "In TestPlsnFWBVGetTabIndex" ); |
|
356 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVGetTabIndex ); |
|
357 // Print to log file |
|
358 iLog->Log( KTestPlsnFWBVGetTabIndex ); |
|
359 |
|
360 TInt err = KErrNone; |
|
361 TRAP( err, iFWBView->CreateContainerL() ); |
|
362 |
|
363 return err; |
|
364 } |
|
365 |
|
366 // ----------------------------------------------------------------------------- |
|
367 // Ctestdompslnframework::TestPlsnFWBVNewContainerL |
|
368 // ----------------------------------------------------------------------------- |
|
369 // |
|
370 TInt CTestDOMPSLNFramework::TestPlsnFWBVNewContainerL( CStifItemParser& /*aItem*/) |
|
371 { |
|
372 // Print to UI |
|
373 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
374 _LIT( KTestPlsnFWBVGetTabIndex, "In TestPlsnFWBVGetTabIndex" ); |
|
375 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVGetTabIndex ); |
|
376 // Print to log file |
|
377 iLog->Log( KTestPlsnFWBVGetTabIndex ); |
|
378 |
|
379 TInt err = KErrNone; |
|
380 TRAP( err, iFWBView->NewContainerL() ); |
|
381 |
|
382 return err; |
|
383 } |
|
384 |
|
385 // ----------------------------------------------------------------------------- |
|
386 // Ctestdompslnframework::TestPlsnFWBVSetNaviPaneLWithTIntL |
|
387 // ----------------------------------------------------------------------------- |
|
388 // |
|
389 TInt CTestDOMPSLNFramework::TestPlsnFWBVSetNaviPaneLWithTIntL( CStifItemParser& /*aItem*/) |
|
390 { |
|
391 // Print to UI |
|
392 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
393 _LIT( KTestPlsnFWBVGetTabIndex, "In TestPlsnFWBVGetTabIndex" ); |
|
394 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVGetTabIndex ); |
|
395 // Print to log file |
|
396 iLog->Log( KTestPlsnFWBVGetTabIndex ); |
|
397 |
|
398 TInt err = KErrNone; |
|
399 TRAP( err, iFWBView->SetNaviPaneL( 0 ) ); |
|
400 |
|
401 return err; |
|
402 } |
|
403 |
|
404 // ----------------------------------------------------------------------------- |
|
405 // Ctestdompslnframework::TestPlsnFWBVSetMiddleSoftKeyLabelL |
|
406 // ----------------------------------------------------------------------------- |
|
407 // |
|
408 TInt CTestDOMPSLNFramework::TestPlsnFWBVSetMiddleSoftKeyLabelL( CStifItemParser& /*aItem*/) |
|
409 { |
|
410 // Print to UI |
|
411 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
412 _LIT( KTestPlsnFWBVGetTabIndex, "In TestPlsnFWBVGetTabIndex" ); |
|
413 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVGetTabIndex ); |
|
414 // Print to log file |
|
415 iLog->Log( KTestPlsnFWBVGetTabIndex ); |
|
416 |
|
417 TInt err = KErrNone; |
|
418 TRAP( err, iFWBView->SetMiddleSoftKeyLabelL( R_TESTPSLN_LABEL, 0 ) ); |
|
419 |
|
420 return err; |
|
421 } |
|
422 |
|
423 // ----------------------------------------------------------------------------- |
|
424 // Ctestdompslnframework::TestPlsnFWBVHandleCommandL |
|
425 // ----------------------------------------------------------------------------- |
|
426 // |
|
427 TInt CTestDOMPSLNFramework::TestPlsnFWBVHandleCommandL( CStifItemParser& /*aItem*/) |
|
428 { |
|
429 // Print to UI |
|
430 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
431 _LIT( KTestPlsnFWBVGetTabIndex, "In TestPlsnFWBVGetTabIndex" ); |
|
432 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVGetTabIndex ); |
|
433 // Print to log file |
|
434 iLog->Log( KTestPlsnFWBVGetTabIndex ); |
|
435 |
|
436 CCoeAppUi* oldAppUi = new( ELeave ) CCoeAppUi(); |
|
437 CTestDOMPslnFWAppUi* appUi = new( ELeave ) CTestDOMPslnFWAppUi(); |
|
438 TInt err = KErrNone; |
|
439 oldAppUi = CCoeEnv::Static()->SetAppUi( appUi ); |
|
440 if (iFWBView) |
|
441 { |
|
442 delete iFWBView; |
|
443 iFWBView = NULL; |
|
444 } |
|
445 iFWBView = new ( ELeave ) CTestPslnFWBaseView(); |
|
446 TRAP( err, iFWBView->HandleCommandL( 0 ) ); |
|
447 |
|
448 CCoeEnv::Static()->SetAppUi( oldAppUi ); |
|
449 |
|
450 return err; |
|
451 } |
|
452 |
|
453 // ----------------------------------------------------------------------------- |
|
454 // Ctestdompslnframework::TestPlsnFWBVSetTitlePaneL |
|
455 // ----------------------------------------------------------------------------- |
|
456 // |
|
457 TInt CTestDOMPSLNFramework::TestPlsnFWBVSetTitlePaneL( CStifItemParser& /*aItem*/) |
|
458 { |
|
459 // Print to UI |
|
460 _LIT( Ktestdompslnframework, "testdompslnframework" ); |
|
461 _LIT( KTestPlsnFWBVGetTabIndex, "In TestPlsnFWBVGetTabIndex" ); |
|
462 TestModuleIf().Printf( 0, Ktestdompslnframework, KTestPlsnFWBVGetTabIndex ); |
|
463 // Print to log file |
|
464 iLog->Log( KTestPlsnFWBVGetTabIndex ); |
|
465 |
|
466 TInt resouceId = R_TESTPSLN_TITLE_RESOURCE; |
|
467 TInt err = KErrNone; |
|
468 TRAP( err, iFWBView->SetTitlePaneL( resouceId ) ); |
|
469 |
|
470 return err; |
|
471 } |
|