CWPASecuritySettings Class Reference

class CWPASecuritySettings : public CBase

Inherits from

  • CWPASecuritySettings

Constructor & Destructor Documentation

~CWPASecuritySettings()

IMPORT_C~CWPASecuritySettings()

Destructor.

Member Functions Documentation

DeleteL(TUint32)

IMPORT_C voidDeleteL(TUint32aIapId)const

Delete from database. It actually just removes EAP Configuration.

Parameters

TUint32 aIapIdId of the IAP to be saved

EditL(CWPASecuritySettingsUi &, const TDesC &)

IMPORT_C TIntEditL(CWPASecuritySettingsUi &aUi,
const TDesC &aTitle
)

Edit the settings.

Parameters

CWPASecuritySettingsUi & aUiUI to be used.
const TDesC & aTitleTitle Pane text to display during edit.

IsValid()

IMPORT_C TBoolIsValid()const

Tells if the settings are valid and can be saved

LoadL(TUint32, CCommsDatabase &)

IMPORT_C voidLoadL(TUint32aIapId,
CCommsDatabase &aCommsDb
)

Load from database.

Parameters

TUint32 aIapId
CCommsDatabase & aCommsDbComms database.

LoadL(TUint32, CMDBSession &)

IMPORT_C voidLoadL(TUint32aIapId,
CMDBSession &aSession
)

Load from database.

Parameters

TUint32 aIapIdWlan Service Table Id of the IAP to be loaded
CMDBSession & aSessionCommsDat session.

NewL(TSecurityMode)

IMPORT_C CWPASecuritySettings *NewL(TSecurityModeaSecurityMode)[static]

Two-phased constructor. Leaves on failure.

Parameters

TSecurityMode aSecurityModeThe chosen security mode. It can be ESecurityMode8021x or ESecurityModeWpa

SaveL(TUint32, CCommsDatabase &, TTypeOfSaving, TUint32)

IMPORT_C voidSaveL(TUint32aIapId,
CCommsDatabase &aCommsDb,
TTypeOfSavingaTypeOfSaving,
TUint32aOldIapId
)const

Save to database.

Parameters

TUint32 aIapIdWlan Service Table Id of the IAP to be saved
CCommsDatabase & aCommsDbComms database.
TTypeOfSaving aTypeOfSavingTells what kind of AP we are going to save: it can be ESavingEditedAP, ESavingBrandNewAP, or ESavingNewAPAsACopy
TUint32 aOldIapIdThe old Id of the IAP; it is used to save the EAP configuration, only when aIsNewAP is ETrue

SaveL(TUint32, CMDBSession &, TTypeOfSaving, TUint32)

IMPORT_C voidSaveL(TUint32aIapId,
CMDBSession &aSession,
TTypeOfSavingaTypeOfSaving,
TUint32aOldIapId
)const

Save to database.

Parameters

TUint32 aIapIdWlan Service Table Id of the IAP to be saved
CMDBSession & aSessionCommsDat session.
TTypeOfSaving aTypeOfSavingTells what kind of AP we are going to save: it can be ESavingEditedAP, ESavingBrandNewAP, or ESavingNewAPAsACopy
TUint32 aOldIapIdThe old Id of the IAP; it is used to save the EAP configuration, only when aIsNewAP is ETrue

SetWPADisabledEAPPlugin(const TDesC8 &)

IMPORT_C TIntSetWPADisabledEAPPlugin(const TDesC8 &aDisabledPluginList)

Sets the list of disabled EAP types

Parameters

const TDesC8 & aDisabledPluginListEnumeration of disabled plugins in expanded EAP type format

SetWPAEnabledEAPPlugin(const TDesC8 &)

IMPORT_C TIntSetWPAEnabledEAPPlugin(const TDesC8 &aEnabledPluginList)

Sets the list of enabled EAP types.

Parameters

const TDesC8 & aEnabledPluginListEnumeration of enabled plugins in expanded EAP type format

SetWPAPreSharedKey(const TDesC &)

IMPORT_C TIntSetWPAPreSharedKey(const TDesC &aPreSharedKey)

Sets the Pre-shared key

Parameters

const TDesC & aPreSharedKeyThe key to be set

Member Enumerations Documentation

Enum TEvent

Enumerators

ENone = 0x0000
EModified = 0x0001
EValid = 0x0010
EExitReq = 0x0020
EShutDownReq = 0x0040

Member Data Documentation

CWPASecuritySettingsImpl * iImpl

CWPASecuritySettingsImpl *iImpl[private]