]> git.lyx.org Git - lyx.git/blob - src/ErrorList.cpp
bc007da2ddc5d8d060f5fd77cc6636eb59eef9e5
[lyx.git] / src / ErrorList.cpp
1 /**
2  * \file ErrorList.cpp
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Alfredo Braunstein
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "ErrorList.h"
14
15 using namespace std;
16
17 namespace lyx {
18
19 ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
20                      int par_id_, pos_type pos_start_, pos_type pos_end_)
21         : error(error_), description(description_), par_id(par_id_),
22           pos_start(pos_start_),  pos_end(pos_end_)
23 {}
24
25
26 ErrorItem::ErrorItem()
27         : par_id(-1), pos_start(0), pos_end(0)
28 {}
29
30
31 } // namespace lyx