3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
6 * \author John Levon <moz@compsoc.man.ac.uk>
9 #include "support/lstrings.h"
13 /// show an alert message
14 void alert(string const & s1, string const & s2 = string(),
15 string const & s3 = string());
17 /// show an alert message and strerror(errno)
18 void err_alert(string const & s1, string const & s2 = string());
21 bool askQuestion(string const & s1, string const & s2 = string(),
22 string const & s3 = string(), bool default_value = true);
24 /// Returns 1 for yes, 2 for no, 3 for cancel.
25 int askConfirmation(string const & s1, string const & s2 = string(),
26 string const & s3 = string(), int default_value = 1);
29 std::pair<bool, string> const askForText(string const & msg,
30 string const & dflt = string());