]> git.lyx.org Git - lyx.git/blob - src/ErrorList.cpp
1fc64c7315284f377aef2f17dbb6abb5cd01d17b
[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 std::string;
16
17
18 namespace lyx {
19
20 ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
21                      int par_id_, pos_type pos_start_, pos_type pos_end_)
22         : error(error_), description(description_), par_id(par_id_),
23           pos_start(pos_start_),  pos_end(pos_end_)
24 {}
25
26
27 ErrorItem::ErrorItem()
28         : par_id(-1), pos_start(0), pos_end(0)
29 {}
30
31
32 } // namespace lyx