MLmkSelectorIconMgr Class Reference
class MLmkSelectorIconMgr |
Member Functions Documentation
GetDefaultIconL(TIconType)
Loads icon based on icon type. Returns KErrNotFound if not available.
GetIconL(const TDesC &, TInt)
TInt
| GetIconL | ( | const TDesC & | aMbmFileName, |
| TInt | aIconIdInFile |
| ) | [pure virtual] |
Loads icon from file to icon array from parameter file and file index. For subsequent calls icon identification data is cached so same index in array is returned without reloading data from file. NOTE: icon mask id must be next from icon id in icon mbg file. Leaves with Symbian error code if error.
Parameters
const TDesC & aMbmFileName | icon file name |
TInt aIconIdInFile | id number of icon in file |
ResetMgrL()
void | ResetMgrL | ( | ) | [pure virtual] |
Resets icon manager. Resets and destroyes icon array content and deletes all icon manager data, including default icons.
SetDefaultIconL(TIconType, const TDesC &, TInt)
void | SetDefaultIconL | ( | TIconType | aIcon, |
| const TDesC & | aMbmFileName, |
| TInt | aIconIdInFile |
| ) | [pure virtual] |
Sets the default icon for a given type. If default icon has already been set this method leaves with KErrAlreadyExists.
Parameters
TIconType aIcon | type of the icon |
const TDesC & aMbmFileName | icon file name |
TInt aIconIdInFile | id number of icon in file |
Member Enumerations Documentation
Enum TIconType
Enumerators
EDefinedIcon = 0 | |
ELandmarkDefaultIcon | |
ECategoryDefaultIcon | |
ERestaurantDefaultIcon | |
EBusStopDefaultIcon | |
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.