]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.h
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetTOC.h
index cfbe67ed8eed2b511f18eaf1011d45384972dbbd..63df80b6b91cd5c019af0338e30c054c2ae2e69a 100644 (file)
@@ -37,6 +37,13 @@ public:
        ///
        int docbook(Buffer const &, odocstream &,
                    OutputParams const &) const;
+       ///
+       static CommandInfo const * findInfo(std::string const &);
+       ///
+       static std::string defaultCommand() { return "tableofcontents"; };
+       ///
+       static bool isCompatibleCommand(std::string const & cmd)
+               {return cmd == defaultCommand(); }
 private:
        virtual Inset * clone() const;
 };