#ifndef PARAGRAPH_LIST_FWD_H
#define PARAGRAPH_LIST_FWD_H
-#include <vector>
+namespace lyx {
+
+template <class T>
+class RandomAccessList;
class Paragraph;
-class ParagraphList : public std::vector<Paragraph>
-{
-public:
- ///
- typedef std::vector<Paragraph> base_type;
- ///
- ParagraphList();
- ///
- template <class Iter>
- ParagraphList(Iter beg, Iter end)
- : base_type(beg, end)
- {}
-};
+typedef RandomAccessList<Paragraph> ParagraphList;
+
+} // namespace lyx
#endif