]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphList_fwd.h
hopefully fix tex2lyx linking.
[lyx.git] / src / ParagraphList_fwd.h
index df6d55041d9e551c189400bb41ae4179e2318a7c..0c8aa6c205c570af99513e74ad07852528e47312 100644 (file)
 #ifndef PARAGRAPH_LIST_FWD_H
 #define PARAGRAPH_LIST_FWD_H
 
-#include "paragraph.h"
+namespace lyx {
 
-#include <vector>
+template <class T>
+class RandomAccessList;
 
-class ParagraphList : public std::vector<Paragraph>
-{
-public:
-       ///
-       typedef std::vector<Paragraph> BaseType;
-       ///
-       ParagraphList();
-       ///
-       template <class Iter>
-       ParagraphList(Iter beg, Iter end)
-               : BaseType(beg, end)
-       {}
-};
+class Paragraph;
+
+typedef RandomAccessList<Paragraph> ParagraphList;
+
+} // namespace lyx
 
 #endif