CPeninputDataMgr Class Reference

class CPeninputDataMgr : public CBase

Data manager implementation

peninputcommonlayout.lib
Since
S60 v3.2

Inherits from

Public Member Functions
~CPeninputDataMgr()
IMPORT_C voidHandleGSRepositoryChange(TInt)
IMPORT_C voidInitMore()
IMPORT_C TBoolIsCapsLockPermitted()
IMPORT_C TBoolIsShiftPermitted()
IMPORT_C CPeninputDataMgr *NewL(MPeninputLayoutContext *)
IMPORT_C CPeninputDataMgr *NewLC(MPeninputLayoutContext *)
IMPORT_C voidNotifyEngine(TPeninputDataType, TAny *)
IMPORT_C TAny *RequestData(TPeninputDataType)
IMPORT_C voidReset()
IMPORT_C voidSaveKey(TInt, TInt)
IMPORT_C voidSetData(TPeninputDataType, TAny *)
Protected Member Functions
CPeninputDataMgr(MPeninputLayoutContext *)
IMPORT_C voidConstructL()
IMPORT_C TIntHandleGSRepositoryCallBack(TAny *)
Private Member Functions
voidSetScreenMode(const TPixelsTwipsAndRotation &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Protected Attributes
CRepository *iAknFepRepository
TBool iAllowCaseChange
TBool iCapslockDown
TInt iCase
TInt iClientLayout
MPeninputLayoutContext *iContext
TInt iCurrentAccent
TInt iCurrentRange
TRect iDataQueryDlgRect
TInt iEditorNumericKeymap
TBool iEnableSwitchBtn
CRepository *iGSRepository
CAknFepRepositoryWatcher *iGSRepositoryWatcher
TInt iGuideLineBottom
TInt iGuideLineTop
TInt iInputLanguage
TBool iLatched
TBool iLayoutSizeChanging
TInt iPermittedCase
TInt iPermittedRange
TInt iPositionSettingId
TAny *iReserve_1
TPixelsTwipsAndRotation iScreenMode
TSize iScreenSize
TBool iShiftDown
TInt iUnitHeight
TBool iUnitHeightSet
TBool iUnitSizeSet
TInt iUnitWidth
TBool iUnitWidthSet
HBufC *iUserDefinedResource
TInt iVkbLayoutId
TInt iWindowPosition

Constructor & Destructor Documentation

CPeninputDataMgr(MPeninputLayoutContext *)

IMPORT_CCPeninputDataMgr(MPeninputLayoutContext *aContext)[protected]

Constructor

Since
S60 v3.2

Parameters

MPeninputLayoutContext * aContextThe layout context

~CPeninputDataMgr()

IMPORT_C~CPeninputDataMgr()[virtual]

Destructor

Since
S60 v3.2

Member Functions Documentation

ConstructL()

IMPORT_C voidConstructL()[protected]

2nd constructor function

Since
S60 v3.2

HandleGSRepositoryCallBack(TAny *)

IMPORT_C TIntHandleGSRepositoryCallBack(TAny *aPtr)[protected, static]

Handle notification from CenRep monitor

Since
S60 v3.2

Parameters

TAny * aPtrThe pointer to callback data

HandleGSRepositoryChange(TInt)

IMPORT_C voidHandleGSRepositoryChange(TIntaChangedKey)[virtual]

Call back function, which is called when some key changed

Since
S60 v3.2

Parameters

TInt aChangedKeyThe key whose value is changed

InitMore()

IMPORT_C voidInitMore()[virtual]

Other initialization

Since
S60 v3.2

IsCapsLockPermitted()

IMPORT_C TBoolIsCapsLockPermitted()

IsShiftPermitted()

IMPORT_C TBoolIsShiftPermitted()

NewL(MPeninputLayoutContext *)

IMPORT_C CPeninputDataMgr *NewL(MPeninputLayoutContext *aContext)[static]

Create one CPeninputDataMgr object

Since
S60 v3.2

Parameters

MPeninputLayoutContext * aContextThe layout context

NewLC(MPeninputLayoutContext *)

IMPORT_C CPeninputDataMgr *NewLC(MPeninputLayoutContext *aContext)[static]

Create one CPeninputDataMgr object

Since
S60 v3.2

Parameters

MPeninputLayoutContext * aContextThe layout context

NotifyEngine(TPeninputDataType, TAny *)

IMPORT_C voidNotifyEngine(TPeninputDataTypeaType,
TAny *aData
)[virtual]

Notify engine that some data changed

Since
S60 v3.2

Parameters

TPeninputDataType aTypeThe type of the data to be notified
TAny * aDataThe pointer to the notified data

RequestData(TPeninputDataType)

IMPORT_C TAny *RequestData(TPeninputDataTypeaDataType)

From MPeninputDataProvider Request data according to the data type

Since
S60 v3.2

Parameters

TPeninputDataType aDataTypeThe data type need to get

Reset()

IMPORT_C voidReset()[virtual]

From MPeninputDataProvider Reset data contained in data manager

Since
S60 v3.2

SaveKey(TInt, TInt)

IMPORT_C voidSaveKey(TIntaKey,
TIntaValue
)[virtual]

From MPeninputDataProvider Save data into AknFepRepository

Since
S60 v3.2

Parameters

TInt aKeyThe key name
TInt aValueThe key value

SetData(TPeninputDataType, TAny *)

IMPORT_C voidSetData(TPeninputDataTypeaDataType,
TAny *aData
)

From MPeninputDataProvider Set data according to the data type

Since
S60 v3.2

Parameters

TPeninputDataType aDataTypeThe data type need to set
TAny * aDataThe pointer to the new setting data

SetScreenMode(const TPixelsTwipsAndRotation &)

voidSetScreenMode(const TPixelsTwipsAndRotation &aScreenMode)[private]

Set Screen Mode

Since
S60 v3.2

Parameters

const TPixelsTwipsAndRotation & aScreenModeThe reference of the screen mode data

Member Data Documentation

CRepository * iAknFepRepository

CRepository *iAknFepRepository[protected]

The aknfep repository Own

TBool iAllowCaseChange

TBool iAllowCaseChange[protected]

TBool iCapslockDown

TBool iCapslockDown[protected]

The flag of capslock down

TInt iCase

TInt iCase[protected]

The case

TInt iClientLayout

TInt iClientLayout[protected]

The client layout

MPeninputLayoutContext * iContext

MPeninputLayoutContext *iContext[protected]

The layout context Not own

TInt iCurrentAccent

TInt iCurrentAccent[protected]

The current accent

TInt iCurrentRange

TInt iCurrentRange[protected]

The current range

TRect iDataQueryDlgRect

TRect iDataQueryDlgRect[protected]

The rectangle of data query dialog

TInt iEditorNumericKeymap

TInt iEditorNumericKeymap[protected]

The editor numeric key map

TBool iEnableSwitchBtn

TBool iEnableSwitchBtn[protected]

The editor numeric key map

CRepository * iGSRepository

CRepository *iGSRepository[protected]

The global setttings repository Own

CAknFepRepositoryWatcher * iGSRepositoryWatcher

CAknFepRepositoryWatcher *iGSRepositoryWatcher[protected]

The repository watcher, which will monitor change of the language and guide line Own

TInt iGuideLineBottom

TInt iGuideLineBottom[protected]

The position of the bottom guide line

TInt iGuideLineTop

TInt iGuideLineTop[protected]

The position of the top guide line

TInt iInputLanguage

TInt iInputLanguage[protected]

The peninput language

TBool iLatched

TBool iLatched[protected]

Indicate whether DeadKey has been latched

TBool iLayoutSizeChanging

TBool iLayoutSizeChanging[protected]

Layout size changing flag

TInt iPermittedCase

TInt iPermittedCase[protected]

The permitted case

TInt iPermittedRange

TInt iPermittedRange[protected]

The permitted range

TInt iPositionSettingId

TInt iPositionSettingId[protected]

The setting id for window postion

TAny * iReserve_1

TAny *iReserve_1[protected]

The reserve data not Own

TPixelsTwipsAndRotation iScreenMode

TPixelsTwipsAndRotation iScreenMode[protected]

The screen mode

TSize iScreenSize

TSize iScreenSize[protected]

The screen size

TBool iShiftDown

TBool iShiftDown[protected]

The flag of shift down

TInt iUnitHeight

TInt iUnitHeight[protected]

The unit height

TBool iUnitHeightSet

TBool iUnitHeightSet[protected]

Indicate whether unit height has been set

TBool iUnitSizeSet

TBool iUnitSizeSet[protected]

Indicate whether unitsize has been changed

TInt iUnitWidth

TInt iUnitWidth[protected]

The unit width

TBool iUnitWidthSet

TBool iUnitWidthSet[protected]

Indicate whether unit width has been set

HBufC * iUserDefinedResource

HBufC *iUserDefinedResource[protected]

The user defined resource for number Own

TInt iVkbLayoutId

TInt iVkbLayoutId[protected]

The vkb layout

TInt iWindowPosition

TInt iWindowPosition[protected]

The window position