blob: aa47d15ae268aec9442d634aefdc93c42cb982b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
//
// MCOAbstractMessage.h
// mailcore2
//
// Created by DINH Viêt Hoà on 3/10/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#ifndef __MAILCORE_MCOABSTRACTMESSAGE_H_
#define __MAILCORE_MCOABSTRACTMESSAGE_H_
#import <Foundation/Foundation.h>
@class MCOMessageHeader;
@class MCOAbstractPart;
@interface MCOAbstractMessage : NSObject
// Header of the message.
@property (nonatomic, strong) MCOMessageHeader * header;
// Returns the part with the given Content-ID.
- (MCOAbstractPart *) partForContentID:(NSString *)contentID;
// Returns the part with the given unique identifier.
- (MCOAbstractPart *) partForUniqueID:(NSString *)uniqueID;
- (NSArray *) attachments;
- (NSArray *) htmlInlineAttachments;
@end
#endif
|