CLanSettings Class Reference

class CLanSettings : public CBase

Class for handling LAN settings in commsdat

wlandbif.lib
Since

Inherits from

Constructor & Destructor Documentation

CLanSettings()

IMPORT_C CLanSettings ( )

Constructor

~CLanSettings()

IMPORT_C ~CLanSettings ( ) [virtual]

Destructor Also Handles disconnection

Member Functions Documentation

Connect()

IMPORT_C TInt Connect ( )
Connects to commsdat
Note:

DeleteLanSettings(TUint32)

IMPORT_C TInt DeleteLanSettings ( TUint32 aId )
deletes LAN settings with specified ID
Note:

Parameters

TUint32 aId is the id of lan settings row that is deleted

Disconnect()

IMPORT_C void Disconnect ( )
Disconnects from commsdat.
Note:

DoConnectL()

void DoConnectL ( ) [private]

GetLanSettings(TUint32, SLanSettings &)

IMPORT_C TInt GetLanSettings ( TUint32 aId,
SLanSettings & aSettings
)
Gets LAN settings with specified ID
Note:

Parameters

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

WriteLanSettings(SLanSettings &)

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

Parameters

SLanSettings & aSettings contains 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]