MPtiKeyMappings Class Reference

API published in: S60 3rd Ed

Link against: ptiengine.lib

Capability Information

Required Capabilities

None


#include <ptikeymappings.h>

Inherited by CPtiKeyMappings, and CPtiQwertyKeyMappings.


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
virtual TPtiKey  CurrentKey ()=0
virtual TInt  ReplaceKeyMapL (TPtiKey aKey, TDesC &aMap, TPtiTextCase aCase)=0
virtual TPtiKey  KeyForCharacter (TUint16 aChar)=0
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).

Constructor & Destructor Documentation

virtual MPtiKeyMappings::~MPtiKeyMappings  )  [inline, virtual]
 

Member Function Documentation

virtual TPtiKey MPtiKeyMappings::CurrentKey  )  [pure virtual]
 

Implemented in CPtiKeyMappings, and CPtiQwertyKeyMappings.

virtual TPtrC MPtiKeyMappings::GetAll TPtiTextCase  aCase  )  [pure virtual]
 

Returns all keymapping data for current key, excluding first character (which is expected to be "get all"-control character).

Parameters:
aCase  Text case for which data will be returned.
Returns:
Constant descriptor pointing to keymap data.

Implemented in CPtiKeyMappings, and CPtiQwertyKeyMappings.

virtual TPtiKey MPtiKeyMappings::KeyForCharacter TUint16  aChar  )  [pure virtual]
 

Implemented in CPtiKeyMappings, and CPtiQwertyKeyMappings.

virtual TUint16 MPtiKeyMappings::NextKey TPtiKey  aKey,
TBool &  aAppend,
TPtiTextCase  aCase
[pure virtual]
 

Implemented in CPtiKeyMappings, and CPtiQwertyKeyMappings.

virtual TInt MPtiKeyMappings::ReplaceKeyMapL TPtiKey  aKey,
TDesC &  aMap,
TPtiTextCase  aCase
[pure virtual]
 

Implemented in CPtiKeyMappings, and CPtiQwertyKeyMappings.

virtual TUint16 MPtiKeyMappings::StartMapping TPtiKey  aKey,
TPtiTextCase  aCase,
TPtiEngineInputMode  aMode = EPtiEngineInputModeNone
[pure virtual]
 

Starts mapping new key.

Will return first character bound to given key in given text case.

Parameters:
aKey  A key to be mapped.
aCase  Text case for mapping.
aMode  Input mode for mapping. This is needed if keymapping data contains characters for several input modes (used mainly with Chinese modes). This value will be matched to possible input mode control characters in keymapping data.
Returns:
First character bound to requested key.

Implemented in CPtiKeyMappings, and CPtiQwertyKeyMappings.


The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top