CSecuritySettings Class Reference

class CSecuritySettings : public CBase

Inherits from

Constructor & Destructor Documentation

CSecuritySettings()

IMPORT_C CSecuritySettings ( )

C++ default constructor.

~CSecuritySettings()

IMPORT_C ~CSecuritySettings ( )

Destructor.

Member Functions Documentation

AskPin2L()

IMPORT_C TBool AskPin2L ( )

Asks and verifies the pin2 code.

AskSecCodeL()

IMPORT_C TBool AskSecCodeL ( )

Asks and verifies the security code.

ChangeAutoLockPeriodL(TInt)

IMPORT_C TInt ChangeAutoLockPeriodL ( TInt aPeriod )

Launches dialogs for changing autolock period

Parameters

TInt aPeriod TInt (old autolock value)

ChangePin2L()

IMPORT_C void ChangePin2L ( )

Launches dialogs for changing pin2 code

ChangePinL()

IMPORT_C void ChangePinL ( )

Launches dialogs for changing pin code

ChangePinRequestL()

IMPORT_C TBool ChangePinRequestL ( )

Launches dialogs for changing pin request setting

ChangeRemoteLockStatusL(TBool &, TDes &, TInt)

IMPORT_C TInt ChangeRemoteLockStatusL ( TBool & aRemoteLockStatus,
TDes & aRemoteLockCode,
TInt aAutoLockPeriod
)

Parameters

TBool & aRemoteLockStatus
TDes & aRemoteLockCode
TInt aAutoLockPeriod

ChangeSecCodeL()

IMPORT_C void ChangeSecCodeL ( )

Launches dialogs for changing security code

ChangeSimSecurityL()

IMPORT_C TBool ChangeSimSecurityL ( )

Launches dialogs for changing sim change security setting

ChangeUPinL()

IMPORT_C void ChangeUPinL ( )

Launches dialogs for changing upin code

ChangeUPinRequestL()

IMPORT_C TBool ChangeUPinRequestL ( )

Launches dialogs for changing upin request setting

ConstructL()

IMPORT_C void ConstructL ( )

Symbian OS constructor.

GetFdnMode(RMobilePhone::TMobilePhoneFdnStatus &)

IMPORT_C TInt GetFdnMode ( RMobilePhone::TMobilePhoneFdnStatus & aFdnMode )

Gets current fixed dialing mode

Parameters

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

IsLockEnabledL(RMobilePhone::TMobilePhoneLock)

IMPORT_C TBool IsLockEnabledL ( RMobilePhone::TMobilePhoneLock aLockType )

Is aLockType lock on or off

Parameters

RMobilePhone::TMobilePhoneLock aLockType RAdvGsmPhone::TLockType

IsUpinActive()

IMPORT_C TBool IsUpinActive ( )

Checks whether a code is blocked.

IsUpinBlocked()

IMPORT_C TBool IsUpinBlocked ( )

Checks whether a code is blocked.

IsUpinSupportedL()

IMPORT_C TBool IsUpinSupportedL ( )

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 ( TBool aLockSetting ) [private]

Parameters

TBool aLockSetting

SetFdnModeL()

IMPORT_C void SetFdnModeL ( )

Launches dialogs for fixed dialing settings

ShowErrorNoteL(TInt)

void ShowErrorNoteL ( TInt aError ) [static]

Shows error note

Parameters

TInt aError

ShowResultNoteL(TInt, CAknNoteDialog::TTone)

void ShowResultNoteL ( TInt aResourceID,
CAknNoteDialog::TTone aTone
) [static]

Shows error note

Parameters

TInt aResourceID
CAknNoteDialog::TTone aTone

SwitchPinCodesL()

IMPORT_C TBool SwitchPinCodesL ( )

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]