Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: mchfeventmappingservice.h
Link against: chf.lib

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

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:
MCHFEventMappingService_Reserved_1(), MCHFEventMappingService_Reserved_2(), MCHFEventMappingService_Reserved_3(), MCHFEventMappingService_Reserved_4(), MapKeyEventL(), MapPointerEventL()

See also:


Member functions


MapKeyEventL()

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()

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: virtual IMPORT_C void MCHFEventMappingService_Reserved_1();

Description


MCHFEventMappingService_Reserved_2()

private: virtual IMPORT_C void MCHFEventMappingService_Reserved_2();

Description


MCHFEventMappingService_Reserved_3()

private: virtual IMPORT_C void MCHFEventMappingService_Reserved_3();

Description


MCHFEventMappingService_Reserved_4()

private: virtual IMPORT_C void MCHFEventMappingService_Reserved_4();

Description