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)

void ConstructL ( TUid aRepositoryId ) [private]

Parameters

TUid aRepositoryId

DoCancel()

void DoCancel ( ) [private, virtual]

From CActive . Invoke for canceling asynchronous request

Since
S60 S60 v3.1

Get(TUint, TInt &)

IMPORT_C TInt Get ( TUint aId,
TInt & aValue
)

Gets numeric value.

Parameters

TUint aId parameter id
TInt & aValue

Get(TUint, TDes &)

IMPORT_C TInt Get ( TUint aId,
TDes & aValue
)

Gets string value.

Parameters

TUint aId parameter id
TDes & aValue

GetL(TUint)

IMPORT_C HBufC8 * GetL ( TUint aId )

Gets string value.

Parameters

TUint aId parameter id

NewL()

IMPORT_C CUpnpMediaServerSettings * NewL ( ) [static]

Two-phased constructor.

RunError(TInt)

TInt RunError ( TInt aErr ) [private, virtual]

From CActive . Invoke when RunL leaves

Parameters

TInt aErr

RunL()

void RunL ( ) [private, virtual]

From CActive . Invoke when asynchronous request will be completed

Since
S60 S60 v3.1

Set(TUint, const TInt &)

IMPORT_C TInt Set ( TUint aId,
const TInt & aValue
)

Sets numeric value.

Parameters

TUint aId parameter id
const TInt & aValue

Set(TUint, const TDesC &)

IMPORT_C TInt Set ( TUint aId,
const TDesC & aValue
)

Sets string value.

Parameters

TUint aId parameter id
const TDesC & aValue

SetL(TUint, const TDesC8 &)

IMPORT_C TInt SetL ( TUint aId,
const TDesC8 & aValue
)

Sets string value.

Parameters

TUint aId parameter id
const TDesC8 & aValue

Subscribe(TUint, MUpnpSettingObserver *)

IMPORT_C TInt Subscribe ( TUint aId,
MUpnpSettingObserver * aObserver
)

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

Parameters

TUint aId parameter id
MUpnpSettingObserver * aObserver interface 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