#include "InsetCommand.h"
+#include "Toc.h"
+
namespace lyx {
class Paragraph;
-class Toc;
/// Used to insert table of contents and similar lists
/// at present, supports only \tableofcontents and \listoflistings.
///
void doDispatch(Cursor & cur, FuncRequest & cmd);
///
- bool clickable(int, int) const { return true; }
+ bool clickable(BufferView const &, int, int) const { return true; }
//@}
/// \name Static public methods obligated for InsetCommand derived classes