LafServAppUiBase Class Reference

class LafServAppUiBase

Eikon server LAF support.

Member Functions Documentation

ClaimPointerCursorListIfNeeded(CCoeEnv &)

IMPORT_C TIntClaimPointerCursorListIfNeeded(CCoeEnv &aEnv)[static]

Claims the pointer cursor list, enabling the Eikon server to change the system pointer cursor.

If this device has a global pointer cursor list, the function should claim it by calling RWsSession::ClaimSystemPointerCursorList(); otherwise, it should do nothing.

Called by EikServAppUiBase. Claims the pointer cursor list if this device has a global pointer cursor list, does nothing otherwise.

Parameters

CCoeEnv & aEnvThread's control environment

ConstructPointerCursorL(TInt, TSpriteMember &, CCoeEnv &)

IMPORT_C RWsPointerCursor *ConstructPointerCursorL(TIntaCursorNumber,
TSpriteMember &aSpriteMember,
CCoeEnv &aEnv
)[static]

Constructs a specified pointer cursor.

The function should return NULL for devices with no system pointer cursors.

Constructs the TSpriteMember a member corresponding to the pointer cursor with index aCursorNumber. Does nothing for devices with no system pointer cursors. The numeric values used in the LoadCursorL() function call are for the position of the cursors hotspot.

Parameters

TInt aCursorNumberIndex of the cursor to construct
TSpriteMember & aSpriteMemberOn return, the sprite member added to the pointer cursor
CCoeEnv & aEnvThread's control environment

FreePointerCursorListIfNeeded(CCoeEnv &)

IMPORT_C voidFreePointerCursorListIfNeeded(CCoeEnv &aEnv)[static]

Releases the system pointer cursor list.

If this device has a global pointer cursor list, the function should claim it by calling RWsSession::FreeSystemPointerCursorList(); otherwise, it should do nothing.

Called by EikServAppUiBase. Frees the pointer cursor list if this device has a global pointer cursor list, does nothing otherwise.

Parameters

CCoeEnv & aEnvThread's control environment

NumberOfCursorsInSystemCursorList()

IMPORT_C TIntNumberOfCursorsInSystemCursorList()[static]

Gets the number of pointer cursors supplied by the LAF.

This can be zero for some devices.

This method returns the number of pointer cursors supplied by the laf. It may be zero for some devices.