]> git.lyx.org Git - lyx.git/blobdiff - src/Chktex.h
Fix text direction issue for InsetInfo in RTL context
[lyx.git] / src / Chktex.h
index 907efca4b3a8bf4a1cc151e27111ea9c8dc00441..34826bbcea65668e2563b796980106b645b32c92 100644 (file)
@@ -1,56 +1,52 @@
 // -*- C++ -*-
-/* This file is part of
- * ====================================================== 
- * 
- *           LyX, The Document Processor
+/**
+ * \file Chktex.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *          Copyright 1995 Matthias Ettrich
- *           Copyright 1995-1999 The LyX Team.
+ * \author Asger Alstrup
  *
- *           This file is Copyright 1997
- *           Asger Alstrup
- *
- * ====================================================== 
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef CHKTEX_H
 #define CHKTEX_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include <string>
+
 
-#include "LString.h"
+namespace lyx {
 
-class LyXLex;
 class TeXErrors;
 
+
 ///
 class Chktex {
 public:
        /**
-         cmd = the chktex command, file = name of the (temporary) latex file,
-         path = name of the files original path.
-         */
-       Chktex(string const & cmd, string const & file,
-              string const & path);
-       
+         @param cmd the chktex command.
+         @param file name of the (temporary) latex file.
+         @param path name of the files original path.
+       */
+       Chktex(std::string const & cmd, std::string const & file,
+              std::string const & path);
+
        /** Runs chktex.
-         Returns -1 if fail, number of messages otherwise.
+           @return -1 if fail, number of messages otherwise.
          */
        int run(TeXErrors &);
 private:
        ///
        int scanLogFile(TeXErrors &);
-
        ///
-       string cmd;
-
+       std::string cmd;
        ///
-       string file;
-       
+       std::string file;
        ///
-       string path;
+       std::string path;
 };
 
+
+} // namespace lyx
+
 #endif