]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphList.h
Almost fix 'make check'. The only remaining problem is an undefined
[lyx.git] / src / ParagraphList.h
index b1e9d6d2869e6eb7eb2a1ea567697b3d366a7f1c..649df312d366bc922acbe874d58c8d9aa496732d 100644 (file)
@@ -1,16 +1,28 @@
 // -*- C++ -*-
+/**
+ * \file ParagraphList.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS.
+ */
 
 #ifndef PARAGRAPH_LIST_H
 #define PARAGRAPH_LIST_H
 
 #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