equal
deleted
inserted
replaced
1534 } |
1534 } |
1535 |
1535 |
1536 return iSearchList->Count(); |
1536 return iSearchList->Count(); |
1537 } |
1537 } |
1538 |
1538 |
1539 // ----------------------------------------------------------------------------- |
|
1540 // CMediaFileHandler::Remove |
|
1541 // Remove an item from list of search reuslt |
|
1542 // ----------------------------------------------------------------------------- |
|
1543 // |
|
1544 void CMediaFileHandler::Remove( TInt aIndex ) |
|
1545 { |
|
1546 if( aIndex >= ResultCount() ) |
|
1547 { |
|
1548 // Invalid index |
|
1549 return; |
|
1550 } |
|
1551 iSearchList->Remove( aIndex ); |
|
1552 } |
|
1553 |
1539 |
1554 // ----------------------------------------------------------------------------- |
1540 // ----------------------------------------------------------------------------- |
1555 // CMediaFileHandler::UnknownArtistCount |
1541 // CMediaFileHandler::UnknownArtistCount |
1556 // |
1542 // |
1557 // Returns 1 if artist has at least one music file without album attribute, |
1543 // Returns 1 if artist has at least one music file without album attribute, |
2952 TInt CSearchList::SearchId() |
2938 TInt CSearchList::SearchId() |
2953 { |
2939 { |
2954 return iSearchId; |
2940 return iSearchId; |
2955 } |
2941 } |
2956 |
2942 |
2957 // ----------------------------------------------------------------------------- |
|
2958 // CSearchList::Remove |
|
2959 // Remove an item from the list of search results |
|
2960 // ----------------------------------------------------------------------------- |
|
2961 // |
|
2962 void CSearchList::Remove( TInt aIndex ) |
|
2963 { |
|
2964 iList.Remove( aIndex ); |
|
2965 } |
|
2966 |
2943 |
2967 // ----------------------------------------------------------------------------- |
2944 // ----------------------------------------------------------------------------- |
2968 // CSearchList::TakeResultL |
2945 // CSearchList::TakeResultL |
2969 // |
2946 // |
2970 // ----------------------------------------------------------------------------- |
2947 // ----------------------------------------------------------------------------- |