2003-05-20 16:51:31 +00:00
|
|
|
/**
|
2007-04-26 04:41:58 +00:00
|
|
|
* \file ErrorList.cpp
|
2003-05-20 16:51:31 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Alfredo Braunstein
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-05-20 16:51:31 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
2007-04-26 04:41:58 +00:00
|
|
|
#include "ErrorList.h"
|
2003-05-20 16:51:31 +00:00
|
|
|
|
2007-12-12 10:16:00 +00:00
|
|
|
using namespace std;
|
2003-05-20 16:51:31 +00:00
|
|
|
|
2007-07-17 17:46:54 +00:00
|
|
|
namespace lyx {
|
2006-09-11 08:54:10 +00:00
|
|
|
|
2007-12-12 18:57:56 +00:00
|
|
|
|
2006-09-11 08:54:10 +00:00
|
|
|
ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
|
2011-03-04 13:37:14 +00:00
|
|
|
int par_id_, pos_type pos_start_, pos_type pos_end_,
|
|
|
|
Buffer const * buffer_)
|
2004-03-24 17:06:17 +00:00
|
|
|
: error(error_), description(description_), par_id(par_id_),
|
2011-03-04 13:37:14 +00:00
|
|
|
pos_start(pos_start_), pos_end(pos_end_), buffer(buffer_)
|
2003-05-20 16:51:31 +00:00
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
ErrorItem::ErrorItem()
|
2011-03-04 13:37:14 +00:00
|
|
|
: par_id(-1), pos_start(0), pos_end(0), buffer(0)
|
2003-05-20 16:51:31 +00:00
|
|
|
{}
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
} // namespace lyx
|