]> git.lyx.org Git - features.git/blobdiff - src/errorlist.h
Replace LString.h with support/std_string.h,
[features.git] / src / errorlist.h
index a10225790c24c7a11cd6c0c568a3af02ef48e23e..33e57c4b3aa3a58045ca205a2228ba805b5742cb 100644 (file)
@@ -1,8 +1,4 @@
 // -*- 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 "support/std_string.h"
 
 #include <vector>
-#include "support/lstrings.h"
 
 class Buffer;
-class TeXErrors;
 
 /// A class to hold an error item
 struct ErrorItem {
@@ -27,8 +25,8 @@ 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();
 };
 
@@ -36,7 +34,6 @@ class ErrorList : private std::vector<ErrorItem>
 {
 public:        
        ErrorList() : std::vector<ErrorItem> () {};
-       ErrorList(Buffer const & buf, TeXErrors const &);
 
        using std::vector<ErrorItem>::push_back;
        using std::vector<ErrorItem>::end;