#include #include #include "xconf.h" #include "components.h" /* A notice is simply a table of string. It generally hold a message to display to the user when a selection is made. */ PUBLIC NOTICE::NOTICE () { tbstr = NULL; nbstr = 0; maxstr = 0; } PUBLIC NOTICE::~NOTICE () { for (int i=0; i= maxsiz){ ret = -1; break; }else{ strcpy (pt,str); pt += len; *pt++ = '\n'; } } *pt = '\0'; return ret; }