2006-03-23 20:11:06 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2007-02-24 17:52:26 +00:00
|
|
|
* \file ParagraphList.h
|
2006-03-23 20:11:06 +00:00
|
|
|
* 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
|
|
|
|
|
2007-04-26 04:41:58 +00:00
|
|
|
#include "Paragraph.h"
|
2006-03-23 20:11:06 +00:00
|
|
|
|
|
|
|
#include "support/RandomAccessList.h"
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
2007-04-26 08:30:11 +00:00
|
|
|
/// 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)
|
|
|
|
{}
|
|
|
|
};
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
2006-03-23 20:11:06 +00:00
|
|
|
#endif
|