#ifndef PARAGRAPH_LIST_H
#define PARAGRAPH_LIST_H
-#include "paragraph.h"
+#include "Paragraph.h"
#include "support/RandomAccessList.h"
namespace lyx {
-/// Container for all kind of Paragraphs used in Lyx.
-typedef RandomAccessList<Paragraph> ParagraphList;
-
+/// Container for all kind of Paragraphs used in LyX.
+class ParagraphList : public RandomAccessList<Paragraph> {
+public:
+ ///
+ ParagraphList() {}
+ ///
+ template<class InputIterator>
+ ParagraphList(InputIterator first, InputIterator last)
+ : RandomAccessList<Paragraph>(first, last)
+ {}
+};
} // namespace lyx