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