X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChktex.h;h=8af93a465c6d656a41d99b4a0c11fc4cb1da7a7d;hb=78046794ccfce3a20751e00b35295c290853afd6;hp=071927ec3ba691a0edb82173a4308185fb325b98;hpb=99d1627a471b92f403598d03dfc861ddc3c11be0;p=lyx.git diff --git a/src/Chktex.h b/src/Chktex.h index 071927ec3b..8af93a465c 100644 --- a/src/Chktex.h +++ b/src/Chktex.h @@ -1,26 +1,23 @@ // -*- 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" - class LyXLex; class TeXErrors; +#include + + /// class Chktex { public: @@ -29,8 +26,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. @@ -41,13 +38,13 @@ private: int scanLogFile(TeXErrors &); /// - string cmd; + std::string cmd; /// - string file; + std::string file; /// - string path; + std::string path; }; #endif