]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.h
Fix for bug 4135
[lyx.git] / src / insets / InsetInclude.h
index 873521592e0029eba0bd483603bfa28f6162321b..2f834d4aa6e78a90f546e3e61bdd549f3ef2c21b 100644 (file)
@@ -95,14 +95,11 @@ public:
        ///
        void addPreview(graphics::PreviewLoader &) const;
        ///
-       void addToToc(TocList &, Buffer const &, ParConstIterator &) const;
-       ///
-       void updateLabels(Buffer const & buffer) const;
+       void addToToc(TocList &, Buffer const &, ParConstIterator const &) const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
-       /// if this inset contains lstinputlisting and has a caption,
-       /// update internal counter and passed counter
-       void updateCounter(Counters & counters);
+       ///
+       void updateLabels(Buffer const & buffer, ParIterator const &) const;
 protected:
        InsetInclude(InsetInclude const &);
        ///
@@ -137,7 +134,7 @@ private:
        /// cache
        mutable bool set_label_;
        mutable RenderButton button_;
-       int counter_;
+       mutable docstring listings_label_;
 };