aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/abstract/MCOAbstractMessage.h
blob: ea5df77008bbcac0e523fbc889d82ee0677a05a0 (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
//
//  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;

@end

#endif