]> git.lyx.org Git - lyx.git/blobdiff - src/Chktex.h
Account for old versions of Pygments
[lyx.git] / src / Chktex.h
index a73478974f52c9126f1d7fa88db32bfb5829ffac..34826bbcea65668e2563b796980106b645b32c92 100644 (file)
 #ifndef CHKTEX_H
 #define CHKTEX_H
 
-#include "LString.h"
+#include <string>
+
+
+namespace lyx {
 
-class LyXLex;
 class TeXErrors;
 
+
 ///
 class Chktex {
 public:
@@ -25,8 +28,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 +38,15 @@ public:
 private:
        ///
        int scanLogFile(TeXErrors &);
-
        ///
-       string cmd;
-
+       std::string cmd;
        ///
-       string file;
-
+       std::string file;
        ///
-       string path;
+       std::string path;
 };
 
+
+} // namespace lyx
+
 #endif