aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Paul Young <paulyoungonline@gmail.com>2013-06-27 00:52:27 -0400
committerGravatar Paul Young <paulyoungonline@gmail.com>2013-06-27 00:52:27 -0400
commitaf5702759cef47567796c879ae60367a47fc59c9 (patch)
tree1b0639dbea78befdfb310eb6e70e45ea7af09ec9 /src
parent255c552eb70e853b7158f9efeedf797e1eb87e9e (diff)
Added interface for synchronous methods.
Diffstat (limited to 'src')
-rw-r--r--src/core/imap/MCIMAPSession.cc20
-rw-r--r--src/core/imap/MCIMAPSession.h8
2 files changed, 28 insertions, 0 deletions
diff --git a/src/core/imap/MCIMAPSession.cc b/src/core/imap/MCIMAPSession.cc
index 0b194ff7..73c40e3b 100644
--- a/src/core/imap/MCIMAPSession.cc
+++ b/src/core/imap/MCIMAPSession.cc
@@ -2998,3 +2998,23 @@ ConnectionLogger * IMAPSession::connectionLogger()
{
return mConnectionLogger;
}
+
+String * IMAPSession::htmlRendering(IMAPMessage * msg, mailcore::String * folder)
+{
+
+}
+
+String * IMAPSession::htmlBodyRendering(IMAPMessage * msg, mailcore::String * folder)
+{
+
+}
+
+String * IMAPSession::plainTextRendering(IMAPMessage * msg, mailcore::String * folder)
+{
+
+}
+
+String * IMAPSession::plainTextBodyRendering(IMAPMessage * msg, mailcore::String * folder)
+{
+
+} \ No newline at end of file
diff --git a/src/core/imap/MCIMAPSession.h b/src/core/imap/MCIMAPSession.h
index ac282072..125367d5 100644
--- a/src/core/imap/MCIMAPSession.h
+++ b/src/core/imap/MCIMAPSession.h
@@ -4,6 +4,7 @@
#include <MailCore/MCBaseTypes.h>
#include <MailCore/MCMessageConstants.h>
+#include <MailCore/MCIMAPMessage.h>
#ifdef __cplusplus
@@ -135,6 +136,13 @@ namespace mailcore {
virtual void setConnectionLogger(ConnectionLogger * logger);
virtual ConnectionLogger * connectionLogger();
+ virtual String * htmlRendering(IMAPMessage * msg, String * folder);
+ virtual String * htmlBodyRendering(IMAPMessage * msg, String * folder);
+
+ virtual String * plainTextRendering(IMAPMessage * msg, String * folder);
+ virtual String * plainTextBodyRendering(IMAPMessage * msg, String * folder);
+
+
public: // private
virtual void loginIfNeeded(ErrorCode * pError);
virtual void connectIfNeeded(ErrorCode * pError);