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,
TUint32 aId,
MMPXCenRepObserver * aObserver
) [private]

C++ constructor.

Since
S60 3.2.3

Parameters

const TUid & aRepositoryUid uid of CenRep file
TUint32 aId id of the key
MMPXCenRepObserver * aObserver obersver

~CMPXCenRepWatcher()

IMPORT_C ~CMPXCenRepWatcher ( ) [virtual]

Destructor.

Since
S60 3.2.3

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Symbian OS 2nd phase constructor.

Since
S60 3.2.3

CurrentValueL()

IMPORT_C TInt CurrentValueL ( )

Get current value as integer.

Since
S60 3.2.3

DoCancel()

void DoCancel ( ) [protected, virtual]

From CActive .

Since
S60 3.2.3

NewL(const TUid &, TUint32, MMPXCenRepObserver *)

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

Two-phased constructor.

Since
S60 3.2.3

Parameters

const TUid & aRepositoryUid uid of CenRep file
TUint32 aId id of the key
MMPXCenRepObserver * aObserver obersver

RunL()

void RunL ( ) [protected, virtual]

From CActive .

Since
S60 3.2.3

SetValueL(TInt)

IMPORT_C void SetValueL ( TInt aNewValue )

Set integer value.

Since
S60 3.2.3

Parameters

TInt aNewValue New 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]