X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfoot.h;h=275a69c39e181e3ffab1b70309da930af526e53c;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=33f3eac1ade37b0414f24a52ba456462bd3d0cc6;hpb=ee72ce87743857b4317da00e6e09cb6842095664;p=lyx.git diff --git a/src/insets/insetfoot.h b/src/insets/insetfoot.h index 33f3eac1ad..275a69c39e 100644 --- a/src/insets/insetfoot.h +++ b/src/insets/insetfoot.h @@ -18,36 +18,29 @@ #pragma interface #endif -#include "insetcollapsable.h" - -class Painter; +#include "LaTeXFeatures.h" +#include "insetfootlike.h" /** The footnote inset */ -class InsetFoot : public InsetCollapsable { +class InsetFoot : public InsetFootlike { public: /// - explicit InsetFoot(); /// - ~InsetFoot() {} - /// - void Write(Buffer const * buf, ostream & os) const; - /// - Inset * Clone() const; - /// - Inset::Code LyxCode() const { return Inset::FOOT_CODE; } + InsetFoot(InsetFoot const &, bool same_id = false); /// - int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; + Inset * clone(Buffer const &, bool same_id = false) const; /// - const char * EditMessage() const; + Inset::Code lyxCode() const { return Inset::FOOT_CODE; } /// - bool InsertInset(BufferView *, Inset * inset); + int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; /// - bool InsertInsetAllowed(Inset * inset) const; - /// - LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const; + string const editMessage() const; }; #endif + + +