mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
2e18f6a671
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37845 a592a061-630c-0410-9148-cb99ea01b6c8
34 lines
718 B
C++
34 lines
718 B
C++
/**
|
|
* \file ErrorList.cpp
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Alfredo Braunstein
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#include "ErrorList.h"
|
|
|
|
using namespace std;
|
|
|
|
namespace lyx {
|
|
|
|
|
|
ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
|
|
int par_id_, pos_type pos_start_, pos_type pos_end_,
|
|
Buffer const * buffer_)
|
|
: error(error_), description(description_), par_id(par_id_),
|
|
pos_start(pos_start_), pos_end(pos_end_), buffer(buffer_)
|
|
{}
|
|
|
|
|
|
ErrorItem::ErrorItem()
|
|
: par_id(-1), pos_start(0), pos_end(0), buffer(0)
|
|
{}
|
|
|
|
|
|
} // namespace lyx
|