// -*- C++ -*-
/**
- * \file ParagraphList.h
+ * \file ParagraphList_fwd.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Lars Gullik Bjønnes
+ * \author Angus Leeming
*
* Full author contact details are available in file CREDITS.
*/
#include "paragraph.h"
-#include <list>
+#include "support/RandomAccessList.h"
-struct ParagraphList : public std::list<Paragraph>
-{
-};
-typedef std::pair<ParagraphList::iterator, int> PitPosPair;
+namespace lyx {
+
+/// Container for all kind of Paragraphs used in Lyx.
+typedef RandomAccessList<Paragraph> ParagraphList;
+
+
+} // namespace lyx
#endif