diff --git a/Source/Parsers/rtfConsumer.h b/Source/Parsers/rtfConsumer.h index 7a76d016c..24114c529 100644 --- a/Source/Parsers/rtfConsumer.h +++ b/Source/Parsers/rtfConsumer.h @@ -23,11 +23,16 @@ 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - #ifndef _rtfConsumer_h_INCLUDE #define _rtfConsumer_h_INCLUDE -@interface RTFConsumer: NSObject +#include + +@class NSMutableDictionary; +@class NSMutableArray; +@class NSMutableAttributedString; + +@interface RTFConsumer: NSObject { @public NSMutableDictionary *documentAttributes; @@ -38,11 +43,9 @@ int ignore; } -+ (NSAttributedString*) parseRTF: (NSData *)rtfData - documentAttributes: (NSDictionary **)dict; -+ (NSAttributedString*) parseRTFD: (NSFileWrapper *)rtfFile - documentAttributes: (NSDictionary **)dict; +@end +@interface RTFDConsumer: RTFConsumer @end #endif