aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/abstract/MCOHTMLRendererDelegate.h
diff options
context:
space:
mode:
authorGravatar Ken Grigsby <grigsby@thursby.com>2013-05-08 10:58:16 -0500
committerGravatar Ken Grigsby <grigsby@thursby.com>2013-05-08 10:58:16 -0500
commit5e1e7772318c2ffa110a3ad26ad7e6a0557b92b9 (patch)
tree15551a455e5fe38c25387e5f8a75b8953c593611 /src/objc/abstract/MCOHTMLRendererDelegate.h
parent5de14df0f57c2bd28408b6b51a8d7c3a23766f4c (diff)
added shouldShowPart to remove unwanted attachments from renderer
Diffstat (limited to 'src/objc/abstract/MCOHTMLRendererDelegate.h')
-rw-r--r--src/objc/abstract/MCOHTMLRendererDelegate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/objc/abstract/MCOHTMLRendererDelegate.h b/src/objc/abstract/MCOHTMLRendererDelegate.h
index 1e939a91..daa8e626 100644
--- a/src/objc/abstract/MCOHTMLRendererDelegate.h
+++ b/src/objc/abstract/MCOHTMLRendererDelegate.h
@@ -35,6 +35,9 @@
// If not, the attachment template will be used.
- (BOOL) MCOAbstractMessage:(MCOAbstractMessage *)msg canPreviewPart:(MCOAbstractPart *)part;
+// This delegate method should return YES if the part should be rendered.
+- (BOOL) MCOAbstractMessage:(MCOAbstractMessage *)msg shouldShowPart:(MCOAbstractPart *)part;
+
// This delegate method returns the values to be applied to the template for the given header.
// See the content of MCHTMLRendererCallback.cpp for the default values of the header.
- (NSDictionary *) MCOAbstractMessage:(MCOAbstractMessage *)msg templateValuesForHeader:(MCOMessageHeader *)header;