4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
20 #include "ControlCommand.h"
23 /** A controller for TOC dialogs.
25 class ControlToc : public ControlCommand {
28 ControlToc(LyXView &, Dialogs &);
30 /// Goto this paragraph id
31 void goTo(toc::TocItem const &) const;
33 /// Return the list of types available
34 std::vector<string> const getTypes() const;
36 /// Given a type, returns the contents
37 toc::Toc const getContents(string const & type) const;
40 #endif // CONTROLTOC_H