diff options
Diffstat (limited to 'src/objc/rfc822/MCOMessageParser.h')
-rw-r--r-- | src/objc/rfc822/MCOMessageParser.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/objc/rfc822/MCOMessageParser.h b/src/objc/rfc822/MCOMessageParser.h index a22b657e..80dee964 100644 --- a/src/objc/rfc822/MCOMessageParser.h +++ b/src/objc/rfc822/MCOMessageParser.h @@ -16,14 +16,20 @@ @interface MCOMessageParser : MCOAbstractMessage <NSCopying> +// returns a parsed message from the given RFC 822 data. + (MCOMessageParser *) messageParserWithData:(NSData *)data; +// data is the RFC 822 formatted message. - (id) initWithData:(NSData *)data; - (void) dealloc; +// It's the main part of the message. It can be MCOMessagePart, MCOMultipart or MCOAttachment. - (MCOAbstractPart *) mainPart; + +// data of the RFC 822 formatted message. It's the input of the parser. - (NSData *) data; +// HTML rendering of the message to be displayed in a web view. - (NSString *) htmlRenderingWithDelegate:(id <MCOHTMLRendererDelegate>)delegate; @end |