/* -*-c-*-
*
- * $Id: msg.h,v 1.4 1999/05/06 19:51:48 mdw Exp $
+ * $Id: msg.h,v 1.6 2002/01/13 14:32:23 mdw Exp $
*
* Display a message and get an answer
*
/*----- Revision history --------------------------------------------------*
*
* $Log: msg.h,v $
+ * Revision 1.6 2002/01/13 14:32:23 mdw
+ * Allow control over the message box title.
+ *
+ * Revision 1.5 2000/08/15 22:40:15 mdw
+ * Change guard constants.
+ *
* Revision 1.4 1999/05/06 19:51:48 mdw
* Reformatted the LGPL notice a little bit.
*
*
*/
-#ifndef MSG_H
-#define MSG_H
+#ifndef MGLIB_MSG_H
+#define MGLIB_MSG_H
#ifdef __cplusplus
extern "C" {
/* --- @msg@ --- *
*
- * Arguments: @char *buttons@ = the button strings to display
- * @char *msg@ = the message skeleton string
+ * Arguments: @const char *title@ = the title for the message box
+ * @const char *buttons@ = the button strings to display
+ * @const char *msg@ = the message skeleton string
*
* Returns: Index of the button selected.
*
* of the button selected.
*/
-extern int msg(const char */*buttons*/, const char */*msg*/, ...);
+extern int msg(const char */*msg*/, const char */*buttons*/,
+ const char */*msg*/, ...);
/*----- That's all, folks -------------------------------------------------*/