Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: cchfeventmappingservice.h
Link against: chf.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CCHFEventMappingService

class CCHFEventMappingService : public CBase;

Description

Provides functionality to map key or pointer events to abstract events.

This class provides the functionality to map raw key or pointer events to CHF abstract events. The raw event mapping array that is provided is required to pass events to content handlers.

Derivation

Members

Defined in CCHFEventMappingService:
MapKeyEventL(), MapPointerEventL()

Inherited from CBase:
Delete(), Extension_(), operator new()


Member functions


MapKeyEventL()

IMPORT_C void MapKeyEventL(RAbstractEventArray &aAbstractEventArray, const TKeyEvent &aKeyEvent, const TEventCode &aType);

Description

Maps a single raw key event to CHF abstract event(s).

Parameters

RAbstractEventArray &aAbstractEventArray

Array that is filled with a priority ordered abstract event mapping list

const TKeyEvent &aKeyEvent

The raw key event

const TEventCode &aType

The type of raw key event

Leave codes

MCHFEventMappingService::MapKeyEventL

CCHFEcomSystemEventMapper::MapKeyEventL

KErrNoMemory


MapPointerEventL()

IMPORT_C void MapPointerEventL(RAbstractEventArray &aAbstractEventArray, const TPointerEvent &aPointerEvent);

Description

Maps a single raw pointer event to CHF abstract event(s).

Parameters

RAbstractEventArray &aAbstractEventArray

Array that is filled with a priority ordered abstract event mapping list

const TPointerEvent &aPointerEvent

The raw pointer event

Leave codes

MCHFEventMappingService::MapPointerEventL

CCHFEcomSystemEventMapper::MapPointerEventL

KErrNoMemory