aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/rfc822/MCOMessageParser.h
blob: fd1f53040bbedcee1d00c1921e1b5342c290c904 (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
//
//  MCOMessageParser.h
//  mailcore2
//
//  Created by DINH Viêt Hoà on 3/22/13.
//  Copyright (c) 2013 MailCore. All rights reserved.
//

#ifndef __MAILCORE_MCOMESSAGEPARSER_H_

#define __MAILCORE_MCOMESSAGEPARSER_H_

#import <mailcore/MCOAbstractMessage.h>

@protocol MCOHTMLRendererDelegate;

@interface MCOMessageParser : MCOAbstractMessage

@property (nonatomic, assign) id <MCOHTMLRendererDelegate> rendererDelegate;

+ (MCOMessageParser *) messageParserWithData:(NSData *)data;

- (id) initWithData:(NSData *)data;
- (void) dealloc;

- (MCOAbstractPart *) mainPart;
- (NSData *) data;

- (NSString *) htmlRendering;

@end

#endif