CVccSPSettings Class Reference

class CVccSPSettings : public CBase

CVccSPSettings handles saving of Vcc settings.

Settings are received from CVccAdapter (an adapter in Provisioning framework) and VCC DM Adapter and stored to SPsettings

    _LIT( KServiceName, "VCC" );
    _LIT( KVdiValue, "sip:2323" );
   
   CVccSPSettings* vccSettings = CVccSPSettings::NewL();
   
   //Store VDI
   vccSettings->SetServiceNameL( KServiceName );
   vccSettings->SetVdiL( KVdiValue );
   vccSettings->StoreL();

   //Read Preferred domain from store 
   vccSettings->ReadSettingsL( KServiceName );
   TInt prefDom = vccSettings->PreferredDomain();
  
   delete vccSettings;
vccutils.dll
Since
S60 v3.2

Inherits from

Public Member Functions
~CVccSPSettings()
IMPORT_C TIntConvertToIntL(const TDesC &)
IMPORT_C TIntCsHoHysteresisL()
IMPORT_C TIntCsHoHysteresisTimerHighL()
IMPORT_C TIntCsHoHysteresisTimerLowL()
IMPORT_C TIntCsHoTresholdL()
IMPORT_C TIntDtAllowedWhenCsOriginatedL()
IMPORT_C TIntDtCsToPsAllowedL()
IMPORT_C TIntDtHeldWaitingCallsAllowedL()
IMPORT_C TIntDtPsToCsAllowedL()
IMPORT_C TIntFindPropertyL(TServiceId, TServicePropertyName, CSPProperty &)
IMPORT_C voidFindServiceEntryL(const TDesC &, CSPEntry &)
IMPORT_C TIntImmediateDtL()
IMPORT_C CVccSPSettings *NewL()
IMPORT_C TIntPreferredDomainL()
IMPORT_C const TDesC &ProviderId()
IMPORT_C TIntPsHoHysteresisL()
IMPORT_C TIntPsHoHysteresisTimerHighL()
IMPORT_C TIntPsHoHysteresisTimerLowL()
IMPORT_C TIntPsHoTresholdL()
IMPORT_C voidReadSettingsL(const TDesC &)
IMPORT_C const TDesC &ServiceName()
IMPORT_C voidSetDtAllowedWhenCsOriginated(const TDesC &)
IMPORT_C voidSetDtCsHoHysteresisL(const TDesC &)
IMPORT_C voidSetDtCsHoHysteresisTimerHighL(const TDesC &)
IMPORT_C voidSetDtCsHoHysteresisTimerLowL(const TDesC &)
IMPORT_C voidSetDtCsHoTresholdL(const TDesC &)
IMPORT_C voidSetDtCsToPsAllowedL(const TDesC &)
IMPORT_C voidSetDtHeldWaitingCallsAllowedL(const TDesC &)
IMPORT_C voidSetDtPsToCsAllowedL(const TDesC &)
IMPORT_C voidSetDtWlanHoHysteresisL(const TDesC &)
IMPORT_C voidSetDtWlanHoHysteresisTimerHighL(const TDesC &)
IMPORT_C voidSetDtWlanHoHysteresisTimerLowL(const TDesC &)
IMPORT_C voidSetDtWlanHoTresholdL(const TDesC &)
IMPORT_C voidSetImmediateDtL(const TDesC &)
IMPORT_C voidSetPreferredDomainL(const TDesC &)
IMPORT_C voidSetProviderIdL(const TDesC &)
IMPORT_C voidSetServiceNameL(const TDesC &)
IMPORT_C TIntSetVdiL(const TDesC &)
IMPORT_C TBoolSetVdnL(const TDesC &)
IMPORT_C voidSetVoipServiceIdL(const TDesC &)
IMPORT_C voidSetVoipServiceIdL(TInt)
IMPORT_C voidStoreL()
IMPORT_C TIntVoipServiceId()
Private Member Functions
CVccSPSettings()
voidAddOrUpdatePropertyL(CSPEntry &, const TServicePropertyName, TInt)
voidAddOrUpdatePropertyL(CSPEntry &, const TServicePropertyName, const TDesC &)
voidConstructL()
TInt GetPropertyValue(CSPEntry &, const TServicePropertyName &, TInt &)
TInt GetPropertyValue(CSPEntry &, const TServicePropertyName &, TDes &)
voidModifyVoipProfileL()
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()
Private Attributes
HBufC *iDtAllowedWhenCsOriginated
HBufC *iDtCsHoHysteresis
HBufC *iDtCsHoHysteresisTimerHigh
HBufC *iDtCsHoHysteresisTimerLow
HBufC *iDtCsHoTreshold
HBufC *iDtCsToPsAllowed
HBufC *iDtHeldWaitingCallsAllowed
HBufC *iDtPsToCsAllowed
HBufC *iDtWlanHoHysteresis
HBufC *iDtWlanHoHysteresisTimerHigh
HBufC *iDtWlanHoHysteresisTimerLow
HBufC *iDtWlanHoTreshold
HBufC *iImmediateDt
HBufC *iPreferredDomain
HBufC *iProviderId
TServiceId iServiceId
HBufC *iServiceName
CSPSettings *iSettings
HBufC *iVdi
HBufC *iVdn
TServiceId iVoipServiceId
HBufC *iVoipServiceIdString

Constructor & Destructor Documentation

CVccSPSettings()

CVccSPSettings()[private]

C++ Constructor

~CVccSPSettings()

IMPORT_C~CVccSPSettings()[virtual]

Destructor.

Member Functions Documentation

AddOrUpdatePropertyL(CSPEntry &, const TServicePropertyName, TInt)

voidAddOrUpdatePropertyL(CSPEntry &aServiceEntry,
const TServicePropertyNameaName,
TIntaValue
)[private]

Adds new integer type property or updates the old property of the given service entry

Parameters

CSPEntry & aServiceEntryentry which contains the properties
const TServicePropertyName aNamename of the property
TInt aValuevalue of the property

AddOrUpdatePropertyL(CSPEntry &, const TServicePropertyName, const TDesC &)

voidAddOrUpdatePropertyL(CSPEntry &aServiceEntry,
const TServicePropertyNameaName,
const TDesC &aValue
)[private]

Adds new desc type property or updates the old property of the given service entry

Parameters

CSPEntry & aServiceEntryentry which contains the properties
const TServicePropertyName aNamename of the property
const TDesC & aValuevalue of the property

ConstructL()

voidConstructL()[private]

Symbian 2nd phase constructor

ConvertToIntL(const TDesC &)

IMPORT_C TIntConvertToIntL(const TDesC &aValue)

Converts given TDesC value to TInt.

Parameters

const TDesC & aValuevalue to be converted

CsHoHysteresisL()

IMPORT_C TIntCsHoHysteresisL()

GSM hysterisis value

Since
S60 3.2

CsHoHysteresisTimerHighL()

IMPORT_C TIntCsHoHysteresisTimerHighL()

GSM hysterisis timer value for high signal

Since
S60 3.2

CsHoHysteresisTimerLowL()

IMPORT_C TIntCsHoHysteresisTimerLowL()

GSM hysterisis timer low signal

Since
S60 3.2

CsHoTresholdL()

IMPORT_C TIntCsHoTresholdL()

Threshold for good signal level ? in GSM

Since
S60 3.2

DtAllowedWhenCsOriginatedL()

IMPORT_C TIntDtAllowedWhenCsOriginatedL()

Is handover allowed when CS originated original call

Since
S60 3.2

DtCsToPsAllowedL()

IMPORT_C TIntDtCsToPsAllowedL()

Gets Domain transfer from CS to Ps is allowed

Since
S60 3.2

DtHeldWaitingCallsAllowedL()

IMPORT_C TIntDtHeldWaitingCallsAllowedL()

Gets domain transfer allowed while held and waiting calls

Since
S60 3.2

DtPsToCsAllowedL()

IMPORT_C TIntDtPsToCsAllowedL()

Gets Domain transfer from PS to CS is allowed

Since
S60 3.2

FindPropertyL(TServiceId, TServicePropertyName, CSPProperty &)

IMPORT_C TIntFindPropertyL(TServiceIdaServiceId,
TServicePropertyNameaPropertyName,
CSPProperty &aProperty
)

Finds property data from SP Settings table.

Since
S60 3.2

Parameters

TServiceId aServiceIdService ID
TServicePropertyName aPropertyNamename of the property
CSPProperty & aPropertyProperty to store data

FindServiceEntryL(const TDesC &, CSPEntry &)

IMPORT_C voidFindServiceEntryL(const TDesC &aServiceName,
CSPEntry &aServiceEntry
)

Finds entry from service provider settings with given service name.

Parameters

const TDesC & aServiceNamename of the service entry
CSPEntry & aServiceEntryentry which will contain current properties

GetPropertyValue(CSPEntry &, const TServicePropertyName &, TInt &)

TInt GetPropertyValue(CSPEntry &aServiceEntry,
const TServicePropertyName &aPropertyName,
TInt &aValue
)[private]

Finds the given property and extracts it's TInt value.

Parameters

CSPEntry & aServiceEntryentry which contains the properties
const TServicePropertyName & aPropertyNamename of the property
TInt & aValuevalue of the property

GetPropertyValue(CSPEntry &, const TServicePropertyName &, TDes &)

TInt GetPropertyValue(CSPEntry &aServiceEntry,
const TServicePropertyName &aPropertyName,
TDes &aValue
)[private]

Parameters

CSPEntry & aServiceEntry
const TServicePropertyName & aPropertyName
TDes & aValue

ImmediateDtL()

IMPORT_C TIntImmediateDtL()

Gets immediate domain transfer

Since
S60 3.2

ModifyVoipProfileL()

voidModifyVoipProfileL()[private]

Change provider UID and set bootstrap -bit on in VoIP profile

NewL()

IMPORT_C CVccSPSettings *NewL()[static]

Two-phased constructor.

PreferredDomainL()

IMPORT_C TIntPreferredDomainL()

Gets preferred domain

Since
S60 3.2

ProviderId()

IMPORT_C const TDesC &ProviderId()

Returns provider name of stored settings

Since
S60 3.2

PsHoHysteresisL()

IMPORT_C TIntPsHoHysteresisL()

WLAN hysterisis value

Since
S60 3.2

PsHoHysteresisTimerHighL()

IMPORT_C TIntPsHoHysteresisTimerHighL()

WLAN hysterisis timer value for high signal

Since
S60 3.2

PsHoHysteresisTimerLowL()

IMPORT_C TIntPsHoHysteresisTimerLowL()

WLAN hysterisis timer low signal

Since
S60 3.2

PsHoTresholdL()

IMPORT_C TIntPsHoTresholdL()

Threshold for good signal level ? in WLAN

Since
S60 3.2

ReadSettingsL(const TDesC &)

IMPORT_C voidReadSettingsL(const TDesC &aServiceName)

Searches service entry with given name and sets found values to

Since
S60 3.2

Parameters

const TDesC & aServiceName

ServiceName()

IMPORT_C const TDesC &ServiceName()

Sets name of stored settings

Since
S60 3.2

SetDtAllowedWhenCsOriginated(const TDesC &)

IMPORT_C voidSetDtAllowedWhenCsOriginated(const TDesC &aValue)

Parameters

const TDesC & aValue

SetDtCsHoHysteresisL(const TDesC &)

IMPORT_C voidSetDtCsHoHysteresisL(const TDesC &aValue)

Sets CS handover hysteresis value

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetDtCsHoHysteresisTimerHighL(const TDesC &)

IMPORT_C voidSetDtCsHoHysteresisTimerHighL(const TDesC &aValue)

Sets CS handover hysteresis timer for high limit

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetDtCsHoHysteresisTimerLowL(const TDesC &)

IMPORT_C voidSetDtCsHoHysteresisTimerLowL(const TDesC &aValue)

Sets CS handover hysteresis timer for low limit

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetDtCsHoTresholdL(const TDesC &)

IMPORT_C voidSetDtCsHoTresholdL(const TDesC &aValue)

Sets CS handover treshold value

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetDtCsToPsAllowedL(const TDesC &)

IMPORT_C voidSetDtCsToPsAllowedL(const TDesC &aValue)

Sets Domain transfer from CS to Ps is allowed

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetDtHeldWaitingCallsAllowedL(const TDesC &)

IMPORT_C voidSetDtHeldWaitingCallsAllowedL(const TDesC &aValue)

Sets domain transfer allowed while held and waiting calls

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetDtPsToCsAllowedL(const TDesC &)

IMPORT_C voidSetDtPsToCsAllowedL(const TDesC &aValue)

Sets Domain transfer from PS to CS is allowed

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetDtWlanHoHysteresisL(const TDesC &)

IMPORT_C voidSetDtWlanHoHysteresisL(const TDesC &aValue)

Sets WLAN handover hysteresis value

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetDtWlanHoHysteresisTimerHighL(const TDesC &)

IMPORT_C voidSetDtWlanHoHysteresisTimerHighL(const TDesC &aValue)

Sets WLAN handover hysteresis timer for high limit

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetDtWlanHoHysteresisTimerLowL(const TDesC &)

IMPORT_C voidSetDtWlanHoHysteresisTimerLowL(const TDesC &aValue)

Sets WLAN handover hysteresis timer for low limit

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetDtWlanHoTresholdL(const TDesC &)

IMPORT_C voidSetDtWlanHoTresholdL(const TDesC &aValue)

Sets WLAN handover treshold value

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetImmediateDtL(const TDesC &)

IMPORT_C voidSetImmediateDtL(const TDesC &aValue)

Sets immediate domain transfer

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetPreferredDomainL(const TDesC &)

IMPORT_C voidSetPreferredDomainL(const TDesC &aValue)

Sets preferred domain

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetProviderIdL(const TDesC &)

IMPORT_C voidSetProviderIdL(const TDesC &aValue)

Sets name of stored settings

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetServiceNameL(const TDesC &)

IMPORT_C voidSetServiceNameL(const TDesC &aValue)

Sets name of stored settings

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetVdiL(const TDesC &)

IMPORT_C TIntSetVdiL(const TDesC &aValue)

Sets VDI

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetVdnL(const TDesC &)

IMPORT_C TBoolSetVdnL(const TDesC &aValue)

Sets VDN

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetVoipServiceIdL(const TDesC &)

IMPORT_C voidSetVoipServiceIdL(const TDesC &aValue)

Sets Voip service id

Since
S60 3.2

Parameters

const TDesC & aValueGiven value

SetVoipServiceIdL(TInt)

IMPORT_C voidSetVoipServiceIdL(TIntaValue)

Sets Voip service id

Since
S60 3.2

Parameters

TInt aValueGiven value

StoreL()

IMPORT_C voidStoreL()

Saves Vcc settings.

Since
S60 3.2

VoipServiceId()

IMPORT_C TIntVoipServiceId()

Voip service which is used by VCC

Since
S60 3.2

Member Data Documentation

HBufC * iDtAllowedWhenCsOriginated

HBufC *iDtAllowedWhenCsOriginated[private]

HBufC * iDtCsHoHysteresis

HBufC *iDtCsHoHysteresis[private]

CS HO hysteresis Own.

HBufC * iDtCsHoHysteresisTimerHigh

HBufC *iDtCsHoHysteresisTimerHigh[private]

CS HO hysteresis timer used for high limit Own.

HBufC * iDtCsHoHysteresisTimerLow

HBufC *iDtCsHoHysteresisTimerLow[private]

CS HO hysteresis timer used for low limit Own.

HBufC * iDtCsHoTreshold

HBufC *iDtCsHoTreshold[private]

CS HO treshold value Own.

HBufC * iDtCsToPsAllowed

HBufC *iDtCsToPsAllowed[private]

Domain transfer from CS to PS allowed Own.

HBufC * iDtHeldWaitingCallsAllowed

HBufC *iDtHeldWaitingCallsAllowed[private]

Domain transfer allowed while Held/Waiting calls Own.

HBufC * iDtPsToCsAllowed

HBufC *iDtPsToCsAllowed[private]

Domain transfer from PS to CS allowed Own.

HBufC * iDtWlanHoHysteresis

HBufC *iDtWlanHoHysteresis[private]

WLAN HO hysteresis Own.

HBufC * iDtWlanHoHysteresisTimerHigh

HBufC *iDtWlanHoHysteresisTimerHigh[private]

WLAN HO hysteresis timer used for high limit Own.

HBufC * iDtWlanHoHysteresisTimerLow

HBufC *iDtWlanHoHysteresisTimerLow[private]

WLAN HO hysteresis timer used for low limit Own.

HBufC * iDtWlanHoTreshold

HBufC *iDtWlanHoTreshold[private]

WLAN HO treshold value Own.

HBufC * iImmediateDt

HBufC *iImmediateDt[private]

Immediate Domain transfer Own.

HBufC * iPreferredDomain

HBufC *iPreferredDomain[private]

Preferred Domain Own.

HBufC * iProviderId

HBufC *iProviderId[private]

Provider id vcc settings Own.

TServiceId iServiceId

TServiceId iServiceId[private]

service id

HBufC * iServiceName

HBufC *iServiceName[private]

service name vcc settings Own.

CSPSettings * iSettings

CSPSettings *iSettings[private]

HBufC * iVdi

HBufC *iVdi[private]

VDI Own.

HBufC * iVdn

HBufC *iVdn[private]

VDI Own.

TServiceId iVoipServiceId

TServiceId iVoipServiceId[private]

Voip service id to be used in conjuction with VCC

HBufC * iVoipServiceIdString

HBufC *iVoipServiceIdString[private]