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
|
|
|
|
2003-10-06 15:43:21 +00:00
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
namespace lyx {
|
2003-05-20 16:51:31 +00:00
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
using std::string;
|
2006-09-11 08:54:10 +00:00
|
|
|
|
|
|
|
ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
|
2004-03-24 17:06:17 +00:00
|
|
|
int par_id_, pos_type pos_start_, pos_type pos_end_)
|
|
|
|
: error(error_), description(description_), par_id(par_id_),
|
|
|
|
pos_start(pos_start_), pos_end(pos_end_)
|
2003-05-20 16:51:31 +00:00
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
ErrorItem::ErrorItem()
|
2004-03-25 09:16:36 +00:00
|
|
|
: par_id(-1), pos_start(0), pos_end(0)
|
2003-05-20 16:51:31 +00:00
|
|
|
{}
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
} // namespace lyx
|