CLanSettings Class Reference

class CLanSettings : public CBase

Class for handling LAN settings in commsdat

wlandbif.lib
Since

Inherits from

Constructor & Destructor Documentation

CLanSettings()

IMPORT_CCLanSettings()

Constructor

~CLanSettings()

IMPORT_C~CLanSettings()[virtual]

Destructor Also Handles disconnection

Member Functions Documentation

Connect()

IMPORT_C TIntConnect()
Connects to commsdat
Note:

DeleteLanSettings(TUint32)

IMPORT_C TIntDeleteLanSettings(TUint32aId)
deletes LAN settings with specified ID
Note:

Parameters

TUint32 aIdis the id of lan settings row that is deleted

Disconnect()

IMPORT_C voidDisconnect()
Disconnects from commsdat.
Note:

DoConnectL()

voidDoConnectL()[private]

GetLanSettings(TUint32, SLanSettings &)

IMPORT_C TIntGetLanSettings(TUint32aId,
SLanSettings &aSettings
)
Gets LAN settings with specified ID
Note:

Parameters

TUint32 aIdis the id of lan settings row that is fetched, aSettings contains the lan settings
SLanSettings & aSettings

WriteLanSettings(SLanSettings &)

IMPORT_C TIntWriteLanSettings(SLanSettings &aSettings)
Writes LAN settings with specified ID, if ID is 0, new record is created
Note:

Parameters

SLanSettings & aSettingscontains the lan settings. if id is 0, then new id is stored in settings.Id

Member Data Documentation

CMDBSession * iDBSession

CMDBSession *iDBSession[private]

CCDLANServiceRecord * iLANServiceRecord

CCDLANServiceRecord *iLANServiceRecord[private]