/*****
 NAME
 	ctext.h - header file for CText class
 VERSION
 	$Id$
 CHANGELOG
 	$Log$
 */

#if !defined(CTEXT_H_INCLUDED)
#define CTEXT_H_INCLUDED

#include <coconut/cobject.h>
#include <coconut/ptext.h>

@interface CText : CObject <PText>
{
	id <PIdList>	line_list ;

	/* if this flag is true, the newline code was added to each line
	   when the text is printed. */
	boolean		print_with_newline ;
}

+ newTextFromStr: (id <PBasicStr>) str withNewline: (boolean) donewline ;
- initText: (boolean) donewline ;

@end

#endif /* !defined(CTEXT_H_INCLUDED) */

