CVccEngPsProperty Class Reference

class CVccEngPsProperty : public CBase

CVccEngPsProperty manages the VCC P&S keys on the VCC HO Engine side.

This class defines the property keys used by Vcc Ho Engine. It provides access to read/write values. Keys are deleted when this class is deleted.

Key KVccPropKeyHoStatus: EVccHoStateIdle Everything ok EVccCsToPsHoStarted CS->PS HO started EVccCsToPsHoInprogress CS->PS HO in progress. EVccCsToPsHoSuccessful CS->PS HO ended successfully. EVccCsToPsHoFailure HO server encountered failure. EVccHoStateUnknown nok, key value could not be fetched

        CVccEngPsProperty* iVccPsp = CVccEngPsProperty::NewL();
 		...
 		iVccPsp.NotifySubscriberL( EVccCsToPsHoStarted );
 		...
 		iVccPsp.NotifySubscriberL( EVccCsToPsHoSuccessful );
 		...
 		delete iVccPsp;
       
vcchoengine.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CVccEngPsProperty()

CVccEngPsProperty ( ) [private]

Constructor

~CVccEngPsProperty()

~CVccEngPsProperty ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Constructor

CreateHandlesL()

void CreateHandlesL ( ) [private]

creates handles to properties

DefineKeysL()

void DefineKeysL ( ) [private]

Defines keys used by Vcc Ho engine

GetCurrentErrorCode(TInt &)

TInt GetCurrentErrorCode ( TInt & aErrorCode )

Gets the latest value of the Vcc property key KVccPropKeyHoError.

Since
S60 5.0

Parameters

TInt & aErrorCode The value of the key

GetCurrentHoStatus(TVccHoStatus &)

TInt GetCurrentHoStatus ( TVccHoStatus & aStatus )

Gets the latest value of the Vcc property key KVccPropKeyHoStatus.

Since
S60 5.0

Parameters

TVccHoStatus & aStatus The value of the key

NewL()

CVccEngPsProperty * NewL ( ) [static]

Two-phased constructor.

NotifySubscriberL(TVccHoStatus, TInt)

void NotifySubscriberL ( TVccHoStatus aStatus,
TInt aErrorCode
)

Updates the Vcc property keys KVccPropKeyHoStatus and KVccPropKeyHoError. Subscribers of these properties will get the notification about the changed values.

Since
S60 5.0

Parameters

TVccHoStatus aStatus The new value of the KVccPropKeyHoStatus key
TInt aErrorCode The new value of the KVccPropKeyHoError key

Member Data Documentation

RProperty iErrorCodeKey

RProperty iErrorCodeKey [private]

Handle to error code property

RProperty iHoStatusKey

RProperty iHoStatusKey [private]

Handle to ho status property