mmsharing/mmshui/src/musuiappui.cpp
branchRCL_3
changeset 41 755f0370535b
parent 35 6c57ef9392d2
equal deleted inserted replaced
38:ac48f0cc9f9c 41:755f0370535b
    50 // -----------------------------------------------------------------------------
    50 // -----------------------------------------------------------------------------
    51 //
    51 //
    52 void CMusUiAppUi::ConstructL()
    52 void CMusUiAppUi::ConstructL()
    53     {
    53     {
    54     MUS_LOG( "mus: [MUSUI ]  -> CMusUiAppUi::ConstructL" );
    54     MUS_LOG( "mus: [MUSUI ]  -> CMusUiAppUi::ConstructL" );
    55     BaseConstructL( EAknEnableSkin | EAppOrientationAutomatic | EAknEnableMSK 
    55     BaseConstructL( EAknEnableSkin | EAppOrientationAutomatic | EAknEnableMSK );
    56     		      | EAknSingleClickCompatible );
       
    57     
    56     
    58     iResourceHandler = CMusUiResourceHandler::NewL( *this );
    57     iResourceHandler = CMusUiResourceHandler::NewL( *this );
    59     MultimediaSharing::TMusUseCase usecase = MusUiStartController::ReadUseCaseL();
    58     MultimediaSharing::TMusUseCase usecase = MusUiStartController::ReadUseCaseL();
    60     iResourceHandler->CheckInitialOrientationL(usecase);
    59     iResourceHandler->CheckInitialOrientationL(usecase);
    61     
    60     
   507 
   506 
   508         RemoveView( KMusUidLiveSharingView );
   507         RemoveView( KMusUidLiveSharingView );
   509         RemoveView( KMusUidClipSharingView );
   508         RemoveView( KMusUidClipSharingView );
   510         RemoveView( KMusUidReceivingView );
   509         RemoveView( KMusUidReceivingView );
   511 
   510 
   512         iExiting = EFalse;
       
   513         
       
   514         User::Exit( KErrNone );
   511         User::Exit( KErrNone );
   515         }
   512         }
   516     MUS_LOG( "mus: [MUSUI ]  <- CMusUiAppUi::HandleExit" );
   513     MUS_LOG( "mus: [MUSUI ]  <- CMusUiAppUi::HandleExit" );
   517     }
   514     }
   518 
   515 
   774                                static_cast<CMusUiGeneralView*>( iView );
   771                                static_cast<CMusUiGeneralView*>( iView );
   775         activatedView->HandleCommandL( EMusuiCmdViewVolumeChanged );
   772         activatedView->HandleCommandL( EMusuiCmdViewVolumeChanged );
   776         }
   773         }
   777 
   774 
   778     }
   775     }
   779 
       
   780 
       
   781 // -----------------------------------------------------------------------------
       
   782 // 
       
   783 // -----------------------------------------------------------------------------
       
   784 //
       
   785 void CMusUiAppUi::SetExitingFlag()
       
   786 	{
       
   787 	iExiting = ETrue;
       
   788 	}
       
   789 
       
   790 
       
   791 // -----------------------------------------------------------------------------
       
   792 // 
       
   793 // -----------------------------------------------------------------------------
       
   794 //
       
   795 TBool CMusUiAppUi::IsExiting ()
       
   796 	{
       
   797 	return iExiting;
       
   798 	}
       
   799 // end of file
   776 // end of file