]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNomencl.h
Add Nomenclature to the TOC.
[lyx.git] / src / insets / InsetNomencl.h
index d1437f243e3e258e82372ce67c080452192f7c88..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;
@@ -96,9 +98,9 @@ public:
        ///
        DisplayType display() const { return AlignCenter; }
        ///
-       int latex(otexstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        //@}
 
        /// \name Static public methods obligated for InsetCommand derived classes