equal
deleted
inserted
replaced
314 |
314 |
315 // ----------------------------------------------------------------------------- |
315 // ----------------------------------------------------------------------------- |
316 // CAccSrvServerModel::RemovePhysicalConnectionL |
316 // CAccSrvServerModel::RemovePhysicalConnectionL |
317 // ----------------------------------------------------------------------------- |
317 // ----------------------------------------------------------------------------- |
318 // |
318 // |
319 void CAccSrvServerModel::RemovePhysicalConnection( const TAccPolGenericID& aGenericID ) |
319 TInt CAccSrvServerModel::RemovePhysicalConnection( const TAccPolGenericID& aGenericID ) |
320 { |
320 { |
321 COM_TRACE_( "[AccFW:AccServer] CAccSrvServerModel::RemovePhysicalConnection()" ); |
321 COM_TRACE_( "[AccFW:AccServer] CAccSrvServerModel::RemovePhysicalConnection()" ); |
322 |
322 |
323 TInt index( FindGID( aGenericID, iPhysicalConnectionArray ) ); |
323 TInt index( FindGID( aGenericID, iPhysicalConnectionArray ) ); |
324 |
324 |
327 if ( KErrNotFound != index ) |
327 if ( KErrNotFound != index ) |
328 { |
328 { |
329 iPhysicalConnectionArray.Remove( index ); |
329 iPhysicalConnectionArray.Remove( index ); |
330 } |
330 } |
331 |
331 |
332 COM_TRACE_( "[AccFW:AccServer] CAccSrvServerModel::RemovePhysicalConnection - return void" ); |
332 COM_TRACE_1( "[AccFW:AccServer] CAccSrvServerModel::RemovePhysicalConnection - return %d", index ); |
|
333 |
|
334 return index; |
333 } |
335 } |
334 |
336 |
335 // ----------------------------------------------------------------------------- |
337 // ----------------------------------------------------------------------------- |
336 // CAccSrvServerModel::RemoveConnectionL |
338 // CAccSrvServerModel::RemoveConnectionL |
337 // |
339 // |