API published in: S60 3rd Ed
Link against: ptiengine.lib
Required Capabilities
None
#include <ptikeymappings.h>
Inherits CPtiMappings, and MPtiKeyMappings.
Public Types |
|
enum | { EDeadKeyRootFlag = 0x01, EVowelSeqFlag = 0x02, EPrevKeyInUpperCase = 0x04, ETrackVietnameseToneMarksAndVowels = 0x08 } |
Public Member Functions |
|
IMPORT_C | ~CPtiQwertyKeyMappings () |
IMPORT_C TUint16 | StartMapping (TPtiKey aKey, TPtiTextCase aCase, TPtiEngineInputMode aMode=EPtiEngineInputModeNone) |
Start mapping for given key. |
|
IMPORT_C TUint16 | NextKey (TPtiKey aKey, TBool &aAppend, TPtiTextCase aCase) |
TPtiKey | CurrentKey () |
Returns key code for key currently being mapped (relates to StartMapping and NextKey). |
|
IMPORT_C TInt | ReplaceKeyMapL (TPtiKey aKey, TDesC &aMap, TPtiTextCase aCase) |
Replaces keymapping data for given key. |
|
IMPORT_C TPtiKey | KeyForCharacter (TUint16 aChar) |
Scans through keymapping data and returns key code for given character. |
|
IMPORT_C void | GetDataForKey (TPtiKey aKey, TDes &aResult, TPtiTextCase aCase) |
Returns keymapping data for given key. |
|
TBool | DeadKeyRootFlag () const |
TUint16 | DeadKeyRootChar () const |
TInt | WriteData (TInt16 *aDest) |
TInt | ChunkDataSize () const |
TBool | VowelSequenceFlag () const |
TUint16 | VowelSequenceResult () const |
void | ClearVowelSequence () |
TInt16 | DeadKey () const |
void | ClearDeadKey () |
void | ClearLastChar () |
void | SetLastChar (TInt aLastChar) |
TInt | GetLastChar () const |
TUint16 | ReplacedCharacter () |
void | SetLastKey (TPtiKey aKey) |
TPtiTextCase | VowelCase () const |
void | ResetVietnameseVowelSequenceAndToneMarks () |
TPtiKey | LastKey () const |
TPtrC | GetAll (TPtiTextCase aCase) |
Returns all keymapping data for current key, excluding first character (which is expected to be "get all"-control character).
|
|
void | SetFlag (TInt aFlag) |
void | ResetFlag (TInt aFlag) |
Static Public Member Functions |
|
static IMPORT_C CPtiQwertyKeyMappings * | NewL (TDesC &aData) |
static IMPORT_C CPtiQwertyKeyMappings * | NewL (TInt16 *aData) |
|
|
|
Reimplemented from CPtiMappings. |
|
|
|
|
Returns key code for key currently being mapped (relates to StartMapping and NextKey).
Implements MPtiKeyMappings. |
|
|
|
|
Returns all keymapping data for current key, excluding first character (which is expected to be "get all"-control character).
Implements MPtiKeyMappings. |
|
Returns keymapping data for given key.
|
|
|
Scans through keymapping data and returns key code for given character.
Implements MPtiKeyMappings. |
|
|
|
|
Implements MPtiKeyMappings. |
|
|
Replaces keymapping data for given key.
Implements MPtiKeyMappings. |
|
|
|
|
|
|
Start mapping for given key.
Implements MPtiKeyMappings. |
|
|
|
|
Reimplemented from CPtiMappings. |