419 void GetSongsForComposerL(TUint aComposerId, const TArray<TMPXAttribute>& aAttrs, |
419 void GetSongsForComposerL(TUint aComposerId, const TArray<TMPXAttribute>& aAttrs, |
420 CMPXMediaArray& aMediaArray); |
420 CMPXMediaArray& aMediaArray); |
421 |
421 |
422 |
422 |
423 #ifdef ABSTRACTAUDIOALBUM_INCLUDED |
423 #ifdef ABSTRACTAUDIOALBUM_INCLUDED |
424 /** |
424 /** |
425 * Returns all songs for a given abstractalbum. |
425 * Returns all songs for a given abstractalbum. |
426 * @param aDrive drive ID AbstractAlbum stored |
|
427 * @param aAbstractAlbumId abstractalbum to get the songs for |
426 * @param aAbstractAlbumId abstractalbum to get the songs for |
428 * @param aAttrs attributes to be retrieved |
427 * @param aAttrs attributes to be retrieved |
429 * @param aMediaArray returns the song attributes. |
428 * @param aMediaArray returns the song attributes. |
430 */ |
429 */ |
431 void GetAllSongsForAbstractAlbumL(TInt aDrive, TInt aAbstractAlbumId, |
430 void GetAllSongsForAbstractAlbumL(TUint aAbstractAlbumId, |
432 const TArray<TMPXAttribute>& aAttrs, CMPXMediaArray& aMediaArray); |
431 const TArray<TMPXAttribute>& aAttrs, CMPXMediaArray& aMediaArray); |
433 #endif // ABSTRACTAUDIOALBUM_INCLUDED |
432 #endif // ABSTRACTAUDIOALBUM_INCLUDED |
434 /** |
433 /** |
435 * Returns the duration of all songs. |
434 * Returns the duration of all songs. |
436 * @return the duration value |
435 * @return the duration value |
677 TBool UpdateCategoryFieldL(TMPXGeneralCategory aCategory, const CMPXMedia& aMedia, |
676 TBool UpdateCategoryFieldL(TMPXGeneralCategory aCategory, const CMPXMedia& aMedia, |
678 const TMPXAttribute& aAttribute, TUint32 aOldId, TInt aDriveId, |
677 const TMPXAttribute& aAttribute, TUint32 aOldId, TInt aDriveId, |
679 CMPXMessageArray* aItemChangedMessages, TUint32& aItemId); |
678 CMPXMessageArray* aItemChangedMessages, TUint32& aItemId); |
680 |
679 |
681 TBool UpdateCategoryFieldL(TMPXGeneralCategory aCategory, const CMPXMedia& aMedia, |
680 TBool UpdateCategoryFieldL(TMPXGeneralCategory aCategory, const CMPXMedia& aMedia, |
682 const TMPXAttribute& aAttribute, TUint32 aOldId, TInt aDriveId, |
681 const TMPXAttribute& aAttribute, TUint32 aOldId, TInt aDriveId, |
683 CMPXMessageArray* aItemChangedMessages, TUint32& aItemId, TUint32 aArtistId); |
682 CMPXMessageArray* aItemChangedMessages, TUint32& aItemId, TUint32 aArtistId); |
684 /** |
683 /** |
685 * Checks if extra attributes are required. The "standard attribute set includes: |
684 * Checks if extra attributes are required. The "standard attribute set includes: |
686 * EMPXMediaGeneralId, EMPXMediaGeneralType, EMPXMediaGeneralCategory, |
685 * EMPXMediaGeneralId, EMPXMediaGeneralType, EMPXMediaGeneralCategory, |
687 * EMPXMediaGeneralTitle, EMPXMediaGeneralUri, and EMPXMediaGeneralFlags |
686 * EMPXMediaGeneralTitle, EMPXMediaGeneralUri, and EMPXMediaGeneralFlags |
688 * @param aAttrs attributes to be checked |
687 * @param aAttrs attributes to be checked |
694 * Test whether the given media contains any supported attribute |
693 * Test whether the given media contains any supported attribute |
695 * @param aMedia media to be tested |
694 * @param aMedia media to be tested |
696 * @return ETrue if the media contains one or more supported attribute; |
695 * @return ETrue if the media contains one or more supported attribute; |
697 * otherwise EFalse. |
696 * otherwise EFalse. |
698 */ |
697 */ |
699 TBool IsSupported(const CMPXMedia& aMedia); |
698 TBool IsSupported(const CMPXMedia& aMedia); |
700 |
699 |
701 private: // from MMPXTable |
700 private: // from MMPXTable |
702 |
701 |
703 /** |
702 /** |
704 * @see MMPXTable |
703 * @see MMPXTable |