]> git.lyx.org Git - lyx.git/blobdiff - src/buffer_funcs.h
Enable convertDefault.sh to run even if its executable bit is not set.
[lyx.git] / src / buffer_funcs.h
index dc6a440b76fbaa825f686f30cdb6e062a60de3c3..e6fb52dc711ec40e26cbc204e429acdfd6d55a77 100644 (file)
@@ -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