simpleengine/siputils/src/simplesipprofileobserver.cpp
branchRCL_3
changeset 34 2669f8761a99
parent 0 c8caa15ef882
child 35 fbd2e7cec7ef
equal deleted inserted replaced
31:2580314736af 34:2669f8761a99
   270         {
   270         {
   271         iObs.ProfileStateChanged( CSIPConnection::EInactive, KErrNone );
   271         iObs.ProfileStateChanged( CSIPConnection::EInactive, KErrNone );
   272         }     
   272         }     
   273     else if ( aEvent == EProfileUpdated )
   273     else if ( aEvent == EProfileUpdated )
   274         {
   274         {
   275 #ifdef _DEBUG
   275         iObs.ProfileStateChanged( CSIPConnection::EUnavailable, KErrNone );
   276         TSimpleLogger::Log(_L("SipProfileObserver: EProfileUpdated - ProfileEnabled : %d" ), iRegistry->IsEnabled( *iProfile ) );
       
   277         TSimpleLogger::Log(_L("SipProfileObserver: EProfileUpdated - Profile reg er : %d" ), iRegistry->LastRegistrationError( *iProfile ) );
       
   278         TSimpleLogger::Log(_L("SipProfileObserver: EProfileUpdated - IsContextActive : %d" ), iProfile->IsContextActive() );
       
   279 #endif
       
   280 
       
   281         // Notify observer to refresh SIP connection.
       
   282         iObs.ProfileUpdated();
       
   283         }           
   276         }           
   284     else if ( aEvent == EProfileDestroyed )
   277     else if ( aEvent == EProfileDestroyed )
   285         {      
   278         {      
   286         iObs.ProfileStateChanged( CSIPConnection::EUnavailable, KErrNone );
   279         iObs.ProfileStateChanged( CSIPConnection::EUnavailable, KErrNone );
   287         }
   280         }