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()

voidCancelRequest()

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

DoCancel()

voidDoCancel()[private, virtual]

Cancellation of an outstanding request.

NewL(MMPXAlbumArtUtilObserver &)

CMPXImageUtil *NewL(MMPXAlbumArtUtilObserver &aObserver)[static]

Two-phased constructor.

Parameters

MMPXAlbumArtUtilObserver & aObserverablum art observer

RunL()

voidRunL()[private, virtual]

Handles an active object s request completion event.

ScaleL()

voidScaleL()[private]

Scales iBitmap to iSize

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

voidStartToDecodeL(const TDesC &aFileName,
const TSize &aSize,
TDisplayModeaDisplayMode = EColor64K
)

Parameters

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

StartToDecodeL(const TSize &, HBufC8 *, TDisplayMode)

voidStartToDecodeL(const TSize &aSize,
HBufC8 *aAlbumArt,
TDisplayModeaDisplayMode = 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]