AiUtility::CContentPriorityMap Class Reference
| class AiUtility::CContentPriorityMap : public CBase |
Content priority map for UI controllers.
aiutils.lib
- Since
- S60 3.2
Inherits from
- AiUtility::CContentPriorityMap
Constructor & Destructor Documentation
CContentPriorityMap()
| CContentPriorityMap | ( | ) | [private] |
~CContentPriorityMap()
| ~CContentPriorityMap | ( | ) | [virtual] |
Member Functions Documentation
ClearPriority(const TDesC8 &)
| IMPORT_C void | ClearPriority | ( | const TDesC8 & | aUiElementId | ) | |
Clears the current priority assigned to UI element.
- Post-condition
- CurrentPriority(aUiElementId) == KErrNotFound
Parameters
| const TDesC8 & aUiElementId | textual identifier of the UI element. |
CurrentPriority(const TDesC8 &)
| IMPORT_C TInt | CurrentPriority | ( | const TDesC8 & | aUiElementId | ) | const |
Returns the current priority assigned to UI element.
Parameters
| const TDesC8 & aUiElementId | textual identifier of the UI element. |
NewL()
Creates and returns a new instance of this class.
- Post-condition
- CurrentPriority(*) == KErrNotFound
OverrideContent(const TDesC8 &, TInt)
| IMPORT_C TBool | OverrideContent | ( | const TDesC8 & | aUiElementId, |
| | TInt | aNewPriority |
| | ) | const |
Tests if content with given priority may override current content in given ui element.
Parameters
| const TDesC8 & aUiElementId | textual identifier of the UI element. |
| TInt aNewPriority | priority of the new content. |
Reset()
Clears all priority assignments of this map.
SetCurrentPriority(const TDesC8 &, TInt)
| IMPORT_C TInt | SetCurrentPriority | ( | const TDesC8 & | aUiElementId, |
| | TInt | aPriority |
| | ) | |
Sets the current priority assigned to UI element.
- Post-condition
- CurrentPriority(aUiElementId) == aPriority
Parameters
| const TDesC8 & aUiElementId | textual identifier of the UI element. |
| TInt aPriority | priority value to set. |
Member Data Documentation
RPtrHashMap< TDesC8, TInt > iPriorityMap
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.