voipplugins/sipconnectionprovider/src/scpsettinghandler.cpp
branchRCL_3
changeset 21 43658d24f35d
parent 15 ed1e38b404e5
child 26 65a3ef1d5bd0
equal deleted inserted replaced
20:be41ab7b952f 21:43658d24f35d
   885 //
   885 //
   886 void CScpSettingHandler::GetServiceIdsL( TUint32 aSipId, 
   886 void CScpSettingHandler::GetServiceIdsL( TUint32 aSipId, 
   887                                          RArray< TUint32 >& aServiceIds ) const
   887                                          RArray< TUint32 >& aServiceIds ) const
   888     {
   888     {
   889     SCPLOGSTRING2( "CScpSettingHandler::GetServiceIdsL sip id: %d", aSipId );
   889     SCPLOGSTRING2( "CScpSettingHandler::GetServiceIdsL sip id: %d", aSipId );
       
   890     
       
   891     CleanupClosePushL( aServiceIds );
   890 
   892 
   891     RArray<TUint32> profileIdArray;
   893     RArray<TUint32> profileIdArray;
   892     CleanupClosePushL( profileIdArray );    
   894     CleanupClosePushL( profileIdArray );    
   893 
   895 
   894     iRcseProfileRegistry->GetAllIdsL( profileIdArray );
   896     iRcseProfileRegistry->GetAllIdsL( profileIdArray );
   915         {
   917         {
   916         User::Leave( KErrNotFound );
   918         User::Leave( KErrNotFound );
   917         }
   919         }
   918 
   920 
   919     CleanupStack::PopAndDestroy( &profileIdArray );
   921     CleanupStack::PopAndDestroy( &profileIdArray );
       
   922     CleanupStack::Pop( &aServiceIds );
   920     }
   923     }
   921 
   924 
   922 // -----------------------------------------------------------------------------
   925 // -----------------------------------------------------------------------------
   923 // CScpSettingHandler::IsVoIPSupported
   926 // CScpSettingHandler::IsVoIPSupported
   924 // -----------------------------------------------------------------------------
   927 // -----------------------------------------------------------------------------