photosgallery/viewframework/dataprovider/inc/glxmulthumbnailvarianttype.h
branchRCL_3
changeset 32 78ad99c24f08
parent 9 6b87b143d312
child 56 b023a8d2866a
equal deleted inserted replaced
30:a60acebbbd9d 32:78ad99c24f08
    23 #define _GLXTHUMBNAILVARIANTTYPE_H_
    23 #define _GLXTHUMBNAILVARIANTTYPE_H_
    24 
    24 
    25 #include <e32base.h>                  // Container Base Class
    25 #include <e32base.h>                  // Container Base Class
    26 #include <mul/mulvarianttype.h>       // Observer interface used to be notified when texture content changes
    26 #include <mul/mulvarianttype.h>       // Observer interface used to be notified when texture content changes
    27 #include "mglxtextureobserver.h"      // Observer interface used to be notified when texture content changes
    27 #include "mglxtextureobserver.h"      // Observer interface used to be notified when texture content changes
       
    28 #include <glximageviewermanager.h>
    28 
    29 
    29 class TGlxMedia;                      // Reference to a media item in the item pool.
    30 class TGlxMedia;                      // Reference to a media item in the item pool.
    30 class CGlxUiUtility;                  // Alf utils ; lib glxalfutils.lib
    31 class CGlxUiUtility;                  // Alf utils ; lib glxalfutils.lib
    31 class TSize;                          // Stores a two-dimensional size as a width and a height value
    32 class TSize;                          // Stores a two-dimensional size as a width and a height value
    32 class CGlxDRMUtility;
    33 class CGlxDRMUtility;
    80      * @param aSize Size of the Thumbnail.
    81      * @param aSize Size of the Thumbnail.
    81      * @return ETrue if the requested size thumbnail present.
    82      * @return ETrue if the requested size thumbnail present.
    82      */     
    83      */     
    83      TBool HasRelevantThumbnail(const TGlxMedia& aMedia, 
    84      TBool HasRelevantThumbnail(const TGlxMedia& aMedia, 
    84                                      const TSize& aSize);
    85                                      const TSize& aSize);
       
    86      /**
       
    87       * Create Image Viewer manager Instance
       
    88       */
       
    89      void CreateImageViewerInstanceL();
       
    90      
       
    91      /**
       
    92       * Delete Image Viewer manager Instance
       
    93       */
       
    94      void DeleteImageViewerInstance();
       
    95 
    85         
    96         
    86 private:
    97 private:
    87     int mTextureId;
    98     int mTextureId;
    88     CGlxUiUtility* iUiUtility;
    99     CGlxUiUtility* iUiUtility;
    89     /** Poniter to instance of DRM utility (owned) */
   100     /** Poniter to instance of DRM utility (owned) */
    90     CGlxDRMUtility* iDrmUtility; 
   101     CGlxDRMUtility* iDrmUtility; 
       
   102     /** For image viewer, not own */
       
   103     CGlxImageViewerManager* iImageViewerInstance;
    91     };  
   104     };  
    92 
   105 
    93 /**
   106 /**
    94  *
   107  *
    95  */
   108  */