Prepare ANNOUNCE and NEWS for rc2
[lyx.git] / src / InsetIterator.cpp
blob155f60f26ab45fa438f326ae8fc73b7aaa11c919
1 /**
2 * \file InsetIterator.cpp
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Alfredo Braunstein
7 * \author André Pönitz
9 * Full author contact details are available in file CREDITS.
12 #include <config.h>
14 #include "InsetIterator.h"
16 #include "support/lassert.h"
19 namespace lyx {
22 InsetIterator::InsetIterator(Inset & inset)
23 : DocIterator(inset)
28 InsetIterator inset_iterator_begin(Inset & inset)
30 InsetIterator it = InsetIterator(inset);
31 it.forwardInset();
32 return it;
36 InsetIterator inset_iterator_end(Inset & inset)
38 return InsetIterator(inset);
42 } // namespace lyx