Inherits MResultViewer.
Public Member Functions | |
void | ConstructL (const TDesC &logFileName=KDefaultLogFile) |
virtual TPtr | GetViewBuffer () |
virtual void | UpdateView () |
Definition at line 232 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 40 of file FileForwarder.cpp.
TPtr CFileForwarder::GetViewBuffer | ( | ) | [virtual] |
Returns a modifiable descriptor to the internal buffer.
Implements MResultViewer.
Definition at line 67 of file FileForwarder.cpp.
void CFileForwarder::UpdateView | ( | ) | [virtual] |
Flushes the text to the file and resets the internal buffer.
Implements MResultViewer.
Definition at line 75 of file FileForwarder.cpp.