equal
deleted
inserted
replaced
604 // Current selected IDs |
604 // Current selected IDs |
605 // ----------------------------------------------------------------------------- |
605 // ----------------------------------------------------------------------------- |
606 // |
606 // |
607 EXPORT_C void CMPXCollectionPath::SelectionL(RArray<TMPXItemId>& aIds) const |
607 EXPORT_C void CMPXCollectionPath::SelectionL(RArray<TMPXItemId>& aIds) const |
608 { |
608 { |
609 CleanupClosePushL(aIds); |
|
610 aIds.Reset(); |
609 aIds.Reset(); |
611 TInt idCount(iIds.Count()); |
610 TInt idCount(iIds.Count()); |
612 TInt selCount(iSelection.Count()); |
611 TInt selCount(iSelection.Count()); |
613 for (TInt i=0; i<selCount; ++i) |
612 for (TInt i=0; i<selCount; ++i) |
614 { |
613 { |
616 if (idIndex < idCount) |
615 if (idIndex < idCount) |
617 { |
616 { |
618 aIds.AppendL(iIds[idIndex]); |
617 aIds.AppendL(iIds[idIndex]); |
619 } |
618 } |
620 } |
619 } |
621 CleanupStack::Pop(); |
|
622 } |
620 } |
623 |
621 |
624 // ----------------------------------------------------------------------------- |
622 // ----------------------------------------------------------------------------- |
625 // Update the item id at a particular index |
623 // Update the item id at a particular index |
626 // ----------------------------------------------------------------------------- |
624 // ----------------------------------------------------------------------------- |