photosgallery/viewframework/dataprovider/inc/glxdrmgiftexturecreator.h
branchRCL_3
changeset 75 01504893d9cb
parent 64 34937ec34dac
equal deleted inserted replaced
68:5b238bc8ffb6 75:01504893d9cb
    26 class CImageDecoder;
    26 class CImageDecoder;
    27 class CGlxUiUtility;
    27 class CGlxUiUtility;
    28 class CGlxBinding;
    28 class CGlxBinding;
    29 class TGlxMedia;                            // Reference to a media item in the item pool
    29 class TGlxMedia;                            // Reference to a media item in the item pool
    30 class CAlfEnv;
    30 class CAlfEnv;
       
    31 class CGlxDRMUtility;
       
    32 class CGlxImageViewerManager;
    31 
    33 
    32 namespace Alf
    34 namespace Alf
    33     {
    35     {
    34     class IMulModel;                        // An interface for the data model
    36     class IMulModel;                        // An interface for the data model
    35     class IMulWidget;                       // An interface for all Multimedia widgets
    37     class IMulWidget;                       // An interface for all Multimedia widgets
   111 	 * ProcessImageL
   113 	 * ProcessImageL
   112 	 */
   114 	 */
   113 	void ProcessImageL();
   115 	void ProcessImageL();
   114 	
   116 	
   115 	void SetTexture(TInt aTextureId=KErrNotFound);
   117 	void SetTexture(TInt aTextureId=KErrNotFound);
       
   118 	
       
   119 	/*
       
   120      * Check whether the drm rights are expired or not
       
   121      * for animated gifs.
       
   122      */
       
   123     TBool IsDRMRightsExpiredL();
       
   124     
       
   125     /**
       
   126      * Sets the default or FS texture as initial texture.
       
   127      * Then creates Image decoder & starts image decoding 
       
   128      * if DRM Rights are not expired.
       
   129      */
       
   130     void SetInitialTextureAndStartDecodingL();
   116 
   131 
   117 private:
   132 private:
   118 
   133 
   119     TSize iOrigImageDimensions;
   134     TSize iOrigImageDimensions;
   120     TInt iFrameCount;
   135     TInt iFrameCount;
   144     TBool iAnimateFlag;
   159     TBool iAnimateFlag;
   145     TBool iTransparencyPossible;
   160     TBool iTransparencyPossible;
   146     TFrameInfo iFrameInfo;
   161     TFrameInfo iFrameInfo;
   147     TBool iFrameShift;
   162     TBool iFrameShift;
   148     MGlxMediaList& iMediaList;
   163     MGlxMediaList& iMediaList;
       
   164 	
       
   165 	/** Poniter to instance of DRM utility (owned) */
       
   166     CGlxDRMUtility* iDrmUtility; 
       
   167     /** For image viewer, not own */
       
   168     CGlxImageViewerManager* iImageViewerInstance;
   149     };
   169     };
   150 #endif /* GLXDRMGIFTEXTURECREATOR_H_ */
   170 #endif /* GLXDRMGIFTEXTURECREATOR_H_ */