]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.h
typo
[lyx.git] / src / LaTeX.h
index a57cebc83bcc2ff5ac874e37f17efb361d1bbac2..ba088bb5cceed9afa352e26049a677a4558e3215 100644 (file)
@@ -60,14 +60,26 @@ public:
        ///
        Errors::const_iterator end() const { return errors.end(); }
        ///
+       Errors::const_iterator begin_ref() const { return undef_ref.begin(); }
+       ///
+       Errors::const_iterator end_ref() const { return undef_ref.end(); }
+       ///
        void insertError(int line, docstring const & error_desc,
                         docstring const & error_text,
                         std::string const & child_name = empty_string());
        ///
        void clearErrors() { errors.clear(); }
+       ///
+       void insertRef(int line, docstring const & error_desc,
+                        docstring const & error_text,
+                        std::string const & child_name = empty_string());
+       ///
+       void clearRefs() { undef_ref.clear(); }
 private:
        ///
        Errors errors;
+       /// For missing Citation and references
+       Errors undef_ref;
 };