X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChktex.h;h=16481e7d679c555328d1a7161b06830f6b7bccc8;hb=90f7007a2e6c78ffd031e4636ff909ab1bc2ddec;hp=97c99f09cf6737d00b02c59129e2b89d049c9d5a;hpb=83acbbd5237373926c629855379e1df9a04209b2;p=lyx.git diff --git a/src/Chktex.h b/src/Chktex.h index 97c99f09cf..16481e7d67 100644 --- a/src/Chktex.h +++ b/src/Chktex.h @@ -1,30 +1,26 @@ // -*- 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-2001 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 + -#include "LString.h" +namespace lyx { -class LyXLex; +class Lexer; class TeXErrors; + /// class Chktex { public: @@ -33,9 +29,9 @@ 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. */ @@ -43,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