]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.h
* src/LaTeX.C: beautification: use identical user messages
[lyx.git] / src / LaTeX.h
index 7675e039fd4f144668934c1eac5927acb4d47edc..1f52dab188386e791f2380f2467bca8715d83957 100644 (file)
 
 #include "outputparams.h"
 
+#include "support/docstring.h"
+
 #include <boost/utility.hpp>
-#include <boost/signals/signal1.hpp>
+#include <boost/signal.hpp>
 
 #include <vector>
 #include <set>
 
+
+namespace lyx {
+
 class DepTable;
 
 ///
 class TeXErrors {
 private:
        ///
-       struct Error {
+       class Error {
+       public:
                ///
                Error () : error_in_line(0) {}
                ///
@@ -125,7 +131,7 @@ public:
        };
 
        /// This signal emits an informative message
-       boost::signal1<void, std::string> message;
+       boost::signal<void(docstring)> message;
 
 
        /**
@@ -155,7 +161,8 @@ private:
        void deplog(DepTable & head);
 
        ///
-       bool runMakeIndex(std::string const &);
+       bool runMakeIndex(std::string const &, OutputParams const &,
+                         std::string const & = std::string());
 
        ///
        std::vector<Aux_Info> const scanAuxFiles(std::string const &);
@@ -195,4 +202,7 @@ private:
        OutputParams runparams;
 };
 
+
+} // namespace lyx
+
 #endif