vtuis/lcvtplugin/src/base/clcvtsession.cpp
changeset 41 f65a18712d2e
parent 27 dcbddbbaf8fd
child 36 f5f903566743
equal deleted inserted replaced
28:e26add186222 41:f65a18712d2e
   264     iLayoutChangeCallback =
   264     iLayoutChangeCallback =
   265         new ( ELeave ) CAsyncCallBack(
   265         new ( ELeave ) CAsyncCallBack(
   266             TCallBack( &DelayedHandleLayoutChanged, this ),
   266             TCallBack( &DelayedHandleLayoutChanged, this ),
   267             CActive::EPriorityStandard );   
   267             CActive::EPriorityStandard );   
   268 #endif    
   268 #endif    
       
   269 
       
   270     //iIndicatorCtr = new  ( ELeave ) LcVtIndicatorController();
   269     __VTPRINTEXIT( "CLcVtSession.ConstructL" )
   271     __VTPRINTEXIT( "CLcVtSession.ConstructL" )
   270     
   272     
   271     }
   273     }
   272 
   274 
   273 // -----------------------------------------------------------------------------
   275 // -----------------------------------------------------------------------------
   299     delete iLocalVideoPlayer;
   301     delete iLocalVideoPlayer;
   300     delete iRemoteVideoPlayer;
   302     delete iRemoteVideoPlayer;
   301     
   303     
   302     delete iRemoteDisplayName;
   304     delete iRemoteDisplayName;
   303     delete iRemoteDetails;
   305     delete iRemoteDetails;
       
   306 //    if (iIndicatorCtr) {
       
   307 //        iIndicatorCtr->disableActiveCallIndicator();
       
   308 //        delete iIndicatorCtr;
       
   309 //    }    
   304     __VTPRINTEXIT( "CLcVtSession.~CLcVtSession" )
   310     __VTPRINTEXIT( "CLcVtSession.~CLcVtSession" )
   305     FeatureManager::UnInitializeLib();  
   311     FeatureManager::UnInitializeLib();  
   306     }
   312     }
   307 
   313 
   308 #ifndef NGA_VIDEO_RENDER
   314 #ifndef NGA_VIDEO_RENDER
   441     }
   447     }
   442 
   448 
   443 void CLcVtSession::TerminateLcSessionL()
   449 void CLcVtSession::TerminateLcSessionL()
   444     {
   450     {
   445     __VTPRINTENTER( "CLcVtSession.TerminateLcSessionL" )    
   451     __VTPRINTENTER( "CLcVtSession.TerminateLcSessionL" )    
   446     
       
   447     HandleCommandL( EPluginCmdEndActiveCall );
   452     HandleCommandL( EPluginCmdEndActiveCall );
   448     
       
   449     __VTPRINTEXIT( "CLcVtSession.TerminateLcSessionL" )
   453     __VTPRINTEXIT( "CLcVtSession.TerminateLcSessionL" )
   450     }
   454     }
   451 
   455 
   452 MLcVideoPlayer* CLcVtSession::RemoteVideoPlayer()
   456 MLcVideoPlayer* CLcVtSession::RemoteVideoPlayer()
   453     {
   457     {
   940         iRwGroup->SetOrdinalPosition( 1 , priority );
   944         iRwGroup->SetOrdinalPosition( 1 , priority );
   941         iRemoteVideoWindow->SetOrdinalPosition( 1 , priority );
   945         iRemoteVideoWindow->SetOrdinalPosition( 1 , priority );
   942         iLocalVideoWindow->SetOrdinalPosition( 1 , priority );
   946         iLocalVideoWindow->SetOrdinalPosition( 1 , priority );
   943         iRwSession.Flush();
   947         iRwSession.Flush();
   944         }
   948         }
       
   949 //    if ( aIsForeground ) {
       
   950 //            iIndicatorCtr->disableActiveCallIndicator();
       
   951 //        }
       
   952 //    else  {
       
   953 //            iIndicatorCtr->enableActiveCallIndicator();
       
   954 //        }
       
   955 
   945     __VTPRINTEXIT( "CLcVtSession.SetForegroundStatus" )
   956     __VTPRINTEXIT( "CLcVtSession.SetForegroundStatus" )
   946     
   957     
   947     return KErrNone;   
   958     return KErrNone;   
   948 }
   959 }
   949 
   960