CUPnPMpxHelper Class Reference

class CUPnPMpxHelper : public CBase

A helper class for some common MPX routines

upnpmusicadapter.lib
Since
S60 v3.1

Inherits from

Constructor & Destructor Documentation

CUPnPMpxHelper()

CUPnPMpxHelper()[private]

constructor

~CUPnPMpxHelper()

~CUPnPMpxHelper()[virtual]

Destructor

Since
Series 60 3.1

Member Functions Documentation

AddAndOpenL(const TUid &, CMPXMedia &)

voidAddAndOpenL(const TUid &aHostId,
CMPXMedia &aMedia
)

Open the collection in embedded mode with a Media Object. see mpxcollectionuihelper in mpxmusicplayer

Parameters

const TUid & aHostIdHost Process UID to identify this embedded instance
CMPXMedia & aMediaMedia Object to open

AddPlaylistL(CMPXMedia *)

voidAddPlaylistL(CMPXMedia *aMedia)

add a song or a playlist asynchronously. Note: does not take ownership of aMedia object. Caller must delete aMedia after calling this method. see mpxcollectionuihelper in mpxmusicplayer

Parameters

CMPXMedia * aMediarepresentation of the media to be added

AddTrackL(CMPXMedia *)

voidAddTrackL(CMPXMedia *aMedia)

Add a song or a playlist synchronously. Note: does not take ownership of aMedia object. Caller must delete aMedia after calling this method. see mpxcollectionhelper in mpxmusicplayer

Parameters

CMPXMedia * aMediarepresentation of the media to be added

ConstructL(const TUid &)

voidConstructL(const TUid &aModeId)[private]

2nd phase constructor

Parameters

const TUid & aModeId

FillInPlaylistDetailsL(CMPXMedia &)

voidFillInPlaylistDetailsL(CMPXMedia &aMedia)[protected]

retrieve information for the required attributes

Parameters

CMPXMedia & aMedia

FindCollectionIdL(const TDesC &)

TInt FindCollectionIdL(const TDesC &aUri)[protected]

Retrieve collection from URI

Parameters

const TDesC & aUri

HandleCollectionMediaL(const CMPXMedia &, TInt)

voidHandleCollectionMediaL(const CMPXMedia &,
TInt
)[protected, inline]

see MMPXCollectionObserver

Parameters

const CMPXMedia &
TInt

HandleCollectionMessageL(const TMPXCollectionMessage &)

voidHandleCollectionMessageL(const TMPXCollectionMessage &)[protected, inline]

see MMPXCollectionObserver

Parameters

const TMPXCollectionMessage &

HandleCollectionMessageL(const CMPXMessage &)

voidHandleCollectionMessageL(const CMPXMessage &)[protected, inline]

see MMPXCollectionObserver

Parameters

const CMPXMessage &

HandleCommandComplete(CMPXCommand *, TInt)

voidHandleCommandComplete(CMPXCommand *,
TInt
)[protected, inline]

see MMPXCollectionObserver

Parameters

CMPXCommand *
TInt

HandleMediatorPathUpdatedL(CMPXMedia *&, TUid)

voidHandleMediatorPathUpdatedL(CMPXMedia *&,
TUid
)[protected, inline]

Parameters

CMPXMedia *&
TUid

HandleOpenL(const CMPXMedia &, TInt, TBool, TInt)

voidHandleOpenL(const CMPXMedia &,
TInt,
TBool,
TInt
)[protected, inline]

see MMPXCollectionObserver

Parameters

const CMPXMedia &
TInt
TBool
TInt

HandleOpenL(const CMPXCollectionPlaylist &, TInt)

voidHandleOpenL(const CMPXCollectionPlaylist &,
TInt
)[protected, inline]

see MMPXCollectionObserver

Parameters

const CMPXCollectionPlaylist &
TInt

NewL(const TUid &)

CUPnPMpxHelper *NewL(const TUid &aModeId)[static]

1st phase constructor

Since
Series 60 3.1

Parameters

const TUid & aModeIdmode passed to MPX framework

Member Data Documentation

MMPXCollectionUtility * iCollectionUtil

MMPXCollectionUtility *iCollectionUtil[private]

MPX collection utility

MMPXHarvesterUtility * iHarvester

MMPXHarvesterUtility *iHarvester[private]

MPX harvester utility

CMPXCollectionMediator * iMediator

CMPXCollectionMediator *iMediator[private]

MPX collection mediator

MUPnPMpxHelperObserver * iObserver

MUPnPMpxHelperObserver *iObserver[private]

temporarily stored observer for async operations NOT OWNED