]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.h
fix "make dist" target
[lyx.git] / src / LaTeX.h
index dfa5937ddb5ccfb6a79c776b7951b4014ead5be4..cdd1e15e9889b65283d60f7df15f834e5d2000fc 100644 (file)
@@ -26,7 +26,7 @@
 
 #include <boost/utility.hpp>
 
-class MiniBuffer;
+class LyXFunc;
 
 ///
 class TeXErrors {
@@ -74,9 +74,6 @@ public:
        std::set<string> databases;
        ///
        std::set<string> styles;
-       ///
-       friend
-       bool operator==(Aux_Info const & a, Aux_Info const & o);
 };
 
 
@@ -92,7 +89,15 @@ bool operator==(Aux_Info const & a, Aux_Info const & o)
 
 
 ///
-class LaTeX : public noncopyable {
+inline
+bool operator!=(Aux_Info const & a, Aux_Info const & o)
+{
+       return !(a == o);
+}
+
+
+///
+class LaTeX : boost::noncopyable {
 public:
        /** Return values from scanLogFile() and run() (to come)
            
@@ -147,7 +152,7 @@ public:
        virtual ~LaTeX() {}
        
        /// runs LaTeX several times
-       int run(TeXErrors &, MiniBuffer *);
+       int run(TeXErrors &, LyXFunc *);
 
        ///
        int getNumErrors() { return num_errors;}
@@ -182,7 +187,7 @@ protected:
                                      std::vector<Aux_Info> const &);
 
        ///
-       bool runBibTeX(vector<Aux_Info> const &);
+       bool runBibTeX(std::vector<Aux_Info> const &);
 
        ///
        void deleteFilesOnError() const;