From d6231bab89d634da5564491196b7c478db038505 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Sat, 4 Mar 2006 18:16:49 +0000 Subject: Initial import. --- RichString.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 RichString.h (limited to 'RichString.h') diff --git a/RichString.h b/RichString.h new file mode 100644 index 00000000..f59c5765 --- /dev/null +++ b/RichString.h @@ -0,0 +1,43 @@ +/* Do not edit this file. It was automatically genarated. */ + +#ifndef HEADER_RichString +#define HEADER_RichString + + +#include +#include +#include +#include + +#include "debug.h" +#include + +#define RICHSTRING_MAXLEN 300 + + +typedef struct RichString_ { + int len; + chtype chstr[RICHSTRING_MAXLEN+1]; +} RichString; + + + +RichString RichString_new(); + +void RichString_delete(RichString this); + +void RichString_prune(RichString* this); + +void RichString_write(RichString* this, int attrs, char* data); + +inline void RichString_append(RichString* this, int attrs, char* data); + +inline void RichString_appendn(RichString* this, int attrs, char* data, int len); + +void RichString_setAttr(RichString *this, int attrs); + +void RichString_applyAttr(RichString *this, int attrs); + +RichString RichString_quickString(int attrs, char* data); + +#endif -- cgit v1.2.3