Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <cchfeventmappingservice.h>
Link against: chf.lib
This item is not part of the S60 5th Edition SDK

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:

Inherited from CBase:


Member functions


MapKeyEventL(RAbstractEventArray &,const TKeyEvent &,const TEventCode &)

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(RAbstractEventArray &,const TPointerEvent &)

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