diff -r f9e827349359 -r b023a8d2866a photosgallery/viewframework/texturemanager/inc/glxtexturemanager.h --- a/photosgallery/viewframework/texturemanager/inc/glxtexturemanager.h Mon Jun 21 15:40:32 2010 +0300 +++ b/photosgallery/viewframework/texturemanager/inc/glxtexturemanager.h Thu Jul 15 18:39:01 2010 +0300 @@ -245,6 +245,17 @@ * @param aState Animation state [ETrue to Start, EFalse to Stop] */ IMPORT_C void AnimateMediaItem(const TGlxMediaId& aMediaId, TBool aState); + + /** + * Creates textures for the given GIF media + * @param aMedia The media item + * @param aIdSpaceId The Id of the Id space in which the media Id is defined + * @param aFrameNumber frame number of gif media + * @param aBitmap Bitmap for the particular frame + * @return Created texture: ownership transfered + */ + IMPORT_C CAlfTexture& CreateDRMAnimatedGifTextureL(const TGlxMedia& aMedia, + TGlxIdSpaceId aIdSpaceId, TInt aFrameNumber, CFbsBitmap* aBitmap, CFbsBitmap* aBitmapMask); public: // from MGlxSkinChangeObserver