datasourcemodules/bluetoothgpspositioningmodule/btgpsconfig/src/lbsbtgpsconfigimpl.cpp
changeset 60 9a7e3d5f461a
parent 0 9cfd9a3ee49c
child 54 0c2046328c85
equal deleted inserted replaced
51:95c570bf4a05 60:9a7e3d5f461a
   321 			TLbsBtGpsDeviceInfo* devInfo = new (ELeave) TLbsBtGpsDeviceInfo();
   321 			TLbsBtGpsDeviceInfo* devInfo = new (ELeave) TLbsBtGpsDeviceInfo();
   322 			CleanupStack::PushL(devInfo);
   322 			CleanupStack::PushL(devInfo);
   323 			devInfo->SetKey(devRecord.Key());
   323 			devInfo->SetKey(devRecord.Key());
   324 			devInfo->SetAddress(devRecord.SocketAddress().BTAddr());
   324 			devInfo->SetAddress(devRecord.SocketAddress().BTAddr());
   325 			devInfo->SetType(devRecord.Type());
   325 			devInfo->SetType(devRecord.Type());
   326 			aList.Append(devInfo);
   326 			aList.AppendL(devInfo);
   327 			CleanupStack::Pop(devInfo);
   327 			CleanupStack::Pop(devInfo);
   328 			}
   328 			}
   329 		
   329 		
   330 		}
   330 		}
   331 
   331 
   418 
   418 
   419 		// Read the record into the container
   419 		// Read the record into the container
   420 		User::LeaveIfError(ReadDeviceRecord(index, *devRecord));
   420 		User::LeaveIfError(ReadDeviceRecord(index, *devRecord));
   421 
   421 
   422 		// Add to the passes list
   422 		// Add to the passes list
   423 		aRecordList.Append(devRecord);
   423 		aRecordList.AppendL(devRecord);
   424 		
   424 		
   425 		CleanupStack::Pop(devRecord);
   425 		CleanupStack::Pop(devRecord);
   426 		}
   426 		}
   427 
   427 
   428 	// End central repository transaction
   428 	// End central repository transaction