CUpnpMediaServerSettings Class Reference

class CUpnpMediaServerSettings : public CActive

Class wraps Central Repository settings for Media Server. Those changes are applied only to Central Repository. In order to make them active Media Server must be restarted.

Since
S60 S60 v3.1

Inherits from

Constructor & Destructor Documentation

CUpnpMediaServerSettings()

CUpnpMediaServerSettings()[private]

~CUpnpMediaServerSettings()

~CUpnpMediaServerSettings()[virtual]

Destructor.

Member Functions Documentation

ConstructL(TUid)

voidConstructL(TUidaRepositoryId)[private]

Parameters

TUid aRepositoryId

DoCancel()

voidDoCancel()[private, virtual]

From CActive. Invoke for canceling asynchronous request

Since
S60 S60 v3.1

Get(TUint, TInt &)

IMPORT_C TIntGet(TUintaId,
TInt &aValue
)

Gets numeric value.

Parameters

TUint aIdparameter id
TInt & aValue

Get(TUint, TDes &)

IMPORT_C TIntGet(TUintaId,
TDes &aValue
)

Gets string value.

Parameters

TUint aIdparameter id
TDes & aValue

GetL(TUint)

IMPORT_C HBufC8 *GetL(TUintaId)

Gets string value.

Parameters

TUint aIdparameter id

NewL()

IMPORT_C CUpnpMediaServerSettings *NewL()[static]

Two-phased constructor.

RunError(TInt)

TInt RunError(TIntaErr)[private, virtual]

From CActive. Invoke when RunL leaves

Parameters

TInt aErr

RunL()

voidRunL()[private, virtual]

From CActive. Invoke when asynchronous request will be completed

Since
S60 S60 v3.1

Set(TUint, const TInt &)

IMPORT_C TIntSet(TUintaId,
const TInt &aValue
)

Sets numeric value.

Parameters

TUint aIdparameter id
const TInt & aValue

Set(TUint, const TDesC &)

IMPORT_C TIntSet(TUintaId,
const TDesC &aValue
)

Sets string value.

Parameters

TUint aIdparameter id
const TDesC & aValue

SetL(TUint, const TDesC8 &)

IMPORT_C TIntSetL(TUintaId,
const TDesC8 &aValue
)

Sets string value.

Parameters

TUint aIdparameter id
const TDesC8 & aValue

Subscribe(TUint, MUpnpSettingObserver *)

IMPORT_C TIntSubscribe(TUintaId,
MUpnpSettingObserver *aObserver
)

Subcribe notification about setting change Onlu one subsription can be pending for one instance of class

Parameters

TUint aIdparameter id
MUpnpSettingObserver * aObserverinterface to notify

Member Data Documentation

MUpnpSettingObserver * iObserver

MUpnpSettingObserver *iObserver[private]

Observer which should be informed in case of changes

CRepository * iRepository

CRepository *iRepository[private]

Central repository client