Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class MCHFEventMappingService

class MCHFEventMappingService;

Description

Pure virtual base class API for mapping raw events to CHF abstract events.

The CHF Event Mapping Service requires an application hook that is called to provide raw event to CHF abstract event mappings. The abstract event array should be priority-ordered and allows applications to have the highest priority mappings followed by the system's mappings. Applications may also choose to do nothing and rely on the system's mappings.

Members

Defined in MCHFEventMappingService:

See also:


Member functions


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

virtual void MapKeyEventL(RAbstractEventArray &aMappingArray, const TKeyEvent &aKeyEvent, const TEventCode &aType)=0;

Description

Provide CHF abstract event mappings for a raw key event.

Applications can fill the array with a priority-ordered list of CHF event mappings for a single particular raw key event. The mappings should not contain any duplicate entries.

Parameters

RAbstractEventArray &aMappingArray

The array to fill up with CHF abstract event mappings

const TKeyEvent &aKeyEvent

The raw key event

const TEventCode &aType

The type of raw event

Leave codes

Any

Symbian OS error code

See also:


MapPointerEventL(RAbstractEventArray &,const TPointerEvent &)

virtual void MapPointerEventL(RAbstractEventArray &aMappingArray, const TPointerEvent &aPointerEvent)=0;

Description

Provide CHF abstract event mappings for a raw pointer event.

Applications can fill the array with a priority-ordered list of CHF event mappings for a single particular raw pointer event. The mappings should not contain any duplicate entries.

Parameters

RAbstractEventArray &aMappingArray

The array to fill up with CHF abstract event mappings

const TPointerEvent &aPointerEvent

The raw pointer event

Leave codes

Any

Symbian OS error code

See also:


MCHFEventMappingService_Reserved_1()

private: IMPORT_C virtual void MCHFEventMappingService_Reserved_1();

Description


MCHFEventMappingService_Reserved_2()

private: IMPORT_C virtual void MCHFEventMappingService_Reserved_2();

Description


MCHFEventMappingService_Reserved_3()

private: IMPORT_C virtual void MCHFEventMappingService_Reserved_3();

Description


MCHFEventMappingService_Reserved_4()

private: IMPORT_C virtual void MCHFEventMappingService_Reserved_4();

Description