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()

IMPORT_C CContentPriorityMap * NewL ( ) [static]

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()

IMPORT_C void 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

RPtrHashMap < TDesC8 , TInt > iPriorityMap [private]