]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.h
* InsetCollapsable:
[lyx.git] / src / insets / InsetFoot.h
index f10c11097dcd63b71c9f4c7cf1ab6d476ede8604..172efd6e06d25bbb2ba98c2f270daecfeb3b0ec9 100644 (file)
@@ -26,7 +26,7 @@ public:
        ///
        InsetFoot(BufferParams const &);
        ///
-       Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
+       InsetCode lyxCode() const { return FOOT_CODE; }
        ///
        docstring name() const { return from_ascii("Foot"); }
        ///
@@ -40,10 +40,13 @@ public:
                    OutputParams const &) const;
        ///
        virtual docstring const editMessage() const;
+       /// Update the counters of this inset and of its contents
+       void updateLabels(Buffer const &, ParIterator const &);
+
 protected:
        InsetFoot(InsetFoot const &);
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };