#ifndef _misc_h_ #define _misc_h_ #include #include #include #include #include #include char *XtomGetFileName(Widget parent, const char *title, const char *default_path, const char *filter, int width, int height); Boolean XtomGetChoice(Widget parent, const char *title, const char *message); XmString XMSTR(const char *str); /* dialogType can be one of these: XmDIALOG_MESSAGE XmDIALOG_WARNING XmDIALOG_QUESTION XmDIALOG_INFORMATION XmDIALOG_ERROR XmDIALOG_WORKING */ void XtomShowMessage(Widget parent, unsigned char dialogType, const char *title, const char *message); #endif /* _misc_h_ */