X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ferrorlist.h;h=8c91c42e32a3a3018ce1c6c15506e45b441bf210;hb=646c3127406e1ff1c5aaeb71aa5ea49be0ac8b0e;hp=a593adcf66bd52305ea82878c9e9348cdbfc3cbc;hpb=9080c444582799a9967fb27a5eee08931bd3a323;p=lyx.git diff --git a/src/errorlist.h b/src/errorlist.h index a593adcf66..8c91c42e32 100644 --- a/src/errorlist.h +++ b/src/errorlist.h @@ -17,18 +17,21 @@ #include #include + +namespace lyx { + class Buffer; /// A class to hold an error item class ErrorItem { public: - lyx::docstring error; - lyx::docstring description; + docstring error; + docstring description; int par_id; - lyx::pos_type pos_start; - lyx::pos_type pos_end; - ErrorItem(lyx::docstring const & error, lyx::docstring const & description, - int parid, lyx::pos_type posstart, lyx::pos_type posend); + pos_type pos_start; + pos_type pos_end; + ErrorItem(docstring const & error, docstring const & description, + int parid, pos_type posstart, pos_type posend); ErrorItem(); }; @@ -48,4 +51,7 @@ public: using std::vector::const_iterator; }; + +} // namespace lyx + #endif