aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Paul Young <paulyoungonline@gmail.com>2013-07-06 07:52:35 -0400
committerGravatar Paul Young <paulyoungonline@gmail.com>2013-07-06 07:52:35 -0400
commitf71bb2c0c2fb722f606b10250a3a57c133402af1 (patch)
tree57ecd5637c26d8d380888c3184f3e09f2fd796c0 /src/core
parenta850bb5502e58e26d6164b3c8a8edb2407183bcd (diff)
Added documentation for message rendering methods.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/imap/MCIMAPSession.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/imap/MCIMAPSession.h b/src/core/imap/MCIMAPSession.h
index 0583dc79..77cf19f8 100644
--- a/src/core/imap/MCIMAPSession.h
+++ b/src/core/imap/MCIMAPSession.h
@@ -143,12 +143,17 @@ namespace mailcore {
virtual void setConnectionLogger(ConnectionLogger * logger);
virtual ConnectionLogger * connectionLogger();
+ /** HTML rendering of the body of the message to be displayed in a web view.*/
virtual String * htmlRendering(IMAPMessage * message, String * folder);
+
+ /** HTML rendering of the body of the message.*/
virtual String * htmlBodyRendering(IMAPMessage * message, String * folder);
+ /** Text rendering of the message.*/
virtual String * plainTextRendering(IMAPMessage * message, String * folder);
- // Double spaces, tab and return characters will be replaced with single spaces.
+ /** Text rendering of the body of the message. All end of line will be removed and white spaces cleaned up.
+ This method can be used to generate the summary of the message.*/
virtual String * plainTextBodyRendering(IMAPMessage * message, String * folder);
public: // private