CPtiKeyMapData Class Reference

class CPtiKeyMapData : public CBase

Default implementation for MPtiKeyMapData interface class.

Inherits from

Public Member Functions
~CPtiKeyMapData()
IMPORT_C TIntCaseBasedIndexInBindingTable(TPtiKeyboardType, TPtiKey, TPtiTextCase)
IMPORT_C TPtrCDataForKey(TPtiKeyboardType, TPtiKey, TPtiTextCase)
IMPORT_C TPtrCDataForKey(TPtiKeyboardType, TInt)
IMPORT_C const TUint16 *DeadKeyDataArray(TPtiKeyboardType, TInt &)
IMPORT_C TPtrCDeadKeyDataForKey(TPtiKeyboardType, TPtiKey, TPtiTextCase)
IMPORT_C voidGetNumericModeKeysL(TPtiKeyboardType, RArray< TPtiNumericKeyBinding > &)
IMPORT_C TBoolHasDeadKeys(TPtiKeyboardType)
IMPORT_C TBoolHasFnKeyBindings(TPtiKeyboardType)
IMPORT_C TBoolHasKeyData(TPtiKeyboardType)
IMPORT_C TBoolHasVowelSequences(TPtiKeyboardType)
IMPORT_C TBoolIsDeadKey(TPtiKeyboardType, TPtiKey, TPtiTextCase)
IMPORT_C TBoolIsNumberModeKey(TPtiKeyboardType, TPtiNumericKeyBinding &)
IMPORT_C const TPtiKeyBinding *KeyBindingTable(TPtiKeyboardType, TInt &)
IMPORT_C const TUint16 *KeyData(TPtiKeyboardType, TInt &)
IMPORT_C TPtiKeyKeyForBindingTableIndex(TPtiKeyboardType, TInt, TPtiTextCase &)
IMPORT_C TIntLanguageCode()
IMPORT_C voidListLanguagesL(RArray< TInt > &)
IMPORT_C TIntNumberOfKeys(TPtiKeyboardType)
IMPORT_C const TPtiNumericKeyBinding *NumericModeKeysTable(TPtiKeyboardType, TInt &)
IMPORT_C voidReserved_1()
IMPORT_C voidReserved_2()
IMPORT_C voidReserved_3()
IMPORT_C voidReserved_4()
IMPORT_C TBoolSuitableForLatinOnlyMode()
IMPORT_C const TVowelSequence *VowelSequenceTable(TPtiKeyboardType, TInt &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
TInt iReserved1
TInt iReserved2

Constructor & Destructor Documentation

~CPtiKeyMapData()

IMPORT_C~CPtiKeyMapData()

Member Functions Documentation

CaseBasedIndexInBindingTable(TPtiKeyboardType, TPtiKey, TPtiTextCase)

IMPORT_C TIntCaseBasedIndexInBindingTable(TPtiKeyboardTypeaKeyboardType,
TPtiKeyaKey,
TPtiTextCaseaCase
)const

Returns index of TPtiKeyBinding item in key binding table for given key. Key binding table contains index of key's data in keymap data array as well as number of characters tied to that key. When the index is know, the actual key map data for a key can then be accesses through key binding table.

Since
S60 V5.0

Parameters

TPtiKeyboardType aKeyboardTypeKeyboard type
TPtiKey aKeyA key to be queried.
TPtiTextCase aCase

DataForKey(TPtiKeyboardType, TPtiKey, TPtiTextCase)

IMPORT_C TPtrCDataForKey(TPtiKeyboardTypeaKeyboardType,
TPtiKeyaKey,
TPtiTextCaseaCase
)const

Parameters

TPtiKeyboardType aKeyboardType
TPtiKey aKey
TPtiTextCase aCase

DataForKey(TPtiKeyboardType, TInt)

IMPORT_C TPtrCDataForKey(TPtiKeyboardTypeaKeyboardType,
TIntaIndex
)const

Parameters

TPtiKeyboardType aKeyboardType
TInt aIndex

DeadKeyDataArray(TPtiKeyboardType, TInt &)

IMPORT_C const TUint16 *DeadKeyDataArray(TPtiKeyboardTypeaKeyboardType,
TInt &aNumRowsInArray
)const

Parameters

TPtiKeyboardType aKeyboardType
TInt & aNumRowsInArray

DeadKeyDataForKey(TPtiKeyboardType, TPtiKey, TPtiTextCase)

IMPORT_C TPtrCDeadKeyDataForKey(TPtiKeyboardTypeaKeyboardType,
TPtiKeyaKey,
TPtiTextCaseaCase
)const

Parameters

TPtiKeyboardType aKeyboardType
TPtiKey aKey
TPtiTextCase aCase

GetNumericModeKeysL(TPtiKeyboardType, RArray< TPtiNumericKeyBinding > &)

IMPORT_C voidGetNumericModeKeysL(TPtiKeyboardTypeaKeyboardType,
RArray< TPtiNumericKeyBinding > &aResult
)const

Parameters

TPtiKeyboardType aKeyboardType
RArray< TPtiNumericKeyBinding > & aResult

HasDeadKeys(TPtiKeyboardType)

IMPORT_C TBoolHasDeadKeys(TPtiKeyboardTypeaKeyboardType)const

Parameters

TPtiKeyboardType aKeyboardType

HasFnKeyBindings(TPtiKeyboardType)

IMPORT_C TBoolHasFnKeyBindings(TPtiKeyboardTypeaKeyboardType)const

Parameters

TPtiKeyboardType aKeyboardType

HasKeyData(TPtiKeyboardType)

IMPORT_C TBoolHasKeyData(TPtiKeyboardTypeaKeyboardType)const

Parameters

TPtiKeyboardType aKeyboardType

HasVowelSequences(TPtiKeyboardType)

IMPORT_C TBoolHasVowelSequences(TPtiKeyboardTypeaKeyboardType)const

Parameters

TPtiKeyboardType aKeyboardType

IsDeadKey(TPtiKeyboardType, TPtiKey, TPtiTextCase)

IMPORT_C TBoolIsDeadKey(TPtiKeyboardTypeaKeyboardType,
TPtiKeyaKey,
TPtiTextCaseaCase
)const

Parameters

TPtiKeyboardType aKeyboardType
TPtiKey aKey
TPtiTextCase aCase

IsNumberModeKey(TPtiKeyboardType, TPtiNumericKeyBinding &)

IMPORT_C TBoolIsNumberModeKey(TPtiKeyboardTypeaKeyboardType,
TPtiNumericKeyBinding &aWhichKey
)const

Parameters

TPtiKeyboardType aKeyboardType
TPtiNumericKeyBinding & aWhichKey

KeyBindingTable(TPtiKeyboardType, TInt &)

IMPORT_C const TPtiKeyBinding *KeyBindingTable(TPtiKeyboardTypeaKeyboardType,
TInt &aNumItems
)const

Parameters

TPtiKeyboardType aKeyboardType
TInt & aNumItems

KeyData(TPtiKeyboardType, TInt &)

IMPORT_C const TUint16 *KeyData(TPtiKeyboardTypeaKeyboardType,
TInt &aDataSize
)const

Parameters

TPtiKeyboardType aKeyboardType
TInt & aDataSize

KeyForBindingTableIndex(TPtiKeyboardType, TInt, TPtiTextCase &)

IMPORT_C TPtiKeyKeyForBindingTableIndex(TPtiKeyboardTypeaKeyboardType,
TIntaIndex,
TPtiTextCase &aCase
)const

Returns a key constant and text case associated to given index in key binding table.

Since
S60 V5.0

Parameters

TPtiKeyboardType aKeyboardTypeKeyboard type
TInt aIndexAn index to be queried.
TPtiTextCase & aCaseThis value will be filled with text case associated to given index.

LanguageCode()

IMPORT_C TIntLanguageCode()const

ListLanguagesL(RArray< TInt > &)

IMPORT_C voidListLanguagesL(RArray< TInt > &aResult)[static]

Reurns list of language codes for all found keymap data implementations.

Since
S60 V5.0

Parameters

RArray< TInt > & aResultAn array to be filled with language codes.

NumberOfKeys(TPtiKeyboardType)

IMPORT_C TIntNumberOfKeys(TPtiKeyboardTypeaKeyboardType)const

Parameters

TPtiKeyboardType aKeyboardType

NumericModeKeysTable(TPtiKeyboardType, TInt &)

IMPORT_C const TPtiNumericKeyBinding *NumericModeKeysTable(TPtiKeyboardTypeaKeyboardType,
TInt &aNumEntries
)const

Parameters

TPtiKeyboardType aKeyboardType
TInt & aNumEntries

Reserved_1()

IMPORT_C voidReserved_1()

Reserved_2()

IMPORT_C voidReserved_2()

Reserved_3()

IMPORT_C voidReserved_3()

Reserved_4()

IMPORT_C voidReserved_4()

SuitableForLatinOnlyMode()

IMPORT_C TBoolSuitableForLatinOnlyMode()const

VowelSequenceTable(TPtiKeyboardType, TInt &)

IMPORT_C const TVowelSequence *VowelSequenceTable(TPtiKeyboardTypeaKeyboardType,
TInt &aNumEntries
)const

Parameters

TPtiKeyboardType aKeyboardType
TInt & aNumEntries

Member Data Documentation

TInt iReserved1

TInt iReserved1[private]

TInt iReserved2

TInt iReserved2[private]