convergedconnectionhandler/cchclientapi/cchuinotif/src/cchuinotifconnectionhandler.cpp
branchRCL_3
changeset 21 43658d24f35d
parent 0 a4daefaec16c
child 22 df4dfb214df5
equal deleted inserted replaced
20:be41ab7b952f 21:43658d24f35d
     1 /*
     1 /*
     2 * Copyright (c) 2008-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   208     RArray<TUint32>& aIapIds, TUint32 aDestinationId )
   208     RArray<TUint32>& aIapIds, TUint32 aDestinationId )
   209     {    
   209     {    
   210     CCHUIDEBUG( 
   210     CCHUIDEBUG( 
   211         "CCchUiNotifConnectionHandler::GetAccessPointsFromSnapL - IN" );
   211         "CCchUiNotifConnectionHandler::GetAccessPointsFromSnapL - IN" );
   212 
   212 
       
   213     CleanupClosePushL(aIapIds);
       
   214     
   213     RCmDestinationExt destination = 
   215     RCmDestinationExt destination = 
   214                 iCmManagerExt.DestinationL( aDestinationId );
   216                 iCmManagerExt.DestinationL( aDestinationId );
   215     CleanupClosePushL( destination );
   217     CleanupClosePushL( destination );
   216     
   218     
   217     for ( TInt index = 0 ; 
   219     for ( TInt index = 0 ; 
   224         aIapIds.AppendL( iapId );
   226         aIapIds.AppendL( iapId );
   225         CleanupStack::PopAndDestroy( &connMethod );
   227         CleanupStack::PopAndDestroy( &connMethod );
   226         }
   228         }
   227 
   229 
   228     CleanupStack::PopAndDestroy( &destination );
   230     CleanupStack::PopAndDestroy( &destination );
       
   231     CleanupStack::Pop();
   229     
   232     
   230     CCHUIDEBUG( 
   233     CCHUIDEBUG( 
   231         "CCchUiNotifConnectionHandler::GetAccessPointsFromSnapL - OUT" );
   234         "CCchUiNotifConnectionHandler::GetAccessPointsFromSnapL - OUT" );
   232     }
   235     }
   233 
   236