]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Alert.h
include sys/time.h
[lyx.git] / src / frontends / Alert.h
index 6f8efd0e07f48778494c8f4bbf5fc541d23f6602..bd56b1a76e77c862162315678e6c791c2493581c 100644 (file)
@@ -1,10 +1,12 @@
 // -*- C++ -*-
 /**
  * \file Alert.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef LYX_ALERT_H
 namespace Alert {
 
 /// show an alert message
-void alert(string const & s1, string const & s2 = string(), 
-          string const & s3 = string());
+void alert(string const & title, string const & s1 = string(),
+          string const & s2 = string());
 
 /// show an alert message and strerror(errno)
 void err_alert(string const & s1, string const & s2 = string());
 
-/// ask a question 
+/// ask a question
 bool askQuestion(string const & s1, string const & s2 = string(),
                 string const & s3 = string(), bool default_value = true);
 
 /// Returns 1 for yes, 2 for no, 3 for cancel.
-int askConfirmation(string const & s1, string const & s2 = string(), 
+int askConfirmation(string const & s1, string const & s2 = string(),
                    string const & s3 = string(), int default_value = 1);
 
 /// Asks for a text
 std::pair<bool, string> const
-askForText(string const & msg, 
+askForText(string const & msg,
           string const & dflt = string());
 
 }
 
-#endif
+#endif // LYX_ALERT_H