aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/abstract/MCOAbstractPart.h
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-03-09 22:33:29 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-03-09 22:33:37 -0700
commitaf9bbf947306e9b792429d69010b8fc27ea7001e (patch)
treeb4074318038ed8e367b09993be71156169a3a69e /src/objc/abstract/MCOAbstractPart.h
parenta3959cc57349176d5e869029342ddfd2576eedc6 (diff)
#874: render message properly when the first part is a .txt attachment
Diffstat (limited to 'src/objc/abstract/MCOAbstractPart.h')
-rw-r--r--src/objc/abstract/MCOAbstractPart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/objc/abstract/MCOAbstractPart.h b/src/objc/abstract/MCOAbstractPart.h
index 30dd8f5f..72383f9a 100644
--- a/src/objc/abstract/MCOAbstractPart.h
+++ b/src/objc/abstract/MCOAbstractPart.h
@@ -73,6 +73,9 @@ typedef NS_ENUM(NSInteger, MCOPartType) {
/** Returns whether the part is an explicit inline attachment.*/
@property (nonatomic, assign, getter=isInlineAttachment) BOOL inlineAttachment;
+/** Returns whether the part is an explicit attachment.*/
+@property (nonatomic, assign, getter=isAttachment) BOOL attachment;
+
/** Returns the part with the given Content-ID among this part and its subparts.*/
- (MCOAbstractPart *) partForContentID:(NSString *)contentID;