2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 * ======================================================
12 * \author Angus Leeming <a.leeming@ic.ac.uk>
23 #include "ControlCommand.h"
26 /** A controller for TOC dialogs.
28 class ControlToc : public ControlCommand
32 ControlToc(LyXView &, Dialogs &);
34 /// Goto this paragraph id
35 void goTo(toc::TocItem const &) const;
37 /// Return the list of types available
38 std::vector<string> const getTypes() const;
40 /// Given a type, returns the contents
41 toc::Toc const getContents(string const & type) const;
44 #endif // CONTROLTOC_H