Inherits MResultViewer.
Public Member Functions | |
void | ConstructL (const TDesC &logFileName=KDefaultLogFile) |
virtual TPtr | GetViewBuffer () |
virtual void | UpdateView () |
Definition at line 206 of file DescriptorExamples.h.
void CFileForwarder::ConstructL | ( | const TDesC & | logFileName = KDefaultLogFile |
) |
Construct an instance of the MResultViewer that writes contents to the file specified by logFileName parameter. The file is opened at the construction time and kept open until object is destroyed.
logFileName | file name where contents are written. |
Definition at line 14 of file FileForwarder.cpp.
TPtr CFileForwarder::GetViewBuffer | ( | ) | [virtual] |
Returns a modifiable descriptor to the internal buffer.
Implements MResultViewer.
Definition at line 41 of file FileForwarder.cpp.
void CFileForwarder::UpdateView | ( | ) | [virtual] |
Flushes the text to the file and resets the internal buffer.
Implements MResultViewer.
Definition at line 49 of file FileForwarder.cpp.