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()

void CheckWlanDeviceSettingsTableL ( ) [private]

Check is WLAN device settings table correct in CommsDB.

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

GetDefaultSettings(SWlanDeviceSettings &)

IMPORT_C void GetDefaultSettings ( SWlanDeviceSettings & aSettings ) [static]

Returns the default WLAN device settings.

Parameters

SWlanDeviceSettings & aSettings Default WLAN device settings

NewL()

IMPORT_C CWlanDeviceSettings * NewL ( ) [static]

Static constructor.

NewRecordL(TUint32)

void NewRecordL ( TUint32 aTableType ) [private]

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

Parameters

TUint32 aTableType 0 for default settings, 1 for user settings.

OpenTableL()

void OpenTableL ( ) [private]

Open database table.

ReadL(SWlanDeviceSettings &)

IMPORT_C void ReadL ( 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 & aSettings Current WLAN device settings. Leaves with general error code.

ReadL(TBool, SWlanDeviceSettings &)

IMPORT_C void ReadL ( TBool aGetDefaultSettings,
SWlanDeviceSettings & aSettings
)

Read WLAN device settings from the database.

Parameters

TBool aGetDefaultSettings ETrue return default settings, EFalse return user defined values.
SWlanDeviceSettings & aSettings Current WLAN device settings. Leaves with general error code.

ReadPrivateData(SWlanDeviceSettings &)

TInt ReadPrivateData ( SWlanDeviceSettings & aSettings ) [private]

Read data from CenRep

Parameters

SWlanDeviceSettings & aSettings will contain the settings on completion

WriteCenRepKeyL(const TUint32, const TInt)

IMPORT_C void WriteCenRepKeyL ( const TUint32 aKey,
const TInt aValue
) const

Save user defineable WLAN device setting to the Central Repository.

Parameters

const TUint32 aKey Id of the WLAN Central Repository key.
const TInt aValue Value to be written to the WLAN Central Repository key. Leaves with general error code.

WriteL(const SWlanDeviceSettings &)

IMPORT_C void WriteL ( const SWlanDeviceSettings & aSettings )

Save user defineable WLAN device settings to the database.

Parameters

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

WritePrivateData(const SWlanDeviceSettings &)

TInt WritePrivateData ( const SWlanDeviceSettings & aSettings ) [private]

Write data to CenRep

Parameters

const SWlanDeviceSettings & aSettings contains the settings to write

Member Data Documentation

CCommsDatabase * iDb

CCommsDatabase * iDb [private]

CCommsDbTableView * iDefTable

CCommsDbTableView * iDefTable [private]

CCommsDbTableView * iUsrTable

CCommsDbTableView * iUsrTable [private]