supl/locationomasuplprotocolhandler/protocolhandlerver1/src/epos_comasupletelnotifier.cpp
branchRCL_3
changeset 20 2b4ea9893b66
parent 4 42de37ce7ce4
child 21 6b6920c56e2f
equal deleted inserted replaced
19:02ba3f1733c6 20:2b4ea9893b66
   114 // -----------------------------------------------------------------------------
   114 // -----------------------------------------------------------------------------
   115 //
   115 //
   116 void COMASuplETelNotifier::CheckForRoaming()
   116 void COMASuplETelNotifier::CheckForRoaming()
   117     {
   117     {
   118 	iTrace->Trace(_L("COMASuplETelNotifier::CheckForRoaming..."),KTraceFileName, __LINE__); 							
   118 	iTrace->Trace(_L("COMASuplETelNotifier::CheckForRoaming..."),KTraceFileName, __LINE__); 							
   119     if( !IsActive() )
   119      if( !IsActive() )
   120     	{
   120     	{
   121     	iCellMode = EOMASuplCellIdHome;
   121     	iCellMode = EOMASuplCellIdHome;
   122     	iPhone.GetHomeNetwork( iStatus, iHomeNetworkInfoPkg);
   122     	iPhone.GetHomeNetwork( iStatus, iHomeNetworkInfoPkg);
   123     	SetActive();    
   123     	SetActive();    
   124     	} 
   124     	}              
   125     }  
   125     }  
   126       
   126       
   127 // -----------------------------------------------------------------------------
   127 // -----------------------------------------------------------------------------
   128 // COMASuplETelNotifier::CheckForRoaming,For retriving the cell id information
   128 // COMASuplETelNotifier::CheckForRoaming,For retriving the cell id information
   129 // (other items were commented in a header).
   129 // (other items were commented in a header).
   135     if( !IsActive() )
   135     if( !IsActive() )
   136     	{
   136     	{
   137     	iCellMode = EOMASuplCellIdCurrent;
   137     	iCellMode = EOMASuplCellIdCurrent;
   138     	iPhone.GetCurrentNetwork( iStatus, iNetworkInfoPkg, iLocationInfo );
   138     	iPhone.GetCurrentNetwork( iStatus, iNetworkInfoPkg, iLocationInfo );
   139     	SetActive();  
   139     	SetActive();  
   140     	}
   140     	}               
   141     }  
   141     }  
   142 
   142 
   143 // -----------------------------------------------------------------------------
   143 // -----------------------------------------------------------------------------
   144 // COMASuplETelNotifier::CheckForRoaming,For retriving the cell id information
   144 // COMASuplETelNotifier::CheckForRoaming,For retriving the cell id information
   145 // (other items were commented in a header).
   145 // (other items were commented in a header).
   151     if( !IsActive() )
   151     if( !IsActive() )
   152     	{
   152     	{
   153     	iCellMode = EOMASuplCellIdNotify;
   153     	iCellMode = EOMASuplCellIdNotify;
   154     	iPhone.NotifyCurrentNetworkChange( iStatus, iNetworkInfoPkg, iLocationInfo );
   154     	iPhone.NotifyCurrentNetworkChange( iStatus, iNetworkInfoPkg, iLocationInfo );
   155     	SetActive();   
   155     	SetActive();   
   156     	}
   156     	}              
   157     }  
   157     }  
   158       
   158       
   159 // -----------------------------------------------------------------------------
   159 // -----------------------------------------------------------------------------
   160 // COMASuplETelNotifier::RunL
   160 // COMASuplETelNotifier::RunL
   161 // (other items were commented in a header).
   161 // (other items were commented in a header).