// -*- C++ -*-
-
-#ifndef ERRORLIST_H
-#define ERRORLIST_H
-
/**
* \file errorlist.h
* This file is part of LyX, the document processor.
*
* \author Alfredo Braunstein
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
+#ifndef ERRORLIST_H
+#define ERRORLIST_H
+
+#include "LString.h"
#include <vector>
-#include "support/lstrings.h"
class Buffer;
-class TeXErrors;
/// A class to hold an error item
struct ErrorItem {
int par_id;
int pos_start;
int pos_end;
- ErrorItem(string const &, string const &,
- int, int, int);
+ ErrorItem(string const & error, string const & description,
+ int parid, int posstart, int posend);
ErrorItem();
};
{
public:
ErrorList() : std::vector<ErrorItem> () {};
- ErrorList(Buffer const & buf, TeXErrors const &);
using std::vector<ErrorItem>::push_back;
using std::vector<ErrorItem>::end;