equal
deleted
inserted
replaced
285 TInt index = supportedCaptureFormats.Find(orderedFormats[orderedElements]); |
285 TInt index = supportedCaptureFormats.Find(orderedFormats[orderedElements]); |
286 if(KErrNotFound != index) |
286 if(KErrNotFound != index) |
287 { |
287 { |
288 supportedCaptureFormats.Remove(index); |
288 supportedCaptureFormats.Remove(index); |
289 //insert at insertindex position to make sure that value inserted at begening. |
289 //insert at insertindex position to make sure that value inserted at begening. |
290 supportedCaptureFormats.Insert(orderedFormats[orderedElements], insertIndex); |
290 supportedCaptureFormats.InsertL(orderedFormats[orderedElements], insertIndex); |
291 insertIndex++; |
291 insertIndex++; |
292 }//else nothing |
292 }//else nothing |
293 } |
293 } |
294 |
294 |
295 //The formats which are defined in Device Service Extension should not be reported by GetDeviceInfo |
295 //The formats which are defined in Device Service Extension should not be reported by GetDeviceInfo |
348 TInt index = supportedPlaybackFormats.Find(orderedFormats[orderedElements]); |
348 TInt index = supportedPlaybackFormats.Find(orderedFormats[orderedElements]); |
349 if(KErrNotFound != index) |
349 if(KErrNotFound != index) |
350 { |
350 { |
351 supportedPlaybackFormats.Remove(index); |
351 supportedPlaybackFormats.Remove(index); |
352 //insert at insertindex position to make sure that value inserted at begening. |
352 //insert at insertindex position to make sure that value inserted at begening. |
353 supportedPlaybackFormats.Insert(orderedFormats[orderedElements], insertIndex); |
353 supportedPlaybackFormats.InsertL(orderedFormats[orderedElements], insertIndex); |
354 insertIndex++; |
354 insertIndex++; |
355 }//else nothing |
355 }//else nothing |
356 } |
356 } |
357 |
357 |
358 //The formats which are defined in Device Service Extension should not be reported by GetDeviceInfo |
358 //The formats which are defined in Device Service Extension should not be reported by GetDeviceInfo |