MPtiKeyboardDatabase Class Reference

class MPtiKeyboardDatabase

An interface class for wrapping keyboard data. This is used for separating keyboard data from language data for some predictive input implementations.

Member Functions Documentation

KdbData(TInt, TAny *)

TInt8 * KdbData ( TInt aNativeKdbId,
TAny * aNativeParams
) const [pure virtual]

Returns pointer to language data. The meaning of the data in array depends on the core object implementation.

Since
S60 V5.0

Parameters

TInt aNativeKdbId
TAny * aNativeParams Core object related extra parameters.

LanguageCode()

TInt LanguageCode ( ) const [pure virtual]

Returns pointer to language data. The meaning of the data in array depends on the core object implementation.

Since
S60 V5.0

NativeId()

TInt NativeId ( ) const [pure virtual]

Returns engine specific native language id code.

Since
S60 V5.0

Reserved_1()

void Reserved_1 ( ) [pure virtual]

Reserved_2()

void Reserved_2 ( ) [pure virtual]

ScanBindingTable(TPtiKeyboardType, TInt &)

TPtiXt9KeyBinding * ScanBindingTable ( TPtiKeyboardType aKeyboardType,
TInt & aNumEntries
) const [pure virtual]

Returns pointer to scan code binding table. The array contains Symbian OS scan code calues and the order of array items specifies bindings between S60 scan codes and kdb key entries.

Since
S60 V5.0

Parameters

TPtiKeyboardType aKeyboardType Keyboard type for binding table.
TInt & aNumEntries Number of binding array entries will be stored here.