]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphList_fwd.h
fix dialogs in LyX/Mac
[lyx.git] / src / ParagraphList_fwd.h
index e3401edaf69c5d173b30b40458143c06a7148bcb..a937a891800edc191ee25341ed09c8d1a93a3e73 100644 (file)
 #ifndef PARAGRAPH_LIST_FWD_H
 #define PARAGRAPH_LIST_FWD_H
 
-#include <list>
-#include <utility>
+#include <vector>
 
 class Paragraph;
 
-typedef std::list<Paragraph> ParagraphList;
-
-typedef std::pair<ParagraphList::iterator, int> PitPosPair;
+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)
+       {}
+};
 
 #endif