CSwiDaemonPlugin Class Reference

class CSwiDaemonPlugin : public CBase

Inherits from

Constructor & Destructor Documentation

~CSwiDaemonPlugin()

~CSwiDaemonPlugin()[inline, virtual]

Member Functions Documentation

MediaProcessingComplete()

voidMediaProcessingComplete()[pure virtual]

Normally a sequence of RequestInstall calls for each SIS file on a media will be followed by a call to this function.

Alternatively MediaRemoved might be called to abort the sequence.

MediaProcessingStart(TInt)

voidMediaProcessingStart(TIntaDrive)[pure virtual]

Media has been inserted with one, or more, valid (ie. correct header), uninstalled, stub-SIS files on it. This will be followed by one or more calls to RequestInstall for each SIS file on this media.

Parameters

TInt aDriveDrive being processed

MediaRemoved(TInt)

voidMediaRemoved(TIntaDrive)[pure virtual]

Media has been removed from drive.

If the media in the drive specified by the last call to MediaProcessingStart is removed, then this function will be called, regardless of whether or not MediaProcessingComplete has been called.

This function may also be called when media is removed from any drive.

Parameters

TInt aDriveDrive number

NewL()

CSwiDaemonPlugin *NewL()[static, inline]

RequestInstall(RFile &)

voidRequestInstall(RFile &aFile)[pure virtual]

The FS associated with the RHandle is marked for sharing (so the RHandle can be passed to a server using RFile::TransferToServer).

Note that immediately after this call, the RFile handle will be closed. This means that the plugin must either duplicate it, or synchronously send it to a server which adopts it before this function returns.

Parameters

RFile & aFile- RFile handle, valid until this function returns.

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]