From 48d393c79eef0dc293bb88acef6cf8329ec947f0 Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Sat, 18 Aug 2001 22:07:59 +0000 Subject: [PATCH] RTFConsumer implements the protocol GSTextConsumer. New subclass RTFDConsumer. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10723 72102866-910b-0410-8b05-ffd578937521 --- Source/Parsers/rtfConsumer.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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