diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-05-05 12:55:13 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-05-05 12:55:13 -0700 |
commit | 0bd999438fdae6944b3d520066a530c9eb63d909 (patch) | |
tree | df97216066e5005cf9080b39c87de770ffc63881 /src/core/abstract/MCAbstractMessage.cc | |
parent | 1efc3506bf90862ee07662a08cf5d15de8b9495c (diff) |
Implemented collection of attachments
Diffstat (limited to 'src/core/abstract/MCAbstractMessage.cc')
-rw-r--r-- | src/core/abstract/MCAbstractMessage.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/abstract/MCAbstractMessage.cc b/src/core/abstract/MCAbstractMessage.cc index b7d9b9af..a7e73992 100644 --- a/src/core/abstract/MCAbstractMessage.cc +++ b/src/core/abstract/MCAbstractMessage.cc @@ -1,6 +1,7 @@ #include "MCAbstractMessage.h" #include "MCMessageHeader.h" +#include "MCHTMLRenderer.h" using namespace mailcore; @@ -68,3 +69,14 @@ AbstractPart * AbstractMessage::partForUniqueID(String * uniqueID) MCAssert(0); return NULL; } + +Array * AbstractMessage::attachments() +{ + return HTMLRenderer::attachmentsForMessage(this); +} + +Array * AbstractMessage::htmlInlineAttachments() +{ + return HTMLRenderer::htmlInlineAttachmentsForMessage(this); +} + |