CUpnpMoveCommand Class Reference

class CUpnpMoveCommand : public CBase

Inherits from

Constructor & Destructor Documentation

CUpnpMoveCommand()

CUpnpMoveCommand ( ) [private]

Constructor

Since
S60 3.2

~CUpnpMoveCommand()

~CUpnpMoveCommand ( ) [virtual]

Destructor.

Since
S60 3.2

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Second phase constructor

Since
S60 3.2

IsAvailableL()

IMPORT_C TBool IsAvailableL ( ) [static]

Returns the availability information of the command.

Since
S60 3.2

MoveFilesL(CDesCArrayFlat *)

IMPORT_C void MoveFilesL ( CDesCArrayFlat * aFiles )

Moves 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 moved 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)

NewL()

IMPORT_C CUpnpMoveCommand * NewL ( ) [static]

Creates a new UpnpCommand for file moving 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]