]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNomencl.h
Add Nomenclature to the TOC.
[lyx.git] / src / insets / InsetNomencl.h
index f445066550ea8f24bd7b86b48bb479c6d4649741..2e78c5029077d5a2391390276933fa9e6cfb5842 100644 (file)
@@ -40,6 +40,8 @@ public:
        /// Updates needed features for this inset.
        void validate(LaTeXFeatures & features) const;
        ///
+       void addToToc(DocIterator const & di, bool output_active) const;
+       ///
        InsetCode lyxCode() const { return NOMENCL_CODE; }
        ///
        int docbook(odocstream &, OutputParams const &) const;
@@ -98,7 +100,7 @@ public:
        ///
        void latex(otexstream &, OutputParams const &) const;
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        //@}
 
        /// \name Static public methods obligated for InsetCommand derived classes