X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFoot.h;h=7a6576b7bf4b8acc8b23ffa2a419902cf6a40fef;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=dddba1f1159c7f7b7352e2ae67dc4077dfe67140;hpb=c8d00ed1272cd489041bed2115081008b6a26489;p=lyx.git diff --git a/src/insets/InsetFoot.h b/src/insets/InsetFoot.h index dddba1f115..7a6576b7bf 100644 --- a/src/insets/InsetFoot.h +++ b/src/insets/InsetFoot.h @@ -26,22 +26,29 @@ public: /// InsetFoot(BufferParams const &); /// - InsetBase::Code lyxCode() const { return InsetBase::FOOT_CODE; } + InsetCode lyxCode() const { return FOOT_CODE; } + /// + 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 &); + /// + void addToToc(Buffer const &, ParConstIterator const &) const; + protected: InsetFoot(InsetFoot const &); private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; };