]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Alert_pimpl.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / Alert_pimpl.h
index f771bbf7ec4cac00aad43ac5810720bc506a8f24..09cbefa95c9c07d76f2343ed6c1e6ed2ee4ea50c 100644 (file)
@@ -1,15 +1,26 @@
+// -*- C++ -*-
 /**
  * \file Alert_pimpl.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.
  */
 
-#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 <utility>
+#include <string>
+
+
+int prompt_pimpl(std::string const & title, std::string const & question,
+           int default_button, int escape_button,
+          std::string const & b1, std::string const & b2, std::string const & b3);
+
+void warning_pimpl(std::string const & title, std::string const & warning);
+void error_pimpl(std::string const & title, std::string const & warning);
+void information_pimpl(std::string const & title, std::string const & warning);
+
+std::pair<bool, std::string> const askForText_pimpl(std::string const & msg, std::string const & dflt);