/* text.h */ #ifndef _text_h_ #define _text_h_ /* a pointer to this struct is intended to be set to the XmNuserData of the text widget */ typedef struct text_tag { char *original, *filtered ; Boolean isreading ; } TextUserData ; #ifdef _NO_PROTO char TextGetChar() ; TextUserData *GetUserData() ; void ShowNext() ; #else char TextGetChar(Widget, XmTextPosition) ; TextUserData *GetUserData(Widget) ; void ShowNext(Widget, XmTextPosition, int) ; #endif #endif /* _text_h_ */