]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetFoot.h
index 725f3ef2c5e04c6941c9d5fc3797fd87fc763bae..0544246ad3a906afbfa023e3ac896e59fee0726b 100644 (file)
@@ -26,24 +26,27 @@ public:
        ///
        InsetFoot(BufferParams const &);
        ///
-       InsetBase::Code lyxCode() const { return InsetBase::FOOT_CODE; }
+       Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
        ///
-       docstring getInsetName() const { return from_ascii("Foot"); }
+       docstring name() const { return from_ascii("Foot"); }
        ///
        int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                 OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+                     OutputParams const &) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                   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<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };