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(TIntaNativeKdbId,
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 * aNativeParamsCore 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()

voidReserved_1()[pure virtual]

Reserved_2()

voidReserved_2()[pure virtual]

ScanBindingTable(TPtiKeyboardType, TInt &)

TPtiXt9KeyBinding *ScanBindingTable(TPtiKeyboardTypeaKeyboardType,
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 aKeyboardTypeKeyboard type for binding table.
TInt & aNumEntriesNumber of binding array entries will be stored here.