]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/alert.h
Embedding: add embedCB checkboxes to IncludeUi and ExternalUi
[lyx.git] / src / frontends / alert.h
index a163caf69a08d6af88ff001112267eca58c2515a..004a17988578e52b04118e91dcfb25ed32883a41 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef LYX_ALERT_H
 #define LYX_ALERT_H
 
-#include "support/lstrings.h"
+#include "support/docstring.h"
 
 
 namespace lyx {
@@ -55,8 +55,8 @@ void error(docstring const & title, docstring const & message);
 void information(docstring const & title, docstring const & message);
 
 /// Asks for a text. DO NOT USE !!
-std::pair<bool, docstring> const
-askForText(docstring const & msg, docstring const & dflt = docstring());
+bool askForText(docstring & response, docstring const & msg,
+       docstring const & dflt = docstring());
 
 } // namespace Alert
 } // namespace frontend