vtuis/lcvtplugin/src/base/clcvtsession.cpp
changeset 33 f504698d93b6
parent 27 dcbddbbaf8fd
child 36 f5f903566743
--- a/vtuis/lcvtplugin/src/base/clcvtsession.cpp	Tue Jul 06 14:18:02 2010 +0300
+++ b/vtuis/lcvtplugin/src/base/clcvtsession.cpp	Wed Aug 18 09:50:25 2010 +0300
@@ -266,6 +266,8 @@
             TCallBack( &DelayedHandleLayoutChanged, this ),
             CActive::EPriorityStandard );   
 #endif    
+
+    //iIndicatorCtr = new  ( ELeave ) LcVtIndicatorController();
     __VTPRINTEXIT( "CLcVtSession.ConstructL" )
     
     }
@@ -301,6 +303,10 @@
     
     delete iRemoteDisplayName;
     delete iRemoteDetails;
+//    if (iIndicatorCtr) {
+//        iIndicatorCtr->disableActiveCallIndicator();
+//        delete iIndicatorCtr;
+//    }    
     __VTPRINTEXIT( "CLcVtSession.~CLcVtSession" )
     FeatureManager::UnInitializeLib();  
     }
@@ -443,9 +449,7 @@
 void CLcVtSession::TerminateLcSessionL()
     {
     __VTPRINTENTER( "CLcVtSession.TerminateLcSessionL" )    
-    
     HandleCommandL( EPluginCmdEndActiveCall );
-    
     __VTPRINTEXIT( "CLcVtSession.TerminateLcSessionL" )
     }
 
@@ -942,6 +946,13 @@
         iLocalVideoWindow->SetOrdinalPosition( 1 , priority );
         iRwSession.Flush();
         }
+//    if ( aIsForeground ) {
+//            iIndicatorCtr->disableActiveCallIndicator();
+//        }
+//    else  {
+//            iIndicatorCtr->enableActiveCallIndicator();
+//        }
+
     __VTPRINTEXIT( "CLcVtSession.SetForegroundStatus" )
     
     return KErrNone;