X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FChktex.h;h=34826bbcea65668e2563b796980106b645b32c92;hb=639aa354448188f45e69d6bd1e0ef3dfcc938c5f;hp=5ad8af2ccaf0d806ae150fd34adff26de36c4106;hpb=8283e978f8d621041c432b9b88a476bfd567385c;p=lyx.git diff --git a/src/Chktex.h b/src/Chktex.h index 5ad8af2cca..34826bbcea 100644 --- a/src/Chktex.h +++ b/src/Chktex.h @@ -1,30 +1,25 @@ // -*- 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 -#ifdef __GNUG__ -#pragma interface -#endif +#include -#include "LString.h" -class LyXLex; +namespace lyx { + class TeXErrors; + /// class Chktex { public: @@ -33,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. @@ -43,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