X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChktex.h;h=8af93a465c6d656a41d99b4a0c11fc4cb1da7a7d;hb=d13d6da879462707cd947cdf00c0cf7c3dfac924;hp=745e8b449317c8b1dddd1a5af833c084d9495fc9;hpb=797d87b4513088a66b17c7ac653b84e36ea80458;p=lyx.git diff --git a/src/Chktex.h b/src/Chktex.h index 745e8b4493..8af93a465c 100644 --- a/src/Chktex.h +++ b/src/Chktex.h @@ -1,30 +1,23 @@ // -*- 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-2000 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 "LString.h" - class LyXLex; class TeXErrors; +#include + + /// class Chktex { public: @@ -33,9 +26,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. */ @@ -45,13 +38,13 @@ private: int scanLogFile(TeXErrors &); /// - string cmd; + std::string cmd; /// - string file; - + std::string file; + /// - string path; + std::string path; }; #endif