]> git.lyx.org Git - lyx.git/blobdiff - src/Chktex.h
Revert 82c7669381
[lyx.git] / src / Chktex.h
index a73478974f52c9126f1d7fa88db32bfb5829ffac..16481e7d679c555328d1a7161b06830f6b7bccc8 100644 (file)
 #ifndef CHKTEX_H
 #define CHKTEX_H
 
-#include "LString.h"
+#include <string>
 
-class LyXLex;
+
+namespace lyx {
+
+class Lexer;
 class TeXErrors;
 
+
 ///
 class Chktex {
 public:
@@ -25,8 +29,8 @@ 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.
@@ -35,15 +39,15 @@ public:
 private:
        ///
        int scanLogFile(TeXErrors &);
-
        ///
-       string cmd;
-
+       std::string cmd;
        ///
-       string file;
-
+       std::string file;
        ///
-       string path;
+       std::string path;
 };
 
+
+} // namespace lyx
+
 #endif