X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetTOC.h;h=cb32c66ac3f18c85b1df6313a151c12f3cba773f;hb=2906a35663b92030b0668a42ab370dba8ffca4cf;hp=36d7d091c40f6480d9c80c34dbe471368e2a0fc6;hpb=228948534e017c1c6f70cfe6dc753f23914f2705;p=lyx.git diff --git a/src/insets/InsetTOC.h b/src/insets/InsetTOC.h index 36d7d091c4..cb32c66ac3 100644 --- a/src/insets/InsetTOC.h +++ b/src/insets/InsetTOC.h @@ -26,8 +26,9 @@ class InsetTOC : public InsetCommand { public: /// InsetTOC(Buffer * buf, InsetCommandParams const &); - /// - docstring screenLabel() const; + + /// \name Public functions inherited from Inset class + //@{ /// InsetCode lyxCode() const { return TOC_CODE; } /// @@ -39,14 +40,32 @@ public: /// docstring xhtml(XHTMLStream & xs, OutputParams const &) const; /// + void doDispatch(Cursor & cur, FuncRequest & cmd); + //@} + + /// \name Static public methods obligated for InsetCommand derived classes + //@{ + /// static ParamInfo const & findInfo(std::string const &); /// static std::string defaultCommand() { return "tableofcontents"; } /// static bool isCompatibleCommand(std::string const & cmd) { return cmd == defaultCommand(); } + //@} + private: + /// \name Private functions inherited from Inset class + //@{ + /// Inset * clone() const { return new InsetTOC(*this); } + //@} + + /// \name Private functions inherited from InsetCommand class + //@{ + /// + docstring screenLabel() const; + //@} };