#include "ParIterator.h"
-#include "support/docstream.h"
+#include "support/strfwd.h"
namespace lyx {
///
~TocItem() {}
///
- int const id() const;
+ int id() const;
///
- int const depth() const;
+ int depth() const;
///
docstring const & str() const;
///
///
typedef std::vector<TocItem> Toc;
typedef Toc::const_iterator TocIterator;
+
/// The ToC list.
/// A class and no typedef because we want to forward declare it.
-class TocList : public std::map<std::string, Toc>
-{
-};
+class TocList : public std::map<std::string, Toc> {};
///