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
29 ControlToc(LyXView &, Dialogs &);
31 /// Goto this paragraph id
32 void goTo(toc::TocItem const &) const;
34 /// Return the list of types available
35 std::vector<string> const getTypes() const;
37 /// Given a type, returns the contents
38 toc::Toc const getContents(string const & type) const;
41 #endif // CONTROLTOC_H