+// -*- C++ -*-
/**
* \file Alert_pimpl.h
- * 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
+ * \author John Levon
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
-#include "debug.h"
-
// GUI-specific implementations
-void alert_pimpl(string const & s1, string const & s2, string const & s3);
-bool askQuestion_pimpl(string const & s1, string const & s2, string const & s3);
-int askConfirmation_pimpl(string const & s1, string const & s2, string const & s3);
-std::pair<bool, string> const askForText_pimpl(string const & msg, string const & dflt);
+
+#include "support/docstring.h"
+
+#include <utility>
+
+
+namespace lyx {
+
+int prompt_pimpl(docstring const & title, docstring const & question,
+ int default_button, int escape_button,
+ docstring const & b1,
+ docstring const & b2,
+ docstring const & b3);
+
+void warning_pimpl(docstring const & title, docstring const & warning);
+void error_pimpl(docstring const & title, docstring const & warning);
+void information_pimpl(docstring const & title, docstring const & warning);
+
+std::pair<bool, docstring> const askForText_pimpl(docstring const & msg, docstring const & dflt);
+
+} // namespace lyx
+