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)

voidConstructL(TResourceReaderaReader)[protected]

Symbian second-phase constructor

Since
S60 v3.2

Parameters

TResourceReader aReaderResource reader

Count()

IMPORT_C TIntCount()const

Get count of items in keymapping id array

Since
S60 v3.2

KeyMappingStringL(const TInt)

IMPORT_C HBufC *KeyMappingStringL(const TIntaKeyMappingId)const

Get keymapping string by keymapping id

Since
S60 v3.2

Parameters

const TInt aKeyMappingIdKeymapping id

KeyMappingStringL(const TInt, const TInt)

IMPORT_C HBufC *KeyMappingStringL(const TIntaKeyMappingID,
const TIntaLang
)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(TResourceReaderaReader)[static]

Two-phased constructor

Since
S60 v3.2

Parameters

TResourceReader aReaderResource reader

NewLC(TResourceReader)

IMPORT_C CPeninputNumericKepMappingMgr *NewLC(TResourceReaderaReader)[static]

Two-phased constructor

Since
S60 v3.2

Parameters

TResourceReader aReaderResource reader

Reset()

IMPORT_C voidReset()

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