CImageTransformFramework Class Reference

class CImageTransformFramework : public CBase

Inherits from

  • CImageTransformFramework
Private Member Functions
CImageTransformFramework(CImageTransform &, RFs &)
~CImageTransformFramework()
voidCancelTransform()
voidClearFlag(TInt)
voidClearSourceRect()
CImageTransformPlugin *DataNewL(const TDesC8 &, const TUid, const TUid, const TUid)
voidDeletePlugin()
HBufC8 *&DestData()
const TDesC &DestFilename()
TBool DestIsData()
TBool DestIsFilename()
const TSize &DestinationSizeInPixels()
CImageTransformPluginExtension *Extension()
CImageTransformPluginExtension *Extension(TUid, TInt &)
CImageTransformPlugin *FileNewImplL(RFs &, const TDesC &, const TUid, const TUid, const TUid)
CImageTransformPlugin *FindTransformerNewL(const RImplInfoPtrArray &)
TBool FlagSet(TInt)
voidImageTypeGetTransformerListL(RImplInfoPtrArray &, const TDesC8 &, const TUid, const TUid, const TUid)
TBool MaintainAspectRatio()
voidMimeTypeGetTransformerListL(RImplInfoPtrArray &, const TDesC8 &)
TUint NeededPluginFlags()
CImageTransformPlugin *NewImplL(const TDesC8 &)
CImageTransformFramework *NewL(CImageTransform &, RFs &)
TUint Options()
TBool PreserveImageData()
voidReset()
voidSetDestDataL(HBufC8 *&)
voidSetDestFilenameL(const TDesC &)
voidSetDestSizeInPixelsL(const TSize &, TBool)
voidSetFlag(TInt)
voidSetOptionsL(TUint)
voidSetPluginInstanceUidL(TUid)
voidSetPluginUidL(TUid)
voidSetPreserveImageData(TBool)
voidSetSourceDataL(const TDesC8 &)
voidSetSourceFilenameL(const TDesC &)
voidSetSourceImageTypeL(TUid, TUid)
voidSetSourceMimeTypeL(const TDesC8 &)
voidSetSourceRect(const TRect &)
voidSetTransformationsL(TUint)
voidSetupL()
const TDesC8 &SourceData()
const TDesC &SourceFilename()
const TUidSourceImageSubType()
const TUidSourceImageType()
TBool SourceIsData()
TBool SourceIsFilename()
const TDesC8 &SourceMimeType()
TBool SourceRect(TRect &)
voidSuffixTypeGetTransformerListL(RImplInfoPtrArray &, const TDesC &)
voidTransform(TRequestStatus &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Member Enumerations
enumTImageTransformInternalFlags { EFlagMaintainAspectRatio = 0x00000001, EFlagPreserveImageData = 0x00000002, EFlagSourceRectSet = 0x00000004 }
Private Attributes
TImageParameterData iDestImage
TSize iDestinationSize
TInt iFlags
RFs &iFs
CImageTransform &iHandle
TUint iOptions
CImageTransformPlugin *iPlugin
TUid iPluginInstanceUid
TUid iPluginUid
TImageParameterData iSourceImage
TRect iSourceRect
TUint iTransformations

Constructor & Destructor Documentation

CImageTransformFramework(CImageTransform &, RFs &)

CImageTransformFramework(CImageTransform &aHandle,
RFs &aFs
)[private]

Parameters

CImageTransform & aHandle
RFs & aFs

~CImageTransformFramework()

~CImageTransformFramework()[private]

Member Functions Documentation

CancelTransform()

voidCancelTransform()[private]

ClearFlag(TInt)

voidClearFlag(TIntaFlag)[private, inline]

Parameters

TInt aFlag

ClearSourceRect()

voidClearSourceRect()[private]

DataNewL(const TDesC8 &, const TUid, const TUid, const TUid)

CImageTransformPlugin *DataNewL(const TDesC8 &aSourceData,
const TUidaImageType,
const TUidaImageSubType,
const TUidaPluginUid
)[private]

Parameters

const TDesC8 & aSourceData
const TUid aImageType
const TUid aImageSubType
const TUid aPluginUid

DeletePlugin()

voidDeletePlugin()[private]

DestData()

HBufC8 *&DestData()const [private]

DestFilename()

const TDesC &DestFilename()const [private]

DestIsData()

TBool DestIsData()const [private]

DestIsFilename()

TBool DestIsFilename()const [private]

DestinationSizeInPixels()

const TSize &DestinationSizeInPixels()const [private]

Extension()

CImageTransformPluginExtension *Extension()const [private]

Gets a pointer to a plugin extension

panic
EIllegalCallSequence No plugin loaded.

Extension(TUid, TInt &)

CImageTransformPluginExtension *Extension(TUidaExtensionUid,
TInt &aError
)const [private]

Gets a pointer to a plugin extension

panic
EIllegalCallSequence No plugin loaded.

Parameters

TUid aExtensionUidUid of the required extension
TInt & aErrorSystem wide error

FileNewImplL(RFs &, const TDesC &, const TUid, const TUid, const TUid)

CImageTransformPlugin *FileNewImplL(RFs &aFs,
const TDesC &aSourceFilename,
const TUidaImageType,
const TUidaImageSubType,
const TUidaPluginUid
)[private]

Parameters

RFs & aFs
const TDesC & aSourceFilename
const TUid aImageType
const TUid aImageSubType
const TUid aPluginUid

FindTransformerNewL(const RImplInfoPtrArray &)

CImageTransformPlugin *FindTransformerNewL(const RImplInfoPtrArray &aTransformerList)[private]

Parameters

const RImplInfoPtrArray & aTransformerList

FlagSet(TInt)

TBool FlagSet(TIntaFlag)const [private, inline]

Parameters

TInt aFlag

ImageTypeGetTransformerListL(RImplInfoPtrArray &, const TDesC8 &, const TUid, const TUid, const TUid)

voidImageTypeGetTransformerListL(RImplInfoPtrArray &aTransformerList,
const TDesC8 &aImageHeader,
const TUidaImageType,
const TUidaImageSubType,
const TUidaPluginUid
)[private]

Parameters

RImplInfoPtrArray & aTransformerList
const TDesC8 & aImageHeader
const TUid aImageType
const TUid aImageSubType
const TUid aPluginUid

MaintainAspectRatio()

TBool MaintainAspectRatio()const [private]

MimeTypeGetTransformerListL(RImplInfoPtrArray &, const TDesC8 &)

voidMimeTypeGetTransformerListL(RImplInfoPtrArray &aTransformerList,
const TDesC8 &aMIMEType
)[private]

Parameters

RImplInfoPtrArray & aTransformerList
const TDesC8 & aMIMEType

NeededPluginFlags()

TUint NeededPluginFlags()[private]

Gets the flags needed in the plugin

NewImplL(const TDesC8 &)

CImageTransformPlugin *NewImplL(const TDesC8 &aMIMEType)[private]

Parameters

const TDesC8 & aMIMEType

NewL(CImageTransform &, RFs &)

CImageTransformFramework *NewL(CImageTransform &aHandle,
RFs &aFs
)[private, static]

Parameters

CImageTransform & aHandle
RFs & aFs

Options()

TUint Options()const [private]

PreserveImageData()

TBool PreserveImageData()const [private]

Reset()

voidReset()[private]

SetDestDataL(HBufC8 *&)

voidSetDestDataL(HBufC8 *&aDestinationData)[private]

Parameters

HBufC8 *& aDestinationData

SetDestFilenameL(const TDesC &)

voidSetDestFilenameL(const TDesC &aFilename)[private]

Parameters

const TDesC & aFilename

SetDestSizeInPixelsL(const TSize &, TBool)

voidSetDestSizeInPixelsL(const TSize &aDestinationSize,
TBoolaMaintainAspectRatio
)[private]

Parameters

const TSize & aDestinationSize
TBool aMaintainAspectRatio

SetFlag(TInt)

voidSetFlag(TIntaFlag)[private, inline]

Parameters

TInt aFlag

SetOptionsL(TUint)

voidSetOptionsL(TUintaOptions)[private]

Parameters

TUint aOptions

SetPluginInstanceUidL(TUid)

voidSetPluginInstanceUidL(TUidaInstanceUid)[private]

Parameters

TUid aInstanceUid

SetPluginUidL(TUid)

voidSetPluginUidL(TUidaPluginUid)[private]

Parameters

TUid aPluginUid

SetPreserveImageData(TBool)

voidSetPreserveImageData(TBoolaPreserveImageData)[private]

Parameters

TBool aPreserveImageData

SetSourceDataL(const TDesC8 &)

voidSetSourceDataL(const TDesC8 &aData)[private]

Parameters

const TDesC8 & aData

SetSourceFilenameL(const TDesC &)

voidSetSourceFilenameL(const TDesC &aFilename)[private]

Parameters

const TDesC & aFilename

SetSourceImageTypeL(TUid, TUid)

voidSetSourceImageTypeL(TUidaImageType,
TUidaImageSubType
)[private]

Parameters

TUid aImageType
TUid aImageSubType

SetSourceMimeTypeL(const TDesC8 &)

voidSetSourceMimeTypeL(const TDesC8 &aMIMEType)[private]

Parameters

const TDesC8 & aMIMEType

SetSourceRect(const TRect &)

voidSetSourceRect(const TRect &aRect)[private]

Parameters

const TRect & aRect

SetTransformationsL(TUint)

voidSetTransformationsL(TUintaTransformations)[private]

Parameters

TUint aTransformations

SetupL()

voidSetupL()[private]

SourceData()

const TDesC8 &SourceData()const [private]

SourceFilename()

const TDesC &SourceFilename()const [private]

SourceImageSubType()

const TUidSourceImageSubType()const [private]

SourceImageType()

const TUidSourceImageType()const [private]

SourceIsData()

TBool SourceIsData()const [private]

SourceIsFilename()

TBool SourceIsFilename()const [private]

SourceMimeType()

const TDesC8 &SourceMimeType()const [private]

SourceRect(TRect &)

TBool SourceRect(TRect &aRect)const [private]

Parameters

TRect & aRect

SuffixTypeGetTransformerListL(RImplInfoPtrArray &, const TDesC &)

voidSuffixTypeGetTransformerListL(RImplInfoPtrArray &aTransformerList,
const TDesC &aFileName
)[private]

Parameters

RImplInfoPtrArray & aTransformerList
const TDesC & aFileName

Transform(TRequestStatus &)

voidTransform(TRequestStatus &aStatus)[private]

Parameters

TRequestStatus & aStatus

Member Enumerations Documentation

Enum TImageTransformInternalFlags

Enumerators

EFlagMaintainAspectRatio = 0x00000001
EFlagPreserveImageData = 0x00000002
EFlagSourceRectSet = 0x00000004

Member Data Documentation

TImageParameterData iDestImage

TImageParameterData iDestImage[private]

TSize iDestinationSize

TSize iDestinationSize[private]

TInt iFlags

TInt iFlags[private]

RFs & iFs

RFs &iFs[private]

CImageTransform & iHandle

CImageTransform &iHandle[private]

TUint iOptions

TUint iOptions[private]

CImageTransformPlugin * iPlugin

CImageTransformPlugin *iPlugin[private]

TUid iPluginInstanceUid

TUid iPluginInstanceUid[private]

TUid iPluginUid

TUid iPluginUid[private]

TImageParameterData iSourceImage

TImageParameterData iSourceImage[private]

TRect iSourceRect

TRect iSourceRect[private]

TUint iTransformations

TUint iTransformations[private]