realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileState.cpp
branchRCL_3
changeset 9 1e1cc61f56c3
parent 0 307788aac0a8
equal deleted inserted replaced
4:dd3853b8dc3f 9:1e1cc61f56c3
   405 //
   405 //
   406 void CSIPProfileState::NoNewIapAvailable(CSIPProfileCacheItem& /*aItem*/) 
   406 void CSIPProfileState::NoNewIapAvailable(CSIPProfileCacheItem& /*aItem*/) 
   407 	{
   407 	{
   408 	PROFILE_DEBUG1("CSIPProfileState::NoNewIapAvailable")
   408 	PROFILE_DEBUG1("CSIPProfileState::NoNewIapAvailable")
   409 	}
   409 	}
       
   410 
       
   411 // -----------------------------------------------------------------------------
       
   412 // CSIPProfileState::DeregisterWhileRegInProgressL
       
   413 // -----------------------------------------------------------------------------
       
   414 //
       
   415 void CSIPProfileState::DeregisterWhileRegInProgressL(CSIPProfileCacheItem& aItem,
       
   416     CSIPProfileState& aUnregistered)
       
   417     {
       
   418     if ( !iPluginDirector.IsRegisterPending( aItem.UsedProfile() ) )
       
   419         {
       
   420         CSIPConcreteProfile::TStatus status;
       
   421         iPluginDirector.State( status, aItem.UsedProfile() );
       
   422         iPluginDirector.DeregisterL( aItem.UsedProfile() );
       
   423         if ( status == CSIPConcreteProfile::ERegistrationInProgress )
       
   424             {
       
   425             aItem.ChangeStateL( &aUnregistered );
       
   426             }
       
   427         }
       
   428     }