CUpnpCopyCommand Class Reference

class CUpnpCopyCommand : public CBase

Inherits from

Constructor & Destructor Documentation

CUpnpCopyCommand()

CUpnpCopyCommand ( ) [private]

Constructor

Since
S60 3.2

~CUpnpCopyCommand()

~CUpnpCopyCommand ( ) [virtual]

Destructor.

Since
S60 3.2

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Second phase constructor

Since
S60 3.2

CopyFilesL(CDesCArrayFlat *)

IMPORT_C void CopyFilesL ( CDesCArrayFlat * aFiles )

Copies the given list of files to a remote Upnp Media Server. The method is synchronous. The target server device will be queried from the user using an UI component.

The files that are successfully copied are removed from the array. DRM protected files are skipped (not copied and left in the array)

Leaves if the operation fails. Standard system wide (e32err.h) error codes will be used.

Since
S60 3.2

Parameters

CDesCArrayFlat * aFiles (CDesCArrayFlat*) list of filenames (including path)

CopyPlaylistL(const TDesC &, CDesCArrayFlat *)

IMPORT_C void CopyPlaylistL ( const TDesC & aPlaylistName,
CDesCArrayFlat * aFiles
)

Copies the given playlist (playlist name + filenames) to a remote Upnp Media Server. The method is synchronous. The target server device will be queried from the user using an UI component.

The files that are successfully copied are removed from the array. DRM protected files are skipped (not copied and left in the array).

Leaves if the operation fails. Standard system wide (e32err.h) error codes will be used.

Since
S60 3.2

Parameters

const TDesC & aPlaylistName (const TDesC&) name of the playlist
CDesCArrayFlat * aFiles (CDesCArrayFlat*) list of filenames (including path)

IsAvailableL()

IMPORT_C TBool IsAvailableL ( ) [static]

Returns the availability information of the command.

Since
S60 3.2

NewL()

IMPORT_C CUpnpCopyCommand * NewL ( ) [static]

Creates a new UpnpCommand for file copying purposes. Does not instantiate Upnp Framework services yet at this point.

Leaves with KErrNotReady if Upnp dedicated IAP is not set, or with using standard e32err.h error code if construction fails.

Since
S60 3.2

Member Data Documentation

CUpnpCommand * iCommand

CUpnpCommand * iCommand [private]