X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraphList_fwd.h;h=df6d55041d9e551c189400bb41ae4179e2318a7c;hb=e7ef29fa2d516b8593aa3cccb6548de5686e8a9a;hp=e3401edaf69c5d173b30b40458143c06a7148bcb;hpb=2e1eeac0b968511ff2084e193eac98f33cb1ea87;p=lyx.git diff --git a/src/ParagraphList_fwd.h b/src/ParagraphList_fwd.h index e3401edaf6..df6d55041d 100644 --- a/src/ParagraphList_fwd.h +++ b/src/ParagraphList_fwd.h @@ -12,13 +12,22 @@ #ifndef PARAGRAPH_LIST_FWD_H #define PARAGRAPH_LIST_FWD_H -#include -#include +#include "paragraph.h" -class Paragraph; +#include -typedef std::list ParagraphList; - -typedef std::pair PitPosPair; +class ParagraphList : public std::vector +{ +public: + /// + typedef std::vector BaseType; + /// + ParagraphList(); + /// + template + ParagraphList(Iter beg, Iter end) + : BaseType(beg, end) + {} +}; #endif