#include "DepTable.h"
#include <vector>
+#include <boost/utility.hpp>
+
class MiniBuffer;
///
///
-class LaTeX {
+class LaTeX : public noncopyable {
public:
/** Return values from scanLogFile() and run() (to come)
path = name of the files original path.
*/
LaTeX(string const & cmd, string const & file, string const & path);
+
+ ///
+ virtual ~LaTeX() {}
/// runs LaTeX several times
int run(TeXErrors &, MiniBuffer *);
/// use this for running LaTeX once
int operator() ();
+
+ ///
+ int scanLogFile(TeXErrors &);
+
protected:
/// The dependency file.
string depfile;
- /// unavail
- LaTeX(LaTeX const &);
- /// unavail
- LaTeX & operator= (LaTeX const &);
-
///
void deplog(DepTable & head);
- ///
- int scanLogFile(TeXErrors &);
-
///
bool runMakeIndex(string const &);