musicplayer_plat/mpx_music_player_commonui_api/inc/mpxalbumartutil.h
branchRCL_3
changeset 26 70a8526f03f2
parent 15 171e07ac910f
equal deleted inserted replaced
21:a1247965635c 26:70a8526f03f2
    52     *              attributes:
    52     *              attributes:
    53     *              TMPXAttribute( KMPXMediaIdMusic, EMPXMediaMusicAlbumArtFileName )
    53     *              TMPXAttribute( KMPXMediaIdMusic, EMPXMediaMusicAlbumArtFileName )
    54     *              TMPXAttribute( KMPXMediaIdGeneral, EMPXMediaGeneralUri )
    54     *              TMPXAttribute( KMPXMediaIdGeneral, EMPXMediaGeneralUri )
    55     * @param aObs callback after the operation completed.
    55     * @param aObs callback after the operation completed.
    56     * @param aSize The size of the required destination BMP.
    56     * @param aSize The size of the required destination BMP.
       
    57     * @param aLargestFromCache ETrue, get the largest available from image cache, EFalse
       
    58     *                          get the size specified in aSize.
    57     * @param aDisplayMode the display mode of the destination BMP
    59     * @param aDisplayMode the display mode of the destination BMP
    58     * @return bitmap object
    60     * @return bitmap object
    59     */
    61     */
    60     IMPORT_C void ExtractAlbumArtL(const CMPXMedia& aProp,
    62     IMPORT_C void ExtractAlbumArtL(const CMPXMedia& aProp,
    61                                    MMPXAlbumArtUtilObserver& aObs,
    63                                    MMPXAlbumArtUtilObserver& aObs,
    62                                    const TSize& aSize,
    64                                    const TSize& aSize,
       
    65                                    TBool aLargestFromCache = ETrue,
    63                                    TDisplayMode aDisplayMode = EColor64K);
    66                                    TDisplayMode aDisplayMode = EColor64K);
    64 
    67 
    65    /**
    68    /**
    66     * Cancel outstanding asynch requests
    69     * Cancel outstanding asynch requests
    67     * @since S60 3.2.3
    70     * @since S60 3.2.3
   122 private:
   125 private:
   123     CMPXImageUtil* iArtUtil;
   126     CMPXImageUtil* iArtUtil;
   124     CThumbnailManager*          iThumbnailManager;      // Owned
   127     CThumbnailManager*          iThumbnailManager;      // Owned
   125     TDisplayMode            iDisplayMode ; //Owned
   128     TDisplayMode            iDisplayMode ; //Owned
   126     TSize                       iImageSize;
   129     TSize                       iImageSize;
   127     TSize                       iFullScreenImageSize;
       
   128     TSize                       iGridViewImageSize;
       
   129     TInt iReqId;
   130     TInt iReqId;
   130     HBufC* iFilename;
   131     HBufC* iFilename;
   131     MMPXAlbumArtUtilObserver* iObserver;
   132     MMPXAlbumArtUtilObserver* iObserver;
   132     };
   133     };
   133 
   134