]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphList_fwd.h
* support/qstring_helpers.h: erase ucs4_to_qstring() method.
[lyx.git] / src / ParagraphList_fwd.h
index a937a891800edc191ee25341ed09c8d1a93a3e73..0c8aa6c205c570af99513e74ad07852528e47312 100644 (file)
 #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