CVccUiPsPropertyListener Class Reference

class CVccUiPsPropertyListener : public CActive

Inherits from

Constructor & Destructor Documentation

CVccUiPsPropertyListener(const TUint)

CVccUiPsPropertyListener ( const TUint aKeyId ) [private]

Constructor.

Parameters

const TUint aKeyId Id of a key of the property.

~CVccUiPsPropertyListener()

IMPORT_C ~CVccUiPsPropertyListener ( ) [virtual]

Destructor.

Member Functions Documentation

AddObserverL(MVccPsPropertyListenerObserver &)

IMPORT_C void AddObserverL ( MVccPsPropertyListenerObserver & aObserver )

Add an observer

Parameters

MVccPsPropertyListenerObserver & aObserver Reference to observer object

ConstructL()

void ConstructL ( ) [private]

Symbian 2nd phase constructor

CurrentValue()

IMPORT_C TInt CurrentValue ( )

Get the current value of the property.

DoCancel()

void DoCancel ( ) [private, virtual]

NewL(const TUint)

IMPORT_C CVccUiPsPropertyListener * NewL ( const TUint aKeyId ) [static]

Symbian two-phased constructor.

Parameters

const TUint aKeyId Id of a key of the property.

NotifyObserversL()

void NotifyObserversL ( ) [private]

Notifies the observers about the Ho state change.

RemoveObserver(MVccPsPropertyListenerObserver &)

IMPORT_C void RemoveObserver ( MVccPsPropertyListenerObserver & aObserver )

Remove an observer.

Parameters

MVccPsPropertyListenerObserver & aObserver Reference to observer object

RunL()

void RunL ( ) [private, virtual]

Start()

IMPORT_C void Start ( )

Start the listener. The listener subscribes to the given property.

Member Data Documentation

TUid iCategoryId

TUid iCategoryId [private]

The uid of the property category to be watched.

TUint iKeyId

TUint iKeyId [private]

The property key uid to be watched.

RPointerArray< MVccPsPropertyListenerObserver > iObservers

RPointerArray < MVccPsPropertyListenerObserver > iObservers [private]

Obsevers for callback from this. Observers are not owned.

RProperty iProperty

RProperty iProperty [private]

the property category.