CAknIconManager Class Reference
class CAknIconManager : public CBase
|
Constructor & Destructor Documentation
CAknIconManager()
CAknIconManager
|
(
|
)
|
[protected]
|
Member Functions Documentation
AppendFileExtension(TDes &)
void
|
AppendFileExtension
|
(
|
TDes
&
|
aFileName
|
)
|
const [private]
|
BitmapChanged()
void
|
BitmapChanged
|
(
|
)
|
[private]
|
BitmapId()
TInt
|
BitmapId
|
(
|
)
|
const [inline]
|
ChangeFileExtension(TDes &)
void
|
ChangeFileExtension
|
(
|
TDes
&
|
aFileName
|
)
|
const [private]
|
Check(const TSize &, TScaleMode, TInt)
CleanupReleaseFileHandle(TAny *)
void
|
CleanupReleaseFileHandle
|
(
|
TAny
*
|
aParam
|
)
|
[private, static]
|
Cleanup function that calls ReleaseFileHandle.
ClearDisableCompressionCleanUp()
void
|
ClearDisableCompressionCleanUp
|
(
|
)
|
[protected, inline]
|
ClearIconDataPreserved()
void
|
ClearIconDataPreserved
|
(
|
)
|
[protected, inline]
|
ConstructL(const TDesC &, const TInt16, const TInt16)
void
|
ConstructL
|
(
|
const
TDesC
&
|
aFileName,
|
|
const
TInt16
|
aBitmapId,
|
|
const
TInt16
|
aMaskId
|
|
)
|
[private]
|
DeleteIconFormatHandler()
void
|
DeleteIconFormatHandler
|
(
|
)
|
[private, inline]
|
DisableCompression()
void
|
DisableCompression
|
(
|
)
|
[inline]
|
DoInitializeIconL(const TSize &, TScaleMode, TInt)
void
|
DoInitializeIconL
|
(
|
const
TSize
&
|
aSize,
|
|
TScaleMode
|
aMode,
|
|
TInt
|
aAngle
|
|
)
|
[private, virtual]
|
Initializes the icon with the given parameters.
ExcludeFromCache()
void
|
ExcludeFromCache
|
(
|
)
|
[inline]
|
FileHandleL(MAknIconFileProvider::TIconFileType)
Returns opened file handle to the icon file, if such is supplied by the client.
FileHandleL()
RFile
*
|
FileHandleL
|
(
|
)
|
[private]
|
GetAppIcon()
TBool
|
GetAppIcon
|
(
|
)
|
const [protected, inline]
|
GetContentDimensions(TAknContentDimensions &)
GetContentDimensionsL(TAknContentDimensions &)
GetFileName(TDes &)
void
|
GetFileName
|
(
|
TDes
&
|
aFileName
|
)
|
const
|
GetFullFileName(TDes &)
void
|
GetFullFileName
|
(
|
TDes
&
|
aFileName
|
)
|
const
|
GetFullMifFileName(TDes &)
void
|
GetFullMifFileName
|
(
|
TDes
&
|
aFileName
|
)
|
const
|
GetIconColor()
TRgb
|
GetIconColor
|
(
|
)
|
const
|
GetInitializedParams(TAknIconParams &)
HandleError(TInt)
void
|
HandleError
|
(
|
TInt
|
aError
|
)
|
[private]
|
HasValidFileExtension(const TDesC &)
TBool
|
HasValidFileExtension
|
(
|
const
TDesC
&
|
aFileName
|
)
|
const [private, inline]
|
InitIconFileNameL(const TDesC &)
void
|
InitIconFileNameL
|
(
|
const
TDesC
&
|
aFileName
|
)
|
[protected]
|
InitializeAnimatedIconL(const TAknIconParams &)
void
|
InitializeAnimatedIconL
|
(
|
const
TAknIconParams
&
|
aInfo
|
)
|
[private]
|
InitializeIcon(const TSize &, TScaleMode)
InitializeIcon(const TSize &, TScaleMode, TInt)
InitializeIconL(const TSize &, TScaleMode, TInt)
Checks if the icon is already initialized with the given parameters, and if not, initializes it.
IsAnimated()
TBool
|
IsAnimated
|
(
|
)
|
const [protected, inline]
|
IsAppIcon()
TBool
|
IsAppIcon
|
(
|
)
|
const [protected, inline]
|
IsCompressionDisabled()
TBool
|
IsCompressionDisabled
|
(
|
)
|
const [inline]
|
IsCompressionDisabledCleanUp()
TBool
|
IsCompressionDisabledCleanUp
|
(
|
)
|
const [protected, inline]
|
IsDefaultIconDirUsed()
TBool
|
IsDefaultIconDirUsed
|
(
|
)
|
const [inline]
|
IsExcludedFromCache()
TBool
|
IsExcludedFromCache
|
(
|
)
|
const [inline]
|
IsFileExtRemoved()
TBool
|
IsFileExtRemoved
|
(
|
)
|
const [protected, inline]
|
IsIconDataPreserved()
TBool
|
IsIconDataPreserved
|
(
|
)
|
const [protected, inline]
|
IsMbmIcon()
TBool
|
IsMbmIcon
|
(
|
)
|
const
|
LoadBitmapIconL()
void
|
LoadBitmapIconL
|
(
|
)
|
[private, virtual]
|
LoadIconLocationInfoL(const TDesC &)
void
|
LoadIconLocationInfoL
|
(
|
const
TDesC
&
|
aFileName
|
)
|
[private]
|
LoadIfBitmapIconL()
void
|
LoadIfBitmapIconL
|
(
|
)
|
[private]
|
Loads icon from MBM file if it is a bitmap icon.
MaskId()
TInt
|
MaskId
|
(
|
)
|
const [inline]
|
NewL(const TDesC &, const TInt16, const TInt16)
PreinitializeIconL()
void
|
PreinitializeIconL
|
(
|
)
|
|
Loads MBM icons. Sets MIF icon handles to valid empty
CFbsBitmap
handles.
PrepareAnimatedIconL(TBool)
void
|
PrepareAnimatedIconL
|
(
|
TBool
|
bAnimationReady = EFalse
|
)
|
[private]
|
Parameters
TBool
bAnimationReady = EFalse
|
|
PrepareAnimatedIconLC()
CAknIconLoader *
|
PrepareAnimatedIconLC
|
(
|
)
|
[private]
|
PreserveIconData()
void
|
PreserveIconData
|
(
|
)
|
|
ReleaseFileHandle()
void
|
ReleaseFileHandle
|
(
|
)
|
[protected, virtual]
|
This is called, when the file handle is no longer required, and should be closed.
RetrieveIconLocationInfoL()
void
|
RetrieveIconLocationInfoL
|
(
|
)
|
[private]
|
SetAnimated()
void
|
SetAnimated
|
(
|
)
|
[protected, inline]
|
SetAppIcon(TBool)
void
|
SetAppIcon
|
(
|
TBool
|
aAppIcon
|
)
|
[protected, inline]
|
SetDefaultIconDirUsed()
void
|
SetDefaultIconDirUsed
|
(
|
)
|
[inline]
|
SetDisableCompressionCleanUp()
void
|
SetDisableCompressionCleanUp
|
(
|
)
|
[protected, inline]
|
SetFileExtRemoved()
void
|
SetFileExtRemoved
|
(
|
)
|
[protected, inline]
|
SetIconColor(const TRgb)
void
|
SetIconColor
|
(
|
const
TRgb
|
aColor
|
)
|
|
SetIconDataPreserved()
void
|
SetIconDataPreserved
|
(
|
)
|
[protected, inline]
|
SetInitializedParams(const TAknIconParams &)
SetObserver(MAknIconObserver *)
Unref(const CAknBitmap &)
Member Enumerations Documentation
Enum TFlags
Enumerators
EFlagUsesDefaultIconDir = 0x0001
|
|
EFlagIconDataPreserved = 0x0002
|
|
EFlagAnimated = 0x0004
|
|
EFlagFileExtRemoved = 0x0008
|
|
EFlagExcludeFromCache = 0x0010
|
|
EFlagDisableCompression = 0x0020
|
|
EFlagDisableCompressionCleanUp = 0x0040
|
|
Member Data Documentation
TBool
iAppIcon
TBool
|
iAppIcon
|
[protected]
|
TAknContentDimensions
iContentDimensions
HBufC * iFileName
HBufC
*
|
iFileName
|
[protected]
|
MAknIconFormatHandler * iHandler
TInt
iInitializedAngle
TInt
|
iInitializedAngle
|
[protected]
|
TRgb
iInitializedColor
TRgb
|
iInitializedColor
|
[protected]
|
TInt
iInitializedMode
TInt
|
iInitializedMode
|
[protected]
|
TSize
iInitializedSize
TSize
|
iInitializedSize
|
[protected]
|
TSize
iLoadedSize
TSize
|
iLoadedSize
|
[protected]
|
MAknIconObserver * iObserver
TInt16
iOriginalMaskId
TInt16
|
iOriginalMaskId
|
[protected]
|
TInt
iRefCount
TInt
|
iRefCount
|
[protected]
|
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.