39 Alf::MulVariantType, public MGlxTextureObserver |
39 Alf::MulVariantType, public MGlxTextureObserver |
40 { |
40 { |
41 public: |
41 public: |
42 |
42 |
43 static GlxThumbnailVariantType* NewL( const TGlxMedia& aMedia, const TSize& aSize, |
43 static GlxThumbnailVariantType* NewL( const TGlxMedia& aMedia, const TSize& aSize, |
44 TBool aIsFocused = EFalse ); |
44 TBool aIsFocused = EFalse, TInt aTextureId = KErrNotFound ); |
45 |
45 |
46 static GlxThumbnailVariantType* NewLC( const TGlxMedia& aMedia, const TSize& aSize, |
46 static GlxThumbnailVariantType* NewLC( const TGlxMedia& aMedia, const TSize& aSize, |
47 TBool aIsFocused = EFalse ); |
47 TBool aIsFocused = EFalse, TInt aTextureId = KErrNotFound); |
48 |
48 |
49 void ConstructL( const TGlxMedia& aMedia, const TSize& aSize, TBool |
49 void ConstructL( const TGlxMedia& aMedia, const TSize& aSize, TBool |
50 aIsFocused = EFalse ); |
50 aIsFocused = EFalse, TInt aTextureId = KErrNotFound); |
51 |
51 |
52 /** constructor |
52 /** constructor |
53 * Create via new (EMM) ... */ |
53 * Create via new (EMM) ... */ |
54 GlxThumbnailVariantType( const TGlxMedia& aMedia, const TSize& aSize, |
54 GlxThumbnailVariantType( const TGlxMedia& aMedia, const TSize& aSize, |
55 TBool aIsFocused = EFalse ); |
55 TBool aIsFocused = EFalse, TInt aTextureId = KErrNotFound); |
56 /** destructor */ |
56 /** destructor */ |
57 ~GlxThumbnailVariantType(); |
57 ~GlxThumbnailVariantType(); |
58 |
58 |
59 void TextureContentChangedL( TBool aHasContent, CAlfTexture* aNewTexture ); |
59 void TextureContentChangedL( TBool aHasContent, CAlfTexture* aNewTexture ); |
60 |
60 |