CUPnPSettingsEngine Class Reference

class CUPnPSettingsEngine : public CBase
Settings engine class for UPnP Home Connect Application upnpapplicationengine.lib
Since
S60 3.1

Inherits from

Constructor & Destructor Documentation

CUPnPSettingsEngine()

CUPnPSettingsEngine()[private]

C++ default constructor.

~CUPnPSettingsEngine()

IMPORT_C~CUPnPSettingsEngine()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

CreateAccessPointL()

IMPORT_C voidCreateAccessPointL()[static]

Static helper method to create the iap editing window arrays.

Since
S60 5.1

GetAccessPoint(TInt &)

IMPORT_C TIntGetAccessPoint(TInt &aIAP)
Gets Access Point information
Since
S60 3.1

Parameters

TInt & aIAP

GetAccessPointSetting(TInt &)

IMPORT_C TIntGetAccessPointSetting(TInt &aIAPSetting)
Gets Access Point setting
Since
S60 3.1

Parameters

TInt & aIAPSetting

GetCopyLocationDriveL(TDriveNumber &)

IMPORT_C voidGetCopyLocationDriveL(TDriveNumber &aDrive)const
Gets the drive for the copy operation
Since
S60 3.2

Parameters

TDriveNumber & aDrive

GetCopyLocationL(TDes &, TBool &)

IMPORT_C voidGetCopyLocationL(TDes &aLocation,
TBool &aIsPhoneMemory
)const
Gets the location for the copy operation
Since
S60 3.2

Parameters

TDes & aLocation
TBool & aIsPhoneMemory

GetCurrentIapNameL(TInt)

IMPORT_C HBufC *GetCurrentIapNameL(TIntaIapId)[static]
Get the name of the current IAP if it is set and is not always ask
Since
S60 5.1

Parameters

TInt aIapId

GetFirstStart(TInt &)

IMPORT_C TIntGetFirstStart(TInt &aFirstStart)
Gets information if this is the first start of home network
Since
S60 3.1

Parameters

TInt & aFirstStart

GetLocalFriendlyName(TDes8 &)

IMPORT_C TIntGetLocalFriendlyName(TDes8 &aFriendlyName)const
Gets friendly name
Since
S60 3.1

Parameters

TDes8 & aFriendlyName

GetLocalFriendlyNameL(TDes8 &)

TInt GetLocalFriendlyNameL(TDes8 &aFriendlyName)const [private]
Gets friendly name, internal version
Since
S60 3.1

Parameters

TDes8 & aFriendlyName

GetWLANAccessPointsL(CDesCArray *, RArray< TInt64 > &)

IMPORT_C voidGetWLANAccessPointsL(CDesCArray *aNameArray,
RArray< TInt64 > &aIapIdArr
)[static]

Static helper method to retrieve info of access points into given arrays.

Since
S60 5.1

Parameters

CDesCArray * aNameArray
RArray< TInt64 > & aIapIdArr

GetWapId(TInt &)

IMPORT_C TIntGetWapId(TInt &aWapId)
Gets selected wap access point id
Since
S60 3.1

Parameters

TInt & aWapId

InitializePropertyL(CUpnpMediaServerSettings &, TInt, const TDesC8 &)

voidInitializePropertyL(CUpnpMediaServerSettings &aSettings,
TIntaKey,
const TDesC8 &aValue
)const [private]
Initializes a property if property has not yet been set
Since
S60 3.1

Parameters

CUpnpMediaServerSettings & aSettings
TInt aKey
const TDesC8 & aValue

IsAccessPointValidL(TInt)

IMPORT_C TBoolIsAccessPointValidL(TIntaIapId)[static]

Static helper method to validate iap by id.

Since
S60 5.1

Parameters

TInt aIapId

IsWLANAccessPointValidL(TUint32)

TBool IsWLANAccessPointValidL(TUint32aIapId)[private, static]

Helper method to validate wlan access points.

Since
S60 5.1

Parameters

TUint32 aIapId

NewL()

IMPORT_C CUPnPSettingsEngine *NewL()[static]

Two-phased constructor.

NewLC()

IMPORT_C CUPnPSettingsEngine *NewLC()[static]

Two-phased constructor.

ReadDeviceModelL(TDes8 &)

TInt ReadDeviceModelL(TDes8 &aModel)const [private]
Reads device model, it is in form "Nokia xxxx" Note: Does not return correct value in subcon R&D builds
Since
S60 3.1

Parameters

TDes8 & aModelDevice model

SetAccessPoint(const TInt)

IMPORT_C TIntSetAccessPoint(const TIntaIAP)
Sets selected Access point
Since
S60 3.1

Parameters

const TInt aIAP

SetAccessPointSetting(const TInt)

IMPORT_C TIntSetAccessPointSetting(const TIntaIAPSetting)
Sets selected Access point setting
Since
S60 3.1

Parameters

const TInt aIAPSetting

SetCopyLocationL(const TDriveNumber)

IMPORT_C TIntSetCopyLocationL(const TDriveNumberaDrive)const
Sets the location of the copy operation
Since
S60 3.2

Parameters

const TDriveNumber aDriveThe drive number of the new location as defined in TDriveNumber.

SetFirstStart(const TInt)

IMPORT_C TIntSetFirstStart(const TIntaFirstStart)
Sets information if this is the first start of home network
Since
S60 3.1

Parameters

const TInt aFirstStart

SetLocalFriendlyName(const TDesC8 &)

IMPORT_C TIntSetLocalFriendlyName(const TDesC8 &aFriendlyName)const
Sets friendly name
Since
S60 3.1

Parameters

const TDesC8 & aFriendlyName

SetManufacturerParamsL()

IMPORT_C TIntSetManufacturerParamsL()const
Sets the mandatory manufacturer settings to media server
Since
S60 3.1

SetWapId(const TInt)

IMPORT_C TIntSetWapId(const TIntaWapId)
Sets selected wap access point id
Since
S60 3.1

Parameters

const TInt aWapId

Member Data Documentation

CRepository * iRepository

CRepository *iRepository[private]

CUpnpSettings * iUpnpRepository

CUpnpSettings *iUpnpRepository[private]