CPtiKeyMapData Class Reference
|
class CPtiKeyMapData : public CBase
|
|
Public Member Functions
|
|
|
~CPtiKeyMapData
()
|
|
IMPORT_C
TInt
|
CaseBasedIndexInBindingTable
(
TPtiKeyboardType
,
TPtiKey
,
TPtiTextCase
)
|
|
IMPORT_C
TPtrC
|
DataForKey
(
TPtiKeyboardType
,
TPtiKey
,
TPtiTextCase
)
|
|
IMPORT_C
TPtrC
|
DataForKey
(
TPtiKeyboardType
,
TInt
)
|
|
IMPORT_C const
TUint16
*
|
DeadKeyDataArray
(
TPtiKeyboardType
,
TInt
&)
|
|
IMPORT_C
TPtrC
|
DeadKeyDataForKey
(
TPtiKeyboardType
,
TPtiKey
,
TPtiTextCase
)
|
|
IMPORT_C void
|
GetNumericModeKeysL
(
TPtiKeyboardType
,
RArray
<
TPtiNumericKeyBinding
> &)
|
|
IMPORT_C
TBool
|
HasDeadKeys
(
TPtiKeyboardType
)
|
|
IMPORT_C
TBool
|
HasFnKeyBindings
(
TPtiKeyboardType
)
|
|
IMPORT_C
TBool
|
HasKeyData
(
TPtiKeyboardType
)
|
|
IMPORT_C
TBool
|
HasVowelSequences
(
TPtiKeyboardType
)
|
|
IMPORT_C
TBool
|
IsDeadKey
(
TPtiKeyboardType
,
TPtiKey
,
TPtiTextCase
)
|
|
IMPORT_C
TBool
|
IsNumberModeKey
(
TPtiKeyboardType
,
TPtiNumericKeyBinding
&)
|
|
IMPORT_C const
TPtiKeyBinding
*
|
KeyBindingTable
(
TPtiKeyboardType
,
TInt
&)
|
|
IMPORT_C const
TUint16
*
|
KeyData
(
TPtiKeyboardType
,
TInt
&)
|
|
IMPORT_C
TPtiKey
|
KeyForBindingTableIndex
(
TPtiKeyboardType
,
TInt
,
TPtiTextCase
&)
|
|
IMPORT_C
TInt
|
LanguageCode
()
|
|
IMPORT_C void
|
ListLanguagesL
(
RArray
<
TInt
> &)
|
|
IMPORT_C
TInt
|
NumberOfKeys
(
TPtiKeyboardType
)
|
|
IMPORT_C const
TPtiNumericKeyBinding
*
|
NumericModeKeysTable
(
TPtiKeyboardType
,
TInt
&)
|
|
IMPORT_C void
|
Reserved_1
()
|
|
IMPORT_C void
|
Reserved_2
()
|
|
IMPORT_C void
|
Reserved_3
()
|
|
IMPORT_C void
|
Reserved_4
()
|
|
IMPORT_C
TBool
|
SuitableForLatinOnlyMode
()
|
|
IMPORT_C const
TVowelSequence
*
|
VowelSequenceTable
(
TPtiKeyboardType
,
TInt
&)
|
Constructor & Destructor Documentation
~CPtiKeyMapData()
|
IMPORT_C
|
~CPtiKeyMapData
|
(
|
)
|
|
Member Functions Documentation
CaseBasedIndexInBindingTable(TPtiKeyboardType, TPtiKey, TPtiTextCase)
|
IMPORT_C
TInt
|
CaseBasedIndexInBindingTable
|
(
|
TPtiKeyboardType
|
aKeyboardType,
|
|
|
TPtiKey
|
aKey,
|
|
|
TPtiTextCase
|
aCase
|
|
|
)
|
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.
Parameters
|
TPtiKeyboardType
aKeyboardType
|
Keyboard type
|
|
TPtiKey
aKey
|
A key to be queried.
|
|
TPtiTextCase
aCase
|
|
DataForKey(TPtiKeyboardType, TPtiKey, TPtiTextCase)
|
IMPORT_C
TPtrC
|
DataForKey
|
(
|
TPtiKeyboardType
|
aKeyboardType,
|
|
|
TPtiKey
|
aKey,
|
|
|
TPtiTextCase
|
aCase
|
|
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
|
TPtiKey
aKey
|
|
|
TPtiTextCase
aCase
|
|
DataForKey(TPtiKeyboardType, TInt)
|
IMPORT_C
TPtrC
|
DataForKey
|
(
|
TPtiKeyboardType
|
aKeyboardType,
|
|
|
TInt
|
aIndex
|
|
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
|
TInt
aIndex
|
|
DeadKeyDataArray(TPtiKeyboardType, TInt &)
|
IMPORT_C const
TUint16
*
|
DeadKeyDataArray
|
(
|
TPtiKeyboardType
|
aKeyboardType,
|
|
|
TInt
&
|
aNumRowsInArray
|
|
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
|
TInt
& aNumRowsInArray
|
|
DeadKeyDataForKey(TPtiKeyboardType, TPtiKey, TPtiTextCase)
|
IMPORT_C
TPtrC
|
DeadKeyDataForKey
|
(
|
TPtiKeyboardType
|
aKeyboardType,
|
|
|
TPtiKey
|
aKey,
|
|
|
TPtiTextCase
|
aCase
|
|
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
|
TPtiKey
aKey
|
|
|
TPtiTextCase
aCase
|
|
GetNumericModeKeysL(TPtiKeyboardType, RArray< TPtiNumericKeyBinding > &)
HasDeadKeys(TPtiKeyboardType)
|
IMPORT_C
TBool
|
HasDeadKeys
|
(
|
TPtiKeyboardType
|
aKeyboardType
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
HasFnKeyBindings(TPtiKeyboardType)
|
IMPORT_C
TBool
|
HasFnKeyBindings
|
(
|
TPtiKeyboardType
|
aKeyboardType
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
HasKeyData(TPtiKeyboardType)
|
IMPORT_C
TBool
|
HasKeyData
|
(
|
TPtiKeyboardType
|
aKeyboardType
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
HasVowelSequences(TPtiKeyboardType)
|
IMPORT_C
TBool
|
HasVowelSequences
|
(
|
TPtiKeyboardType
|
aKeyboardType
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
IsDeadKey(TPtiKeyboardType, TPtiKey, TPtiTextCase)
|
IMPORT_C
TBool
|
IsDeadKey
|
(
|
TPtiKeyboardType
|
aKeyboardType,
|
|
|
TPtiKey
|
aKey,
|
|
|
TPtiTextCase
|
aCase
|
|
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
|
TPtiKey
aKey
|
|
|
TPtiTextCase
aCase
|
|
IsNumberModeKey(TPtiKeyboardType, TPtiNumericKeyBinding &)
KeyBindingTable(TPtiKeyboardType, TInt &)
|
IMPORT_C const
TPtiKeyBinding
*
|
KeyBindingTable
|
(
|
TPtiKeyboardType
|
aKeyboardType,
|
|
|
TInt
&
|
aNumItems
|
|
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
|
TInt
& aNumItems
|
|
KeyData(TPtiKeyboardType, TInt &)
|
IMPORT_C const
TUint16
*
|
KeyData
|
(
|
TPtiKeyboardType
|
aKeyboardType,
|
|
|
TInt
&
|
aDataSize
|
|
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
|
TInt
& aDataSize
|
|
KeyForBindingTableIndex(TPtiKeyboardType, TInt, TPtiTextCase &)
|
IMPORT_C
TPtiKey
|
KeyForBindingTableIndex
|
(
|
TPtiKeyboardType
|
aKeyboardType,
|
|
|
TInt
|
aIndex,
|
|
|
TPtiTextCase
&
|
aCase
|
|
|
)
|
const
|
Returns a key constant and text case associated to given index in key binding table.
Parameters
|
TPtiKeyboardType
aKeyboardType
|
Keyboard type
|
|
TInt
aIndex
|
An index to be queried.
|
|
TPtiTextCase
& aCase
|
This value will be filled with text case associated to given index.
|
LanguageCode()
|
IMPORT_C
TInt
|
LanguageCode
|
(
|
)
|
const
|
ListLanguagesL(RArray< TInt > &)
|
IMPORT_C void
|
ListLanguagesL
|
(
|
RArray
<
TInt
> &
|
aResult
|
)
|
[static]
|
Reurns list of language codes for all found keymap data implementations.
Parameters
|
RArray
<
TInt
> & aResult
|
An array to be filled with language codes.
|
NumberOfKeys(TPtiKeyboardType)
|
IMPORT_C
TInt
|
NumberOfKeys
|
(
|
TPtiKeyboardType
|
aKeyboardType
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
NumericModeKeysTable(TPtiKeyboardType, TInt &)
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
|
TInt
& aNumEntries
|
|
Reserved_1()
|
IMPORT_C void
|
Reserved_1
|
(
|
)
|
|
Reserved_2()
|
IMPORT_C void
|
Reserved_2
|
(
|
)
|
|
Reserved_3()
|
IMPORT_C void
|
Reserved_3
|
(
|
)
|
|
Reserved_4()
|
IMPORT_C void
|
Reserved_4
|
(
|
)
|
|
SuitableForLatinOnlyMode()
|
IMPORT_C
TBool
|
SuitableForLatinOnlyMode
|
(
|
)
|
const
|
VowelSequenceTable(TPtiKeyboardType, TInt &)
|
IMPORT_C const
TVowelSequence
*
|
VowelSequenceTable
|
(
|
TPtiKeyboardType
|
aKeyboardType,
|
|
|
TInt
&
|
aNumEntries
|
|
|
)
|
const
|
Parameters
|
TPtiKeyboardType
aKeyboardType
|
|
|
TInt
& aNumEntries
|
|
Member Data Documentation
TInt
iReserved1
|
TInt
|
iReserved1
|
[private]
|
TInt
iReserved2
|
TInt
|
iReserved2
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.