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 &)

void AddAndOpenL ( const TUid & aHostId,
CMPXMedia & aMedia
)

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

Parameters

const TUid & aHostId Host Process UID to identify this embedded instance
CMPXMedia & aMedia Media Object to open

AddPlaylistL(CMPXMedia *)

void AddPlaylistL ( 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 * aMedia representation of the media to be added

AddTrackL(CMPXMedia *)

void AddTrackL ( 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 * aMedia representation of the media to be added

ConstructL(const TUid &)

void ConstructL ( const TUid & aModeId ) [private]

2nd phase constructor

Parameters

const TUid & aModeId

FillInPlaylistDetailsL(CMPXMedia &)

void FillInPlaylistDetailsL ( 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)

void HandleCollectionMediaL ( const CMPXMedia & ,
TInt
) [protected, inline]

see MMPXCollectionObserver

Parameters

const CMPXMedia &
TInt

HandleCollectionMessageL(const TMPXCollectionMessage &)

void HandleCollectionMessageL ( const TMPXCollectionMessage & ) [protected, inline]

see MMPXCollectionObserver

Parameters

const TMPXCollectionMessage &

HandleCollectionMessageL(const CMPXMessage &)

void HandleCollectionMessageL ( const CMPXMessage & ) [protected, inline]

see MMPXCollectionObserver

Parameters

const CMPXMessage &

HandleCommandComplete(CMPXCommand *, TInt)

void HandleCommandComplete ( CMPXCommand * ,
TInt
) [protected, inline]

see MMPXCollectionObserver

HandleMediatorPathUpdatedL(CMPXMedia *&, TUid)

void HandleMediatorPathUpdatedL ( CMPXMedia *& ,
TUid
) [protected, inline]

Parameters

CMPXMedia *&
TUid

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

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

see MMPXCollectionObserver

HandleOpenL(const CMPXCollectionPlaylist &, TInt)

void HandleOpenL ( const CMPXCollectionPlaylist & ,
TInt
) [protected, inline]

see MMPXCollectionObserver

NewL(const TUid &)

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

1st phase constructor

Since
Series 60 3.1

Parameters

const TUid & aModeId mode 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