glxcommandhandlercopytohomenetwork.cpp File Reference

RetrieveAttributesL(MGlxMediaList &)

void RetrieveAttributesL ( MGlxMediaList & aList )

Retrieves the required attributes from the collection to execute the command. They are: KMPXMediaGeneralUri and KMPXMediaDrmProtected The attributes are retrieved for the selected items in the media list. If no items are selected, the attributes are retrieved for the focused item.

Parameters

MGlxMediaList & aList media list with selected or focused item.

BuildSelectionArrayLC(MGlxMediaList &)

CDesCArrayFlat * BuildSelectionArrayLC ( MGlxMediaList & aList )

Builds an array of URIs (files names) of the selected items in a media list that are not DRM protected. If no items are selected the uri of the focused item will be added to the array (provided that it is not DRM protected)

The URI and DRM protected attributes must be retrieved before calling this method. See CGlxCommandHandlerCopyToHomeNetwork::RetrieveAttributesL

Parameters

MGlxMediaList & aList media list from which an array of URIs should be built.