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
17 #include "ControlCommand.h"
20 /** A controller for TOC dialogs.
22 class ControlToc : public ControlCommand {
25 ControlToc(LyXView &, Dialogs &);
27 /// Goto this paragraph id
28 void goTo(toc::TocItem const &) const;
30 /// Return the list of types available
31 std::vector<string> const getTypes() const;
33 /// Given a type, returns the contents
34 toc::Toc const getContents(string const & type) const;
37 #endif // CONTROLTOC_H