CFileDataDelete Class Reference

class CFileDataDelete : public CDataNoDelete

Provides a wrapper around a filename: the referenced file is deleted when the object is deleted.

Inherits from

Constructor & Destructor Documentation

CFileDataDelete(HBufC16 *)

CFileDataDelete(HBufC16 *aData)[inline]

Constructor.

Parameters

HBufC16 * aDataBuffer to wrap

~CFileDataDelete()

~CFileDataDelete()[inline, virtual]

Destructor.

It deletes the filename buffer and the file itself.

Member Functions Documentation

RemoveFile()

voidRemoveFile()[private, inline]

ResetDataPointer(HBufC16 *)

voidResetDataPointer(HBufC16 *aData)[inline, virtual]

Sets the filename that is wrapped.

The existing filename buffer and the file itself are deleted.

Parameters

HBufC16 * aDataBuffer to wrap