]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphList.h
Account for old versions of Pygments
[lyx.git] / src / ParagraphList.h
index eab59c1e11aff3f632bd60e102d66d408bb02412..a57deb4eea7b2a7e8582ef7cdedeb1deb62176f0 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file ParagraphList_fwd.h
+ * \file ParagraphList.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
 #ifndef PARAGRAPH_LIST_H
 #define PARAGRAPH_LIST_H
 
-#include "paragraph.h"
+#include "Paragraph.h"
 
 #include "support/RandomAccessList.h"
 
 
 namespace lyx {
 
-/// Container for all kind of Paragraphs used in Lyx.
-typedef RandomAccessList<Paragraph> ParagraphList;
-
+/// Container for all kind of Paragraphs used in LyX.
+class ParagraphList : public RandomAccessList<Paragraph> {
+public:
+       ///
+       ParagraphList() {}
+       ///
+       template<class InputIterator>
+       ParagraphList(InputIterator first, InputIterator last)
+               : RandomAccessList<Paragraph>(first, last)
+       {}
+};
 
 } // namespace lyx