CPeninputNumericKepMappingMgr Class Reference

class CPeninputNumericKepMappingMgr : public CBase

vkb number keymapping manager class

This class is to manage number keymapping. When this class contructs, keymapping manager loads all mapping number key string from resource file. User can get mapping key string according to keymapping id and delete all internal value when destructing or calling reset.

peninputcommonlayout.lib
Since
S60 v3.2

Inherits from

  • CPeninputNumericKepMappingMgr

Constructor & Destructor Documentation

~CPeninputNumericKepMappingMgr()

IMPORT_C ~CPeninputNumericKepMappingMgr ( ) [virtual]

Destructor

Since
S60 v3.2

Member Functions Documentation

ConstructL(TResourceReader)

void ConstructL ( TResourceReader aReader ) [protected]

Symbian second-phase constructor

Since
S60 v3.2

Parameters

TResourceReader aReader Resource reader

Count()

IMPORT_C TInt Count ( ) const

Get count of items in keymapping id array

Since
S60 v3.2

KeyMappingStringL(const TInt)

IMPORT_C HBufC * KeyMappingStringL ( const TInt aKeyMappingId ) const

Get keymapping string by keymapping id

Since
S60 v3.2

Parameters

const TInt aKeyMappingId Keymapping id

KeyMappingStringL(const TInt, const TInt)

IMPORT_C HBufC * KeyMappingStringL ( const TInt aKeyMappingID,
const TInt aLang
) const

Get Arabic keymapping string by keymapping id

Since
S60 v3.2

Parameters

const TInt aKeyMappingID
const TInt aLang

NewL(TResourceReader)

IMPORT_C CPeninputNumericKepMappingMgr * NewL ( TResourceReader aReader ) [static]

Two-phased constructor

Since
S60 v3.2

Parameters

TResourceReader aReader Resource reader

NewLC(TResourceReader)

IMPORT_C CPeninputNumericKepMappingMgr * NewLC ( TResourceReader aReader ) [static]

Two-phased constructor

Since
S60 v3.2

Parameters

TResourceReader aReader Resource reader

Reset()

IMPORT_C void Reset ( )

Remove all keymapping ids and strings in array

Since
S60 v3.2

Member Data Documentation

RArray< TInt > iKeyMappingIdList

RArray < TInt > iKeyMappingIdList [private]

Keymapping id array

RPointerArray< HBufC > iKeyMappingStringList

RPointerArray < HBufC > iKeyMappingStringList [private]

Keymapping string array