diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1999-03-30 17:24:31 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1999-03-30 17:24:31 -0500 |
commit | 327b7c16889c9d95ec076d695c970da11dc32a2b (patch) | |
tree | 91a9c864c60dfff69efe63d4cca7aab0b4754d6d /src/HTAlert.h | |
parent | 79de405977ac0d7820576b353dde07ce09cedba9 (diff) | |
download | lynx-snapshots-327b7c16889c9d95ec076d695c970da11dc32a2b.tar.gz |
snapshot of project "lynx", label v2-8-2dev_21
Diffstat (limited to 'src/HTAlert.h')
-rw-r--r-- | src/HTAlert.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/HTAlert.h b/src/HTAlert.h index b3e5c8a9..97026647 100644 --- a/src/HTAlert.h +++ b/src/HTAlert.h @@ -50,6 +50,19 @@ extern void HTReadProgress PARAMS((long bytes, long total)); */ extern BOOL HTLastConfirmCancelled NOPARAMS; +/* Display a message, then wait for 'yes' or 'no', allowing default +** response if a return or left-arrow is used. +** +** On entry, +** Takes a list of parameters for printf. +** +** On exit, +** If the user enters 'YES', returns TRUE, returns FALSE +** otherwise. +*/ +extern BOOL HTConfirmDefault PARAMS ((CONST char * Msg, int Dft)); + + /* Display a message, then wait for 'yes' or 'no'. ** ** On entry, |