// -*- C++ -*-
/* This file is part of
- * ======================================================
+ * ======================================================
*
* LyX, The Document Processor
*
- * Copyright (C) 1995 Matthias Ettrich
- * Copyright (C) 1995-1998 The LyX Team.
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2001 The LyX Team.
*
- * This file is Copyright (C) 1997
+ * This file is Copyright 1997
* Asger Alstrup
*
- *======================================================
+ * ======================================================
*/
-#ifndef _CHKTEX_H
-#define _CHKTEX_H
+#ifndef CHKTEX_H
+#define CHKTEX_H
#ifdef __GNUG__
#pragma interface
class Chktex {
public:
/**
- cmd = the chktex command, file = name of the (temporary) latex file,
- path = name of the files original path.
- */
- Chktex(LString const & cmd, LString const & file,
- LString const & path);
+ @param cmd the chktex command.
+ @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);
/** 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 &);
///
- LString cmd;
+ string cmd;
///
- LString file;
+ string file;
///
- LString path;
+ string path;
};
#endif