/* yesno.h * * Edit History: * 07/16/91 tony */ /* useful globals */ extern XmString NullString; /* an empty string */ /* Utility functions */ #ifdef _NO_PROTO extern void ErrorBox(); extern int YesNoBox(); #else extern void ErrorBox(char *message); extern int YesNoBox(char *mess, char *yes, char *no, XtCallbackProc proc, Widget w); #endif /* yesno stuff */ #define YesNoYes 1 #define YesNoCancel 0 #define YesNoHelp -1 /* Utility functions from the builder */ #ifndef _NO_PROTO extern XmString* STRING_TABLE(...); extern caddr_t CONVERT(Widget w, char *from_string, char *to_type, int to_size); #endif