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 voidClearPriority(const TDesC8 &aUiElementId)

Clears the current priority assigned to UI element.

Post-condition
CurrentPriority(aUiElementId) == KErrNotFound

Parameters

const TDesC8 & aUiElementIdtextual identifier of the UI element.

CurrentPriority(const TDesC8 &)

IMPORT_C TIntCurrentPriority(const TDesC8 &aUiElementId)const

Returns the current priority assigned to UI element.

Parameters

const TDesC8 & aUiElementIdtextual identifier of the UI element.

NewL()

IMPORT_C CContentPriorityMap *NewL()[static]

Creates and returns a new instance of this class.

Post-condition
CurrentPriority(*) == KErrNotFound

OverrideContent(const TDesC8 &, TInt)

IMPORT_C TBoolOverrideContent(const TDesC8 &aUiElementId,
TIntaNewPriority
)const

Tests if content with given priority may override current content in given ui element.

Parameters

const TDesC8 & aUiElementIdtextual identifier of the UI element.
TInt aNewPrioritypriority of the new content.

Reset()

IMPORT_C voidReset()

Clears all priority assignments of this map.

SetCurrentPriority(const TDesC8 &, TInt)

IMPORT_C TIntSetCurrentPriority(const TDesC8 &aUiElementId,
TIntaPriority
)

Sets the current priority assigned to UI element.

Post-condition
CurrentPriority(aUiElementId) == aPriority

Parameters

const TDesC8 & aUiElementIdtextual identifier of the UI element.
TInt aPrioritypriority value to set.

Member Data Documentation

RPtrHashMap< TDesC8, TInt > iPriorityMap

RPtrHashMap< TDesC8, TInt >iPriorityMap[private]