]> git.lyx.org Git - lyx.git/blob - src/ErrorList.cpp
prepare Qt 5.6 builds
[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
20 ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
21                      int par_id_, pos_type pos_start_, pos_type pos_end_,
22                      Buffer const * buffer_)
23         : error(error_), description(description_), par_id(par_id_),
24           pos_start(pos_start_),  pos_end(pos_end_), buffer(buffer_)
25 {}
26
27
28 ErrorItem::ErrorItem()
29         : par_id(-1), pos_start(0), pos_end(0), buffer(0)
30 {}
31
32
33 } // namespace lyx