#ifndef _Simple_extensions_h_
#define _Simple_extensions_h_
/* David Weenink, 16/6/95 */
/*
 djmw 20020321 changed SimpleString_nativize_c and SimpleString_genericize_c 
*/

#include "Data.h"
#include "Graphics.h"
#include "Simple.h"

int SimpleString_init (SimpleString me, const char *value);
/* return 0 when value == NULL */

const char *SimpleString_c (SimpleString me);
/* return pointer to the string */

int SimpleString_compare (SimpleString me, SimpleString thee);

int SimpleString_append (SimpleString me, SimpleString thee);
int SimpleString_append_c (SimpleString me, const char *str);
/* append string to me */

SimpleString SimpleString_concat (SimpleString me, SimpleString thee);
SimpleString SimpleString_concat_c (SimpleString me, const char *str);
/* concatenate two strings */

int SimpleString_replace_c (SimpleString me, const char *replacement);
/* replace my value with new string */

long SimpleString_length (SimpleString me);
/* return my length */

void SimpleString_draw (SimpleString me, Any g, double xWC, double yWC);
/* draw the string */

const char * SimpleString_nativize_c (SimpleString me, int educateQuotes);
const char * SimpleString_genericize_c (SimpleString me);
/* see longchar.h for info */

#endif /* _Simple_extensions_h_ */
