home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Divers
/
lyx-0.13.2.tar.gz
/
lyx-0.13.2.tar
/
lyx-0.13.2
/
src
/
Chktex.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-23
|
969b
|
57 lines
// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright (C) 1995 Matthias Ettrich
* Copyright (C) 1995-1998 The LyX Team.
*
* This file is Copyright (C) 1997
* Asger Alstrup
*
*======================================================
*/
#ifndef _CHKTEX_H
#define _CHKTEX_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
class LyXLex;
class TeXErrors;
///
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);
/** Runs chktex.
Returns -1 if fail, number of messages otherwise.
*/
int run(TeXErrors &);
private:
///
int scanLogFile(TeXErrors &);
///
LString cmd;
///
LString file;
///
LString path;
};
#endif