clock2/clockui/adtupdater/src/adtupdaterappui.cpp
branchRCL_3
changeset 60 96907930389d
parent 0 f979ecb2b13e
child 67 1539a383d7b6
equal deleted inserted replaced
59:aba12c885d83 60:96907930389d
    53     {
    53     {
    54 	__PRINTS( "CAdtUpdaterAppUi::~CAdtUpdaterAppUi - Entry" );
    54 	__PRINTS( "CAdtUpdaterAppUi::~CAdtUpdaterAppUi - Entry" );
    55 	
    55 	
    56 	if( iContainer )
    56 	if( iContainer )
    57 		{	
    57 		{	
       
    58         RemoveFromStack(iContainer);
    58 		delete iContainer;
    59 		delete iContainer;
    59 		iContainer = NULL;
    60 		iContainer = NULL;
    60 		}
    61 		}
    61 	
    62 	
    62 	__PRINTS( "CAdtUpdaterAppUi::~CAdtUpdaterAppUi - Exit" );
    63 	__PRINTS( "CAdtUpdaterAppUi::~CAdtUpdaterAppUi - Exit" );
    86 	if( !iContainer )
    87 	if( !iContainer )
    87 	    {	    	
    88 	    {	    	
    88 	    // Container is not present. Construct and add to the control stack.
    89 	    // Container is not present. Construct and add to the control stack.
    89 	    iContainer = CAdtUpdaterContainer::NewL( ApplicationRect() );
    90 	    iContainer = CAdtUpdaterContainer::NewL( ApplicationRect() );
    90 	    	
    91 	    	
       
    92 	    AddToStackL( iContainer );
    91 		// Get the Nitz information.
    93 		// Get the Nitz information.
    92     	iContainer->InformAboutNwUpdateL();		    	  
    94     	iContainer->InformAboutNwUpdateL();		    	  
    93 	    }         
    95 	    }         
    94 		
    96 		
    95 	__PRINTS( "CAdtUpdaterAppUi::ConstructL - Exit" );
    97 	__PRINTS( "CAdtUpdaterAppUi::ConstructL - Exit" );