X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParIterator.h;h=320493dac0832910b8f26eda8bf0874114cfbe99;hb=66d0d61b0c269ef7d5a0d61dc3067d3172a6ac3f;hp=71e5417ddc8a6a1e2006ecdf606065821c7c00d7;hpb=e69b723bf9d2e2d8bbd855cac164be4a1a24035e;p=lyx.git diff --git a/src/ParIterator.h b/src/ParIterator.h index 71e5417ddc..320493dac0 100644 --- a/src/ParIterator.h +++ b/src/ParIterator.h @@ -4,7 +4,7 @@ * Licence details can be found in the file COPYING. * * \author unknown - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. */ @@ -21,6 +21,7 @@ namespace lyx { +class Buffer; class Inset; class Text; class ParagraphList; @@ -38,10 +39,11 @@ public: typedef StdIt::reference reference; /// - ParIterator() : DocIterator() {} + /// + ParIterator(Buffer * buf) : DocIterator(buf) {} /// - ParIterator(Inset &, pit_type pit); + ParIterator(Buffer * buf, Inset &, pit_type pit); /// ParIterator(ParIterator const &); /// @@ -71,8 +73,6 @@ public: }; -DocIterator makeDocIterator(ParIterator const &, pos_type); - ParIterator par_iterator_begin(Inset & inset); ParIterator par_iterator_end(Inset & inset); @@ -96,12 +96,13 @@ class ParConstIterator : public std::iterator