X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraphList.h;h=a57deb4eea7b2a7e8582ef7cdedeb1deb62176f0;hb=7950ace3d96543e3099aa3bde823f970a1ce6a86;hp=eab59c1e11aff3f632bd60e102d66d408bb02412;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/ParagraphList.h b/src/ParagraphList.h index eab59c1e11..a57deb4eea 100644 --- a/src/ParagraphList.h +++ b/src/ParagraphList.h @@ -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. * @@ -12,16 +12,24 @@ #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 ParagraphList; - +/// Container for all kind of Paragraphs used in LyX. +class ParagraphList : public RandomAccessList { +public: + /// + ParagraphList() {} + /// + template + ParagraphList(InputIterator first, InputIterator last) + : RandomAccessList(first, last) + {} +}; } // namespace lyx