LafServAppUiBase Class Reference

class LafServAppUiBase

Eikon server LAF support.

Member Functions Documentation

ClaimPointerCursorListIfNeeded(CCoeEnv &)

IMPORT_C TInt ClaimPointerCursorListIfNeeded ( 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 & aEnv Thread's control environment

ConstructPointerCursorL(TInt, TSpriteMember &, CCoeEnv &)

IMPORT_C RWsPointerCursor * ConstructPointerCursorL ( TInt aCursorNumber,
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 aCursorNumber Index of the cursor to construct
TSpriteMember & aSpriteMember On return, the sprite member added to the pointer cursor
CCoeEnv & aEnv Thread's control environment

FreePointerCursorListIfNeeded(CCoeEnv &)

IMPORT_C void FreePointerCursorListIfNeeded ( 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 & aEnv Thread's control environment

NumberOfCursorsInSystemCursorList()

IMPORT_C TInt NumberOfCursorsInSystemCursorList ( ) [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.