X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraphList.h;h=a57deb4eea7b2a7e8582ef7cdedeb1deb62176f0;hb=c293be56bd12c5dc46e5cedd2828e33918fccef7;hp=b1e9d6d2869e6eb7eb2a1ea567697b3d366a7f1c;hpb=a89f41c028dfc9eb77a6cc3a6688ee96ea24781d;p=lyx.git diff --git a/src/ParagraphList.h b/src/ParagraphList.h index b1e9d6d286..a57deb4eea 100644 --- a/src/ParagraphList.h +++ b/src/ParagraphList.h @@ -1,16 +1,36 @@ // -*- C++ -*- +/** + * \file ParagraphList.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Angus Leeming + * + * Full author contact details are available in file CREDITS. + */ #ifndef PARAGRAPH_LIST_H #define PARAGRAPH_LIST_H -#include "paragraph.h" +#include "Paragraph.h" -#include +#include "support/RandomAccessList.h" -struct ParagraphList : public std::list -{ + +namespace lyx { + +/// Container for all kind of Paragraphs used in LyX. +class ParagraphList : public RandomAccessList { +public: + /// + ParagraphList() {} + /// + template + ParagraphList(InputIterator first, InputIterator last) + : RandomAccessList(first, last) + {} }; -typedef std::pair PitPosPair; +} // namespace lyx #endif