// -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file Chktex.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * LyX, The Document Processor
+ * \author Asger Alstrup
*
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- *
- * This file is Copyright 1997
- * Asger Alstrup
- *
- * ======================================================
+ * Full author contact details are available in file CREDITS.
*/
#ifndef CHKTEX_H
#define CHKTEX_H
-#include "LString.h"
+#include <string>
+
-class LyXLex;
+namespace lyx {
+
+class Lexer;
class TeXErrors;
+
///
class Chktex {
public:
@param file name of the (temporary) latex file.
@param path name of the files original path.
*/
- Chktex(string const & cmd, string const & file,
- string const & path);
+ Chktex(std::string const & cmd, std::string const & file,
+ std::string const & path);
/** Runs chktex.
@return -1 if fail, number of messages otherwise.
private:
///
int scanLogFile(TeXErrors &);
-
///
- string cmd;
-
+ std::string cmd;
///
- string file;
-
+ std::string file;
///
- string path;
+ std::string path;
};
+
+} // namespace lyx
+
#endif