CMPXCenRepWatcher Class Reference

class CMPXCenRepWatcher : public CActive

Class for observing changes in central repository values.

mpxcommon.lib

Inherits from

Constructor & Destructor Documentation

CMPXCenRepWatcher(const TUid &, TUint32, MMPXCenRepObserver *)

CMPXCenRepWatcher(const TUid &aRepositoryUid,
TUint32aId,
MMPXCenRepObserver *aObserver
)[private]

C++ constructor.

Since
S60 3.2.3

Parameters

const TUid & aRepositoryUiduid of CenRep file
TUint32 aIdid of the key
MMPXCenRepObserver * aObserverobersver

~CMPXCenRepWatcher()

IMPORT_C~CMPXCenRepWatcher()[virtual]

Destructor.

Since
S60 3.2.3

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Symbian OS 2nd phase constructor.

Since
S60 3.2.3

CurrentValueL()

IMPORT_C TIntCurrentValueL()

Get current value as integer.

Since
S60 3.2.3

DoCancel()

voidDoCancel()[protected, virtual]

From CActive.

Since
S60 3.2.3

NewL(const TUid &, TUint32, MMPXCenRepObserver *)

IMPORT_C CMPXCenRepWatcher *NewL(const TUid &aRepositoryUid,
TUint32aId,
MMPXCenRepObserver *aObserver
)[static]

Two-phased constructor.

Since
S60 3.2.3

Parameters

const TUid & aRepositoryUiduid of CenRep file
TUint32 aIdid of the key
MMPXCenRepObserver * aObserverobersver

RunL()

voidRunL()[protected, virtual]

From CActive.

Since
S60 3.2.3

SetValueL(TInt)

IMPORT_C voidSetValueL(TIntaNewValue)

Set integer value.

Since
S60 3.2.3

Parameters

TInt aNewValueNew value for the key

Member Data Documentation

TUint32 iId

TUint32 iId[private]

MMPXCenRepObserver * iObserver

MMPXCenRepObserver *iObserver[private]

CRepository * iRepository

CRepository *iRepository[private]

TUid iRepositoryUid

TUid iRepositoryUid[private]