]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphList_fwd.h
* filetools.[Ch]: Make functions that start with a capital
[lyx.git] / src / ParagraphList_fwd.h
index a937a891800edc191ee25341ed09c8d1a93a3e73..6784768525bdf5a2c9623ef50a4ee49ae902016d 100644 (file)
 #ifndef PARAGRAPH_LIST_FWD_H
 #define PARAGRAPH_LIST_FWD_H
 
-#include <vector>
+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;
 
 #endif