voipplugins/sipconnectionprovider/ipvoicemailengine/src/ipvmbxengine.cpp
branchRCL_3
changeset 10 ed1e38b404e5
parent 0 a4daefaec16c
child 14 be41ab7b952f
equal deleted inserted replaced
9:bddb6d4447db 10:ed1e38b404e5
   416 //
   416 //
   417 // ---------------------------------------------------------------------------
   417 // ---------------------------------------------------------------------------
   418 //
   418 //
   419 void CIpVmbxEngine::UnsubscribeProfileL( TUint32 aServiceProviderId )
   419 void CIpVmbxEngine::UnsubscribeProfileL( TUint32 aServiceProviderId )
   420     {
   420     {
       
   421     IPVMEPRINT2( "CIpVmbxEngine::UnsubscribeProfileL: %d - IN", 
       
   422 	    aServiceProviderId );
       
   423     
   421     CIpVmbxBase* subscription( SubscriptionByProvider( aServiceProviderId ) );
   424     CIpVmbxBase* subscription( SubscriptionByProvider( aServiceProviderId ) );
   422     if ( !subscription )
   425     if ( !subscription )
   423         {
   426         {
   424         User::Leave( KErrNotFound );
   427         User::Leave( KErrNotFound );
   425         }
   428         }
       
   429     
       
   430     IPVMEPRINT2( "CIpVmbxEngine::UnsubscribeProfileL: state=%d",
       
   431 	    subscription->State() );
   426 
   432 
   427     switch( subscription->State() )
   433     switch( subscription->State() )
   428         {
   434         {
   429         case CIpVmbxBase::ERegistered:
   435         case CIpVmbxBase::ERegistered:
   430             {
   436             {