CMPXImageUtil Class Reference

class CMPXImageUtil : public CActive

Image Conversion Class.

Inherits from

Constructor & Destructor Documentation

CMPXImageUtil(MMPXAlbumArtUtilObserver &)

CMPXImageUtil ( MMPXAlbumArtUtilObserver & aObserver ) [private]

C++ default constructor.

Parameters

MMPXAlbumArtUtilObserver & aObserver

~CMPXImageUtil()

~CMPXImageUtil ( )

Destructor.

Member Functions Documentation

CalculateDecodeSize(const TSize &)

TSize CalculateDecodeSize ( const TSize & aSize ) [private]

Parameters

const TSize & aSize

CancelRequest()

void CancelRequest ( )

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

DoCancel()

void DoCancel ( ) [private, virtual]

Cancellation of an outstanding request.

NewL(MMPXAlbumArtUtilObserver &)

CMPXImageUtil * NewL ( MMPXAlbumArtUtilObserver & aObserver ) [static]

Two-phased constructor.

Parameters

MMPXAlbumArtUtilObserver & aObserver ablum art observer

RunL()

void RunL ( ) [private, virtual]

Handles an active object s request completion event.

ScaleL()

void ScaleL ( ) [private]

Scales iBitmap to iSize

StartToDecodeL(const TDesC &, const TSize &, TDisplayMode)

void StartToDecodeL ( const TDesC & aFileName,
const TSize & aSize,
TDisplayMode aDisplayMode = EColor64K
)

Parameters

const TDesC & aFileName
const TSize & aSize
TDisplayMode aDisplayMode = EColor64K

StartToDecodeL(const TSize &, HBufC8 *, TDisplayMode)

void StartToDecodeL ( const TSize & aSize,
HBufC8 * aAlbumArt,
TDisplayMode aDisplayMode = EColor64K
)

Parameters

const TSize & aSize
HBufC8 * aAlbumArt
TDisplayMode aDisplayMode = EColor64K

Member Enumerations Documentation

Enum TState

Enumerators

EIdle = 0
EDecoding
EScaling

Member Data Documentation

CFbsBitmap * iBitmap

CFbsBitmap * iBitmap [private]

RFs iFs

RFs iFs [private]

HBufC8 * iImageData

HBufC8 * iImageData [private]

CImageDecoder * iImageDecoder

CImageDecoder * iImageDecoder [private]

MMPXAlbumArtUtilObserver & iObserver

MMPXAlbumArtUtilObserver & iObserver [private]

TBool iScaleRquired

TBool iScaleRquired [private]

CBitmapScaler * iScaler

CBitmapScaler * iScaler [private]

TSize iSize

TSize iSize [private]

TState iState

TState iState [private]