Link against: ptiengine.lib
#include <PtiKeyMappings.h>
Inherited by CPtiKeyMappings, and CPtiQwertyKeyMappings.
Interface class for PtiEngine keymapping functionality.
Public Member Functions | |
virtual | ~MPtiKeyMappings () |
virtual TUint16 | StartMapping (TPtiKey aKey, TPtiTextCase aCase, TPtiEngineInputMode aMode=EPtiEngineInputModeNone)=0 |
Starts mapping new key. | |
virtual TUint16 | NextKey (TPtiKey aKey, TBool &aAppend, TPtiTextCase aCase)=0 |
Continues keymapping sequence. | |
virtual TPtiKey | CurrentKey ()=0 |
Returns PtiEngine key code for last StartMapping() call. | |
virtual TInt | ReplaceKeyMapL (TPtiKey aKey, TDesC &aMap, TPtiTextCase aCase)=0 |
Replaces keymapping data for given key and case. | |
virtual TPtiKey | KeyForCharacter (TUint16 aChar)=0 |
Returns key code for key which produces given unicode character (if found). | |
virtual TPtrC | GetAll (TPtiTextCase aCase)=0 |
Returns all keymapping data for current key, excluding first character (which is expected to be "get all"-control character). |
|
|
Returns PtiEngine key code for last StartMapping() call.
Implemented in CPtiKeyMappings, and CPtiQwertyKeyMappings. |
|
Returns all keymapping data for current key, excluding first character (which is expected to be "get all"-control character).
Implemented in CPtiKeyMappings, CPtiQwertyKeyMappings, and CPtiHalfQwertyKeyMappings. |
|
Returns key code for key which produces given unicode character (if found).
Implemented in CPtiKeyMappings, CPtiQwertyKeyMappings, and CPtiHalfQwertyKeyMappings. |
|
Continues keymapping sequence. This method should be called when key event comes in while multitapping timer is active. Takes care of cycling through multitapping candidates associated for given key.
Implemented in CPtiKeyMappings, CPtiQwertyKeyMappings, and CPtiHalfQwertyKeyMappings. |
|
Replaces keymapping data for given key and case.
Implemented in CPtiKeyMappings, CPtiQwertyKeyMappings, and CPtiHalfQwertyKeyMappings. |
|
Starts mapping new key. Will return first character bound to given key in given text case.
Implemented in CPtiKeyMappings, CPtiQwertyKeyMappings, and CPtiHalfQwertyKeyMappings. |