CSecuritySettings Class Reference

class CSecuritySettings : public CBase

Inherits from

Constructor & Destructor Documentation

CSecuritySettings()

IMPORT_CCSecuritySettings()

C++ default constructor.

~CSecuritySettings()

IMPORT_C~CSecuritySettings()

Destructor.

Member Functions Documentation

AskPin2L()

IMPORT_C TBoolAskPin2L()

Asks and verifies the pin2 code.

AskSecCodeL()

IMPORT_C TBoolAskSecCodeL()

Asks and verifies the security code.

ChangeAutoLockPeriodL(TInt)

IMPORT_C TIntChangeAutoLockPeriodL(TIntaPeriod)

Launches dialogs for changing autolock period

Parameters

TInt aPeriodTInt (old autolock value)

ChangePin2L()

IMPORT_C voidChangePin2L()

Launches dialogs for changing pin2 code

ChangePinL()

IMPORT_C voidChangePinL()

Launches dialogs for changing pin code

ChangePinRequestL()

IMPORT_C TBoolChangePinRequestL()

Launches dialogs for changing pin request setting

ChangeRemoteLockStatusL(TBool &, TDes &, TInt)

IMPORT_C TIntChangeRemoteLockStatusL(TBool &aRemoteLockStatus,
TDes &aRemoteLockCode,
TIntaAutoLockPeriod
)

Parameters

TBool & aRemoteLockStatus
TDes & aRemoteLockCode
TInt aAutoLockPeriod

ChangeSecCodeL()

IMPORT_C voidChangeSecCodeL()

Launches dialogs for changing security code

ChangeSimSecurityL()

IMPORT_C TBoolChangeSimSecurityL()

Launches dialogs for changing sim change security setting

ChangeUPinL()

IMPORT_C voidChangeUPinL()

Launches dialogs for changing upin code

ChangeUPinRequestL()

IMPORT_C TBoolChangeUPinRequestL()

Launches dialogs for changing upin request setting

ConstructL()

IMPORT_C voidConstructL()

Symbian OS constructor.

GetFdnMode(RMobilePhone::TMobilePhoneFdnStatus &)

IMPORT_C TIntGetFdnMode(RMobilePhone::TMobilePhoneFdnStatus &aFdnMode)

Gets current fixed dialing mode

Parameters

RMobilePhone::TMobilePhoneFdnStatus & aFdnModeRMobilePhone::TMobilePhoneFdnStatus& (fixed dialing mode)

IsLockEnabledL(RMobilePhone::TMobilePhoneLock)

IMPORT_C TBoolIsLockEnabledL(RMobilePhone::TMobilePhoneLockaLockType)

Is aLockType lock on or off

Parameters

RMobilePhone::TMobilePhoneLock aLockTypeRAdvGsmPhone::TLockType

IsUpinActive()

IMPORT_C TBoolIsUpinActive()

Checks whether a code is blocked.

IsUpinBlocked()

IMPORT_C TBoolIsUpinBlocked()

Checks whether a code is blocked.

IsUpinSupportedL()

IMPORT_C TBoolIsUpinSupportedL()

Checks whether UPIN code is supported.

NewL()

IMPORT_C CSecuritySettings *NewL()[static]

Creates instance of the CSecuritySettings class.

RemoteLockCodeQueryL(TDes &)

TInt RemoteLockCodeQueryL(TDes &aRemoteLockCode)

Parameters

TDes & aRemoteLockCode

RemoteLockSetLockSettingL(TBool)

TInt RemoteLockSetLockSettingL(TBoolaLockSetting)[private]

Parameters

TBool aLockSetting

SetFdnModeL()

IMPORT_C voidSetFdnModeL()

Launches dialogs for fixed dialing settings

ShowErrorNoteL(TInt)

voidShowErrorNoteL(TIntaError)[static]

Shows error note

Parameters

TInt aError

ShowResultNoteL(TInt, CAknNoteDialog::TTone)

voidShowResultNoteL(TIntaResourceID,
CAknNoteDialog::TToneaTone
)[static]

Shows error note

Parameters

TInt aResourceID
CAknNoteDialog::TTone aTone

SwitchPinCodesL()

IMPORT_C TBoolSwitchPinCodesL()

Launches dialogs for changing code in use setting

Member Data Documentation

RMmCustomAPI iCustomPhone

RMmCustomAPI iCustomPhone[private]

RMobilePhone iPhone

RMobilePhone iPhone[private]

TBool iPuk1

TBool iPuk1[private]

TBool iPuk2

TBool iPuk2[private]

CSecurityHandler * iSecurityHandler

CSecurityHandler *iSecurityHandler[private]

RTelServer iServer

RTelServer iServer[private]

CWait * iWait

CWait *iWait[private]