diff options
author | DINH Viet Hoa <dinh.viet.hoa@gmail.com> | 2013-02-02 21:26:50 -0800 |
---|---|---|
committer | DINH Viet Hoa <dinh.viet.hoa@gmail.com> | 2013-02-02 21:26:50 -0800 |
commit | b722f92053b4fb52a6de9a479a0767a37da2a3c8 (patch) | |
tree | d9fd79da06ce6e457c96da3cce6870a402d57f10 | |
parent | ebb2fdea2c171560c68767068f3228d3dcab3828 (diff) |
Default value for HTML callbacks
-rw-r--r-- | src/core/imap/MCIMAPMessage.h | 2 | ||||
-rw-r--r-- | src/core/rfc822/MCMessageParser.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/imap/MCIMAPMessage.h b/src/core/imap/MCIMAPMessage.h index 38d25ea4..b1fd4647 100644 --- a/src/core/imap/MCIMAPMessage.h +++ b/src/core/imap/MCIMAPMessage.h @@ -42,7 +42,7 @@ namespace mailcore { virtual String * htmlRendering(String * folder, HTMLRendererIMAPCallback * dataCallback, - HTMLRendererTemplateCallback * htmlCallback); + HTMLRendererTemplateCallback * htmlCallback = NULL); public: // subclass behavior IMAPMessage(IMAPMessage * other); diff --git a/src/core/rfc822/MCMessageParser.h b/src/core/rfc822/MCMessageParser.h index 5737920d..ff2f1f50 100644 --- a/src/core/rfc822/MCMessageParser.h +++ b/src/core/rfc822/MCMessageParser.h @@ -25,7 +25,7 @@ namespace mailcore { virtual AbstractPart * partForContentID(String * contentID); virtual AbstractPart * partForUniqueID(String * uniqueID); - virtual String * htmlRendering(HTMLRendererTemplateCallback * htmlCallback); + virtual String * htmlRendering(HTMLRendererTemplateCallback * htmlCallback = NULL); public: // subclass behavior MessageParser(MessageParser * other); |