// GUI-specific implementations
-#include "LString.h"
+#include "support/docstring.h"
+#include <utility>
-int prompt_pimpl(string const & title, string const & question,
- int default_button, int escape_button,
- string const & b1, string const & b2, string const & b3);
-void warning_pimpl(string const & title, string const & warning);
-void error_pimpl(string const & title, string const & warning);
-void information_pimpl(string const & title, string const & warning);
+namespace lyx {
-std::pair<bool, string> const askForText_pimpl(string const & msg, string const & dflt);
+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