X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChanges.h;h=09ac0aa0fe7d3dd52271f2a1574ab23693d9a432;hb=5ce39aa8b5afb1fa88c39797cea6d4e5da5dafe3;hp=631419bc3065d71963d4ae9957c36c79aa934f68;hpb=7236cfc31dc5a20b9bfc09d76fd815ca58d3549a;p=features.git diff --git a/src/Changes.h b/src/Changes.h index 631419bc30..09ac0aa0fe 100644 --- a/src/Changes.h +++ b/src/Changes.h @@ -27,6 +27,8 @@ namespace lyx { class AuthorList; +class Buffer; +class DocIterator; class Change { public: @@ -92,8 +94,6 @@ public: /// return true if there is a change in the given range (excluding end) bool isChanged(pos_type start, pos_type end) const; - /// - /// output latex to mark a transition between two change types /// returns length of text outputted static int latexMarkChange(odocstream & os, BufferParams const & bparams, @@ -106,6 +106,9 @@ public: /// void checkAuthors(AuthorList const & authorList); + /// + void addToToc(DocIterator const & cdit, Buffer const & buffer) const; + private: class Range { public: