chiark
/
gitweb
/
~mdw
/
mgLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow control over the message box title.
[mgLib]
/
msg.h
diff --git
a/msg.h
b/msg.h
index dd9eddb387693ac747fd5dbd610f7b3f1bafcaf2..8c973c5a552dc201a1c92bf6ee5bc97db5bbee14 100644
(file)
--- a/
msg.h
+++ b/
msg.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: msg.h,v 1.
5 2000/08/15 22:40:15
mdw Exp $
+ * $Id: msg.h,v 1.
6 2002/01/13 14:32:23
mdw Exp $
*
* Display a message and get an answer
*
*
* Display a message and get an answer
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: msg.h,v $
/*----- 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.5 2000/08/15 22:40:15 mdw
* Change guard constants.
*
@@
-62,8
+65,9
@@
/* --- @msg@ --- *
*
/* --- @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.
*
*
* Returns: Index of the button selected.
*
@@
-79,7
+83,8
@@
* 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 -------------------------------------------------*/
/*----- That's all, folks -------------------------------------------------*/