]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.h
cleanup some debug messages
[lyx.git] / src / LaTeX.h
index 2c358795a7d9db0de106b8ce30a4eb14a49aacf3..c7d51e92a6e86529d5a2d3ce428772dcb254ddd1 100644 (file)
 #ifndef LATEX_H
 #define LATEX_H
 
-#include "latexrunparams.h"
+#include "outputparams.h"
 
 #include <boost/utility.hpp>
-#include <boost/signals/signal1.hpp>
+#include <boost/signal.hpp>
 
 #include <vector>
 #include <set>
@@ -28,7 +28,8 @@ class DepTable;
 class TeXErrors {
 private:
        ///
-       struct Error {
+       class Error {
+       public:
                ///
                Error () : error_in_line(0) {}
                ///
@@ -125,14 +126,14 @@ public:
        };
 
        /// This signal emits an informative message
-       boost::signal1<void, std::string> message;
+       boost::signal<void(std::string)> message;
 
 
        /**
           cmd = the latex command, file = name of the (temporary) latex file,
           path = name of the files original path.
        */
-       LaTeX(std::string const & cmd, LatexRunParams const &,
+       LaTeX(std::string const & cmd, OutputParams const &,
              std::string const & file, std::string const & path);
 
        /// runs LaTeX several times
@@ -155,7 +156,7 @@ private:
        void deplog(DepTable & head);
 
        ///
-       bool runMakeIndex(std::string const &);
+       bool runMakeIndex(std::string const &, OutputParams const &);
 
        ///
        std::vector<Aux_Info> const scanAuxFiles(std::string const &);
@@ -192,7 +193,7 @@ private:
        std::string output_file;
 
        ///
-       LatexRunParams runparams;
+       OutputParams runparams;
 };
 
 #endif