CImageTransformFramework Class Reference
class CImageTransformFramework : public CBase
|
Private Member Functions
|
|
CImageTransformFramework
(
CImageTransform
&,
RFs
&)
|
|
~CImageTransformFramework
()
|
void
|
CancelTransform
()
|
void
|
ClearFlag
(
TInt
)
|
void
|
ClearSourceRect
()
|
CImageTransformPlugin
*
|
DataNewL
(const
TDesC8
&, const
TUid
, const
TUid
, const
TUid
)
|
void
|
DeletePlugin
()
|
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
)
|
void
|
ImageTypeGetTransformerListL
(
RImplInfoPtrArray
&, const
TDesC8
&, const
TUid
, const
TUid
, const
TUid
)
|
TBool
|
MaintainAspectRatio
()
|
void
|
MimeTypeGetTransformerListL
(
RImplInfoPtrArray
&, const
TDesC8
&)
|
TUint
|
NeededPluginFlags
()
|
CImageTransformPlugin
*
|
NewImplL
(const
TDesC8
&)
|
CImageTransformFramework
*
|
NewL
(
CImageTransform
&,
RFs
&)
|
TUint
|
Options
()
|
TBool
|
PreserveImageData
()
|
void
|
Reset
()
|
void
|
SetDestDataL
(
HBufC8
*&)
|
void
|
SetDestFilenameL
(const
TDesC
&)
|
void
|
SetDestSizeInPixelsL
(const
TSize
&,
TBool
)
|
void
|
SetFlag
(
TInt
)
|
void
|
SetOptionsL
(
TUint
)
|
void
|
SetPluginInstanceUidL
(
TUid
)
|
void
|
SetPluginUidL
(
TUid
)
|
void
|
SetPreserveImageData
(
TBool
)
|
void
|
SetSourceDataL
(const
TDesC8
&)
|
void
|
SetSourceFilenameL
(const
TDesC
&)
|
void
|
SetSourceImageTypeL
(
TUid
,
TUid
)
|
void
|
SetSourceMimeTypeL
(const
TDesC8
&)
|
void
|
SetSourceRect
(const
TRect
&)
|
void
|
SetTransformationsL
(
TUint
)
|
void
|
SetupL
()
|
const
TDesC8
&
|
SourceData
()
|
const
TDesC
&
|
SourceFilename
()
|
const
TUid
|
SourceImageSubType
()
|
const
TUid
|
SourceImageType
()
|
TBool
|
SourceIsData
()
|
TBool
|
SourceIsFilename
()
|
const
TDesC8
&
|
SourceMimeType
()
|
TBool
|
SourceRect
(
TRect
&)
|
void
|
SuffixTypeGetTransformerListL
(
RImplInfoPtrArray
&, const
TDesC
&)
|
void
|
Transform
(
TRequestStatus
&)
|
Constructor & Destructor Documentation
CImageTransformFramework(CImageTransform &, RFs &)
~CImageTransformFramework()
~CImageTransformFramework
|
(
|
)
|
[private]
|
Member Functions Documentation
CancelTransform()
void
|
CancelTransform
|
(
|
)
|
[private]
|
ClearFlag(TInt)
void
|
ClearFlag
|
(
|
TInt
|
aFlag
|
)
|
[private, inline]
|
ClearSourceRect()
void
|
ClearSourceRect
|
(
|
)
|
[private]
|
DataNewL(const TDesC8 &, const TUid, const TUid, const TUid)
Parameters
const
TDesC8
& aSourceData
|
|
const
TUid
aImageType
|
|
const
TUid
aImageSubType
|
|
const
TUid
aPluginUid
|
|
DeletePlugin()
void
|
DeletePlugin
|
(
|
)
|
[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()
Gets a pointer to a plugin extension
-
panic
-
EIllegalCallSequence No plugin loaded.
Extension(TUid, TInt &)
Gets a pointer to a plugin extension
-
panic
-
EIllegalCallSequence No plugin loaded.
Parameters
TUid
aExtensionUid
|
Uid of the required extension
|
TInt
& aError
|
System wide error
|
FileNewImplL(RFs &, const TDesC &, const TUid, const TUid, const TUid)
Parameters
RFs
& aFs
|
|
const
TDesC
& aSourceFilename
|
|
const
TUid
aImageType
|
|
const
TUid
aImageSubType
|
|
const
TUid
aPluginUid
|
|
FindTransformerNewL(const RImplInfoPtrArray &)
FlagSet(TInt)
TBool
|
FlagSet
|
(
|
TInt
|
aFlag
|
)
|
const [private, inline]
|
ImageTypeGetTransformerListL(RImplInfoPtrArray &, const TDesC8 &, const TUid, const TUid, const TUid)
void
|
ImageTypeGetTransformerListL
|
(
|
RImplInfoPtrArray
&
|
aTransformerList,
|
|
const
TDesC8
&
|
aImageHeader,
|
|
const
TUid
|
aImageType,
|
|
const
TUid
|
aImageSubType,
|
|
const
TUid
|
aPluginUid
|
|
)
|
[private]
|
MaintainAspectRatio()
TBool
|
MaintainAspectRatio
|
(
|
)
|
const [private]
|
MimeTypeGetTransformerListL(RImplInfoPtrArray &, const TDesC8 &)
NeededPluginFlags()
TUint
|
NeededPluginFlags
|
(
|
)
|
[private]
|
Gets the flags needed in the plugin
NewL(CImageTransform &, RFs &)
Options()
TUint
|
Options
|
(
|
)
|
const [private]
|
PreserveImageData()
TBool
|
PreserveImageData
|
(
|
)
|
const [private]
|
SetDestDataL(HBufC8 *&)
void
|
SetDestDataL
|
(
|
HBufC8
*&
|
aDestinationData
|
)
|
[private]
|
SetDestFilenameL(const TDesC &)
void
|
SetDestFilenameL
|
(
|
const
TDesC
&
|
aFilename
|
)
|
[private]
|
SetDestSizeInPixelsL(const TSize &, TBool)
void
|
SetDestSizeInPixelsL
|
(
|
const
TSize
&
|
aDestinationSize,
|
|
TBool
|
aMaintainAspectRatio
|
|
)
|
[private]
|
Parameters
const
TSize
& aDestinationSize
|
|
TBool
aMaintainAspectRatio
|
|
SetFlag(TInt)
void
|
SetFlag
|
(
|
TInt
|
aFlag
|
)
|
[private, inline]
|
SetOptionsL(TUint)
void
|
SetOptionsL
|
(
|
TUint
|
aOptions
|
)
|
[private]
|
SetPluginInstanceUidL(TUid)
void
|
SetPluginInstanceUidL
|
(
|
TUid
|
aInstanceUid
|
)
|
[private]
|
SetPluginUidL(TUid)
void
|
SetPluginUidL
|
(
|
TUid
|
aPluginUid
|
)
|
[private]
|
SetPreserveImageData(TBool)
void
|
SetPreserveImageData
|
(
|
TBool
|
aPreserveImageData
|
)
|
[private]
|
SetSourceDataL(const TDesC8 &)
void
|
SetSourceDataL
|
(
|
const
TDesC8
&
|
aData
|
)
|
[private]
|
SetSourceFilenameL(const TDesC &)
void
|
SetSourceFilenameL
|
(
|
const
TDesC
&
|
aFilename
|
)
|
[private]
|
SetSourceImageTypeL(TUid, TUid)
void
|
SetSourceImageTypeL
|
(
|
TUid
|
aImageType,
|
|
TUid
|
aImageSubType
|
|
)
|
[private]
|
SetSourceMimeTypeL(const TDesC8 &)
void
|
SetSourceMimeTypeL
|
(
|
const
TDesC8
&
|
aMIMEType
|
)
|
[private]
|
SetSourceRect(const TRect &)
void
|
SetSourceRect
|
(
|
const
TRect
&
|
aRect
|
)
|
[private]
|
SetTransformationsL(TUint)
void
|
SetTransformationsL
|
(
|
TUint
|
aTransformations
|
)
|
[private]
|
SetupL()
void
|
SetupL
|
(
|
)
|
[private]
|
SourceData()
const
TDesC8
&
|
SourceData
|
(
|
)
|
const [private]
|
SourceFilename()
const
TDesC
&
|
SourceFilename
|
(
|
)
|
const [private]
|
SourceImageSubType()
const
TUid
|
SourceImageSubType
|
(
|
)
|
const [private]
|
SourceImageType()
const
TUid
|
SourceImageType
|
(
|
)
|
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]
|
SuffixTypeGetTransformerListL(RImplInfoPtrArray &, const TDesC &)
void
|
SuffixTypeGetTransformerListL
|
(
|
RImplInfoPtrArray
&
|
aTransformerList,
|
|
const
TDesC
&
|
aFileName
|
|
)
|
[private]
|
Transform(TRequestStatus &)
Member Enumerations Documentation
Enum TImageTransformInternalFlags
Enumerators
EFlagMaintainAspectRatio = 0x00000001
|
|
EFlagPreserveImageData = 0x00000002
|
|
EFlagSourceRectSet = 0x00000004
|
|
Member Data Documentation
TImageParameterData
iDestImage
TSize
iDestinationSize
TSize
|
iDestinationSize
|
[private]
|
CImageTransform & iHandle
CImageTransformPlugin * iPlugin
TUid
iPluginInstanceUid
TUid
|
iPluginInstanceUid
|
[private]
|
TUid
iPluginUid
TUid
|
iPluginUid
|
[private]
|
TImageParameterData
iSourceImage
TRect
iSourceRect
TRect
|
iSourceRect
|
[private]
|
TUint
iTransformations
TUint
|
iTransformations
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.