|
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: The application view of PhoneUI |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "phoneconstants.h" |
|
21 #include "cphoneview.h" |
|
22 |
|
23 #include <eikenv.h> |
|
24 #include <eikapp.h> |
|
25 #include <eikappui.h> |
|
26 #include <eikcmobs.h> |
|
27 |
|
28 #include <w32std.h> // iWindowSrvSession |
|
29 |
|
30 #include <eikimage.h> |
|
31 #include <coemain.h> |
|
32 #include <gulutil.h> // DrawUtils, egul.lib |
|
33 #include <aknappui.h> |
|
34 #include <AknsLayeredBackgroundControlContext.h> |
|
35 #include <AknsDrawUtils.h> |
|
36 #include <AknsUtils.h> |
|
37 |
|
38 #include "cphonestatuspane.h" |
|
39 #include "tphonecmdparambitmap.h" |
|
40 #include "phonelogger.h" |
|
41 #include "mphoneviewobserver.h" |
|
42 |
|
43 #include <AknUtils.h> // needed for AKN_LAF_COLOR in 3.0 environment |
|
44 |
|
45 #include "phoneui.hrh" |
|
46 #include "phoneviewcommanddefinitions.h" |
|
47 // Scalable UI |
|
48 #include <aknlayout.cdl.h> |
|
49 #include <layoutmetadata.cdl.h> |
|
50 #include <aknlayoutscalable_apps.cdl.h> |
|
51 #include <aknlayoutscalable_avkon.cdl.h> |
|
52 #include <aknstatuspaneutils.h> |
|
53 |
|
54 enum TPhoneBgLayers |
|
55 { |
|
56 EPhoneBgFirstLayer = 0, |
|
57 EPhoneBgLayersN = 1 |
|
58 }; |
|
59 |
|
60 // ================= MEMBER FUNCTIONS ======================= |
|
61 |
|
62 // ----------------------------------------------------------------------------- |
|
63 // CPhoneView::CPhoneView |
|
64 // C++ default constructor can NOT contain any code, that |
|
65 // might leave. |
|
66 // ----------------------------------------------------------------------------- |
|
67 // |
|
68 CPhoneView::CPhoneView( CEikButtonGroupContainer& aCba ) : |
|
69 iSecurityMode ( EFalse ), |
|
70 iActivatePreviousApp( EFalse ), |
|
71 iPhoneAppViewToDialer( EFalse ), |
|
72 iCba ( aCba ), |
|
73 iDialerActivation( EFalse ) |
|
74 { |
|
75 } |
|
76 |
|
77 // ----------------------------------------------------------------------------- |
|
78 // CPhoneView::ConstructL |
|
79 // Symbian 2nd phase constructor can leave. |
|
80 // ----------------------------------------------------------------------------- |
|
81 // |
|
82 void CPhoneView::ConstructL( TRect aRect ) |
|
83 { |
|
84 // Create background control context for skins. |
|
85 iBgContext = CAknsLayeredBackgroundControlContext::NewL( |
|
86 KAknsIIDWallpaper, aRect, ETrue /*Parent absolute*/, |
|
87 EPhoneBgLayersN ); |
|
88 |
|
89 // Create bitmap |
|
90 iBitmap = new (ELeave) CFbsBitmap; |
|
91 iBitmap->Reset(); |
|
92 |
|
93 CreateWindowL(); |
|
94 DrawableWindow()->SetPointerGrab( ETrue ); |
|
95 |
|
96 SetRect( aRect ); |
|
97 } |
|
98 |
|
99 // ----------------------------------------------------------------------------- |
|
100 // CPhoneView::NewL |
|
101 // Two-phased constructor. |
|
102 // ----------------------------------------------------------------------------- |
|
103 // |
|
104 CPhoneView* CPhoneView::NewL( TRect aRect, CEikButtonGroupContainer& aCba ) |
|
105 { |
|
106 CPhoneView* self = new ( ELeave ) CPhoneView( aCba ); |
|
107 |
|
108 CleanupStack::PushL( self ); |
|
109 self->ConstructL( aRect ); |
|
110 CleanupStack::Pop( self ); |
|
111 return self; |
|
112 } |
|
113 |
|
114 // Destructor |
|
115 CPhoneView::~CPhoneView() |
|
116 { |
|
117 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::~CPhoneView"); |
|
118 delete iBgContext; |
|
119 delete iBitmap; |
|
120 iRegion.Close(); |
|
121 } |
|
122 |
|
123 // ----------------------------------------------------------------------------- |
|
124 // CPhoneView::ViewId |
|
125 // ----------------------------------------------------------------------------- |
|
126 // |
|
127 TVwsViewId CPhoneView::ViewId() const |
|
128 { |
|
129 TVwsViewId id( |
|
130 iEikonEnv->EikAppUi()->Application()->AppDllUid(), |
|
131 KUidViewId ); |
|
132 return id; |
|
133 } |
|
134 |
|
135 // ----------------------------------------------------------------------------- |
|
136 // CPhoneView::ViewActivatedL |
|
137 // ----------------------------------------------------------------------------- |
|
138 // |
|
139 void CPhoneView::ViewActivatedL( |
|
140 const TVwsViewId& /*aPrevViewId*/, |
|
141 TUid aCustomMessageId, |
|
142 const TDesC8& /*aCustomMessage*/ ) |
|
143 { |
|
144 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::ViewActivatedL()"); |
|
145 switch ( aCustomMessageId.iUid ) |
|
146 { |
|
147 case KTouchDiallerViewCommand: |
|
148 { |
|
149 if ( iDialerActivation ) |
|
150 { |
|
151 if ( iSecurityMode ) |
|
152 { |
|
153 static_cast<MEikCommandObserver*>( iEikonEnv->EikAppUi() ) |
|
154 ->ProcessCommandL( EPhoneNumberAcqSecurityDialer ); |
|
155 return; |
|
156 } |
|
157 else |
|
158 { |
|
159 iEikonEnv->WsSession().ClearAllRedrawStores(); |
|
160 SetActivatePreviousApp( ETrue ); |
|
161 static_cast<MEikCommandObserver*>( iEikonEnv->EikAppUi() ) |
|
162 ->ProcessCommandL( EPhoneViewOpenNumberEntry ); |
|
163 } |
|
164 } |
|
165 } |
|
166 break; |
|
167 case KTouchCallHandlingVievCommand: |
|
168 { |
|
169 iEikonEnv->WsSession().ClearAllRedrawStores(); |
|
170 SetActivatePreviousApp( EFalse ); |
|
171 static_cast<MEikCommandObserver*>( iEikonEnv->EikAppUi() ) |
|
172 ->ProcessCommandL( EPhoneViewOpenCallHandling ); |
|
173 } |
|
174 break; |
|
175 default: |
|
176 break; |
|
177 } |
|
178 |
|
179 if ( iObserver ) |
|
180 { |
|
181 iObserver->PhoneViewActivatedL(); |
|
182 } |
|
183 } |
|
184 |
|
185 // ----------------------------------------------------------------------------- |
|
186 // CPhoneView::ViewDeactivated |
|
187 // ----------------------------------------------------------------------------- |
|
188 // |
|
189 void CPhoneView::ViewDeactivated() |
|
190 { |
|
191 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::ViewDeactivated()"); |
|
192 SetActivatePreviousApp( EFalse ); |
|
193 |
|
194 DrawDeferred(); |
|
195 } |
|
196 |
|
197 // ----------------------------------------------------------------------------- |
|
198 // CPhoneView::SetControl |
|
199 // |
|
200 // Change the control. |
|
201 // ----------------------------------------------------------------------------- |
|
202 // |
|
203 void CPhoneView::SetControl( CCoeControl* aControl ) |
|
204 { |
|
205 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::SetControl()"); |
|
206 iControl = aControl; |
|
207 UpdateControlRect(); |
|
208 iControl->MakeVisible( ETrue ); |
|
209 } |
|
210 |
|
211 // ----------------------------------------------------------------------------- |
|
212 // CPhoneView::Control |
|
213 // ----------------------------------------------------------------------------- |
|
214 // |
|
215 CCoeControl* CPhoneView::Control() const |
|
216 { |
|
217 return iControl; |
|
218 } |
|
219 |
|
220 // ----------------------------------------------------------------------------- |
|
221 // CPhoneView::ComponentControl |
|
222 // ----------------------------------------------------------------------------- |
|
223 // |
|
224 CCoeControl* CPhoneView::ComponentControl( TInt /*aIndex*/ ) const |
|
225 { |
|
226 return iControl; |
|
227 } |
|
228 |
|
229 // ----------------------------------------------------------------------------- |
|
230 // CPhoneView::CountComponentControls |
|
231 // ----------------------------------------------------------------------------- |
|
232 // |
|
233 TInt CPhoneView::CountComponentControls() const |
|
234 { |
|
235 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::CountComponentControls()"); |
|
236 TInt count = 0; |
|
237 |
|
238 if ( iControl ) |
|
239 { |
|
240 count = 1; |
|
241 } |
|
242 |
|
243 return count; |
|
244 } |
|
245 |
|
246 // ----------------------------------------------------------------------------- |
|
247 // CPhoneView::SetBitmap |
|
248 // ----------------------------------------------------------------------------- |
|
249 // |
|
250 void CPhoneView::SetBitmap( TPhoneCommandParam* aCommandParam ) |
|
251 { |
|
252 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::SetBitmap()"); |
|
253 TPhoneCmdParamBitmap* bitmapParam = static_cast<TPhoneCmdParamBitmap*>( |
|
254 aCommandParam ); |
|
255 |
|
256 if ( !iSecurityMode ) |
|
257 { |
|
258 TInt err = KErrNone; |
|
259 if ( bitmapParam->Bitmap()->Handle() ) |
|
260 { |
|
261 err = iBitmap->Duplicate( bitmapParam->Bitmap()->Handle() ); |
|
262 } |
|
263 else |
|
264 { |
|
265 iBitmap->Reset(); |
|
266 } |
|
267 |
|
268 if ( err == KErrNone ) |
|
269 { |
|
270 DrawDeferred(); |
|
271 } |
|
272 } |
|
273 } |
|
274 |
|
275 // ----------------------------------------------------------------------------- |
|
276 // CPhoneView::GetBitmap |
|
277 // ----------------------------------------------------------------------------- |
|
278 // |
|
279 void CPhoneView::GetBitmap( TPhoneCommandParam* aCommandParam ) |
|
280 { |
|
281 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::GetBitmap()"); |
|
282 TPhoneCmdParamBitmap* bitmapParam = static_cast<TPhoneCmdParamBitmap*>( |
|
283 aCommandParam ); |
|
284 |
|
285 bitmapParam->SetBitmap( iBitmap ); |
|
286 } |
|
287 |
|
288 // ----------------------------------------------------------------------------- |
|
289 // CPhoneView::MopSupplyObject |
|
290 // ----------------------------------------------------------------------------- |
|
291 // |
|
292 TTypeUid::Ptr CPhoneView::MopSupplyObject( TTypeUid aId ) |
|
293 { |
|
294 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::MopSupplyObject()"); |
|
295 // Required during rendering of the background skin in Draw() |
|
296 if (aId.iUid == MAknsControlContext::ETypeId) |
|
297 { |
|
298 return MAknsControlContext::SupplyMopObject( aId, iBgContext ); |
|
299 } |
|
300 return CCoeControl::MopSupplyObject( aId ); |
|
301 } |
|
302 |
|
303 // ----------------------------------------------------------------------------- |
|
304 // CPhoneView::SetRect |
|
305 // ----------------------------------------------------------------------------- |
|
306 // |
|
307 void CPhoneView::SetRect( const TRect &aRect ) |
|
308 { |
|
309 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::SetRect()"); |
|
310 if ( !AknLayoutUtils::PenEnabled() ) |
|
311 { |
|
312 CCoeControl::SetRect( aRect ); |
|
313 } |
|
314 else |
|
315 { |
|
316 if ( Layout_Meta_Data::IsLandscapeOrientation() || |
|
317 iSecurityMode ) |
|
318 { |
|
319 // In landscape and in security mode aRect is ok. |
|
320 CCoeControl::SetRect( aRect ); |
|
321 } |
|
322 else |
|
323 { |
|
324 TRect controlRect( aRect ); |
|
325 TAknLayoutRect viewRect; |
|
326 |
|
327 TRect screenRect; |
|
328 AknLayoutUtils::LayoutMetricsRect( |
|
329 AknLayoutUtils::EScreen, |
|
330 screenRect ); |
|
331 |
|
332 viewRect.LayoutRect( |
|
333 screenRect, |
|
334 TAknWindowComponentLayout::Compose( |
|
335 AknLayoutScalable_Avkon::application_window( 0 ), |
|
336 AknLayoutScalable_Avkon::main_pane( 8 ) ) ); |
|
337 |
|
338 // reduce toolbar |
|
339 TAknLayoutRect toolbarRect; |
|
340 toolbarRect.LayoutRect( |
|
341 screenRect, |
|
342 TAknWindowComponentLayout::Compose( |
|
343 AknLayoutScalable_Avkon::application_window( 0 ), |
|
344 AknLayoutScalable_Avkon::popup_toolbar2_fixed_window( 0 ) ) ); |
|
345 |
|
346 if ( toolbarRect.Rect().Intersects( controlRect ) ) |
|
347 { |
|
348 __PHONELOG( EBasic, EPhoneUIView,"CPhoneView::SetRect Update "); |
|
349 controlRect.iBr.iY -= toolbarRect.Rect().Height(); |
|
350 } |
|
351 |
|
352 CCoeControl::SetRect( controlRect ); |
|
353 } |
|
354 } |
|
355 } |
|
356 |
|
357 // ----------------------------------------------------------------------------- |
|
358 // CPhoneView::Draw |
|
359 // ----------------------------------------------------------------------------- |
|
360 // |
|
361 void CPhoneView::Draw( const TRect& aRect ) const |
|
362 { |
|
363 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::Draw()"); |
|
364 TRect rect = Rect(); |
|
365 |
|
366 if ( !rect.iTl.iY ) |
|
367 { |
|
368 CWindowGc& gc = SystemGc(); |
|
369 |
|
370 // Draw main area. |
|
371 MAknsSkinInstance* skin = AknsUtils::SkinInstance(); |
|
372 MAknsControlContext* cc = AknsDrawUtils::ControlContext( this ); |
|
373 |
|
374 if ( iSecurityMode || |
|
375 !AknsDrawUtils::Background( skin, cc, this, gc, aRect ) ) |
|
376 { |
|
377 gc.SetPenStyle(CGraphicsContext::ENullPen); |
|
378 gc.SetBrushColor( AKN_LAF_COLOR( 0 ) ); // 0 for white |
|
379 gc.SetBrushStyle(CGraphicsContext::ESolidBrush); |
|
380 gc.DrawRect( aRect ); |
|
381 } |
|
382 |
|
383 // Frozen Active Idle background image. |
|
384 // TBD: set member variable from states to prevent display of |
|
385 // image if emergency or security view |
|
386 else if ( iBitmap && ( iBitmap->Handle() != 0 ) ) |
|
387 { |
|
388 gc.BitBlt( TPoint( 0, 0 ), iBitmap ); |
|
389 } |
|
390 } |
|
391 } |
|
392 |
|
393 // ----------------------------------------------------------------------------- |
|
394 // CPhoneView::HandlePointerEventL |
|
395 // ----------------------------------------------------------------------------- |
|
396 // |
|
397 void CPhoneView::HandlePointerEventL( const TPointerEvent& aPointerEvent ) |
|
398 { |
|
399 if ( CapturesPointer() ) |
|
400 { |
|
401 // Point Capture enabled |
|
402 // Modify position of pointerevent so that CBA gets valid data. |
|
403 TPointerEvent pointerEvent = aPointerEvent; |
|
404 TPoint phoneviewPoint = PositionRelativeToScreen(); |
|
405 TPoint buttonGroupPoint = iCba.ButtonGroup()->AsControl()->PositionRelativeToScreen(); |
|
406 |
|
407 TPoint screenPoint = buttonGroupPoint-phoneviewPoint; |
|
408 |
|
409 TPoint styluspoint = aPointerEvent.iPosition; |
|
410 TPoint currentpointer = styluspoint - screenPoint; |
|
411 |
|
412 pointerEvent.iPosition = currentpointer; |
|
413 iCba.ButtonGroup()->AsControl()->HandlePointerEventL( pointerEvent ); |
|
414 } |
|
415 // Calling base class implementation |
|
416 CCoeControl::HandlePointerEventL(aPointerEvent); |
|
417 } |
|
418 |
|
419 // ----------------------------------------------------------------------------- |
|
420 // CPhoneView::ActivateL |
|
421 // ----------------------------------------------------------------------------- |
|
422 // |
|
423 void CPhoneView::ActivateL() |
|
424 { |
|
425 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::ActivateL()"); |
|
426 CCoeControl::ActivateL(); |
|
427 } |
|
428 |
|
429 // ----------------------------------------------------------------------------- |
|
430 // CPhoneView::SizeChanged() |
|
431 // |
|
432 // Expects that the controls are initialised otherwise. |
|
433 // ----------------------------------------------------------------------------- |
|
434 // |
|
435 void CPhoneView::SizeChanged() |
|
436 { |
|
437 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::SizeChanged()"); |
|
438 AknsUtils::RegisterControlPosition( this ); |
|
439 |
|
440 TRect screen; |
|
441 AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EScreen, screen ); |
|
442 iBgContext->SetLayerImage( EPhoneBgFirstLayer, KAknsIIDWallpaper ); |
|
443 iBgContext->SetParentPos( screen.iTl ); |
|
444 iBgContext->SetLayerRect( EPhoneBgFirstLayer, screen ); |
|
445 |
|
446 UpdateControlRect(); |
|
447 } |
|
448 |
|
449 // ----------------------------------------------------------------------------- |
|
450 // CPhoneView::PositionChanged |
|
451 // ----------------------------------------------------------------------------- |
|
452 // |
|
453 void CPhoneView::PositionChanged() |
|
454 { |
|
455 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::PositionChanged()"); |
|
456 AknsUtils::RegisterControlPosition( this ); |
|
457 } |
|
458 |
|
459 // ----------------------------------------------------------------------------- |
|
460 // CPhoneView::FocusChanged |
|
461 // ----------------------------------------------------------------------------- |
|
462 // |
|
463 void CPhoneView::FocusChanged( TDrawNow /*aDrawNow*/ ) |
|
464 { |
|
465 iControl->SetFocus( IsFocused () ); |
|
466 } |
|
467 |
|
468 // ----------------------------------------------------------------------------- |
|
469 // CPhoneView::UpdateControlRect |
|
470 // ----------------------------------------------------------------------------- |
|
471 // |
|
472 void CPhoneView::UpdateControlRect() |
|
473 { |
|
474 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::UpdateControlRect()"); |
|
475 if ( iControl ) |
|
476 { |
|
477 if ( iControl->Rect() != Rect() ) |
|
478 { |
|
479 iControl->SetRect( Rect() ); |
|
480 } |
|
481 } |
|
482 } |
|
483 |
|
484 // ----------------------------------------------------------------------------- |
|
485 // CPhoneView::HandleResourceChangeL |
|
486 // ----------------------------------------------------------------------------- |
|
487 // |
|
488 void CPhoneView::HandleResourceChange( TInt aType ) |
|
489 { |
|
490 __LOGMETHODSTARTEND(EPhoneUIView, "CPhoneView::HandleResourceChange()"); |
|
491 |
|
492 if ( aType == KAknsMessageSkinChange || |
|
493 aType == KEikDynamicLayoutVariantSwitch ) |
|
494 { |
|
495 DrawDeferred(); |
|
496 } |
|
497 } |
|
498 |
|
499 // ----------------------------------------------------------------------------- |
|
500 // CPhoneView::SetSecurityMode |
|
501 // ----------------------------------------------------------------------------- |
|
502 // |
|
503 void CPhoneView::SetSecurityMode ( TBool aStatus ) |
|
504 { |
|
505 if ( iSecurityMode != aStatus ) |
|
506 { |
|
507 iSecurityMode = aStatus; |
|
508 SizeChanged(); |
|
509 } |
|
510 } |
|
511 |
|
512 // ----------------------------------------------------------------------------- |
|
513 // CPhoneView::IsSecurityMode |
|
514 // ----------------------------------------------------------------------------- |
|
515 // |
|
516 TBool CPhoneView::IsSecurityMode() |
|
517 { |
|
518 return iSecurityMode; |
|
519 } |
|
520 |
|
521 // ----------------------------------------------------------------------------- |
|
522 // CPhoneView::GetActivatePreviousApp |
|
523 // ----------------------------------------------------------------------------- |
|
524 // |
|
525 TBool CPhoneView::GetActivatePreviousApp() |
|
526 { |
|
527 return iActivatePreviousApp; |
|
528 } |
|
529 |
|
530 // ----------------------------------------------------------------------------- |
|
531 // CPhoneView::SetActivatePreviousApp |
|
532 // ----------------------------------------------------------------------------- |
|
533 // |
|
534 void CPhoneView::SetActivatePreviousApp( const TBool aStatus ) |
|
535 { |
|
536 __PHONELOG1( EBasic, |
|
537 EPhoneUIView,"CPhoneView::SetActivatePreviousApp() aStatus %d", |
|
538 aStatus ); |
|
539 iActivatePreviousApp = aStatus; |
|
540 } |
|
541 |
|
542 // ----------------------------------------------------------------------------- |
|
543 // CPhoneView::SetPhoneAppViewToDialer |
|
544 // ----------------------------------------------------------------------------- |
|
545 // |
|
546 void CPhoneView::SetPhoneAppViewToDialer( const TBool aStatus ) |
|
547 { |
|
548 __PHONELOG1( EBasic, |
|
549 EPhoneUIView,"CPhoneView::SetPhoneAppViewToDialer() aStatus %d", |
|
550 aStatus ); |
|
551 iPhoneAppViewToDialer = aStatus; |
|
552 } |
|
553 // ----------------------------------------------------------------------------- |
|
554 // CPhoneView::CapturePointerEvents |
|
555 // ----------------------------------------------------------------------------- |
|
556 // |
|
557 void CPhoneView::CapturePointerEvents( const TBool aCapture ) |
|
558 { |
|
559 SetPointerCapture( aCapture ); |
|
560 } |
|
561 |
|
562 // ----------------------------------------------------------------------------- |
|
563 // CPhoneView::PhoneAppViewToDialer |
|
564 // ----------------------------------------------------------------------------- |
|
565 // |
|
566 TBool CPhoneView::PhoneAppViewToDialer() |
|
567 { |
|
568 __PHONELOG1( EBasic, |
|
569 EPhoneUIView,"CPhoneView::PhoneAppViewToDialer() iPhoneAppViewToDialer %d", |
|
570 iPhoneAppViewToDialer ); |
|
571 return iPhoneAppViewToDialer; |
|
572 } |
|
573 |
|
574 // ----------------------------------------------------------------------------- |
|
575 // CPhoneView::SetViewObserver |
|
576 // ----------------------------------------------------------------------------- |
|
577 // |
|
578 void CPhoneView::SetPhoneViewObserver( MPhoneViewObserver& aObserver ) |
|
579 { |
|
580 iObserver = &aObserver; |
|
581 } |
|
582 |
|
583 // ----------------------------------------------------------------------------- |
|
584 // CPhoneView::SetDialerActivation |
|
585 // ----------------------------------------------------------------------------- |
|
586 // |
|
587 void CPhoneView::SetDialerActivation( TBool aActivation ) |
|
588 { |
|
589 __PHONELOG1( EBasic, |
|
590 EPhoneUIView,"CPhoneView::SetDialerActivation() aActivation %d", |
|
591 aActivation ); |
|
592 iDialerActivation = aActivation; |
|
593 } |
|
594 // End of File |
|
595 |