CWlanDeviceSettings Class Reference

class CWlanDeviceSettings : public CBase
Interface to read and write WLAN device specific settings. The data is stored in CommsDB.
Since
Series 60 3.0 wlandevicesettings.lib

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CWlanDeviceSettings()

CWlanDeviceSettings()[private]

C++ default constructor.

~CWlanDeviceSettings()

IMPORT_C~CWlanDeviceSettings()[virtual]

Destructor.

Member Functions Documentation

CheckWlanDeviceSettingsTableL()

voidCheckWlanDeviceSettingsTableL()[private]

Check is WLAN device settings table correct in CommsDB.

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

GetDefaultSettings(SWlanDeviceSettings &)

IMPORT_C voidGetDefaultSettings(SWlanDeviceSettings &aSettings)[static]

Returns the default WLAN device settings.

Parameters

SWlanDeviceSettings & aSettingsDefault WLAN device settings

NewL()

IMPORT_C CWlanDeviceSettings *NewL()[static]

Static constructor.

NewRecordL(TUint32)

voidNewRecordL(TUint32aTableType)[private]

Insert a new table to WLAN device settings and initialise it.

Parameters

TUint32 aTableType0 for default settings, 1 for user settings.

OpenTableL()

voidOpenTableL()[private]

Open database table.

ReadL(SWlanDeviceSettings &)

IMPORT_C voidReadL(SWlanDeviceSettings &aSettings)

Read WLAN device settings from the database. The read values is dependent of the useDefaultSettings -value. If it is ETrue in user defineable table the default settings are been returned, it is EFalse user defined values are returned.

Parameters

SWlanDeviceSettings & aSettingsCurrent WLAN device settings. Leaves with general error code.

ReadL(TBool, SWlanDeviceSettings &)

IMPORT_C voidReadL(TBoolaGetDefaultSettings,
SWlanDeviceSettings &aSettings
)

Read WLAN device settings from the database.

Parameters

TBool aGetDefaultSettingsETrue return default settings, EFalse return user defined values.
SWlanDeviceSettings & aSettingsCurrent WLAN device settings. Leaves with general error code.

ReadPrivateData(SWlanDeviceSettings &)

TInt ReadPrivateData(SWlanDeviceSettings &aSettings)[private]

Read data from CenRep

Parameters

SWlanDeviceSettings & aSettingswill contain the settings on completion

WriteCenRepKeyL(const TUint32, const TInt)

IMPORT_C voidWriteCenRepKeyL(const TUint32aKey,
const TIntaValue
)const

Save user defineable WLAN device setting to the Central Repository.

Parameters

const TUint32 aKeyId of the WLAN Central Repository key.
const TInt aValueValue to be written to the WLAN Central Repository key. Leaves with general error code.

WriteL(const SWlanDeviceSettings &)

IMPORT_C voidWriteL(const SWlanDeviceSettings &aSettings)

Save user defineable WLAN device settings to the database.

Parameters

const SWlanDeviceSettings & aSettingsNew WLAN device settings. Leaves with general error code.

WritePrivateData(const SWlanDeviceSettings &)

TInt WritePrivateData(const SWlanDeviceSettings &aSettings)[private]

Write data to CenRep

Parameters

const SWlanDeviceSettings & aSettingscontains the settings to write

Member Data Documentation

CCommsDatabase * iDb

CCommsDatabase *iDb[private]

CCommsDbTableView * iDefTable

CCommsDbTableView *iDefTable[private]

CCommsDbTableView * iUsrTable

CCommsDbTableView *iUsrTable[private]