X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbuffer_funcs.h;h=e6fb52dc711ec40e26cbc204e429acdfd6d55a77;hb=24f8676130d1e0769db394b7142dae7eeb1d955e;hp=dc6a440b76fbaa825f686f30cdb6e062a60de3c3;hpb=2d8eb4b9d466e8293534ef7410737aa9448361c6;p=lyx.git diff --git a/src/buffer_funcs.h b/src/buffer_funcs.h index dc6a440b76..e6fb52dc71 100644 --- a/src/buffer_funcs.h +++ b/src/buffer_funcs.h @@ -3,15 +3,20 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * \author Alfredo Braunstein * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ +#ifndef BUFFER_FUNCS_H +#define BUFFER_FUNCS_H + #include "LString.h" class Buffer; +class TeXErrors; +class ErrorList; /** * Loads a LyX file \c filename into \c Buffer @@ -24,3 +29,12 @@ bool loadLyXFile(Buffer *, string const & filename); */ Buffer * newFile(string const & filename, string const & templatename, bool isNamed = false); + +///return the format of the buffer on a string +string const BufferFormat(Buffer const & buffer); +/// +void bufferErrors(Buffer const &, TeXErrors const &); +/// +void bufferErrors(Buffer const &, ErrorList const &); + +#endif // BUFFER_FUNCS_H