CPeninputDataMgr Class Reference

class CPeninputDataMgr : public CBase

Data manager implementation

peninputcommonlayout.lib
Since
S60 v3.2

Inherits from

Public Member Functions
~CPeninputDataMgr ()
IMPORT_C void HandleGSRepositoryChange ( TInt )
IMPORT_C void InitMore ()
IMPORT_C TBool IsCapsLockPermitted ()
IMPORT_C TBool IsShiftPermitted ()
IMPORT_C CPeninputDataMgr * NewL ( MPeninputLayoutContext *)
IMPORT_C CPeninputDataMgr * NewLC ( MPeninputLayoutContext *)
IMPORT_C void NotifyEngine ( TPeninputDataType , TAny *)
IMPORT_C TAny * RequestData ( TPeninputDataType )
IMPORT_C void Reset ()
IMPORT_C void SaveKey ( TInt , TInt )
IMPORT_C void SetData ( TPeninputDataType , TAny *)
Protected Member Functions
CPeninputDataMgr ( MPeninputLayoutContext *)
IMPORT_C void ConstructL ()
IMPORT_C TInt HandleGSRepositoryCallBack ( TAny *)
Private Member Functions
void SetScreenMode (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_C CPeninputDataMgr ( MPeninputLayoutContext * aContext ) [protected]

Constructor

Since
S60 v3.2

Parameters

MPeninputLayoutContext * aContext The layout context

~CPeninputDataMgr()

IMPORT_C ~CPeninputDataMgr ( ) [virtual]

Destructor

Since
S60 v3.2

Member Functions Documentation

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

2nd constructor function

Since
S60 v3.2

HandleGSRepositoryCallBack(TAny *)

IMPORT_C TInt HandleGSRepositoryCallBack ( TAny * aPtr ) [protected, static]

Handle notification from CenRep monitor

Since
S60 v3.2

Parameters

TAny * aPtr The pointer to callback data

HandleGSRepositoryChange(TInt)

IMPORT_C void HandleGSRepositoryChange ( TInt aChangedKey ) [virtual]

Call back function, which is called when some key changed

Since
S60 v3.2

Parameters

TInt aChangedKey The key whose value is changed

InitMore()

IMPORT_C void InitMore ( ) [virtual]

Other initialization

Since
S60 v3.2

IsCapsLockPermitted()

IMPORT_C TBool IsCapsLockPermitted ( )

IsShiftPermitted()

IMPORT_C TBool IsShiftPermitted ( )

NewL(MPeninputLayoutContext *)

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

Create one CPeninputDataMgr object

Since
S60 v3.2

Parameters

MPeninputLayoutContext * aContext The layout context

NewLC(MPeninputLayoutContext *)

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

Create one CPeninputDataMgr object

Since
S60 v3.2

Parameters

MPeninputLayoutContext * aContext The layout context

NotifyEngine(TPeninputDataType, TAny *)

IMPORT_C void NotifyEngine ( TPeninputDataType aType,
TAny * aData
) [virtual]

Notify engine that some data changed

Since
S60 v3.2

Parameters

TPeninputDataType aType The type of the data to be notified
TAny * aData The pointer to the notified data

RequestData(TPeninputDataType)

IMPORT_C TAny * RequestData ( TPeninputDataType aDataType )

From MPeninputDataProvider Request data according to the data type

Since
S60 v3.2

Parameters

TPeninputDataType aDataType The data type need to get

Reset()

IMPORT_C void Reset ( ) [virtual]

From MPeninputDataProvider Reset data contained in data manager

Since
S60 v3.2

SaveKey(TInt, TInt)

IMPORT_C void SaveKey ( TInt aKey,
TInt aValue
) [virtual]

From MPeninputDataProvider Save data into AknFepRepository

Since
S60 v3.2

Parameters

TInt aKey The key name
TInt aValue The key value

SetData(TPeninputDataType, TAny *)

IMPORT_C void SetData ( TPeninputDataType aDataType,
TAny * aData
)

From MPeninputDataProvider Set data according to the data type

Since
S60 v3.2

Parameters

TPeninputDataType aDataType The data type need to set
TAny * aData The pointer to the new setting data

SetScreenMode(const TPixelsTwipsAndRotation &)

void SetScreenMode ( const TPixelsTwipsAndRotation & aScreenMode ) [private]

Set Screen Mode

Since
S60 v3.2

Parameters

const TPixelsTwipsAndRotation & aScreenMode The 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