Public Member Functions | |
~CLogView () | |
TUid | Id () const |
void | HandleCommandL (TInt aCommand) |
void | DoActivateL (const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage) |
void | DoDeactivate () |
void | SizeChanged () |
void | DrawTextL (const TDesC &aText) |
void | DrawUnderlinedTextL (const TDesC &aText) |
void | DrawTextWithoutCarriageL (const TDesC &aText) |
void | AddCarriageReturnL () |
void | LogEventBeginningL () |
Static Public Member Functions | |
static CLogView * | NewL () |
static CLogView * | NewLC () |
Log view that uses RichTextEditor.
Definition at line 17 of file SMSExampleLogView.h.
CLogView::~CLogView | ( | ) |
Destroy the object
Definition at line 54 of file SMSExampleLogView.cpp.
CLogView * CLogView::NewL | ( | ) | [static] |
Create a CLogView object
Definition at line 20 of file SMSExampleLogView.cpp.
CLogView * CLogView::NewLC | ( | ) | [static] |
Create a CLogView object
Definition at line 32 of file SMSExampleLogView.cpp.
TUid CLogView::Id | ( | ) | const |
Identity of this view to the system
Definition at line 80 of file SMSExampleLogView.cpp.
void CLogView::HandleCommandL | ( | TInt | aCommand | ) |
Handle commands
aCommand | Command to be handled |
Definition at line 158 of file SMSExampleLogView.cpp.
void CLogView::DoActivateL | ( | const TVwsViewId & | aPrevViewId, | |
TUid | aCustomMessageId, | |||
const TDesC8 & | aCustomMessage | |||
) |
Create the Container class object
aPrevViewId | The id of the previous view | |
aCustomMessageId | message identifier | |
aCustomMessage | custom message provided when view is changed |
Definition at line 93 of file SMSExampleLogView.cpp.
void CLogView::DoDeactivate | ( | ) |
Remove the container class instance from the App UI's stack
Definition at line 107 of file SMSExampleLogView.cpp.
void CLogView::DrawTextL | ( | const TDesC & | aText | ) |
Draw text into the log.
aText | text to be drawn. |
Definition at line 168 of file SMSExampleLogView.cpp.
void CLogView::DrawUnderlinedTextL | ( | const TDesC & | aText | ) |
Draw underlined text into the log.
aText | text to be drawn. |
Definition at line 138 of file SMSExampleLogView.cpp.
void CLogView::DrawTextWithoutCarriageL | ( | const TDesC & | aText | ) |
Draw text into the log. Do not add line break at the end of the text.
aText | text to be drawn. |
Definition at line 148 of file SMSExampleLogView.cpp.
void CLogView::AddCarriageReturnL | ( | ) |
Line break.
Definition at line 178 of file SMSExampleLogView.cpp.
void CLogView::LogEventBeginningL | ( | ) |
Begin a log event (prints a line and current time).
Definition at line 123 of file SMSExampleLogView.cpp.