X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFoot.h;h=7a6576b7bf4b8acc8b23ffa2a419902cf6a40fef;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=1c7b74810101c0d3dcaab8c6c08448b31d69b946;hpb=b0d1a6b717c428396fe204dd59ef4a31e2edb09c;p=lyx.git diff --git a/src/insets/InsetFoot.h b/src/insets/InsetFoot.h index 1c7b748101..7a6576b7bf 100644 --- a/src/insets/InsetFoot.h +++ b/src/insets/InsetFoot.h @@ -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"); } /// @@ -42,11 +42,13 @@ public: virtual docstring const editMessage() const; /// Update the counters of this inset and of its contents void updateLabels(Buffer const &, ParIterator const &); + /// + void addToToc(Buffer const &, ParConstIterator const &) const; protected: InsetFoot(InsetFoot const &); private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; };