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